[PATCH] Support \\*
Kornel Benko
kornel at lyx.org
Sat Jul 16 10:54:28 UTC 2022
Am Sat, 16 Jul 2022 11:39:29 +0100
schrieb José Matos <jaomatos at gmail.com>:
> 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.
We do it in the preamble though (for some fonts). Feels like ERT to me.
> 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,
We would not need to convert _all_ ERT's, only '\\*'.
But OK,
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220716/5c321e37/attachment.asc>
More information about the lyx-devel
mailing list