summaryrefslogtreecommitdiff
path: root/graphics/pgf/base/doc/version-for-luatex
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-luatex
Initial commit
Diffstat (limited to 'graphics/pgf/base/doc/version-for-luatex')
-rw-r--r--graphics/pgf/base/doc/version-for-luatex/en/Makefile35
-rw-r--r--graphics/pgf/base/doc/version-for-luatex/en/pgfmanual-test.tex22
-rw-r--r--graphics/pgf/base/doc/version-for-luatex/en/pgfmanual.tex29
-rw-r--r--graphics/pgf/base/doc/version-for-luatex/pgfmanual-luatex.cfg21
4 files changed, 107 insertions, 0 deletions
diff --git a/graphics/pgf/base/doc/version-for-luatex/en/Makefile b/graphics/pgf/base/doc/version-for-luatex/en/Makefile
new file mode 100644
index 0000000000..c1b811d61e
--- /dev/null
+++ b/graphics/pgf/base/doc/version-for-luatex/en/Makefile
@@ -0,0 +1,35 @@
+rerun = "(There were undefined references|Rerun to get (cross-references|the bars) right)"
+doc = pgfmanual
+latex = lualatex
+TEXINPUTS := ../../text-en:../../images:$(TEXINPUTS)
+
+all: $(doc).pdf
+
+pgfmanual.pdf: $(doc).tex revisionfile
+ TEXINPUTS="$(TEXINPUTS)" $(latex) $(doc).tex
+ (egrep -q $(rerun) $(doc).log && TEXINPUTS="$(TEXINPUTS)" $(latex) $(doc).tex) || true
+
+test: $(doc)-test.tex revisionfile
+ TEXINPUTS="$(TEXINPUTS)" $(latex) $(doc)-test.tex
+ (egrep -q $(rerun) $(doc).log && TEXINPUTS="$(TEXINPUTS)" $(latex) $(doc)-test.tex) || true
+
+revisionfile:
+ cd ../../../../.. && ./scripts/pgf/pgfrevisionfile.sh
+
+FORCE:
+
+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-luatex/en/pgfmanual-test.tex b/graphics/pgf/base/doc/version-for-luatex/en/pgfmanual-test.tex
new file mode 100644
index 0000000000..3afefe5c9e
--- /dev/null
+++ b/graphics/pgf/base/doc/version-for-luatex/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-luatex.cfg}
+\input{../../text-en/pgfmanual-en-main-preamble.tex}
+
+\begin{document}
+
+\include{pgfmanual-en-tutorial-chains}
+
+\end{document}
diff --git a/graphics/pgf/base/doc/version-for-luatex/en/pgfmanual.tex b/graphics/pgf/base/doc/version-for-luatex/en/pgfmanual.tex
new file mode 100644
index 0000000000..9c8808cab8
--- /dev/null
+++ b/graphics/pgf/base/doc/version-for-luatex/en/pgfmanual.tex
@@ -0,0 +1,29 @@
+% 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-luatex.cfg}
+\input{../../text-en/pgfmanual-en-main.tex}
+
+
+
+% =============================================================================
+% ToDo for Stefan Pinnow
+%
+% - search and replace for
+% - $x$-coordinate --> $x$ coordinate
+% (and similar)
+% - to-path vs. to--path
+%
+% - remove "spurious" spaces when loading libraries
+% (similar to <https://sourceforge.net/p/pgf/bugs/374/>)
diff --git a/graphics/pgf/base/doc/version-for-luatex/pgfmanual-luatex.cfg b/graphics/pgf/base/doc/version-for-luatex/pgfmanual-luatex.cfg
new file mode 100644
index 0000000000..8befeb01e5
--- /dev/null
+++ b/graphics/pgf/base/doc/version-for-luatex/pgfmanual-luatex.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}
+\makeatletter
+\g@addto@macro\selectfont{%
+ \long\edef\longf@family{\f@family}%
+ \ifx\longf@family\ttdefault
+ \ignoreligaturesinfont\font\relax
+ \fi
+}
+\makeatother
+
+% Just make sure to compile this using lualatex.