summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/pict2e/README.md (renamed from Master/texmf-dist/doc/latex/pict2e/README)10
-rw-r--r--Master/texmf-dist/doc/latex/pict2e/manifest.txt23
-rw-r--r--Master/texmf-dist/doc/latex/pict2e/p2e-drivers.pdfbin229476 -> 216023 bytes
-rw-r--r--Master/texmf-dist/doc/latex/pict2e/pict2e.pdfbin395031 -> 577522 bytes
-rw-r--r--Master/texmf-dist/source/latex/pict2e/p2e-drivers.dtx107
-rw-r--r--Master/texmf-dist/source/latex/pict2e/pict2e.dtx31
-rw-r--r--Master/texmf-dist/source/latex/pict2e/pict2e.ins14
-rw-r--r--Master/texmf-dist/tex/latex/pict2e/p2e-dvipdfm.def8
-rw-r--r--Master/texmf-dist/tex/latex/pict2e/p2e-dvipdfmx.def8
-rw-r--r--Master/texmf-dist/tex/latex/pict2e/p2e-dvips.def8
-rw-r--r--Master/texmf-dist/tex/latex/pict2e/p2e-luatex.def40
-rw-r--r--Master/texmf-dist/tex/latex/pict2e/p2e-pctex32.def8
-rw-r--r--Master/texmf-dist/tex/latex/pict2e/p2e-pctexps.def8
-rw-r--r--Master/texmf-dist/tex/latex/pict2e/p2e-pdftex.def8
-rw-r--r--Master/texmf-dist/tex/latex/pict2e/p2e-textures.def8
-rw-r--r--Master/texmf-dist/tex/latex/pict2e/p2e-vtex.def8
-rw-r--r--Master/texmf-dist/tex/latex/pict2e/p2e-xetex.def8
-rw-r--r--Master/texmf-dist/tex/latex/pict2e/pict2e.cfg60
-rw-r--r--Master/texmf-dist/tex/latex/pict2e/pict2e.sty10
19 files changed, 233 insertions, 134 deletions
diff --git a/Master/texmf-dist/doc/latex/pict2e/README b/Master/texmf-dist/doc/latex/pict2e/README.md
index f9472bfda93..cda901f5a1a 100644
--- a/Master/texmf-dist/doc/latex/pict2e/README
+++ b/Master/texmf-dist/doc/latex/pict2e/README.md
@@ -1,4 +1,5 @@
-The pict2e package
+
+# The pict2e package
This package was described in the 2nd edition of "LaTeX: A Document
Preparation System", but the LaTeX project team declined to produce
@@ -29,9 +30,14 @@ Caveats:
system in $TEXMF/tex/latex/base
Recommended TDS locations:
-
+```
pict2e.sty and driver files: tex/latex/pict2e
pict2e.pdf, p2e-drivers.pdf: doc/latex/pict2e
+ pict2e.cfg: tex/latex/[TEXDIST]/graphics.cfg
+```
For general installation advice, see
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages
+
+For bug reports use the GitHub repository: https://github.com/rolfn/pict2e/issues
+
diff --git a/Master/texmf-dist/doc/latex/pict2e/manifest.txt b/Master/texmf-dist/doc/latex/pict2e/manifest.txt
index dbd4fb8fa70..57b7cdf8474 100644
--- a/Master/texmf-dist/doc/latex/pict2e/manifest.txt
+++ b/Master/texmf-dist/doc/latex/pict2e/manifest.txt
@@ -1,24 +1,3 @@
-% \iffalse meta-comment
-%
-% Copyright 2003, 2004
-% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
-% Hubert Gaesslein, HubertJG@open.mind.de
-%
-% This file is part of the LaTeX `pict2e' package.
-% ------------------------------------------------
-%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3 or later is part of all distributions of LaTeX
-% version 2003/12/01 or later.
-%
-% The list of all files belonging to the LaTeX `pict2e' package is
-% given in the file `manifest.txt'.
-%
-% \fi
%
% CONTENTS OF THE PICT2E PACKAGE
% ==============================
@@ -33,7 +12,7 @@ pict2e.dtx
p2e-drivers.dtx
Source for driver files for supported drivers.
-README.pict2e
+README.md
Short notes about the package.
manifest.txt
diff --git a/Master/texmf-dist/doc/latex/pict2e/p2e-drivers.pdf b/Master/texmf-dist/doc/latex/pict2e/p2e-drivers.pdf
index b98e3ae5bb0..9a86a416e8a 100644
--- a/Master/texmf-dist/doc/latex/pict2e/p2e-drivers.pdf
+++ b/Master/texmf-dist/doc/latex/pict2e/p2e-drivers.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/pict2e/pict2e.pdf b/Master/texmf-dist/doc/latex/pict2e/pict2e.pdf
index 39c132c23e0..2beaf34c020 100644
--- a/Master/texmf-dist/doc/latex/pict2e/pict2e.pdf
+++ b/Master/texmf-dist/doc/latex/pict2e/pict2e.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/pict2e/p2e-drivers.dtx b/Master/texmf-dist/source/latex/pict2e/p2e-drivers.dtx
index 3766d98fc96..fb2141ffc8d 100644
--- a/Master/texmf-dist/source/latex/pict2e/p2e-drivers.dtx
+++ b/Master/texmf-dist/source/latex/pict2e/p2e-drivers.dtx
@@ -3,9 +3,9 @@
% p2e-drivers.dtx
%
%
-% Copyright (C) 2003, 2004, 2009, 2011
-% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
-% Hubert Gaesslein, HubertJG@open.mind.de
+% Copyright (C) 2003-2016
+% Rolf Niepraschk, Rolf.Niepraschk@gmx.de
+% Hubert Gaesslein
% Josef Tkadlec, j.tkadlec@email.cz
%
%
@@ -31,6 +31,7 @@
%<dvips, >\ProvidesFile{p2e-dvips.def}
%<xdvi, >\ProvidesFile{p2e-xdvi.def}
%<pdftex, >\ProvidesFile{p2e-pdftex.def}
+%<luatex, >\ProvidesFile{p2e-luatex.def}
%<vtex, >\ProvidesFile{p2e-vtex.def}
%<dvipdfm, >\ProvidesFile{p2e-dvipdfm.def}
%<dvipdfmx, >\ProvidesFile{p2e-dvipdfmx.def}
@@ -45,7 +46,7 @@
%</driver>
%
%<cfg>\ProvidesFile{pict2e.cfg}%
- [2011/04/05 v0.1t
+ [2016/02/05 v0.1u
%<*!cfg>
Driver-dependant file (RN,HjG,JT)]
%</!cfg>
@@ -54,13 +55,13 @@
%<*driver>
\documentclass{ltxdoc}
\GetFileInfo{p2e-drivers.dtx}
- \def\docdate{2011/04/05}
+ \def\docdate{2016/02/05}
\begin{document}
\title{Graphics drivers for \textsf{pict2e}\thanks
{This document corresponds to \textsf{\filename} \fileversion,
dated \filedate, documentation dated \docdate.}}
- \author{Rolf Niepraschk\thanks{\texttt{Rolf.Niepraschk@ptb.de}},
- Hubert G\"a{\ss}lein\thanks{\texttt{HubertJG@open.mind.de}}
+ \author{Rolf Niepraschk\thanks{\texttt{Rolf.Niepraschk@gmx.de}},
+ Hubert G\"a{\ss}lein,%\thanks{\texttt{HubertJG@open.mind.de}}
\,and Josef Tkadlec\thanks{\texttt{j.tkadlec@email.cz}}}
\date{\filedate}
% \maketitle
@@ -69,7 +70,7 @@
%</driver>
% \fi
%
-% \CheckSum{122}
+% \CheckSum{166}
%
% \changes{v0.1g}{2003/11/07}{Translated documentation to English (HjG)}
% \changes{v0.1g}{2003/11/07}{Added driver \texttt{dvipdfm} (RN)}
@@ -90,6 +91,8 @@
% \changes{v0.1r}{2004/06/25}{Small fixes in documentation (HjG)}
% \changes{v0.1s}{2009/08/05}{Support for xetex added (JT)}
% \changes{v0.1t}{2011/04/05}{Support for dvipdfmx added (JT)}
+% \changes{v0.1u}{2016/02/05}{Support for luatex >0.85
+% (suggested by David Carlisle) added (RN)}
%
% \newcommand*\PS{PostScript}
% \newcommand*\PDF{PDF}
@@ -262,7 +265,7 @@
% \end{macro}
%
%
-% \subsection{pdftex}
+% \subsection{pdfTeX}
%
% A \textsf{pict2e} driver file for the \textsf{pdftex} driver.
%
@@ -295,7 +298,39 @@
% \end{macro}
%
%
-% \subsection{vtex}
+% \subsection{Lua\TeX}
+%
+% A \textsf{pict2e} driver file for the \textsf{luatex} driver.
+%
+% \begin{macro}{\pIIe@mode}
+% We are about to generate \PDF\ code.
+% (Only, if Lua\TeX\ is actually generating \PDF;
+% otherwise nothing will be output.)
+% \begin{macrocode}
+%<*luatex>
+\begingroup
+ \ifnum\outputmode>0\relax
+ \gdef\pIIe@mode{2}
+ \fi
+\endgroup
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\pIIe@code}
+% The save\slash restore operators are necessary here to prevent the
+% change of the CTM (scaling and rotation operations) that
+% \textsf{pict2e} inserts from propagating.
+% \begin{macrocode}
+\ifcase\pIIe@mode\relax \or\or
+ \def\pIIe@code#1{\pdfextension literal{ q #1 Q }}
+ \protected\edef\pIIe@pdfliteral{\pdfextension literal}
+\fi
+%</luatex>
+% \end{macrocode}
+% \end{macro}
+%
+%
+% \subsection{V\TeX}
%
% A \textsf{pict2e} driver file for the \textsf{vtex} driver.
%
@@ -544,34 +579,50 @@
%% Select an appropriate default driver.
\begingroup
\chardef\x=0 %
- % check pdfTeX
- \@ifundefined{pdfoutput}{}{%
- \ifcase\pdfoutput
+ % check luatex
+ \ifx\luatexversion\@undefined
+ % check pdfTeX
+ \@ifundefined{pdfoutput}{}{%
+ \ifcase\pdfoutput
+ \else
+ \chardef\x=1 %
+ \fi
+ }%
+ % check VTeX
+ \@ifundefined{OpMode}{}{%
+ \chardef\x=2 %
+ }%
+ % check XeTeX
+ \@ifundefined{XeTeXrevision}{}{%
+ \chardef\x=3 %
+ }%
+ \else
+ \ifnum\luatexversion>85
+ \ifnum\outputmode>0
+ \chardef\x=4\relax
+ \fi
\else
- \chardef\x=1 %
+ \ifnum\pdfoutput>0
+ \chardef\x=1\relax
+ \fi
\fi
- }%
- % check VTeX
- \@ifundefined{OpMode}{}{%
- \chardef\x=2 %
- }%
- % check XeTeX
- \@ifundefined{XeTeXrevision}{}{%
- \chardef\x=3 %
- }%
+ \fi
\expandafter\endgroup
\ifcase\x
- % default case
+ % 0: default case
\ExecuteOptions{dvips}%
\or
- % pdfTeX is running in pdf mode
+ % 1: pdfTeX is running in pdf mode
\ExecuteOptions{pdftex}%
\or
- % VTeX is running
+ % 2: VTeX is running
\ExecuteOptions{vtex}%
-\else
- % XeTeX is running
+\or
+ % 3: XeTeX is running
\ExecuteOptions{xetex}%
+\or
+ % 4: LuaTeX (> 0.85) is running
+ \ExecuteOptions{luatex}%
\fi
% \end{macrocode}
% You can also specify other options to the \textsf{pict2e} package in
diff --git a/Master/texmf-dist/source/latex/pict2e/pict2e.dtx b/Master/texmf-dist/source/latex/pict2e/pict2e.dtx
index accb46019eb..6fe6db0c5c7 100644
--- a/Master/texmf-dist/source/latex/pict2e/pict2e.dtx
+++ b/Master/texmf-dist/source/latex/pict2e/pict2e.dtx
@@ -3,7 +3,7 @@
%
%
% Copyright (C) 2003-2016
-% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
+% Rolf Niepraschk, Rolf.Niepraschk@gmx.de
% Hubert Gaesslein
% Josef Tkadlec, j.tkadlec@email.cz
%
@@ -21,9 +21,10 @@
% This work consists of all files listed in manifest.txt.
%
%
-%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-%<package>\ProvidesPackage{pict2e}
-%<package> [2016/01/09 v0.2z Improved picture commands (HjG,RN,JT)]
+%<*package>
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesPackage{pict2e}[2016/02/05 v0.3b Improved picture commands (HjG,RN,JT)]
+%</package>
%
%<*driver>
\listfiles
@@ -32,7 +33,7 @@
\usepackage{pict2e} % [pstarrows]
%%\usepackage[debug]{pict2e}
\IfFileExists{ebezier.sty}{\usepackage{ebezier}}{%
- } % \providecommand*\cbezier{}
+} % \providecommand*\cbezier{}
\usepackage{color}
\usepackage{graphicx}
\usepackage{array}
@@ -43,8 +44,8 @@
top=20mm,bottom=30mm]{geometry}}{}
\IfFileExists{url.sty}{\usepackage{url}}
{\newcommand*\url[1]{\texttt{#1}}}
-\OnlyDescription
-%\AlsoImplementation
+%\OnlyDescription
+\AlsoImplementation
\EnableCrossrefs
\CodelineIndex
\RecordChanges
@@ -61,7 +62,7 @@
% \GetFileInfo{pict2e.sty}
% \def\docdate{2016/01/09}
%
-% \CheckSum{2155}
+% \CheckSum{2158}
%
% ^^A ========
%
@@ -210,7 +211,8 @@
% (2011/04/05 v0.2z). (JT)}
% \changes{v0.3a}{2016/01/09}{11th release to CTAN
% (2016/01/09 v0.3a). (JT)}
-%
+% \changes{v0.3b}{2016/02/05}{12th release to CTAN
+% (2016/02/05 v0.3b). (RN)}
%
% \DoNotIndex{\newcommand,\renewcommand,\newenvironment,\renewenvironment}
% \DoNotIndex{\providecommand,\def,\edef,\let,\gdef,\xdef,\global,\newtoks}
@@ -599,8 +601,8 @@
% corresponds to \textsf{\filename} \fileversion,
% dated \filedate, documentation dated \docdate.}}
% \author{%
-% Hubert G\"a{\ss}lein\thanks{\texttt{HubertJG@open.mind.de}},
-% Rolf Niepraschk\thanks{\texttt{Rolf.Niepraschk@ptb.de}}
+% Hubert G\"a{\ss}lein,
+% Rolf Niepraschk\thanks{\texttt{Rolf.Niepraschk@gmx.de}}
% \,and
% Josef Tkadlec\thanks{\texttt{j.tkadlec@email.cz}}}
%
@@ -695,7 +697,8 @@
% vtex & x & dvipdf & x? \\
% dvipdfm & x & textures & x? \\
% dvipdfmx& x & pctexps & x? \\
-% xetex & x & pctex32 & x? \\ \hline
+% xetex & x & pctex32 & x? \\
+% luatex ($>0.85$) & x & ~ & ~ \\ \hline
% ^^A emtex & --
% \end{tabular}
%
@@ -1536,6 +1539,7 @@
% The driver options are not much of a surprise:
% they are similar to those of the \textsf{graphics} and
% \textsf{color} packages.
+% \changes{v0.3b}{2016/02/05}{New option `luatex' (RN)}
% \begin{macrocode}
\DeclareOption{dvips}{\def\Gin@driver{dvips.def}}
\DeclareOption{xdvi}{\ExecuteOptions{dvips}}
@@ -1543,6 +1547,7 @@
\DeclareOption{dvipdfm}{\def\Gin@driver{dvipdfm.def}}
\DeclareOption{dvipdfmx}{\def\Gin@driver{dvipdfmx.def}}
\DeclareOption{pdftex}{\def\Gin@driver{pdftex.def}}
+\DeclareOption{luatex}{\def\Gin@driver{luatex.def}}
\DeclareOption{xetex}{\def\Gin@driver{xetex.def}}
\DeclareOption{dvipsone}{\def\Gin@driver{dvipsone.def}}
\DeclareOption{dviwindo}{\ExecuteOptions{dvipsone}}
@@ -2887,7 +2892,7 @@
% of ends.
% \changes{v0.1g}{2003/08/23}{Changed code (using%
% \cmd{\pIIe@add@qcircle}). (HjG,RN)}
-% \changes{v03.a}{2016/01/09}{Changed code, closepath seems to be necessary.}
+% \changes{v0.3a}{2016/01/09}{Changed code, closepath seems to be necessary.}
% \begin{macrocode}
\newcommand*\pIIe@circle[1]{%
\pIIe@qcircle[1]\z@{#1}\pIIe@qcircle \@ne{#1}%
diff --git a/Master/texmf-dist/source/latex/pict2e/pict2e.ins b/Master/texmf-dist/source/latex/pict2e/pict2e.ins
index 486c5ace00b..5e15c84c01c 100644
--- a/Master/texmf-dist/source/latex/pict2e/pict2e.ins
+++ b/Master/texmf-dist/source/latex/pict2e/pict2e.ins
@@ -1,7 +1,7 @@
%%
-%% Copyright (C) 2003, 2004, 2008, 2009, 2011
-%% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
-%% Hubert Gaesslein, HubertJG@open.mind.de
+%% Copyright (C) 2003-2016
+%% Rolf Niepraschk, Rolf.Niepraschk@gmx.de
+%% Hubert Gaesslein,
%% Josef Tkadlec, j.tkadlec@email.cz
%%
%% This file is part of the LaTeX `pict2e' package.
@@ -31,9 +31,9 @@
\preamble
-Copyright (C) 2003, 2004, 2008, 2009, 2011
-Rolf Niepraschk, Rolf.Niepraschk@ptb.de
-Hubert Gaesslein, HubertJG@open.mind.de
+Copyright (C) 2003-2016
+Rolf Niepraschk, Rolf.Niepraschk@gmx.de
+Hubert Gaesslein,
Josef Tkadlec, j.tkadlec@email.cz
This work may be distributed and/or modified under the
@@ -83,6 +83,8 @@ This work consists of all files listed in `manifest.txt'.
\from{p2e-drivers.dtx}{pctexps}}
\file{p2e-pctex32.def}{%
\from{p2e-drivers.dtx}{pctex32}}
+ \file{p2e-luatex.def}{%
+ \from{p2e-drivers.dtx}{luatex}}
}
diff --git a/Master/texmf-dist/tex/latex/pict2e/p2e-dvipdfm.def b/Master/texmf-dist/tex/latex/pict2e/p2e-dvipdfm.def
index 0ff32159bbc..99f9e01aed7 100644
--- a/Master/texmf-dist/tex/latex/pict2e/p2e-dvipdfm.def
+++ b/Master/texmf-dist/tex/latex/pict2e/p2e-dvipdfm.def
@@ -6,9 +6,9 @@
%%
%% p2e-drivers.dtx (with options: `dvipdfm')
%%
-%% Copyright (C) 2003, 2004, 2008, 2009, 2011
-%% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
-%% Hubert Gaesslein, HubertJG@open.mind.de
+%% Copyright (C) 2003-2016
+%% Rolf Niepraschk, Rolf.Niepraschk@gmx.de
+%% Hubert Gaesslein,
%% Josef Tkadlec, j.tkadlec@email.cz
%%
%% This work may be distributed and/or modified under the
@@ -24,7 +24,7 @@
%% This work consists of all files listed in `manifest.txt'.
%%
\ProvidesFile{p2e-dvipdfm.def}
- [2011/04/05 v0.1t
+ [2016/02/05 v0.1u
Driver-dependant file (RN,HjG,JT)]
\def\pIIe@mode{2}
\def\pIIe@code#1{\special{pdf: content #1}}
diff --git a/Master/texmf-dist/tex/latex/pict2e/p2e-dvipdfmx.def b/Master/texmf-dist/tex/latex/pict2e/p2e-dvipdfmx.def
index 78d9496622b..d784c23eebc 100644
--- a/Master/texmf-dist/tex/latex/pict2e/p2e-dvipdfmx.def
+++ b/Master/texmf-dist/tex/latex/pict2e/p2e-dvipdfmx.def
@@ -6,9 +6,9 @@
%%
%% p2e-drivers.dtx (with options: `dvipdfmx')
%%
-%% Copyright (C) 2003, 2004, 2008, 2009, 2011
-%% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
-%% Hubert Gaesslein, HubertJG@open.mind.de
+%% Copyright (C) 2003-2016
+%% Rolf Niepraschk, Rolf.Niepraschk@gmx.de
+%% Hubert Gaesslein,
%% Josef Tkadlec, j.tkadlec@email.cz
%%
%% This work may be distributed and/or modified under the
@@ -24,7 +24,7 @@
%% This work consists of all files listed in `manifest.txt'.
%%
\ProvidesFile{p2e-dvipdfmx.def}
- [2011/04/05 v0.1t
+ [2016/02/05 v0.1u
Driver-dependant file (RN,HjG,JT)]
\def\pIIe@mode{2}
\def\pIIe@code#1{\special{pdf: content #1}}
diff --git a/Master/texmf-dist/tex/latex/pict2e/p2e-dvips.def b/Master/texmf-dist/tex/latex/pict2e/p2e-dvips.def
index 0ed1e8d8b83..e3e6aa6d0a5 100644
--- a/Master/texmf-dist/tex/latex/pict2e/p2e-dvips.def
+++ b/Master/texmf-dist/tex/latex/pict2e/p2e-dvips.def
@@ -6,9 +6,9 @@
%%
%% p2e-drivers.dtx (with options: `dvips')
%%
-%% Copyright (C) 2003, 2004, 2008, 2009, 2011
-%% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
-%% Hubert Gaesslein, HubertJG@open.mind.de
+%% Copyright (C) 2003-2016
+%% Rolf Niepraschk, Rolf.Niepraschk@gmx.de
+%% Hubert Gaesslein,
%% Josef Tkadlec, j.tkadlec@email.cz
%%
%% This work may be distributed and/or modified under the
@@ -24,7 +24,7 @@
%% This work consists of all files listed in `manifest.txt'.
%%
\ProvidesFile{p2e-dvips.def}
- [2011/04/05 v0.1t
+ [2016/02/05 v0.1u
Driver-dependant file (RN,HjG,JT)]
\def\pIIe@mode{1}
\def\pIIe@code#1{%
diff --git a/Master/texmf-dist/tex/latex/pict2e/p2e-luatex.def b/Master/texmf-dist/tex/latex/pict2e/p2e-luatex.def
new file mode 100644
index 00000000000..7b23452e2ff
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/pict2e/p2e-luatex.def
@@ -0,0 +1,40 @@
+%%
+%% This is file `p2e-luatex.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% p2e-drivers.dtx (with options: `luatex')
+%%
+%% Copyright (C) 2003-2016
+%% Rolf Niepraschk, Rolf.Niepraschk@gmx.de
+%% Hubert Gaesslein,
+%% Josef Tkadlec, j.tkadlec@email.cz
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This work consists of all files listed in `manifest.txt'.
+%%
+\ProvidesFile{p2e-luatex.def}
+ [2016/02/05 v0.1u
+ Driver-dependant file (RN,HjG,JT)]
+\begingroup
+ \ifnum\outputmode>0\relax
+ \gdef\pIIe@mode{2}
+ \fi
+\endgroup
+\ifcase\pIIe@mode\relax \or\or
+ \def\pIIe@code#1{\pdfextension literal{ q #1 Q }}
+ \protected\edef\pIIe@pdfliteral{\pdfextension literal}
+\fi
+\endinput
+%%
+%% End of file `p2e-luatex.def'.
diff --git a/Master/texmf-dist/tex/latex/pict2e/p2e-pctex32.def b/Master/texmf-dist/tex/latex/pict2e/p2e-pctex32.def
index f27cf7cad60..5f1afadeb54 100644
--- a/Master/texmf-dist/tex/latex/pict2e/p2e-pctex32.def
+++ b/Master/texmf-dist/tex/latex/pict2e/p2e-pctex32.def
@@ -6,9 +6,9 @@
%%
%% p2e-drivers.dtx (with options: `pctex32')
%%
-%% Copyright (C) 2003, 2004, 2008, 2009, 2011
-%% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
-%% Hubert Gaesslein, HubertJG@open.mind.de
+%% Copyright (C) 2003-2016
+%% Rolf Niepraschk, Rolf.Niepraschk@gmx.de
+%% Hubert Gaesslein,
%% Josef Tkadlec, j.tkadlec@email.cz
%%
%% This work may be distributed and/or modified under the
@@ -24,7 +24,7 @@
%% This work consists of all files listed in `manifest.txt'.
%%
\ProvidesFile{p2e-pctex32.def}
- [2011/04/05 v0.1t
+ [2016/02/05 v0.1u
Driver-dependant file (RN,HjG,JT)]
% \def\pIIe@mode{-1}
% \def\pIIe@code#1{}
diff --git a/Master/texmf-dist/tex/latex/pict2e/p2e-pctexps.def b/Master/texmf-dist/tex/latex/pict2e/p2e-pctexps.def
index 8a3daa8e976..325d28f708c 100644
--- a/Master/texmf-dist/tex/latex/pict2e/p2e-pctexps.def
+++ b/Master/texmf-dist/tex/latex/pict2e/p2e-pctexps.def
@@ -6,9 +6,9 @@
%%
%% p2e-drivers.dtx (with options: `pctexps')
%%
-%% Copyright (C) 2003, 2004, 2008, 2009, 2011
-%% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
-%% Hubert Gaesslein, HubertJG@open.mind.de
+%% Copyright (C) 2003-2016
+%% Rolf Niepraschk, Rolf.Niepraschk@gmx.de
+%% Hubert Gaesslein,
%% Josef Tkadlec, j.tkadlec@email.cz
%%
%% This work may be distributed and/or modified under the
@@ -24,7 +24,7 @@
%% This work consists of all files listed in `manifest.txt'.
%%
\ProvidesFile{p2e-pctexps.def}
- [2011/04/05 v0.1t
+ [2016/02/05 v0.1u
Driver-dependant file (RN,HjG,JT)]
% \def\pIIe@mode{-1}
% \def\pIIe@code#1{}
diff --git a/Master/texmf-dist/tex/latex/pict2e/p2e-pdftex.def b/Master/texmf-dist/tex/latex/pict2e/p2e-pdftex.def
index cc5a2d1c639..df09e096f43 100644
--- a/Master/texmf-dist/tex/latex/pict2e/p2e-pdftex.def
+++ b/Master/texmf-dist/tex/latex/pict2e/p2e-pdftex.def
@@ -6,9 +6,9 @@
%%
%% p2e-drivers.dtx (with options: `pdftex')
%%
-%% Copyright (C) 2003, 2004, 2008, 2009, 2011
-%% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
-%% Hubert Gaesslein, HubertJG@open.mind.de
+%% Copyright (C) 2003-2016
+%% Rolf Niepraschk, Rolf.Niepraschk@gmx.de
+%% Hubert Gaesslein,
%% Josef Tkadlec, j.tkadlec@email.cz
%%
%% This work may be distributed and/or modified under the
@@ -24,7 +24,7 @@
%% This work consists of all files listed in `manifest.txt'.
%%
\ProvidesFile{p2e-pdftex.def}
- [2011/04/05 v0.1t
+ [2016/02/05 v0.1u
Driver-dependant file (RN,HjG,JT)]
\begingroup
\@ifundefined{pdfoutput}{}{%
diff --git a/Master/texmf-dist/tex/latex/pict2e/p2e-textures.def b/Master/texmf-dist/tex/latex/pict2e/p2e-textures.def
index 1360bbbc015..57dfceca511 100644
--- a/Master/texmf-dist/tex/latex/pict2e/p2e-textures.def
+++ b/Master/texmf-dist/tex/latex/pict2e/p2e-textures.def
@@ -6,9 +6,9 @@
%%
%% p2e-drivers.dtx (with options: `textures')
%%
-%% Copyright (C) 2003, 2004, 2008, 2009, 2011
-%% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
-%% Hubert Gaesslein, HubertJG@open.mind.de
+%% Copyright (C) 2003-2016
+%% Rolf Niepraschk, Rolf.Niepraschk@gmx.de
+%% Hubert Gaesslein,
%% Josef Tkadlec, j.tkadlec@email.cz
%%
%% This work may be distributed and/or modified under the
@@ -24,7 +24,7 @@
%% This work consists of all files listed in `manifest.txt'.
%%
\ProvidesFile{p2e-textures.def}
- [2011/04/05 v0.1t
+ [2016/02/05 v0.1u
Driver-dependant file (RN,HjG,JT)]
% \def\pIIe@mode{-1}
% \def\pIIe@code#1{}
diff --git a/Master/texmf-dist/tex/latex/pict2e/p2e-vtex.def b/Master/texmf-dist/tex/latex/pict2e/p2e-vtex.def
index a20fc85ff62..a9804fe4df2 100644
--- a/Master/texmf-dist/tex/latex/pict2e/p2e-vtex.def
+++ b/Master/texmf-dist/tex/latex/pict2e/p2e-vtex.def
@@ -6,9 +6,9 @@
%%
%% p2e-drivers.dtx (with options: `vtex')
%%
-%% Copyright (C) 2003, 2004, 2008, 2009, 2011
-%% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
-%% Hubert Gaesslein, HubertJG@open.mind.de
+%% Copyright (C) 2003-2016
+%% Rolf Niepraschk, Rolf.Niepraschk@gmx.de
+%% Hubert Gaesslein,
%% Josef Tkadlec, j.tkadlec@email.cz
%%
%% This work may be distributed and/or modified under the
@@ -24,7 +24,7 @@
%% This work consists of all files listed in `manifest.txt'.
%%
\ProvidesFile{p2e-vtex.def}
- [2011/04/05 v0.1t
+ [2016/02/05 v0.1u
Driver-dependant file (RN,HjG,JT)]
\begingroup
\@ifundefined{VTeXversion}{}{%
diff --git a/Master/texmf-dist/tex/latex/pict2e/p2e-xetex.def b/Master/texmf-dist/tex/latex/pict2e/p2e-xetex.def
index e1546aa6883..00201f8d66c 100644
--- a/Master/texmf-dist/tex/latex/pict2e/p2e-xetex.def
+++ b/Master/texmf-dist/tex/latex/pict2e/p2e-xetex.def
@@ -6,9 +6,9 @@
%%
%% p2e-drivers.dtx (with options: `xetex')
%%
-%% Copyright (C) 2003, 2004, 2008, 2009, 2011
-%% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
-%% Hubert Gaesslein, HubertJG@open.mind.de
+%% Copyright (C) 2003-2016
+%% Rolf Niepraschk, Rolf.Niepraschk@gmx.de
+%% Hubert Gaesslein,
%% Josef Tkadlec, j.tkadlec@email.cz
%%
%% This work may be distributed and/or modified under the
@@ -24,7 +24,7 @@
%% This work consists of all files listed in `manifest.txt'.
%%
\ProvidesFile{p2e-xetex.def}
- [2011/04/05 v0.1t
+ [2016/02/05 v0.1u
Driver-dependant file (RN,HjG,JT)]
\def\pIIe@mode{2}
\def\pIIe@code#1{\special{pdf: literal q #1 Q}}
diff --git a/Master/texmf-dist/tex/latex/pict2e/pict2e.cfg b/Master/texmf-dist/tex/latex/pict2e/pict2e.cfg
index 5669b4eb746..81f901972ac 100644
--- a/Master/texmf-dist/tex/latex/pict2e/pict2e.cfg
+++ b/Master/texmf-dist/tex/latex/pict2e/pict2e.cfg
@@ -6,9 +6,9 @@
%%
%% p2e-drivers.dtx (with options: `cfg')
%%
-%% Copyright (C) 2003, 2004, 2008, 2009, 2011
-%% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
-%% Hubert Gaesslein, HubertJG@open.mind.de
+%% Copyright (C) 2003-2016
+%% Rolf Niepraschk, Rolf.Niepraschk@gmx.de
+%% Hubert Gaesslein,
%% Josef Tkadlec, j.tkadlec@email.cz
%%
%% This work may be distributed and/or modified under the
@@ -24,39 +24,55 @@
%% This work consists of all files listed in `manifest.txt'.
%%
\ProvidesFile{pict2e.cfg}%
- [2011/04/05 v0.1t
+ [2016/02/05 v0.1u
pict2e configuration for teTeX/TeXLive]
%% Select an appropriate default driver.
\begingroup
\chardef\x=0 %
- % check pdfTeX
- \@ifundefined{pdfoutput}{}{%
- \ifcase\pdfoutput
+ % check luatex
+ \ifx\luatexversion\@undefined
+ % check pdfTeX
+ \@ifundefined{pdfoutput}{}{%
+ \ifcase\pdfoutput
+ \else
+ \chardef\x=1 %
+ \fi
+ }%
+ % check VTeX
+ \@ifundefined{OpMode}{}{%
+ \chardef\x=2 %
+ }%
+ % check XeTeX
+ \@ifundefined{XeTeXrevision}{}{%
+ \chardef\x=3 %
+ }%
+ \else
+ \ifnum\luatexversion>85
+ \ifnum\outputmode>0
+ \chardef\x=4\relax
+ \fi
\else
- \chardef\x=1 %
+ \ifnum\pdfoutput>0
+ \chardef\x=1\relax
+ \fi
\fi
- }%
- % check VTeX
- \@ifundefined{OpMode}{}{%
- \chardef\x=2 %
- }%
- % check XeTeX
- \@ifundefined{XeTeXrevision}{}{%
- \chardef\x=3 %
- }%
+ \fi
\expandafter\endgroup
\ifcase\x
- % default case
+ % 0: default case
\ExecuteOptions{dvips}%
\or
- % pdfTeX is running in pdf mode
+ % 1: pdfTeX is running in pdf mode
\ExecuteOptions{pdftex}%
\or
- % VTeX is running
+ % 2: VTeX is running
\ExecuteOptions{vtex}%
-\else
- % XeTeX is running
+\or
+ % 3: XeTeX is running
\ExecuteOptions{xetex}%
+\or
+ % 4: LuaTeX (> 0.85) is running
+ \ExecuteOptions{luatex}%
\fi
%% \ExecuteOptions{pstarrows}
\endinput
diff --git a/Master/texmf-dist/tex/latex/pict2e/pict2e.sty b/Master/texmf-dist/tex/latex/pict2e/pict2e.sty
index 745f5e63ddd..dc5bde7f581 100644
--- a/Master/texmf-dist/tex/latex/pict2e/pict2e.sty
+++ b/Master/texmf-dist/tex/latex/pict2e/pict2e.sty
@@ -6,9 +6,9 @@
%%
%% pict2e.dtx (with options: `package')
%%
-%% Copyright (C) 2003, 2004, 2008, 2009, 2011
-%% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
-%% Hubert Gaesslein, HubertJG@open.mind.de
+%% Copyright (C) 2003-2016
+%% Rolf Niepraschk, Rolf.Niepraschk@gmx.de
+%% Hubert Gaesslein,
%% Josef Tkadlec, j.tkadlec@email.cz
%%
%% This work may be distributed and/or modified under the
@@ -24,8 +24,7 @@
%% This work consists of all files listed in `manifest.txt'.
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-\ProvidesPackage{pict2e}
- [2016/01/09 v0.2z Improved picture commands (HjG,RN,JT)]
+\ProvidesPackage{pict2e}[2016/02/05 v0.3b Improved picture commands (HjG,RN,JT)]
\edef\Gin@codes{%
\catcode`\noexpand\^^A\the\catcode`\^^A\relax
\catcode`\noexpand\"\the\catcode`\"\relax
@@ -47,6 +46,7 @@
\DeclareOption{dvipdfm}{\def\Gin@driver{dvipdfm.def}}
\DeclareOption{dvipdfmx}{\def\Gin@driver{dvipdfmx.def}}
\DeclareOption{pdftex}{\def\Gin@driver{pdftex.def}}
+\DeclareOption{luatex}{\def\Gin@driver{luatex.def}}
\DeclareOption{xetex}{\def\Gin@driver{xetex.def}}
\DeclareOption{dvipsone}{\def\Gin@driver{dvipsone.def}}
\DeclareOption{dviwindo}{\ExecuteOptions{dvipsone}}