[pdftex] LaTex/ PDF query: recommended method?

Sam McClatchie s.mcclatchie at niwa.co.nz
Tue Nov 26 15:32:03 CET 2002


System info:
Linux slackware (work) and Mandrake 9.0 (home)
Emacs 21.2.1

-------------------
Hello

I'm looking for some advice on what is the best way to convert LaTex 
documents with lots of graphics and a bit of math into pdf. I've found 
several different ways but have not settled on a best option.

At present I am using the hyperref package with pdfimage and pdflatex.
I'm using these options with the Elsevier journal template
<http://www.elsevier.nl/homepage/about/ita/styles/elsart.cls> for 
manuscripts and have no idea how or whether it interacts or affects any 
dependencies.

so my document looks like this:

\pdfoutput=1

\documentclass{elsart}
\usepackage{times}
%\usepackage[pdftex, colorlinks, bookmarks, a4paper]{hyperref} % needs to
				% be the last package loaded
\usepackage[colorlinks, bookmarks, a4paper]{hyperref} % needs to
				% be the last package loaded

\begin{document}

\begin{frontmatter}
Draft in progess - do not cite or distribute

\title{Fat fish on the Mernoo: relating the distribution of hoki, 
\textit{Macruronus novaezelandiae} to their food supply}

\author{S. McClatchie and M. Pinkerton}
\address{National Institute of Water and Atmospheric Research Ltd, PO Box
14901, Kilbirnie, Wellington, New Zealand}


\begin{abstract}
\end{abstract}

\begin {keyword}
acoustic \sep banks \sep front \sep nekton \sep prey \sep fish \sep New 
Zealand
\end {keyword}

\end{frontmatter}



and figures are inserted as pdf files:

\begin{figure}
\centering
\pdfimage width 12cm {./gmt_chatham_rise/map.pdf}
\caption{\label{map} Upper panel panel shows study area in relation to
New Zealand. Middle panel shows the Chatham Rise with the acoustic
   transects used to estimate mesopelagic fish distributions. Lower panel
   shows the locations of the bottom trawl stations.  }
\end{figure}

This seems to work well most of the time, but occassionally I get really 
odd behaviour in the latex document for a figure that looks fine as a 
ps, eps or pdf format on its own (viewed with gs or acroread). There is 
no difference in the fonts (the figures were all created as ps from 
Generic Mapping Tool, then converted to eps with ps2epsi then converted 
to pdf with convert *.epsi *.pdf). Other figures produced the same way 
look fine in the Latex document.

Very strange! Any advice?

Sam

-- 
Sam McClatchie, Research scientist (fisheries acoustics))))))))))
NIWA (National Institute of Water & Atmospheric Research Ltd)
PO Box 14 901, Kilbirnie, Wellington, New Zealand
s.mcclatchie at niwa.cri.nz
Research home page <http://www.smcc.150m.com/>
                     /\
          >><xX(&>
                  /// \\\
                 //// \\\\
                ///  <%)Xx><<
               /////  \\\\\\
         ><(((@>
   ><(((%>     ..>><xX(?>O<?)Xx><<






More information about the pdftex mailing list