| 1 |
%% |
| 2 |
%% This is file `pict2e-example.cfg', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% p2e-drivers.dtx (with options: `cfg') |
| 8 |
%% |
| 9 |
%% Copyright (C) 2003-2016 |
| 10 |
%% Rolf Niepraschk, [email protected] |
| 11 |
%% Hubert Gaesslein, |
| 12 |
%% Josef Tkadlec, [email protected] |
| 13 |
%% |
| 14 |
%% This work may be distributed and/or modified under the |
| 15 |
%% conditions of the LaTeX Project Public License, either version 1.3 |
| 16 |
%% of this license or (at your option) any later version. |
| 17 |
%% The latest version of this license is in |
| 18 |
%% http://www.latex-project.org/lppl.txt |
| 19 |
%% and version 1.3 or later is part of all distributions of LaTeX |
| 20 |
%% version 2003/12/01 or later. |
| 21 |
%% |
| 22 |
%% This work has the LPPL maintenance status "author-maintained". |
| 23 |
%% |
| 24 |
%% This work consists of all files listed in `manifest.txt'. |
| 25 |
%% |
| 26 |
\ProvidesFile{pict2e.cfg}% |
| 27 |
[2016/02/05 v0.1u |
| 28 |
pict2e configuration for teTeX/TeXLive] |
| 29 |
%% Select an appropriate default driver. |
| 30 |
\begingroup |
| 31 |
\chardef\x=0 % |
| 32 |
% check luatex |
| 33 |
\ifx\luatexversion\@undefined |
| 34 |
% check pdfTeX |
| 35 |
\@ifundefined{pdfoutput}{}{% |
| 36 |
\ifcase\pdfoutput |
| 37 |
\else |
| 38 |
\chardef\x=1 % |
| 39 |
\fi |
| 40 |
}% |
| 41 |
% check VTeX |
| 42 |
\@ifundefined{OpMode}{}{% |
| 43 |
\chardef\x=2 % |
| 44 |
}% |
| 45 |
% check XeTeX |
| 46 |
\@ifundefined{XeTeXrevision}{}{% |
| 47 |
\chardef\x=3 % |
| 48 |
}% |
| 49 |
\else |
| 50 |
\ifnum\luatexversion>85 |
| 51 |
\ifnum\outputmode>0 |
| 52 |
\chardef\x=4\relax |
| 53 |
\fi |
| 54 |
\else |
| 55 |
\ifnum\pdfoutput>0 |
| 56 |
\chardef\x=1\relax |
| 57 |
\fi |
| 58 |
\fi |
| 59 |
\fi |
| 60 |
\expandafter\endgroup |
| 61 |
\ifcase\x |
| 62 |
% 0: default case |
| 63 |
\ExecuteOptions{dvips}% |
| 64 |
\or |
| 65 |
% 1: pdfTeX is running in pdf mode |
| 66 |
\ExecuteOptions{pdftex}% |
| 67 |
\or |
| 68 |
% 2: VTeX is running |
| 69 |
\ExecuteOptions{vtex}% |
| 70 |
\or |
| 71 |
% 3: XeTeX is running |
| 72 |
\ExecuteOptions{xetex}% |
| 73 |
\or |
| 74 |
% 4: LuaTeX (> 0.85) is running |
| 75 |
\ExecuteOptions{luatex}% |
| 76 |
\fi |
| 77 |
%% \ExecuteOptions{pstarrows} |
| 78 |
\endinput |
| 79 |
%% |
| 80 |
%% End of file `pict2e-example.cfg'. |