Attached a patch against the configure script that comes together with
Angus' SVN snapshot build for Windows (because I couldn't find the
original file in the SVN repository).

It adds some (Win) text editors with syntax highlighting that could be
used to view/edit LaTeX files.

regards Uwe

p.s. I added a trivial patch to bug 2469 for LyX 1.4.1
--- configureOld	Mon Apr 03 21:26:57 2006
+++ configure	Mon Apr 03 21:28:11 2006
@@ -3,12 +3,6 @@
 # code stolen from GNU autoconf. I removed all the code that was not
 # useful for configuring a LyX installation.
 
-
-
-
-
-
-
 # Be Bourne compatible (taken from autoconf 2.53)
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   emulate sh
@@ -17,8 +11,6 @@
   set -o posix
 fi
 
-
-
 ####some configuration variables
 outfile=lyxrc.defaults
 rc_entries=
@@ -442,7 +434,7 @@
 echo $ac_n "checking for a text editor""... $ac_c"
 echo "$ac_t"""
 TEXT_EDITOR=
-for ac_prog in xemacs gvim kedit kwrite kate nedit gedit notepad
+for ac_prog in xemacs gvim kedit kwrite kate nedit gedit jedit.jar pspad winshell context cedt texcntr latexeditor winedt led wintex notepad
 do
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog ; ac_word=$2
@@ -451,7 +443,7 @@
   IFS="${IFS=	}"; ac_save_ifs="$IFS"; IFS=":"
   save_PATH=$PATH ; PATH=:$PATH
   for ac_dir in ${PATH} ; do
-    if test -x $ac_dir/$ac_word; then
+    if test -r $ac_dir/$ac_word; then
       TEXT_EDITOR="$ac_prog"
       break
     fi
@@ -474,7 +466,6 @@
   TEXT_EDITOR=none
 fi
 
-
 # Search for an installed tex2lyx or a ready-to-install one
 echo $ac_n "checking for a LaTeX -> LyX converter""... $ac_c"
 echo "$ac_t"""
@@ -699,7 +690,7 @@
 
 
 echo $ac_n "checking for Image converter""... $ac_c"
-echo "$ac_t"""
+echo "$ac_t""(Imagemagick's convert)"
 image_command=
 for ac_prog in "convert \$\$i \$\$o"
 do
@@ -733,7 +724,6 @@
   image_command=none
 fi
 
-
 echo $ac_n "checking for an OpenOffice.org -> LaTeX converter""... $ac_c"
 echo "$ac_t"""
 sxw_to_latex_command=
@@ -1711,7 +1701,7 @@
 \\Format docbook    sgml    DocBook                B  ""	"$TEXT_EDITOR"
 \\Format docbook-xml xml   "Docbook (XML)"         "" ""	"$TEXT_EDITOR"
 \\Format dvi        dvi     DVI                    D  "$DVI_VIEWER"	""
-\\Format dvi2	  dvi	DraftDVI	""
+\\Format dvi2       dvi     DraftDVI               "" "$DVI_VIEWER"	""
 \\Format eps        eps     EPS                    "" "$EPS_VIEWER"	""
 \\Format fax        ""      Fax                    "" ""	""
 \\Format fen        fen     FEN                    "" "$FEN_VIEWER"	"$FEN_EDITOR"
@@ -1719,7 +1709,7 @@
 \\Format gif        gif     GIF                    "" "$RASTERIMAGE_VIEWER"	"$RASTERIMAGE_EDITOR"
 \\Format html       html    HTML                   H  "$HTML_VIEWER"	""
 \\Format jpg        jpg     JPEG                   "" "$RASTERIMAGE_VIEWER"	"$RASTERIMAGE_EDITOR"
-\\Format latex      tex     LaTeX                  L  ""	"$TEXT_EDITOR"
+\\Format latex      tex     LaTeX                  L  "$TEXT_EDITOR"	"$TEXT_EDITOR"
 \\Format linuxdoc   sgml    LinuxDoc               x  ""	"$TEXT_EDITOR"
 \\Format lyx        lyx     LyX                    "" ""	""
 \\Format lyx13x     lyx13  "LyX 1.3.x"             "" ""	""
@@ -1776,6 +1766,7 @@
 \\converter ps         pdf        "$ps_to_pdf_command"	""
 \\converter sxw        latex      "$sxw_to_latex_command"	""
 \\converter word       latex      "$word_to_latex_command"	""
+
 EOF
 
 ### the graphic converter part with the predefined ones

Reply via email to