summaryrefslogtreecommitdiff
path: root/graphics/pgf/base/doc/version-for-dvipdfmx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/pgf/base/doc/version-for-dvipdfmx
Initial commit
Diffstat (limited to 'graphics/pgf/base/doc/version-for-dvipdfmx')
-rw-r--r--graphics/pgf/base/doc/version-for-dvipdfmx/en/Makefile37
-rw-r--r--graphics/pgf/base/doc/version-for-dvipdfmx/en/pgfmanual-test.tex22
-rw-r--r--graphics/pgf/base/doc/version-for-dvipdfmx/en/pgfmanual.tex16
-rw-r--r--graphics/pgf/base/doc/version-for-dvipdfmx/pgfmanual-dvipdfmx.cfg21
4 files changed, 96 insertions, 0 deletions
diff --git a/graphics/pgf/base/doc/version-for-dvipdfmx/en/Makefile b/graphics/pgf/base/doc/version-for-dvipdfmx/en/Makefile
new file mode 100644
index 0000000000..2e5e701be1
--- /dev/null
+++ b/graphics/pgf/base/doc/version-for-dvipdfmx/en/Makefile
@@ -0,0 +1,37 @@
+rerun = "(There were undefined references|Rerun to get (cross-references|the bars) right)"
+doc = pgfmanual
+latex = latex -shell-escape
+TEXINPUTS := ../../text-en:$(TEXINPUTS)
+
+all: $(doc).pdf revisionfile
+
+pgfmanual.pdf: $(doc).tex revisionfile
+ mkdir -p plots
+ (TEXINPUTS="$(TEXINPUTS)" $(latex) $(doc).tex) || true
+ (egrep -q $(rerun) $(doc).log && TEXINPUTS="$(TEXINPUTS)" $(latex) $(doc).tex) || true
+ dvipdfmx -p a4 $(doc)
+
+test: $(doc)-test.tex revisionfile
+ mkdir -p plots
+ TEXINPUTS="$(TEXINPUTS)" $(latex) $(doc)-test.tex
+ (egrep -q $(rerun) $(doc).log && TEXINPUTS="$(TEXINPUTS)" $(latex) $(doc)-test.tex) || true
+ dvipdfmx -p a4 $(doc)-test
+
+revisionfile:
+ cd ../../../../.. && ./scripts/pgf/pgfrevisionfile.sh
+
+clean:
+ rm -f \
+ plots/* \
+ pgfmanual.out \
+ pgfmanual.log \
+ pgfmanual.idx \
+ pgfmanual.ind \
+ pgfmanual.ilg \
+ pgfmanual.pdf \
+ pgfmanual.toc \
+ pgfmanual.bbl \
+ pgfmanual.blg \
+ pgfmanual.ps \
+ pgfmanual.dvi \
+ pgfmanual*.aux
diff --git a/graphics/pgf/base/doc/version-for-dvipdfmx/en/pgfmanual-test.tex b/graphics/pgf/base/doc/version-for-dvipdfmx/en/pgfmanual-test.tex
new file mode 100644
index 0000000000..0143e04515
--- /dev/null
+++ b/graphics/pgf/base/doc/version-for-dvipdfmx/en/pgfmanual-test.tex
@@ -0,0 +1,22 @@
+% Copyright 2006 by Till Tantau
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Free Documentation License.
+%
+% See the file doc/generic/pgf/licenses/LICENSE for more details.
+
+\documentclass[a4paper]{ltxdoc}
+
+% pgf version is defined in \pgfversion in file
+% generic/pgf/utilities/pgfrcs.code.tex
+
+\input{../pgfmanual-dvipdfmx.cfg}
+\input{../../text-en/pgfmanual-en-main-preamble.tex}
+
+\begin{document}
+
+\include{pgfmanual-en-tikz-animations}
+
+\end{document}
diff --git a/graphics/pgf/base/doc/version-for-dvipdfmx/en/pgfmanual.tex b/graphics/pgf/base/doc/version-for-dvipdfmx/en/pgfmanual.tex
new file mode 100644
index 0000000000..18c793c5ef
--- /dev/null
+++ b/graphics/pgf/base/doc/version-for-dvipdfmx/en/pgfmanual.tex
@@ -0,0 +1,16 @@
+% Copyright 2006 by Till Tantau
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Free Documentation License.
+%
+% See the file doc/generic/pgf/licenses/LICENSE for more details.
+
+\documentclass[a4paper]{ltxdoc}
+
+% pgf version is defined in \pgfversion in file
+% generic/pgf/utilities/pgfrcs.code.tex
+
+\input{../pgfmanual-dvipdfmx.cfg}
+\input{../../text-en/pgfmanual-en-main.tex}
diff --git a/graphics/pgf/base/doc/version-for-dvipdfmx/pgfmanual-dvipdfmx.cfg b/graphics/pgf/base/doc/version-for-dvipdfmx/pgfmanual-dvipdfmx.cfg
new file mode 100644
index 0000000000..c45a660e05
--- /dev/null
+++ b/graphics/pgf/base/doc/version-for-dvipdfmx/pgfmanual-dvipdfmx.cfg
@@ -0,0 +1,21 @@
+% Copyright 2006 by Till Tantau
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Free Documentation License.
+%
+% See the file doc/generic/pgf/licenses/LICENSE for more details.
+
+\usepackage[hyphens]{url}
+
+\usepackage[dvipdfmx]{graphicx}
+% This will tell everyone which driver we are using.
+
+\PassOptionsToPackage{dvipdfmx}{hyperref}
+
+% Make sure to compile this using latex + dvipdfmx.
+
+\usepackage[dvipdfmx]{xcolor}
+
+