summaryrefslogtreecommitdiff
blob: b790099af84924734164af8c5f33a044fe718a65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
diff -Naur lyx-1.4.4.orig/lib/configure.py lyx-1.4.4/lib/configure.py
--- lyx-1.4.4.orig/lib/configure.py	2007-02-14 08:20:29.000000000 +0900
+++ lyx-1.4.4/lib/configure.py	2007-02-18 01:16:51.000000000 +0900
@@ -227,7 +227,7 @@
 \\@@end
 ''')
         # run latex on chklatex.ltx and check result
-        if cmdOutput(LATEX + ' chklatex.ltx').find('ThisIsLaTeX2e') != -1:
+        if cmdOutput(LATEX + ' --no-mktex=tfm chklatex.ltx').find('ThisIsLaTeX2e') != -1:
             # valid latex2e
             return LATEX
         else:
@@ -364,7 +364,7 @@
     checkProg('a PS to PDF converter', ['ps2pdf13 $$i $$o'],
         rc_entry = [ r'\converter ps         pdf        "%%"	""' ])
     #
-    checkProg('a DVI to PS converter', ['dvips -o $$o $$i'],
+    checkProg('a DVI to PS converter', ['dvips -R0 -o $$o $$i'],
         rc_entry = [ r'\converter dvi        ps         "%%"	""' ])
     #
     checkProg('a DVI to PDF converter', ['dvipdfmx -o $$o $$i', 'dvipdfm -o $$o $$i'],
@@ -613,7 +613,7 @@
         cl.close()
         #
         # we have chklayouts.tex, then process it
-        fout = os.popen(LATEX + ' wrap_chkconfig.ltx')
+        fout = os.popen(LATEX + ' --no-mktex=tfm wrap_chkconfig.ltx')
         while True:
             line = fout.readline()
             if not line:
diff -Naur lyx-1.4.4.orig/lib/lyxrc.example lyx-1.4.4/lib/lyxrc.example
--- lyx-1.4.4.orig/lib/lyxrc.example	2005-09-08 18:20:16.000000000 +0900
+++ lyx-1.4.4/lib/lyxrc.example	2007-02-18 01:16:51.000000000 +0900
@@ -348,7 +348,7 @@
 # The converter command has 4 arguments: The source format, the target format,
 # the command, and additional flags.
 # For example, the following defines a DVI->Postscript converter:
-#\converter dvi ps "dvips -o $$o $$i" ""
+#\converter dvi ps "dvips -R0 -o $$o $$i" ""
 # The variable name $$i is replaced with the name of the source file,
 # and $$o is replaced with the name of the target file.
 # The flags argument is a list of comma separated flags.