From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- .../pgf/base/doc/version-for-luatex/en/Makefile | 35 ++++++++++++++++++++++ .../doc/version-for-luatex/en/pgfmanual-test.tex | 22 ++++++++++++++ .../base/doc/version-for-luatex/en/pgfmanual.tex | 29 ++++++++++++++++++ .../doc/version-for-luatex/pgfmanual-luatex.cfg | 21 +++++++++++++ 4 files changed, 107 insertions(+) create mode 100644 graphics/pgf/base/doc/version-for-luatex/en/Makefile create mode 100644 graphics/pgf/base/doc/version-for-luatex/en/pgfmanual-test.tex create mode 100644 graphics/pgf/base/doc/version-for-luatex/en/pgfmanual.tex create mode 100644 graphics/pgf/base/doc/version-for-luatex/pgfmanual-luatex.cfg (limited to 'graphics/pgf/base/doc/version-for-luatex') 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 ) 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. -- cgit v1.2.3