Re: [WINDOWS] Python scripts fail

2011-02-03 Thread Paul A. Rubin
On 02/03/2011 03:12 PM, Gabriel Kniffin wrote: I did View > PDF (pdflatex) then checked the temporary directory. It has all the EPS files with name changes as well as copies of the EPS files with .pdf extensions. There is an EPS -> PDF converter. It's ps2pdf and the converter line matches what

Re: [WINDOWS] Python scripts fail

2011-02-03 Thread Gabriel Kniffin
I did View > PDF (pdflatex) then checked the temporary directory. It has all the EPS files with name changes as well as copies of the EPS files with .pdf extensions. There is an EPS -> PDF converter. It's ps2pdf and the converter line matches what you have. Just as a check I tried View > PDF (ps2p

Re: [WINDOWS] Python scripts fail

2011-02-03 Thread Paul A. Rubin
On 2/2/2011 9:35 PM, Gabriel Kniffin wrote: Unfortunately I'm still getting the same "...cannot determine size of graphic in..." errors when trying to build a .pdf. You mentioned in a previous message that the images are all EPS files, and IIRC you said that they show up in DVI and PS output

Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Gabriel Kniffin
Thanks! I ran bibtex as you suggested and the output looked like bibtex didn't recognize the bibstyle I was using. I changed it and now it seems to be producing .ps files with figures and bibliography without a hitch! Unfortunately I'm still getting the same "...cannot determine size of graphic in

Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Paul A. Rubin
On 02/02/2011 03:59 PM, Gabriel Kniffin wrote: The .bbl file is there but explorer says its size is 0 KB. That means that (a) BibTeX was run (which is good) and (b) it failed (not so good). Try exporting your document to a .tex file (File > Export > LaTeX (plain)). Open a command shell and

Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Julien Rioux
On 02/02/2011 3:13 PM, Gabriel Kniffin wrote: There are no strings in the log file that match the name of my .bib file (Kniffin_2011.bib) which is in the same directory (in the E: drive) as my LyX file, but there is some text at the bottom that points to a .bbl the C: drive that matches the name

Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Gabriel Kniffin
The .bbl file is there but explorer says its size is 0 KB. On Wed, Feb 2, 2011 at 12:34 PM, Richard Heck wrote: > On 02/02/2011 03:13 PM, Gabriel Kniffin wrote: > >> The images are all .eps files. >> >> The log file says "LaTeX Warning: Citation `' on page >> undefined on input line ." Then on

Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Richard Heck
On 02/02/2011 03:13 PM, Gabriel Kniffin wrote: The images are all .eps files. The log file says "LaTeX Warning: Citation `' on page undefined on input line ." Then on the bottom it says "LaTeX: Warning: There were undefined references." There are no strings in the log file that match the n

Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Gabriel Kniffin
The images are all .eps files. The log file says "LaTeX Warning: Citation `' on page undefined on input line ." Then on the bottom it says "LaTeX: Warning: There were undefined references." There are no strings in the log file that match the name of my .bib file (Kniffin_2011.bib) which is in th

Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Paul A. Rubin
On 2/1/2011 7:12 PM, Gabriel Kniffin wrote: The image files live on my E: drive. I'm able to build a .ps or .dvi without any figure issues, just not a .pdf. What format are the image files? I wonder if the reason DVI works and PDF doesn't has to do with a failed attempt to convert the format.

Re: [WINDOWS] Python scripts fail

2011-02-01 Thread Gabriel Kniffin
The image files live on my E: drive. I'm able to build a .ps or .dvi without any figure issues, just not a .pdf. Also, I still get a [?] instead of citations in the document after I've added my .bib file to the LyX document using the "LyX: BibTeX Bibliography" dialog box. Thanks! -Gabe On Tue, F

Re: [WINDOWS] Python scripts fail

2011-02-01 Thread Paul A. Rubin
On 02/01/2011 05:44 PM, Gabriel Kniffin wrote: The -userdir switch as you suggested seems to have fixed the texfiles.py failing problem, although now I'm getting a bunch of the following LaTeX errors when I try to build a .pdf: "LaTeX Error: Cannot determine the size of graphic in <...>" That

Re: [WINDOWS] Python scripts fail

2011-02-01 Thread Gabriel Kniffin
The -userdir switch as you suggested seems to have fixed the texfiles.py failing problem, although now I'm getting a bunch of the following LaTeX errors when I try to build a .pdf: "LaTeX Error: Cannot determine the size of graphic in <...>" Also, the user directory is only set to the E: drive wh

Re: [WINDOWS] Python scripts fail

2011-02-01 Thread Paul A. Rubin
On 02/01/2011 01:42 PM, kniff...@cecs.pdx.edu wrote: The E: drive is a partition of the computer's hard drive. It's the "user" drive of my work computer that I, as a user, am free to modify. The C: drive is maintained by our IT dept. It looks like my user directory is on the network. I went to

Re: [WINDOWS] Python scripts fail

2011-02-01 Thread kniffing
The E: drive is a partition of the computer's hard drive. It's the "user" drive of my work computer that I, as a user, am free to modify. The C: drive is maintained by our IT dept. It looks like my user directory is on the network. I went to Tools > Preferences > Paths but it doesn't look l

Re: [WINDOWS] Python scripts fail

2011-01-31 Thread Paul Rubin
Gabriel Kniffin gmail.com> writes: > I opened the script with python via command line. Here's the > result: "E:\ProgramFiles\LyX16\Resources\scripts>E:\ProgramFiles\LyX16\python\ python TeXFiles.py Indexing files of type cls Indexing files of type sty Indexing files of type bst Indexing files of

Re: [WINDOWS] Python scripts fail

2011-01-31 Thread Gabriel Kniffin
I opened the script with python via command line. Here's the result: "E:\ProgramFiles\LyX16\Resources\scripts>E:\ProgramFiles\LyX16\python\python TeXFiles.py Indexing files of type cls Indexing files of type sty Indexing files of type bst Indexing files of type bib" The python files do show up wi

[WINDOWS] Python scripts fail

2011-01-28 Thread Richard Heck
On 01/28/2011 05:35 PM, Gabriel Kniffin wrote: Thanks Richard, I just reinstalled LyX using LyX-1.6.8-2-Installer.exe but I'm still having the same problem. I also checked to make sure TeXFiles.py file is there, which it is. I also noticed the same error happens when I go to Tools > TeX Inf