Nicolás wrote:
I also have some problems running View/Export of PDF or PS (detailed
info below)
View/Export PDF or PS:
Converting from dvi2 to dvi
Calling python C:/tools/latex/lyx136/Resources/lyx/scripts/clean_dvi.py"
"mydocument.dvi" "tmpfile.out"
renaming file
C:/tools/latex/lyx136/temp/lyx_tmpdir11696a10684/lyx_tmpbuf0/tmpfile.out
to
C:/tools/latex/lyx136/temp/lyx_tmpdir11696a10684/lyx_tmpbuf0/mydocument.dvi
Converting from dvi to ps
Calling dvips -t a4 -o "mydocument.ps" "tmpfile.out"
This is dvips(k) 5.94b Copyright 2004 Radical Eye Software
(www.radicaleye.com)
dvips: ! DVI file can't be opened.
Ok, I see this too. Here's the patch which I'm currently compiling (it
takes a little time with MinGW/MinSYS...) I guess that something similar
will be needed for 1.4.x.
Angus
Index: src/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
retrieving revision 1.1021.2.82
diff -u -a -u -r1.1021.2.82 ChangeLog
--- src/ChangeLog 19 May 2005 08:42:38 -0000 1.1021.2.82
+++ src/ChangeLog 9 Jun 2005 12:44:38 -0000
@@ -1,3 +1,9 @@
+2005-06-09 Angus Leeming <[EMAIL PROTECTED]>
+
+ * converter.C (convert): Don't forget "outfile = real_outfile" as
+ the final step in a conversion where the input and output file names
+ are the same. Otherwise, future conversion steps won't work...
+
2005-05-18 Angus Leeming <[EMAIL PROTECTED]>
* buffer.C (readFile): Quote all file names passed to lyx2lyx.
Index: src/converter.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/converter.C,v
retrieving revision 1.62.2.3
diff -u -a -u -r1.62.2.3 converter.C
--- src/converter.C 7 Dec 2004 10:48:21 -0000 1.62.2.3
+++ src/converter.C 9 Jun 2005 12:43:34 -0000
@@ -685,6 +685,9 @@
<< "renaming file " << outfile
<< " to " << real_outfile
<< endl;
+ // Finally, don't forget to tell any future
+ // converters to use the renamed file...
+ outfile = real_outfile;
}
if (!conv.parselog.empty()) {