[ Lyx Module syntaxe ? ] Need help for a custom enumerate style module.

didiergabory at free.fr didiergabory at free.fr
Sat Nov 14 17:49:50 UTC 2020


Hi, 


For the first time I try to write a LYX module corresponding to a custom enumerate style (with two levels). 
I use the article Koma class with enumitem.sty package (I try…) 



I encounter several difficulties: 


    * In the Lyx interface the 1rst level counter returns to the initial value on paragraph breaks. I am unable to mimic the correct behavior visible in the pdf export. 
    * Automatic cross-reference don't work correctly when placing labels on a 2nd level item... As you can see on : 
test_mon_module_From_LYX.pdf 



    * Automatic Cross-reference don't work at all if I use the TEX file produced by LYX from TexMaker (see test_mon_module_From_LYX_Then_TexMaker.pdf). 


I place: 



    * the mwe on lyx; 
    * my poor Mes_listes_CPGE.module file; 
    * pdf exported from LYX; 
    * The tex file exported from LYX; 
    * pdf exported from TexMaker with the .tex LYX produce. 



I hope to find some help here to move forward. 


Didier 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20201114/95563eee/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_mon_module.lyx
Type: application/x-lyx
Size: 4268 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20201114/95563eee/attachment-0001.lyx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_mon_module_From_LYX.pdf
Type: application/pdf
Size: 81699 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20201114/95563eee/attachment-0002.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_mon_module_From_LYX.tex
Type: text/x-tex
Size: 1485 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20201114/95563eee/attachment-0001.tex>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_mon_module_From_LYX_Then_TexMaker.pdf
Type: application/pdf
Size: 72732 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20201114/95563eee/attachment-0003.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Mes_listes_CPGE.module
Type: application/octet-stream
Size: 1227 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20201114/95563eee/attachment-0001.obj>


More information about the lyx-users mailing list