Patch to remove Kluwer from Additional.lyx

Scott Kostyshak skostysh at lyx.org
Wed Dec 7 15:08:42 UTC 2022


On Wed, Dec 07, 2022 at 09:32:29AM +0000, José Matos wrote:
> On Tue, 2022-12-06 at 22:25 -0500, Scott Kostyshak wrote:
> > Not sure if any better, but perhaps an alternative: could lyx2lyx
> > just
> > copy the module into the local layout? That is, the module could be
> > hidden somewhere accessible to lyx2lyx and if it sees the .lyx file
> > load
> > the module it can just copy it into the local layout.
> > 
> > Scott
> 
> That can be done.
> But notice that before doing that we need to develop a better handling
> of layout and module files inside lyx2lyx.
> 
> I am thinking particularly about the support for user directories,
> after all if the use has a layout in his personal directories that
> overrides the system version.
> At the same time we have to support the inclusion of other layouts and
> styles from other files.
> 
> This is not difficult but it is a laborious task

Makes sense. Seems tricky indeed and we would need to be careful.

> and it also has other
> potential benefits like seeing the complete version of a layout file.

Sounds kind of like this recent feature request:

  https://www.lyx.org/trac/ticket/12393

> The analogue of this is "g++ -E file.cpp" that stops after the
> preprocessor has done its job.

Nice, I didn't know about that. That is indeed useful.

> So this can be done but not for 2.4. :-(

Agreed.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221207/fd0a584e/attachment.asc>


More information about the lyx-devel mailing list