From 7b12cfdafece35545bb979937a2b684d5b35b415 Mon Sep 17 00:00:00 2001 From: Michael Schmitt Date: Sun, 4 Sep 2005 11:48:21 +0000 Subject: [PATCH] support tex4ht converter; polish/fix some comments git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10409 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/ChangeLog | 5 +++++ lib/configure.m4 | 41 +++++++++++++++++++++++++---------------- 2 files changed, 30 insertions(+), 16 deletions(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index 3230204784..1457e82740 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2005-08-23 Michael Schmitt + + * configure.m4: support tex4ht converter; + polish/fix some comments ("a" => "an", "latex" => "LaTeX", etc.) + 2005-08-10 Martin Vermeer * memoir.layout: change order of includes to fix bug 1971 diff --git a/lib/configure.m4 b/lib/configure.m4 index c40e0a7123..df97bf281c 100644 --- a/lib/configure.m4 +++ b/lib/configure.m4 @@ -241,13 +241,13 @@ fi test $latex_to_dvi != "none" && latex_to_dvi="$latex_to_dvi \$\$i" test $latex_to_pdf != "none" && latex_to_pdf="$latex_to_pdf \$\$i" -SEARCH_PROG([for a TGIF viewer and editor], TGIF_EDITOR, tgif) +SEARCH_PROG([for a Tgif viewer and editor], TGIF_EDITOR, tgif) TGIF_VIEWER="$TGIF_EDITOR" SEARCH_PROG([for a FIG viewer and editor], FIG_EDITOR, xfig) FIG_VIEWER="$FIG_EDITOR" -SEARCH_PROG([for a GRACE viewer and editor], GRACE_EDITOR, xmgrace) +SEARCH_PROG([for a Grace viewer and editor], GRACE_EDITOR, xmgrace) GRACE_VIEWER="$GRACE_EDITOR" SEARCH_PROG([for a FEN viewer and editor], FEN_EDITOR, "xboard -lpf \$\$i -mode EditPosition") @@ -268,16 +268,22 @@ literate_to_lyx_command=`echo $literate_to_lyx_command | sed "s,noweb2lyx,noweb2 # Search something to process a literate document SEARCH_PROG([for a Noweb -> LaTeX converter],literate_to_tex_command,"noweave -delay -index \$\$i > \$\$o") -SEARCH_PROG([for a HTML -> Latex converter],html_to_latex_command, "html2latex \$\$i") +SEARCH_PROG([for an HTML -> LaTeX converter],html_to_latex_command, "html2latex \$\$i") + +SEARCH_PROG([for an MS Word -> LaTeX converter],word_to_latex_command, "wvCleanLatex \$\$i \$\$o") + +# tex4ht generates HTML output that is well-suited for MS Word +SEARCH_PROG([for a LaTeX -> MS Word converter],latex_to_word_command, "htlatex") +test "$latex_to_word_command" = "htlatex" && latex_to_word_command="htlatex \$\$i 'html,word' 'symbol/!' '-cvalidate'" + -SEARCH_PROG([for a MSWord -> Latex converter],word_to_latex_command, "wvCleanLatex \$\$i \$\$o" "wvCleanLatex \$\$i \$\$o") SEARCH_PROG([for Image converter],image_command, "convert \$\$i \$\$o") -SEARCH_PROG([for an OpenOffice.org -> Latex converter],sxw_to_latex_command, "w2l -clean \$\$i") +SEARCH_PROG([for an OpenOffice.org -> LaTeX converter],sxw_to_latex_command, "w2l -clean \$\$i") # oolatex is the original name, SuSE has oolatex.sh -SEARCH_PROG([for an Latex -> OpenOffice.org converter],latex_to_sxw_command, "oolatex \$\$i" "oolatex.sh \$\$i") +SEARCH_PROG([for a LaTeX -> OpenOffice.org converter],latex_to_sxw_command, "oolatex \$\$i" "oolatex.sh \$\$i") # Search something to preview postscript SEARCH_PROG([for a Postscript previewer],PS_VIEWER,gsview32 gv "ghostview -swap" kghostview) @@ -399,6 +405,7 @@ esac LYXRC_VAR(\print_spool_printerprefix, $print_spool_printerprefix) SEARCH_PROG([for a LaTeX -> HTML converter], latex_to_html_command,dnl + "htlatex \$\$i" dnl "tth -t -e2 -L\$\$b < \$\$i > \$\$o" dnl "latex2html -no_subdir -split 0 -show_section_numbers \$\$i" dnl "hevea -s \$\$i") @@ -566,21 +573,21 @@ cat >$outfile <$outfile <$outfile < EPS/PPM converter], FIG2DEV, fig2dev) +SEARCH_PROG([for a FIG -> EPS/PPM/PNG converter], FIG2DEV, fig2dev) if test "$FIG2DEV" = "fig2dev"; then cat >>$outfile <>$outfile < PS converter], TIFF2PS, tiff2ps) +SEARCH_PROG([for a TIFF -> PS converter], TIFF2PS, tiff2ps) if test "$TIFF2PS" = "tiff2ps"; then cat >>$outfile < \$\$o" "" EOF fi -SEARCH_PROG([for an TGIF -> EPS/PPM converter], TGIF, tgif) +SEARCH_PROG([for a Tgif -> EPS/PDF converter], TGIF, tgif) if test "$TGIF" = "tgif"; then cat >>$outfile < \$\$o" "" -- 2.39.5