Attached a small patch for chkconfig.ltx to check for the LaTeX-package "preview". I also patched the LaTeXConfig.lyx.in to describe the preview package and to add descriptions for prettyref and varioref.

Btw. for what is the file LyXConfig.lyx.in needed? It contains most of the package descriptions but not all of LaTeXConfig.lyx.in.

Could somebody please have a look at bug 2415:

http://bugzilla.lyx.org/show_bug.cgi?id=2415

It seems that preview is broken and useless at the moment or is this unreproducible under Lunix?

Thanks and regards
Uwe

p.s. @Angus: I'm currently working on the installer. Aspell 0.6 works fine, thanks for your great work. Besides the preview problems there's only one thing left: The LyX menus are always in english in your 1.4.1svn builds, no matter what environment LANG variable is used. How could this be fixed?
--- chkconfigold.ltx	Tue Mar 21 23:24:05 2006
+++ chkconfig.ltx	Sun Mar 26 04:53:25 2006
@@ -234,6 +234,7 @@
 \TestPackage{bibtopic}
 \TestPackage{jurabib}
 \TestPackage{dvipost}
+\TestPackage{preview}
 
 % The test for the graphics package is slightly more involved...
 \newcommand\groption{dvips}
--- LaTeXConfigOld.lyx.in	Tue Mar 21 23:24:01 2006
+++ LaTeXConfig.lyx.in	Sun Mar 26 01:21:28 2006
@@ -1,4 +1,4 @@
-#LyX 1.4.0cvs created this file. For more info see http://www.lyx.org/
+#LyX 1.4.1svn created this file. For more info see http://www.lyx.org/
 \lyxformat 245
 \begin_document
 \begin_header
@@ -2052,7 +2052,12 @@
 \end_layout
 
 \begin_layout Description
-Notes: none yet
+Notes: The package 
+\family typewriter
+varioref
+\family default
+ introduces some commands to generate references with an information about
+ the page of the referred label.
 \end_layout
 
 \begin_layout Section
@@ -2348,7 +2353,48 @@
 \end_layout
 
 \begin_layout Description
-Notes: none yet
+Notes: The package 
+\family typewriter
+prettyref
+\family default
+ provides a command to identify reference labels by a prefix.
+ LyX uses labels in the form 
+\begin_inset Quotes eld
+\end_inset
+
+sec:mysection
+\begin_inset Quotes erd
+\end_inset
+
+ and 
+\family typewriter
+prettyref
+\family default
+ interprets the "sec:" part.
+\end_layout
+
+\begin_layout Subsection
+preview
+\end_layout
+
+\begin_layout Description
+Found: @chk_preview@
+\end_layout
+
+\begin_layout Description
+CTAN: 
+\family typewriter
+macros/latex/contrib/preview
+\end_layout
+
+\begin_layout Description
+Notes: The package 
+\family typewriter
+preview
+\family default
+ is needed by LyX to preview LaTeX constructs; especially for math formulas
+ when you use the option ``Instant Preview'' in Tools->Preferences->Look
+ and feel->Graphics.
 \end_layout
 
 \begin_layout Subsection

Reply via email to