>>>>> "Uwe" == Uwe Wolfram <[EMAIL PROTECTED]> writes:

Uwe> Hi Jean-Marc, I'm a little bit reluctant to subscribe to the
Uwe> developer maillist as an ordinary user just for this:

Hi Uwe,

Sorry for taking so long to answer... I cc'd the developpers list,
since I am not sure what to do.

Uwe> With lyx 1.3 series (I'm running lyx 1.3.2) I was unable to
Uwe> display math symbols in the editor window under Solaris. No help
Uwe> on the user maillist, then Enrico Forestieri
Uwe> <[EMAIL PROTECTED]> came up with a solution.

Uwe> Please include the following hint in the INSTALL file or - if
Uwe> possible - include these steps in the configure/make system of
Uwe> lyx:

Uwe> To make the math fonts in INSTALLDIR/xfonts display correctly in
Uwe> the editor window on Solaris you have to issue (the cd is
Uwe> mandatory)

Uwe> # cd INSTALLDIR/xfonts 
Uwe> # makepsres .

It seems that this is needed on systems using display postscript.

I began to think about including this in lib/configure. Does the
attached patch work for you?

Other people are welcome to try it out too, just to make sure I did
not break anything.

JMarc

Index: lib/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/ChangeLog,v
retrieving revision 1.363.2.38
diff -u -p -r1.363.2.38 ChangeLog
--- lib/ChangeLog	8 Sep 2003 16:52:35 -0000	1.363.2.38
+++ lib/ChangeLog	10 Sep 2003 14:58:25 -0000
@@ -1,3 +1,8 @@
+2003-09-10  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
+
+	* configure.m4: call makepsres on xfonts subdirectory in case it
+	is needed.
+
 2003-09-08  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
 
 	* bind/aqua.bind: new bindings useful on aqua (from Ronald
Index: lib/configure.m4
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/configure.m4,v
retrieving revision 1.60.2.5
diff -u -p -r1.60.2.5 configure.m4
--- lib/configure.m4	3 Jul 2003 13:29:33 -0000	1.60.2.5
+++ lib/configure.m4	10 Sep 2003 14:58:25 -0000
@@ -574,6 +574,8 @@ if test ! $num = 0 ; then
   echo $num >xfonts/fonts.scale
   cat xfonts/tmpfonts >>xfonts/fonts.scale
   cp xfonts/fonts.scale xfonts/fonts.dir
+  # create a resource list file for Display Postscript
+  (cd xfonts ; rm -f PSres.upr ; makepsres -q) || true
 fi
 rm -f xfonts/tmpfonts
 

Reply via email to