Jürgen Spitzmüller wrote:
Richard Heck wrote:
You can also just use `oolatex'---at least on Linux.
However, TeXLive 2007 does not ship the oolatex script. Therefore I'd prefer the verbose command.
Should this be added to configure.py?
Yes.
This would do it, preserving the simple oolatex call first. Note that since we have the "latex" flag we don't need the "needaux" flag.

I can commit this if it seems OK.

Richard

--
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto

Index: configure.py
===================================================================
--- configure.py	(revision 19245)
+++ configure.py	(working copy)
@@ -368,7 +368,7 @@
     checkProg('an OpenDocument -> LaTeX converter', ['w2l -clean $$i'],
         rc_entry = [ r'\converter odt        latex      "%%"	""' ])
     #
-    checkProg('a LaTeX -> Open Document converter', ['oolatex $$i', 'oolatex.sh $$i'],
+    checkProg('a LaTeX -> Open Document converter', ['oolatex $$i', 'oolatex.sh $$i', 'htlatex $$i \'xhtml,ooffice\' \'ooffice/! -cmozhtf\' \'-coo\' \'-cvalidate\''],
         rc_entry = [ r'\converter latex      odt        "%%"	"latex"' ])
     # On windows it is called latex2rt.exe
     checkProg('a LaTeX -> RTF converter', ['latex2rtf -p -S -o $$o $$i', 'latex2rt -p -S -o $$o $$i'],

Reply via email to