Koji Yokota wrote:
Uwe Stöhr wrote:
I implemented JMarcs suggestion that the japanese packaeg is only loaded when a textclass doesn't already provide it.

Thank you. I attach layout files for standard Japanese classes using this feature. Could you include these in trunk?

Currently, platex cannot find these classes with configure.py because it is not recognized as a latex binary. Could you apply the attached patches (or else) so that it can find the classes (and also preview of math to work)?

Koji
--- lib/configure.py.orig	Tue Oct 16 00:25:55 2007
+++ lib/configure.py	Tue Oct 16 00:44:52 2007
@@ -202,7 +202,7 @@
 \converter dvi2       dvi        "python -tt $$s/scripts/clean_dvi.py $$i $$o"	""'''
     else:
         converter_entry = r'\converter latex      dvi        "%%"	"latex"'
-    path, LATEX = checkProg('a Latex2e program', ['pplatex $$i', 'latex $$i', 'latex2e $$i'],
+    path, LATEX = checkProg('a Latex2e program', ['pplatex $$i', 'platex $$i', 'latex $$i', 'latex2e $$i'],
         rc_entry = [converter_entry])
     # no latex
     if LATEX != '':
--- lib/scripts/legacy_lyxpreview2ppm.py.orig	Wed Jul 11 16:40:55 2007
+++ lib/scripts/legacy_lyxpreview2ppm.py	Tue Oct 16 00:44:52 2007
@@ -234,7 +234,7 @@
 
     # External programs used by the script.
     path = string.split(os.environ["PATH"], os.pathsep)
-    latex   = find_exe_or_terminate(["pplatex", "latex2e", "latex"], path)
+    latex   = find_exe_or_terminate(["pplatex", "platex", "latex2e", "latex"], path)
     dvips   = find_exe_or_terminate(["dvips"], path)
     gs      = find_exe_or_terminate(["gswin32c", "gs"], path)
     pnmcrop = find_exe(["pnmcrop"], path)
--- lib/scripts/lyxpreview2bitmap.py.orig	Wed Jul 11 16:40:55 2007
+++ lib/scripts/lyxpreview2bitmap.py	Tue Oct 16 00:44:52 2007
@@ -150,7 +150,7 @@
 
     # External programs used by the script.
     path = string.split(os.environ["PATH"], os.pathsep)
-    latex = find_exe_or_terminate(["pplatex", "latex2e", "latex"], path)
+    latex = find_exe_or_terminate(["pplatex", "platex", "latex2e", "latex"], path)
 
     # This can go once dvipng becomes widespread.
     dvipng = find_exe(["dvipng"], path)

Reply via email to