From 793da498a2229373fab957687a32b61714304d4c Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 3 Oct 2000 08:55:52 +0000 Subject: [PATCH] Oops! Forgot to commit a few files. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1073 a592a061-630c-0410-9148-cb99ea01b6c8 --- ChangeLog | 32 +++++++++++++++++++++++++++++++- lib/build-listerrors | 4 ++-- lib/configure | 13 ++++++++----- lib/configure.m4 | 11 +++++++---- 4 files changed, 48 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index a3cc2553ca..86d34255c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,33 @@ +2000-10-01 Dekel Tsur + + * lib/configure.m4 + * lib/build-listerrors + * src/converter.C + * src/exporter.C: Add literate programming support to the export code + + * src/buffer.C + * src/lyx_cb.C: Remove old literate code. + + * src/lyxrc.[Ch]: Remove many obsolete (due to new export code) + variables. + + * src/lyxfunc.C (getStatus): Use Exporter::IsExportable + * src/converter.C (View, Convert): Use QuoteName. + + * src/insets/figinset.C (Preview): Use Formats::View. + + * lib/configure.m4: Add sgml->dvi converter to lyxrc.default + +2000-10-02 Jean-Marc Lasgouttes + + * src/lyxfunc.C (Dispatch): move declaration of text variable at + the top of the function, because compaq cxx complains that the + "goto exit_with_message" when the function is disabled bypasses + its initialization. + (MenuNew): try a better fix for the generation of new file names. + This time, I used AddName() instead of AddPath(), hoping Juergen + will be happier :) + 2000-10-03 Allan Rae * src/frontends/xforms/forms/form_preferences.fd: @@ -238,7 +268,7 @@ 2000-09-29 Lars Gullik Bjønnes - * several files: type canges to reduce the number of warnings and + * several files: type changes to reduce the number of warnings and to unify type hangling a bit. Still much to do. 2000-09-29 Jean-Marc Lasgouttes diff --git a/lib/build-listerrors b/lib/build-listerrors index a7d3cea184..bb5cec083e 100755 --- a/lib/build-listerrors +++ b/lib/build-listerrors @@ -14,6 +14,6 @@ else lyx=lyx fi -$lyx --export tex examples/Literate.lyx -mv examples/Literate.tex Literate.nw +$lyx --export nw examples/Literate.lyx +mv examples/Literate.nw Literate.nw notangle -Rbuild-script Literate.nw | sh diff --git a/lib/configure b/lib/configure index 5667f42855..c31b804dc9 100755 --- a/lib/configure +++ b/lib/configure @@ -225,9 +225,9 @@ PATH=${save_PATH} # Search something to process a literate document echo $ac_n "checking for a Literate programming processor""... $ac_c" -echo "$ac_t""("noweave -delay -index")" +echo "$ac_t""("noweave -delay -index \$\$FName > \$\$OutName")" LITERATE= -for ac_prog in "noweave -delay -index" +for ac_prog in "noweave -delay -index \$\$FName > \$\$OutName" do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog ; ac_word=$2 @@ -258,7 +258,7 @@ if test -z "$LITERATE" ; then LITERATE=none fi -if test "$LITERATE" = "none"; then LITERATE_EXT="none"; else LITERATE_EXT=".nw"; fi +if test "$LITERATE" = "none"; then LITERATE_EXT="none"; else LITERATE_EXT="nw"; fi # Search for a Postscript interpreter echo $ac_n "checking for a Postscript interpreter""... $ac_c" @@ -716,10 +716,12 @@ fi case $LINUXDOC in sgml2lyx) linuxdoc_to_latex_command="sgml2latex \$\$FName" + linuxdoc_to_dvi_command="sgml2latex -o dvi \$\$FName" linuxdoc_to_html_command="sgml2html \$\$FName" linuxdoc_to_lyx_command="sgml2lyx";; none) linuxdoc_to_latex_command="none" + linuxdoc_to_dvi_command="none" linuxdoc_to_html_command="none" linuxdoc_to_lyx_command="none";; esac @@ -950,21 +952,22 @@ cat >lyxrc.defaults < \$\$OutName") +if test "$LITERATE" = "none"; then LITERATE_EXT="none"; else LITERATE_EXT="nw"; fi # Search for a Postscript interpreter SEARCH_PROG([for a Postscript interpreter],GS, gs) @@ -249,10 +249,12 @@ fi case $LINUXDOC in sgml2lyx) linuxdoc_to_latex_command="sgml2latex \$\$FName" + linuxdoc_to_dvi_command="sgml2latex -o dvi \$\$FName" linuxdoc_to_html_command="sgml2html \$\$FName" linuxdoc_to_lyx_command="sgml2lyx";; none) linuxdoc_to_latex_command="none" + linuxdoc_to_dvi_command="none" linuxdoc_to_html_command="none" linuxdoc_to_lyx_command="none";; esac @@ -372,21 +374,22 @@ cat >lyxrc.defaults <