Re: Support for pandoc

2009-07-15 Thread Pavel Sanda
Tim Michelsen wrote: > > if you check that this version works for you, i'll commit it then. > Can I try it on my Ubuntu installed Lyx by replacing the original file > (configure.py) with the changed one? yes that should work(or rather then replace, just patch it). but the important point is to hav

Re: Support for pandoc

2009-07-15 Thread Tim Michelsen
Pavel Sanda writes: [...] > Tim, > if you check that this version works for you, i'll commit it then. Can I try it on my Ubuntu installed Lyx by replacing the original file (configure.py) with the changed one? Or do I need to compile Lyx? Shall I also include other formats? pandoc also supports

Re: Support for pandoc

2009-07-15 Thread Pavel Sanda
Jürgen Spitzmüller wrote: > Tim Michelsen wrote: > > Presuming I clean up the formats, is the converter part correct? > > Yes, it looks correct. Tim, if you check that this version works for you, i'll commit it then. pavel

Re: Support for pandoc

2009-07-14 Thread Jürgen Spitzmüller
Tim Michelsen wrote: > Presuming I clean up the formats, is the converter part correct? Yes, it looks correct. Jürgen

Re: Support for pandoc

2009-07-14 Thread Tim Michelsen
Jürgen Spitzmüller schrieb: [...] I tested 2 converter. Pandoc had better results in Lyx than the native docutils rst2latex. So why did you add the docutils format? There is no corresponding converter AFAICS, and even if there was, two separate formats would not be needed. Presuming I clean u

Re: Support for pandoc

2009-07-14 Thread Jürgen Spitzmüller
Tim Michelsen wrote: > 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. So why did you

Re: Support for pandoc

2009-07-14 Thread Tim Michelsen
Jürgen Spitzmüller 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)" ""

Re: Support for pandoc

2009-07-14 Thread Jürgen Spitzmüller
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" ''') >