summaryrefslogtreecommitdiff
blob: 4a912e52f207d5ff42627bc96d338048ae79802b (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.2.orig/lib/configure.py lyx-1.4.2/lib/configure.py
--- lyx-1.4.2.orig/lib/configure.py	2006-07-08 11:53:50.000000000 +0900
+++ lyx-1.4.2/lib/configure.py	2006-08-17 17:07:17.000000000 +0900
@@ -185,7 +185,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:
@@ -321,7 +321,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'],
@@ -549,7 +549,7 @@
     cl.close()
     #
     # we have chklayouts.tex, then process it
-    for line in cmdOutput(LATEX + ' wrap_chkconfig.ltx').splitlines():
+    for line in cmdOutput(LATEX + ' --no-mktex=tfm wrap_chkconfig.ltx').splitlines():
       if re.match('^\+', line):
         print line
     #
diff -Naur lyx-1.4.2.orig/lib/lyxrc.example lyx-1.4.2/lib/lyxrc.example
--- lyx-1.4.2.orig/lib/lyxrc.example	2005-09-08 18:20:16.000000000 +0900
+++ lyx-1.4.2/lib/lyxrc.example	2006-08-17 16:53:24.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.