General ⇒ ps in texlive
-
- Posts: 4
- Joined: Thu Apr 16, 2009 9:45 pm
ps in texlive
I use MikTex with Texniccenter usually, but due to circumstances I have to use my university's Texlive distribution with no frontend. So to compile I have written a small batch file, which is:
:: Begin
@ECHO ON
cd "Y:\texlive\2008\bin\win32"
y:
pdflatex -output-format=pdf -output-directory="E:\Desktop\Innovation\Draft" "E:\Desktop\Innovation\Draft\_draft2.tex"
bibtex "E:\Desktop\Innovation\Draft\_draft2.aux"
pdflatex -output-format=pdf -output-directory="E:\Desktop\Innovation\Draft" "E:\Desktop\Innovation\Draft\_draft2.tex"
pdflatex -output-format=pdf -output-directory="E:\Desktop\Innovation\Draft" "E:\Desktop\Innovation\Draft\_draft2.tex"
pause
:: End
I have two questions:
1) I have an \includegraphics{figure.eps} statement in my .tex file and this will obviously not compile with pdflatex. Is there a way to compile to ps with standard release texlive?
2) Secondly, my bibliography does not show up in the pdf. Any obvious reasons for this?
Thanks,
T
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
ps in texlive
Code: Select all
:: Begin
@ECHO ON
Y:\texlive\2008\bin\win32\pdflatex "_draft2.tex"
Y:\texlive\2008\bin\win32\bibtex "_draft2.aux"
Y:\texlive\2008\bin\win32\pdflatex "_draft2.tex"
Y:\texlive\2008\bin\win32\pdflatex "_draft2.tex"
pause
:: End
As for the EPS images, run this from the directory containing "image.eps"
Code: Select all
epstopdf image.eps
Change all your \includegraphics{image.eps} to simply \includegraphics{image} and it will automatically pick out the .pdf (PDFLaTeX) or .eps (LaTeX) extension for you.
(PDFLaTeX doesn't handle .ps files any better than .eps files, as those are the same format up to the bounding box.)
-
- Posts: 4
- Joined: Thu Apr 16, 2009 9:45 pm