diff options
author | Karl Berry <karl@freefriends.org> | 2016-02-05 23:35:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-02-05 23:35:03 +0000 |
commit | b0b816931ede90b5237dcb504755552bd5db7387 (patch) | |
tree | 009bfe55705d5030fb51fc18cdc0d4357de7a6c2 /Master/texmf-dist/tex/latex/pict2e/pict2e.cfg | |
parent | 3e2f80be0bc415e72916b61a0d3cbfcda0c48d89 (diff) |
pict2e (5feb16)
git-svn-id: svn://tug.org/texlive/trunk@39591 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pict2e/pict2e.cfg')
-rw-r--r-- | Master/texmf-dist/tex/latex/pict2e/pict2e.cfg | 60 |
1 files changed, 38 insertions, 22 deletions
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 |