[LyX/master] When pasting as LaTeX, honor textclass and modules

Kornel Benko kornel at lyx.org
Fri Oct 21 14:36:46 UTC 2022


Am Fri, 21 Oct 2022 16:28:52 +0200
schrieb Jean-Marc Lasgouttes <lasgouttes at lyx.org>:

> Le 21/10/2022 à 16:24, Jean-Marc Lasgouttes a écrit :
> > Le 21/10/2022 à 15:51, Kornel Benko a écrit :  
> >> The easiest way I can see is really to allow for empty module list in 
> >> tex2lyx.cpp.
> >> This works for me. Maybe Jean-Marc has better idea?
> >> Testing it is always good :)  
> > 
> > I have been working on that without success. My empty argument gets lost 
> > at some point.  
> 
> 
> But reading again my patch, it should be working already.
> 
> JMarc
> 

Unfortunately it is not working if called from lyx. But this one is.
I too don't know, where the empty argument was lost.

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tex2lyx.cpp.patch
Type: text/x-patch
Size: 730 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221021/794b0eeb/attachment.bin>
-------------- 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/20221021/794b0eeb/attachment.asc>


More information about the lyx-devel mailing list