[OS X TeX] Fonts and PSNFSS

Bruno Voisin bvoisin at mac.com
Sun Jun 13 04:21:37 EDT 2004


Le 13 juin 04, à 04:51, Alain Schremmer a écrit :

>    \usepackage[colorlinks=true,linkcolor=red, pdftitle={linear algebra
>    book}, pdfauthor={david santos},  bookmarksopen, _dvips]{hyperref_}
>    \usepackage[_dvips]{graphicx_}
>    \usepackage[usenames,_dvipsnames]{pstcol_}

That sounds like a rather messy situation. You'll have to look at the 
docs for these various packages, respectively:

/Library/teTeX/share/texmf.tetex/doc/latex/hyperref/manual.pdf for the 
first
/Library/teTeX/share/texmf.tetex/doc/latex/graphics/grfguide.ps for the 
second and third

plus the content of the folder 
/Library/teTeX/share/texmf.tetex/doc/generic/pstricks/ for the pstricks 
package (or the respective chapters of the LaTeX Companion). You need 
to first understand the meaning of the various options, and, only then, 
figure out how to modify them to get things to work.

Another thing you can try: interchange the order in which the packages 
are loaded, e.g.:

\usepackage[dvips]{graphicx}
\usepackage[usenames,dvipsnames]{pstcol}
\usepackage[colorlinks=true,
             linkcolor=red,
             pdftitle={linear algebra book},
             pdfauthor={david santos},
             bookmarksopen,
             dvips]{hyperref}

Generally the documentation for the hyperref package says it should be 
loaded last, after all other packages. Plus the documentation for the 
pstcol package says the color package shouldn't be loaded before it, 
and it may be that the hyperref package loads the color package 
internally.

> (c) I replaced dvips by pdftex one at a time with the same as in (b) 
> except it did not like pdftexnames.
> Then I replaced dvips by pdftex in the first two and erased dvipsnames 
> in the third with the same except that the line
>
>    \usepackage[usenames,dvipsnames]{pstcol}
>
> had disappeared.

Never do such things! Replacing all occurrences of "dvips" by "pdftex" 
blindly and expecting things to work is, too say the least, very 
optimistic. You have to first read the docs, to try to understand the 
function of all the different packages and options, and, only then, try 
to modify the options to get things to work on your setup. For example, 
there is no "pdftexnames" option.

Good luck!

Bruno Voisin
-----------------------------------------------------
Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the MacOSX-TeX mailing list