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

Kornel Benko kornel at lyx.org
Fri Oct 21 14:56:19 UTC 2022


Am Fri, 21 Oct 2022 16:36:46 +0200
schrieb Kornel Benko <kornel at lyx.org>:

> 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

Maybe the best way would be to provide a non-empty invalid argument which could be tested
in tex2lyx.cpp. Instead of "fixme", something like ".".

	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/20221021/37780ecc/attachment-0001.asc>


More information about the lyx-devel mailing list