diff options
author | Karl Berry <karl@freefriends.org> | 2008-05-07 23:51:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-05-07 23:51:10 +0000 |
commit | 836d5f65811c78378821754b1b0f07ab1bbf5f9b (patch) | |
tree | 3597a06e52d5ef07e419cee900abfc0e914e858d /Master/texmf-dist/source | |
parent | 3072d12ba154e0c87438d9de05144e26ec7b89d9 (diff) |
auto-pst-pdf update (7may08)
git-svn-id: svn://tug.org/texlive/trunk@7926 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/auto-pst-pdf/auto-pst-pdf.dtx | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/latex/auto-pst-pdf/auto-pst-pdf.dtx b/Master/texmf-dist/source/latex/auto-pst-pdf/auto-pst-pdf.dtx index 49fbc84972f..29c030f9800 100644 --- a/Master/texmf-dist/source/latex/auto-pst-pdf/auto-pst-pdf.dtx +++ b/Master/texmf-dist/source/latex/auto-pst-pdf/auto-pst-pdf.dtx @@ -6,7 +6,7 @@ ________________________ The auto-pst-pdf package v0.5 2008/03/14 - + The package uses -shell-escape to execute pst-pdf. This makes it especially easy to integrate into the workflow of an editor with just "LaTeX" and "pdfLaTeX" @@ -58,9 +58,9 @@ This work consists of the file auto-pst-pdf.dtx \generate{\file{\jobname.ins}{\from{\jobname.dtx}{batchfile}}} \nopreamble\nopostamble \generate{\file{README.txt}{\from{\jobname.dtx}{readme}}} -\generate{\file{prepare.sh}{\from{\jobname.dtx}{prepare}}} \generate{\file{dtx-style.sty}{\from{\jobname.dtx}{dtx-style}}} \endgroup +\immediate\write18{mv README.txt README} \immediate\write18{makeindex -s gind.ist -o \jobname.ind \jobname.idx} \immediate\write18{makeindex -s gglo.ist -o \jobname.gls \jobname.glo} %</internal> @@ -103,7 +103,7 @@ This work consists of the file auto-pst-pdf.dtx % {\color{gray}|\usepackage[|\color{niceblue}|off|\color{gray}|]{auto-pst-pdf}|} % % \noindent -% If the extension of your \LaTeX\ document is not |.tex|, then it must be declared when the package is loaded (\eg, like many others, I like to use |.ltx| to distinguish between Plain \TeX\ and \LaTeX\ files):\par +% If the extension of your \LaTeX\ document is not |.tex|, then it must be declared when the package is loaded (\eg, I like to use |.ltx| to distinguish between Plain \TeX\ and \LaTeX\ files):\par % {\color{gray}|\usepackage[|\color{niceblue}|ext=ltx|\color{gray}|]{auto-pst-pdf}|} % % \section{Requirements} @@ -149,8 +149,9 @@ This work consists of the file auto-pst-pdf.dtx % For the \cmd\psfragfig\ command, \pkg{psfrag} statements are input % from either or both of the files \meta{document}|-psfrag.tex| and % \meta{filename}|-psfrag.tex| if they exist. Furthermore, supplementary -% \cmd\psfrag\ statements can be added in a trailing optional argument:\par -% |\psfrag|\oarg{graphics options}\marg{filename}\oarg{psfrag statements} +% \cmd\psfrag\ statements can be added in a trailing optional argument: +% +% |\psfragfig|\oarg{graphics options}\marg{filename}\oarg{psfrag statements} % % \noindent Manual \cmd\psfrag s override those in \meta{filename}|-psfrag.tex| % which in turn override those in \meta{document}|-psfrag.tex|. @@ -158,7 +159,8 @@ This work consists of the file auto-pst-pdf.dtx % % \section{Advanced package options}\label{sec:opt} % -% Better results are obtained by using |pdfcrop| in the auxiliary compilation process, and this is used by default. It is not installed by default, however, and will not always be required. Cropping can be controlled with the |crop| option:\par +% Better results are obtained by using |pdfcrop| in the auxiliary compilation process, and this is used by default. It is not installed by default, however, and will not always be required. Cropping with this tool can be controlled with the |crop| option: +% % {\color{gray}|\usepackage[|\color{niceblue}|crop=off|\color{gray}|]{auto-pst-pdf}|} % % \bigskip\noindent @@ -358,7 +360,7 @@ This work consists of the file auto-pst-pdf.dtx % \begin{subsection}{Base functionality} % % For compilation, we use the |[notightpage]| option of |pst-pdf| and the -% |pdfcrop| Perl script because Matlab-created \EPS\ figures (can) have elements +% |pdfcrop| Perl script because \EPS\ figures can have elements % that extend ouside their bounding boxes, and end up with clipped % content after |ps2pdf|. Otherwise the script |ps4pdf| would be sufficient. % @@ -505,6 +507,8 @@ This work consists of the file auto-pst-pdf.dtx \usepackage[off]{auto-pst-pdf} \usepackage[sc,osf]{mathpazo} +\hypersetup{colorlinks,linkcolor=black,urlcolor=black} + \linespread{1.1} % A bit more space between lines \frenchspacing % Remove ugly extra space after punctuation @@ -547,14 +551,6 @@ This work consists of the file auto-pst-pdf.dtx \hfuzz2pt % \end{macrocode} %</dtx-style> -%<*prepare> -% \begin{macrocode} -rm auto-pst-pdf.zip -mv README.txt README - -zip auto-pst-pdf.zip auto-pst-pdf.dtx auto-pst-pdf.ins auto-pst-pdf.pdf README example.tex example-psfrag.tex example.eps -% \end{macrocode} -%</prepare> % %\fi % |