
우리가 컴파일하면
\documentclass[a4paper]{article}
\usepackage[pdftex]{hyperref}
\usepackage{pstricks,auto-pst-pdf}
\begin{document}
\tableofcontents
\section{Curves}
\begin{postscript}
\begin{pspicture}
\psccurve[showpoints=true](1,1)(2,2)(2,1)(1,2)
\end{pspicture}
\end{postscript}
\end{document}
latexmk
via 를 사용하면 pdflatex -shell-escape
다음 latexmk
메시지가 표시됩니다.
Rule 'pdflatex': Rules & subrules not known to be previously run:
pdflatex
Rule 'pdflatex': The following rules & subrules became out-of-date:
'pdflatex'
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex -shell-escape -synctex=1 -recorder "a.tex"'
------------
Latexmk: applying rule 'pdflatex'...
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
\write18 enabled.
entering extended mode
(./a.tex
LaTeX2e <2011/06/27>
...
(/home/jasperloy/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/home/jasperloy/texlive/texmf-dist/tex/latex/base/size10.clo))
(/home/jasperloy/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/home/jasperloy/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/home/jasperloy/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
(/home/jasperloy/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/home/jasperloy/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(/home/jasperloy/texlive/texmf-dist/tex/latex/url/url.sty))
Package hyperref Message: Driver: hpdftex.
(/home/jasperloy/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def
(/home/jasperloy/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))
(/home/jasperloy/texlive/texmf-dist/tex/latex/pstricks/pstricks.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/pstricks/pstricks.tex
(/home/jasperloy/texlive/texmf-dist/tex/generic/xkeyval/pst-xkey.tex
(/home/jasperloy/texlive/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/xkeyval/xkeyval.tex)))
(/home/jasperloy/texlive/texmf-dist/tex/generic/pstricks/pst-fp.tex
`pst-fp' v0.05, 2010/01/17 (hv))
`PSTricks' v2.29 <2012/06/04> (tvz)
(/home/jasperloy/texlive/texmf-dist/tex/generic/pstricks/pstricks.con))
(/home/jasperloy/texlive/texmf-dist/tex/generic/pstricks/pst-fp.tex)
(/home/jasperloy/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/latexconfig/color.cfg)
(/home/jasperloy/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def)))
(/home/jasperloy/texlive/texmf-dist/tex/latex/auto-pst-pdf/auto-pst-pdf.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/ifplatform/ifplatform.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/oberdiek/catchfile.sty)
(./a.w18))
-------------------------------------------------
auto-pst-pdf: Auxiliary LaTeX compilation
-------------------------------------------------
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
entering extended mode
This is dvips(k) 5.992 Copyright 2012 Radical Eye Software (www.radicaleye.com)
' TeX output 2012.08.20:0705' -> a-autopp.ps
</home/jasperloy/texlive/texmf/dvips/base/tex.pro>
</home/jasperloy/texlive/texmf/dvips/config/alt-rule.pro>
</home/jasperloy/texlive/texmf-dist/dvips/pstricks/pstricks.pro>
</home/jasperloy/texlive/texmf-dist/dvips/pstricks/pst-algparser.pro>
</home/jasperloy/texlive/texmf-dist/dvips/pstricks/pst-tools.pro>
</home/jasperloy/texlive/texmf-dist/dvips/pstricks/pst-dots.pro>
</home/jasperloy/texlive/texmf/dvips/base/special.pro>. [1]
PDFCROP 1.33, 2012/02/01 - Copyright (c) 2002-2012 by Heiko Oberdiek.
==> 1 page written on `a-pics.pdf'.
-------------------------------------------------
auto-pst-pdf: End auxiliary LaTeX compilation
-------------------------------------------------
(/home/jasperloy/texlive/texmf-dist/tex/latex/pst-pdf/pst-pdf.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/home/jasperloy/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg)))
(/home/jasperloy/texlive/texmf-dist/tex/latex/preview/preview.sty)
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/dvips.def)
(/home/jasperloy/texlive/texmf-dist/tex/latex/environ/environ.sty))) (./a.aux)
(/home/jasperloy/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
(/home/jasperloy/texlive/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)
Preview: Fontsize 10pt
Preview: PDFoutput 1
<a-pics.pdf, id=5, page=1, 43.16125pt x 33.12375pt> <use a-pics.pdf, page 1>
[1
Non-PDF special ignored!
Non-PDF special ignored!{/home/jasperloy/texlive/texmf-var/fonts/map/pdftex/upd
map/pdftex.map} <./a-pics.pdf>] (./a.aux)
Package rerunfilecheck Warning: File `a.out' has changed.
(rerunfilecheck) Rerun to get outlines right
(rerunfilecheck) or use package `bookmark'.
)</home/jasperloy/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb
></home/jasperloy/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on a.pdf (1 page, 18591 bytes).
SyncTeX written on a.synctex.gz.
Transcript written on a.log.
Latexmk: References changed.
Latexmk: Log file says output to 'a.pdf'
Rule 'pdflatex': File changes, etc:
Changed files, or newly in use since previous run(s):
'a.aux'
'a.out'
------------
Run number 2 of rule 'pdflatex'
------------
------------
Running 'pdflatex -shell-escape -synctex=1 -recorder "a.tex"'
------------
Latexmk: applying rule 'pdflatex'...
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
\write18 enabled.
entering extended mode
(./a.tex
LaTeX2e <2011/06/27>
...
(/home/jasperloy/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/home/jasperloy/texlive/texmf-dist/tex/latex/base/size10.clo))
(/home/jasperloy/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/home/jasperloy/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/home/jasperloy/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
(/home/jasperloy/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/home/jasperloy/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(/home/jasperloy/texlive/texmf-dist/tex/latex/url/url.sty))
Package hyperref Message: Driver: hpdftex.
(/home/jasperloy/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def
(/home/jasperloy/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))
(/home/jasperloy/texlive/texmf-dist/tex/latex/pstricks/pstricks.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/pstricks/pstricks.tex
(/home/jasperloy/texlive/texmf-dist/tex/generic/xkeyval/pst-xkey.tex
(/home/jasperloy/texlive/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/xkeyval/xkeyval.tex)))
(/home/jasperloy/texlive/texmf-dist/tex/generic/pstricks/pst-fp.tex
`pst-fp' v0.05, 2010/01/17 (hv))
`PSTricks' v2.29 <2012/06/04> (tvz)
(/home/jasperloy/texlive/texmf-dist/tex/generic/pstricks/pstricks.con))
(/home/jasperloy/texlive/texmf-dist/tex/generic/pstricks/pst-fp.tex)
(/home/jasperloy/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/latexconfig/color.cfg)
(/home/jasperloy/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def)))
(/home/jasperloy/texlive/texmf-dist/tex/latex/auto-pst-pdf/auto-pst-pdf.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/ifplatform/ifplatform.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/oberdiek/catchfile.sty)
(./a.w18))
-------------------------------------------------
auto-pst-pdf: Auxiliary LaTeX compilation
-------------------------------------------------
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
entering extended mode
This is dvips(k) 5.992 Copyright 2012 Radical Eye Software (www.radicaleye.com)
' TeX output 2012.08.20:0705' -> a-autopp.ps
</home/jasperloy/texlive/texmf/dvips/base/tex.pro>
</home/jasperloy/texlive/texmf/dvips/config/alt-rule.pro>
</home/jasperloy/texlive/texmf-dist/dvips/pstricks/pstricks.pro>
</home/jasperloy/texlive/texmf-dist/dvips/pstricks/pst-algparser.pro>
</home/jasperloy/texlive/texmf-dist/dvips/pstricks/pst-tools.pro>
</home/jasperloy/texlive/texmf-dist/dvips/pstricks/pst-dots.pro>
</home/jasperloy/texlive/texmf/dvips/base/special.pro>. [1]
PDFCROP 1.33, 2012/02/01 - Copyright (c) 2002-2012 by Heiko Oberdiek.
==> 1 page written on `a-pics.pdf'.
-------------------------------------------------
auto-pst-pdf: End auxiliary LaTeX compilation
-------------------------------------------------
(/home/jasperloy/texlive/texmf-dist/tex/latex/pst-pdf/pst-pdf.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/home/jasperloy/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg)))
(/home/jasperloy/texlive/texmf-dist/tex/latex/preview/preview.sty)
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/dvips.def)
(/home/jasperloy/texlive/texmf-dist/tex/latex/environ/environ.sty))) (./a.aux)
(/home/jasperloy/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
(./a.out) (./a.out)
(/home/jasperloy/texlive/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)
Preview: Fontsize 10pt
Preview: PDFoutput 1
(./a.toc) <a-pics.pdf, id=10, page=1, 43.16125pt x 33.12375pt>
<use a-pics.pdf, page 1> [1
Non-PDF special ignored!
Non-PDF special ignored!{/home/jasperloy/texlive/texmf-var/fonts/map/pdftex/upd
map/pdftex.map} <./a-pics.pdf>] (./a.aux) )</home/jasperloy/texlive/texmf-dist/
fonts/type1/public/amsfonts/cm/cmbx10.pfb></home/jasperloy/texlive/texmf-dist/f
onts/type1/public/amsfonts/cm/cmbx12.pfb></home/jasperloy/texlive/texmf-dist/fo
nts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on a.pdf (1 page, 28614 bytes).
SyncTeX written on a.synctex.gz.
Transcript written on a.log.
Latexmk: Log file says output to 'a.pdf'
Rule 'pdflatex': File changes, etc:
Changed files, or newly in use since previous run(s):
'a-pics.pdf'
'a.toc'
------------
Run number 3 of rule 'pdflatex'
------------
------------
Running 'pdflatex -shell-escape -synctex=1 -recorder "a.tex"'
------------
Latexmk: applying rule 'pdflatex'...
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
\write18 enabled.
entering extended mode
(./a.tex
LaTeX2e <2011/06/27>
...
(/home/jasperloy/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/home/jasperloy/texlive/texmf-dist/tex/latex/base/size10.clo))
(/home/jasperloy/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/home/jasperloy/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/home/jasperloy/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
(/home/jasperloy/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/home/jasperloy/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(/home/jasperloy/texlive/texmf-dist/tex/latex/url/url.sty))
Package hyperref Message: Driver: hpdftex.
(/home/jasperloy/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def
(/home/jasperloy/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))
(/home/jasperloy/texlive/texmf-dist/tex/latex/pstricks/pstricks.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/pstricks/pstricks.tex
(/home/jasperloy/texlive/texmf-dist/tex/generic/xkeyval/pst-xkey.tex
(/home/jasperloy/texlive/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/xkeyval/xkeyval.tex)))
(/home/jasperloy/texlive/texmf-dist/tex/generic/pstricks/pst-fp.tex
`pst-fp' v0.05, 2010/01/17 (hv))
`PSTricks' v2.29 <2012/06/04> (tvz)
(/home/jasperloy/texlive/texmf-dist/tex/generic/pstricks/pstricks.con))
(/home/jasperloy/texlive/texmf-dist/tex/generic/pstricks/pst-fp.tex)
(/home/jasperloy/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/latexconfig/color.cfg)
(/home/jasperloy/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def)))
(/home/jasperloy/texlive/texmf-dist/tex/latex/auto-pst-pdf/auto-pst-pdf.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/ifplatform/ifplatform.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/oberdiek/catchfile.sty)
(./a.w18))
-------------------------------------------------
auto-pst-pdf: Auxiliary LaTeX compilation
-------------------------------------------------
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
entering extended mode
This is dvips(k) 5.992 Copyright 2012 Radical Eye Software (www.radicaleye.com)
' TeX output 2012.08.20:0705' -> a-autopp.ps
</home/jasperloy/texlive/texmf/dvips/base/tex.pro>
</home/jasperloy/texlive/texmf/dvips/config/alt-rule.pro>
</home/jasperloy/texlive/texmf-dist/dvips/pstricks/pstricks.pro>
</home/jasperloy/texlive/texmf-dist/dvips/pstricks/pst-algparser.pro>
</home/jasperloy/texlive/texmf-dist/dvips/pstricks/pst-tools.pro>
</home/jasperloy/texlive/texmf-dist/dvips/pstricks/pst-dots.pro>
</home/jasperloy/texlive/texmf/dvips/base/special.pro>. [1]
PDFCROP 1.33, 2012/02/01 - Copyright (c) 2002-2012 by Heiko Oberdiek.
==> 1 page written on `a-pics.pdf'.
-------------------------------------------------
auto-pst-pdf: End auxiliary LaTeX compilation
-------------------------------------------------
(/home/jasperloy/texlive/texmf-dist/tex/latex/pst-pdf/pst-pdf.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/home/jasperloy/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg)))
(/home/jasperloy/texlive/texmf-dist/tex/latex/preview/preview.sty)
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/dvips.def)
(/home/jasperloy/texlive/texmf-dist/tex/latex/environ/environ.sty))) (./a.aux)
(/home/jasperloy/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
(./a.out) (./a.out)
(/home/jasperloy/texlive/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)
Preview: Fontsize 10pt
Preview: PDFoutput 1
(./a.toc) <a-pics.pdf, id=10, page=1, 43.16125pt x 33.12375pt>
<use a-pics.pdf, page 1> [1
Non-PDF special ignored!
Non-PDF special ignored!{/home/jasperloy/texlive/texmf-var/fonts/map/pdftex/upd
map/pdftex.map} <./a-pics.pdf>] (./a.aux) )</home/jasperloy/texlive/texmf-dist/
fonts/type1/public/amsfonts/cm/cmbx10.pfb></home/jasperloy/texlive/texmf-dist/f
onts/type1/public/amsfonts/cm/cmbx12.pfb></home/jasperloy/texlive/texmf-dist/fo
nts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on a.pdf (1 page, 28617 bytes).
SyncTeX written on a.synctex.gz.
Transcript written on a.log.
Latexmk: Log file says output to 'a.pdf'
Rule 'pdflatex': File changes, etc:
Changed files, or newly in use since previous run(s):
'a-pics.pdf'
------------
Run number 4 of rule 'pdflatex'
------------
------------
Running 'pdflatex -shell-escape -synctex=1 -recorder "a.tex"'
------------
Latexmk: applying rule 'pdflatex'...
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
\write18 enabled.
entering extended mode
(./a.tex
LaTeX2e <2011/06/27>
...
(/home/jasperloy/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/home/jasperloy/texlive/texmf-dist/tex/latex/base/size10.clo))
(/home/jasperloy/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/home/jasperloy/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/home/jasperloy/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
(/home/jasperloy/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/home/jasperloy/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(/home/jasperloy/texlive/texmf-dist/tex/latex/url/url.sty))
Package hyperref Message: Driver: hpdftex.
(/home/jasperloy/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def
(/home/jasperloy/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))
(/home/jasperloy/texlive/texmf-dist/tex/latex/pstricks/pstricks.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/pstricks/pstricks.tex
(/home/jasperloy/texlive/texmf-dist/tex/generic/xkeyval/pst-xkey.tex
(/home/jasperloy/texlive/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/xkeyval/xkeyval.tex)))
(/home/jasperloy/texlive/texmf-dist/tex/generic/pstricks/pst-fp.tex
`pst-fp' v0.05, 2010/01/17 (hv))
`PSTricks' v2.29 <2012/06/04> (tvz)
(/home/jasperloy/texlive/texmf-dist/tex/generic/pstricks/pstricks.con))
(/home/jasperloy/texlive/texmf-dist/tex/generic/pstricks/pst-fp.tex)
(/home/jasperloy/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/latexconfig/color.cfg)
(/home/jasperloy/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def)))
(/home/jasperloy/texlive/texmf-dist/tex/latex/auto-pst-pdf/auto-pst-pdf.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/ifplatform/ifplatform.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/oberdiek/catchfile.sty)
(./a.w18))
-------------------------------------------------
auto-pst-pdf: Auxiliary LaTeX compilation
-------------------------------------------------
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
entering extended mode
This is dvips(k) 5.992 Copyright 2012 Radical Eye Software (www.radicaleye.com)
' TeX output 2012.08.20:0705' -> a-autopp.ps
</home/jasperloy/texlive/texmf/dvips/base/tex.pro>
</home/jasperloy/texlive/texmf/dvips/config/alt-rule.pro>
</home/jasperloy/texlive/texmf-dist/dvips/pstricks/pstricks.pro>
</home/jasperloy/texlive/texmf-dist/dvips/pstricks/pst-algparser.pro>
</home/jasperloy/texlive/texmf-dist/dvips/pstricks/pst-tools.pro>
</home/jasperloy/texlive/texmf-dist/dvips/pstricks/pst-dots.pro>
</home/jasperloy/texlive/texmf/dvips/base/special.pro>. [1]
PDFCROP 1.33, 2012/02/01 - Copyright (c) 2002-2012 by Heiko Oberdiek.
==> 1 page written on `a-pics.pdf'.
-------------------------------------------------
auto-pst-pdf: End auxiliary LaTeX compilation
-------------------------------------------------
(/home/jasperloy/texlive/texmf-dist/tex/latex/pst-pdf/pst-pdf.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/home/jasperloy/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg)))
(/home/jasperloy/texlive/texmf-dist/tex/latex/preview/preview.sty)
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/dvips.def)
(/home/jasperloy/texlive/texmf-dist/tex/latex/environ/environ.sty))) (./a.aux)
(/home/jasperloy/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
(./a.out) (./a.out)
(/home/jasperloy/texlive/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)
Preview: Fontsize 10pt
Preview: PDFoutput 1
(./a.toc) <a-pics.pdf, id=10, page=1, 43.16125pt x 33.12375pt>
<use a-pics.pdf, page 1> [1
Non-PDF special ignored!
Non-PDF special ignored!{/home/jasperloy/texlive/texmf-var/fonts/map/pdftex/upd
map/pdftex.map} <./a-pics.pdf>] (./a.aux) )</home/jasperloy/texlive/texmf-dist/
fonts/type1/public/amsfonts/cm/cmbx10.pfb></home/jasperloy/texlive/texmf-dist/f
onts/type1/public/amsfonts/cm/cmbx12.pfb></home/jasperloy/texlive/texmf-dist/fo
nts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on a.pdf (1 page, 28619 bytes).
SyncTeX written on a.synctex.gz.
Transcript written on a.log.
Latexmk: Log file says output to 'a.pdf'
Rule 'pdflatex': File changes, etc:
Changed files, or newly in use since previous run(s):
'a-pics.pdf'
------------
Run number 5 of rule 'pdflatex'
------------
------------
Running 'pdflatex -shell-escape -synctex=1 -recorder "a.tex"'
------------
Latexmk: applying rule 'pdflatex'...
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
\write18 enabled.
entering extended mode
(./a.tex
LaTeX2e <2011/06/27>
...
(/home/jasperloy/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/home/jasperloy/texlive/texmf-dist/tex/latex/base/size10.clo))
(/home/jasperloy/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/home/jasperloy/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/home/jasperloy/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
(/home/jasperloy/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/home/jasperloy/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(/home/jasperloy/texlive/texmf-dist/tex/latex/url/url.sty))
Package hyperref Message: Driver: hpdftex.
(/home/jasperloy/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def
(/home/jasperloy/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))
(/home/jasperloy/texlive/texmf-dist/tex/latex/pstricks/pstricks.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/pstricks/pstricks.tex
(/home/jasperloy/texlive/texmf-dist/tex/generic/xkeyval/pst-xkey.tex
(/home/jasperloy/texlive/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/xkeyval/xkeyval.tex)))
(/home/jasperloy/texlive/texmf-dist/tex/generic/pstricks/pst-fp.tex
`pst-fp' v0.05, 2010/01/17 (hv))
`PSTricks' v2.29 <2012/06/04> (tvz)
(/home/jasperloy/texlive/texmf-dist/tex/generic/pstricks/pstricks.con))
(/home/jasperloy/texlive/texmf-dist/tex/generic/pstricks/pst-fp.tex)
(/home/jasperloy/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/latexconfig/color.cfg)
(/home/jasperloy/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def)))
(/home/jasperloy/texlive/texmf-dist/tex/latex/auto-pst-pdf/auto-pst-pdf.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/ifplatform/ifplatform.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/oberdiek/catchfile.sty)
(./a.w18))
-------------------------------------------------
auto-pst-pdf: Auxiliary LaTeX compilation
-------------------------------------------------
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
entering extended mode
This is dvips(k) 5.992 Copyright 2012 Radical Eye Software (www.radicaleye.com)
' TeX output 2012.08.20:0705' -> a-autopp.ps
</home/jasperloy/texlive/texmf/dvips/base/tex.pro>
</home/jasperloy/texlive/texmf/dvips/config/alt-rule.pro>
</home/jasperloy/texlive/texmf-dist/dvips/pstricks/pstricks.pro>
</home/jasperloy/texlive/texmf-dist/dvips/pstricks/pst-algparser.pro>
</home/jasperloy/texlive/texmf-dist/dvips/pstricks/pst-tools.pro>
</home/jasperloy/texlive/texmf-dist/dvips/pstricks/pst-dots.pro>
</home/jasperloy/texlive/texmf/dvips/base/special.pro>. [1]
PDFCROP 1.33, 2012/02/01 - Copyright (c) 2002-2012 by Heiko Oberdiek.
==> 1 page written on `a-pics.pdf'.
-------------------------------------------------
auto-pst-pdf: End auxiliary LaTeX compilation
-------------------------------------------------
(/home/jasperloy/texlive/texmf-dist/tex/latex/pst-pdf/pst-pdf.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/home/jasperloy/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg)))
(/home/jasperloy/texlive/texmf-dist/tex/latex/preview/preview.sty)
(/home/jasperloy/texlive/texmf-dist/tex/latex/graphics/dvips.def)
(/home/jasperloy/texlive/texmf-dist/tex/latex/environ/environ.sty))) (./a.aux)
(/home/jasperloy/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
(/home/jasperloy/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
(./a.out) (./a.out)
(/home/jasperloy/texlive/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)
Preview: Fontsize 10pt
Preview: PDFoutput 1
(./a.toc) <a-pics.pdf, id=10, page=1, 43.16125pt x 33.12375pt>
<use a-pics.pdf, page 1> [1
Non-PDF special ignored!
Non-PDF special ignored!{/home/jasperloy/texlive/texmf-var/fonts/map/pdftex/upd
map/pdftex.map} <./a-pics.pdf>] (./a.aux) )</home/jasperloy/texlive/texmf-dist/
fonts/type1/public/amsfonts/cm/cmbx10.pfb></home/jasperloy/texlive/texmf-dist/f
onts/type1/public/amsfonts/cm/cmbx12.pfb></home/jasperloy/texlive/texmf-dist/fo
nts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on a.pdf (1 page, 28613 bytes).
SyncTeX written on a.synctex.gz.
Transcript written on a.log.
Latexmk: Log file says output to 'a.pdf'
Rule 'pdflatex': File changes, etc:
Changed files, or newly in use since previous run(s):
'a-pics.pdf'
Latexmk: Maximum runs of pdflatex reached without getting stable files
Use the -f option to force complete processing.
Latexmk: Did not finish processing file:
'pdflatex' needed too many passes
Latexmk: Use the -f option to force complete processing.
Latexmk: applying rule 'pdflatex'...
Latexmk: Errors, so I did not complete making targets
최대 질문 길이에 맞게 출력이 잘렸습니다.
hyperref
나는 이것이 추가 검사를 수행하기 때문에 latexmk
이것이 실행될 때마다 새로운 그림이 생성되는 것을 감지하여 auto-pst-pdf
최종 결과가 맞을지라도 오류 메시지가 표시되기 때문 이라고 생각합니다 . 이 문제를 해결할 방법이 있나요?
답변1
latexmk
계속 재실행되는 이유 는 생성된 a-pics.pdf
파일이 실행될 때마다 계속 변경되기 때문입니다. PDF 파일에는 생성 날짜, 수정 날짜 및 ID가 계속 변경되는 줄이 있습니다. 적어도 두 가지 가능한 해결책이 있습니다.
종속성 데이터베이스를 완전히
latexmk
무시하도록 지시합니다 .a-pics.pdf
현재 이 작업을 수행할 수 있는 인터페이스가 없는 것 같습니다(그리고레코더 파일 수정latexmk
이 경우에는 작동하지 않습니다.) 따라서 파일 데이터베이스를 유지 관리하기 위해 에서 사용하는 내부 기능을 재정의하는 다음 핵을 사용하여 수행합니다 . 다음을latexmkrc
기본 파일과 동일한 디렉터리에 있는 파일 에 넣습니다(이는 동일한 디렉터리에서 시작된tex
다른 모든 실행에 영향을 미친다는 점에 유의하세요 ).latexmk
undef &get_time_size; sub my_get_time_size { # Return time and size of file named in argument # If file does not exist, return (0,-1); if ( -e $_[0] && $_[0] ne $root_filename . "-pics.pdf") { return get_time_size_raw($_[0]); } else { return (0,-1); } } *get_time_size = \&my_get_time_size;
latexmk
파일 자체가 변경되었음을 나타내기 위해 생성 날짜 등의 변경을 고려하지 않도록 지시합니다 . 이는 다음과 같이 수행할 수 있습니다.latexmk
Perl 코드를 실행합니다$hash_calc_ignore_pattern{'pdf'} = '^/(CreationDate|ModDate|ID) ';
. 예를 들어, 해당 예제의 명령줄에서 다음을 수행합니다.latexmk -e "\$hash_calc_ignore_pattern{'pdf'} = '^/(CreationDate|ModDate|ID) ';" -pdf -pdflatex="pdflatex --shell-escape %O %S" a
(
a
당신의 직업 이름은 어디에 있습니까?)-e
또는 리소스 파일 에 인수 내용을 추가하여latexmkrc
이스케이프를 적절하게 변경할 수 있습니다.방법 2를 사용하면 불필요한 재실행이 한 번 발생하지만 적어도 더 이상 무한 루프가 발생하지 않습니다.
가능한 세 번째 해결책은 다음과 같습니다.메타데이터 생성 비활성화그러나 이것은 아마도 위의 두 가지 접근 방식보다 덜 만족스러울 것입니다.