hi,

this patch has been proposed in bugz. anybody objections?
http://www.lyx.org/trac/ticket/6042
pavel
Index: configure.py
===================================================================
--- configure.py        (Revision 30551)
+++ configure.py        (Arbeitskopie)
@@ -423,6 +423,8 @@
 \Format emf        emf    "Enhanced Metafile"     "" ""        ""      "vector"
 \Format word       doc    "MS Word"               W  ""        ""      
"document,vector"
 \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    "%%"    ""', ''])
+
     #
     # FIXME: no rc_entry? comment it out
     # checkProg('Image converter', ['convert $$i $$o'])

Reply via email to