simpdftex_dpmx, dvipdfmx: dvips+ps2pdf; url+hyperref; was Re: [OS X TeX] Correction and Misc
Roussanka Loukanova
rloukano at stp.lingfil.uu.se
Sat Mar 3 14:57:31 EST 2007
Hi again, with assessment of my previous posting:
On Sat, 3 Mar 2007, Roussanka Loukanova wrote:
> On Sat, 3 Mar 2007, Richard Koch wrote:
...
>> simpdftex latex --maxpfb --> simpdftex_dpmx latex --dpx
>> --maxpfb
>>
>> will use DVIPDFMX instead of dvips _ ps2pdf.
>>
>
> I did the above, i.e., got in
>
> TeXShop Preferences:
>
> Engine
> TeX + dvips + distiller
> Latex Program (default: altpdflatex)
> simpdftex_dpmx latex --dpx --maxpfb
>
> Trying Typeset a tex file, I got a pop-up box telling:
>
> /usr/texbin/simpdftex_dpmx does not exist.
...
> Also "which" does not find simpdftex_dpmx:
>
> $ which simpdftex_dpmx
> no simpdftex_dpmx in /Users/rosi/bin /bin /sbin /usr/bin /usr/sbin
> /usr/texbin /usr/local/bin
I actually did the above tests with gwTeX, by forgetting to switch to
TeXLive-2007, while gwTeX does not include dvipdfmx. Now, after making
TeXLive-2007 the active TeX Distribution, I get:
$ which simpdftex_dpmx
/usr/texbin/simpdftex_dpmx
$ which dvipdfmx
/usr/texbin/dvipdfmx
I tested the above substitution in TeXShop Preferences with the following
results:
1. Several small small tex files typeset finely
2. Tex files with dvips dependent drawings go through typesetting and a
pdf file is viewed, but without the drawings. The console in TeXShop
issues a long list of warnings.
3. Similarly, a test file with hyperlinks goes trough Typeset, but none of
the hyperlinks in the pdf file works. And the console in TeXShop lists
warnings.
At the end is my test-url-hyperref.tex file, if someone would like to
try it. I am not including the output in the console because it's rather
long. I intend to take away dvipdfmx from the TeXShop, at least for now.
BTW, this test convinced me that the View command for dvi files in Emacs
indeed opens TeXShop for the entire stage dvi -> pdf, depending on what
is set in TeXShop Prefrences -> Engine -> Latex Program (default: altpdflatex):
- dvipdfmx with simpdftex_dpmx latex --dpx --maxpfb
- dvips + ps2pdf with simpdftex latex --maxpfb
(I think this is a good relationship Emacs <-> TexShop.)
Roussanka
=================================
\documentclass[12pt]{article}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{textcomp}
\usepackage{url}
\usepackage[unicode,bookmarks,colorlinks]{hyperref}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{14pt} % space for the rule
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\lhead{\small Roussanka Loukanova \hfill
$<$\href{mailto:rloukano at stp.lingfil.uu.se}%
{rloukano at stp.lingfil.uu.se}$>$}
\chead{}
\rhead{}
\lfoot{}
\cfoot{}
\rfoot{\thepage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
Long URL:
\url{http://science.nasa.gov/headlines/y2007/12feb_lunareclipse.htm}
Another WEB address:
$<$\url{http://news.bbc.co.uk/2/hi/science/nature/6411991.stm}$>$
\end{document}
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the MacOSX-TeX
mailing list