diff --git a/lib/ChangeLog b/lib/ChangeLog index c77d387e3b..6d6192e1f1 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2005-12-14 Michael Gerz + + * configure.m4: fix typos; support tex4ht, kdvi, + kpdf and kghostview + 2006-01-05 Angus Leeming * scripts/lyxpreview2ppm.py (find_exe): return only the basename of diff --git a/lib/configure.m4 b/lib/configure.m4 index 576f15e9cb..63d87c8233 100644 --- a/lib/configure.m4 +++ b/lib/configure.m4 @@ -254,18 +254,22 @@ literate_to_lyx_command=`echo $literate_to_lyx_command | sed "s,noweb2lyx,noweb2 SEARCH_PROG([for a Noweb -> LaTeX converter],literate_to_tex_command,noweave) test $literate_to_tex_command = "noweave" && literate_to_tex_command="noweave -delay -index \$\$i > \$\$o" -SEARCH_PROG([for a HTML -> Latex converter],html_to_latex_command,html2latex) +SEARCH_PROG([for an HTML -> LaTeX converter],html_to_latex_command,html2latex) test $html_to_latex_command = "html2latex" && html_to_latex_command="html2latex \$\$i" -SEARCH_PROG([for a MSWord -> Latex converter],word_to_latex_command,wvCleanLatex word2x) +SEARCH_PROG([for an MS Word -> LaTeX converter],word_to_latex_command,wvCleanLatex word2x) test "$word_to_latex_command" = "wvCleanLatex" && word_to_latex_command="wvCleanLatex \$\$i \$\$o" test "$word_to_latex_command" = "word2x" && word_to_latex_command="word2x -f latex \$\$i" +# 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 Image converter],image_command,convert) test $image_command = "convert" && image_command="convert \$\$i \$\$o" # Search something to preview postscript -SEARCH_PROG([for a Postscript previewer],GHOSTVIEW,gsview32 gv ghostview) +SEARCH_PROG([for a Postscript previewer],GHOSTVIEW,gsview32 gv ghostview kghostview) case $GHOSTVIEW in ghostview) PS_VIEWER="$GHOSTVIEW -swap" ;; *) PS_VIEWER="$GHOSTVIEW";; @@ -273,13 +277,13 @@ esac EPS_VIEWER=$GHOSTVIEW # Search for a program to preview pdf -SEARCH_PROG([for a PDF preview],PDF_VIEWER, acrobat acrord32 gsview32 acroread gv ghostview xpdf) +SEARCH_PROG([for a PDF previewer],PDF_VIEWER, acrobat acrord32 gsview32 acroread gv ghostview xpdf kpdf kghostview) # Search something to preview dvi -SEARCH_PROG([for a DVI previewer],DVI_VIEWER, xdvi windvi yap) +SEARCH_PROG([for a DVI previewer],DVI_VIEWER, xdvi windvi yap kdvi) # Search something to preview html -SEARCH_PROG([for a HTML previewer],HTML_VIEWER, "mozilla file://\$\$p\$\$i" netscape) +SEARCH_PROG([for an HTML previewer],HTML_VIEWER, "mozilla file://\$\$p\$\$i" netscape) # Search for a program to convert ps to pdf SEARCH_PROG([for a PS to PDF converter],ps_to_pdf_command, "ps2pdf13 \$\$i") @@ -305,7 +309,7 @@ LYXRC_PROG([for ChkTeX], \chktex_command,dnl "chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38") # Search for a spellchecker -LYXRC_PROG([for a spell-checker], \spell_command, ispell) +LYXRC_PROG([for a spellchecker], \spell_command, ispell) # Search for computer algebra systems SEARCH_PROG([for Octave],OCTAVE,octave) @@ -383,9 +387,10 @@ case $prog in esac LYXRC_VAR(\print_spool_printerprefix, $print_spool_printerprefix) -SEARCH_PROG([for a LaTeX -> HTML converter], TOHTML, tth latex2html hevea) +SEARCH_PROG([for a LaTeX -> HTML converter], TOHTML, htlatex tth latex2html hevea) latex_to_html_command=$TOHTML case $TOHTML in + htlatex) latex_to_html_command="htlatex \$\$i";; tth) latex_to_html_command="tth -t -e2 -L\$\$b < \$\$i > \$\$o";; latex2html) latex_to_html_command="latex2html -no_subdir -split 0 -show_section_numbers \$\$i";; hevea) latex_to_html_command="hevea -s \$\$i";; @@ -559,16 +564,16 @@ 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 < 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/PNG/PDF converter], TGIF, tgif) if test "$TGIF" = "tgif"; then cat >>$outfile < \$\$o" "" \\converter tgif png "tgif -stdout -print -color -xpm \$\$i | xpmtoppm | pnmtopng > \$\$o" "" +\\converter tgif pdf "tgif -stdout -print -color -pdf \$\$i > \$\$o" "" EOF fi diff --git a/status.13x b/status.13x index 83dca4db38..d32828b760 100644 --- a/status.13x +++ b/status.13x @@ -37,6 +37,10 @@ What's new - Fix LaTeX output when a bibtex inset is used in a child document. +- Support tex4ht for Tex -> MS Word conversion + +- Support the previewers kdvi, kpdf, and kghostview + * User Interface: - Fix wrong path when drag-and-dropping files on Windows. [Qt only]