[PATCH] Support \\*
José Matos
jaomatos at gmail.com
Sat Jul 16 10:39:29 UTC 2022
On Sat, 2022-07-16 at 12:05 +0200, Kornel Benko wrote:
> This implies the forward conversion of such ERT's too IMHO.
We never do that in lyx2lyx. We always leave that to tex2lyx.
The reason is that in order to that minimally we would need to have a
better parsing. Because we would need to parse the ERT before the
translation.
That was why we decided to follow the easiest way.
That does mean that later we could revise this but for now we do not
have the tools to do this in a consistent way.
The only now trivial way where that was done was from Jürgen with the
beamer rework.
FWIW I own Jürgen a beverage of choice for that work. :-)
Even so with that work I caught a case where the conversion failed. The
issue was that the fix required was so much work for the little benefit
that I deemed not worth to make upstream.
FWIW I had to understand why the conversion failed and I fixed the file
manually. So I modified the source so that conversion would work and
then I pre-processed the output again. That was not perfect but the
purpose of the user was just to get a minimal working version and so
the conversion was more than enough.
So the purpose of this example was just to say that it is important to
always balance the work required for the real benefit. Since I am in a
School of Economics this is an example of a cost-benefit relation, i.e.
value for money. :-)
Regards,
--
José Abílio
More information about the lyx-devel
mailing list