]> git.lyx.org Git - lyx.git/blobdiff - lib/configure.m4
use <cmd>-Tab and <cmd>-backtab as shortcuts for
[lyx.git] / lib / configure.m4
index b68cee868ca844f7dc6c86993f11c29696eb4abf..ad2af1dae87d27dad5e440a546dc1a594caa1249 100644 (file)
@@ -314,7 +314,7 @@ lyxpreview_to_bitmap_command='python $$s/lyxpreview2bitmap.py'
 SEARCH_PROG([for dvipng],DVIPNG,dvipng)
 
 test "$DVIPNG" = "dvipng" && \
-       lyxpreview_to_png_command = $lyxpreview_to_bitmap_command
+       lyxpreview_to_png_command=$lyxpreview_to_bitmap_command
 
 # Search a *roff program (used to translate tables in ASCII export)
 LYXRC_PROG([for a *roff formatter], \ascii_roff_command, dnl
@@ -479,11 +479,11 @@ EOF
   for file in ./layouts/*.layout "${srcdir}"/layouts/*.layout ; do
     case $file in
       */\*.layout) ;;
-      *) if test -r "$file" ; then 
+      *) if test -r "$file" ; then
            class=`echo $file | sed -e 's%^.*layouts/\(.*\)\.layout$%\1%'`
           # Generate the proper TestDocClass command for this layout
           grep '\\Declare\(LaTeX\|DocBook\|LinuxDoc\)Class' "$file" \
-             | sed -e 's/^\# *\(.*\)$/\\TestDocClass{'${class}'}{\1}/' 
+             | sed -e 's/^\# *\(.*\)$/\\TestDocClass{'${class}'}{\1}/'
         fi ;;
     esac
   done > chklayouts.tex
@@ -636,6 +636,10 @@ fi
 
 cat >>$outfile <<EOF
 
+\\copier    fig        "sh \$\$s/fig_copy.sh \$\$i \$\$o"
+\\copier    pstex      "python \$\$s/tex_copy.py \$\$i \$\$o \$\$l"
+\\copier    pdftex     "python \$\$s/tex_copy.py \$\$i \$\$o \$\$l"
+
 $rc_entries
 \\font_encoding "$chk_fontenc"
 EOF