Jürgen Spitzmüller <sp...@...> writes: > > Pavel Sanda wrote: > > \Format wordhtml html "HTML (MS Word)" "" "" "" "document" > > +\Format "rst_docutils" "rst" "Restructured Text (docutils)" "" "" > > "sensible-editor" "document" +\Format "rst_pandoc" "rst" "Restructured Text > > (pandoc)" "" "" "sensible-editor" "document" ''') > > > > > > @@ -619,6 +621,13 @@ > > # > > checkProg('a Noteedit -> LilyPond converter', ['noteedit > > --export-lilypond $$i'], rc_entry = [ r'\converter noteedit lilypond > > "%%" ""', '']) + > > + # pandoc > > + checkProg('Pandoc ReST -> LaTeX converter', ['pandoc -s -f rst -w > > latex $$i -o $$o'], + rc_entry = [ r'\converter rst_pandoc latex > > "%%" ""', '']) + checkProg('Pandoc LaTeX -> ReST converter', > > ['pandoc -s -f latex -w rst $$i -o $$o'], + rc_entry = [ > > r'\converter latex rst_pandoc "%%" ""', '']) + > > Why are two rst_* formats needed if the only apparent purpose is to import > and > export rst_pandoc? I created the diff.
It was the first time I created a Format definition. I used the Configuration dialog. Then I took the changed from: ~/.lyx/preferences. I tested 2 converter. Pandoc had better results in Lyx than the native docutils rst2latex. Best regards, Timmie