blob: 972a701409b8bfb27b6bb1d52a74b03b04240415 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
%
% bxdpxp2e.def
%
%% file declaration
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{bxdpxp2e.def}[2010/08/08 v0.1]
%% avoid multiple load
\csname bxpz@bxdpxpIIe@loaded\endcsname
\def\bxpz@bxdpxpIIe@loaded{\endinput}
%% declare option 'dvipdfmx'
\expandafter\ifx\csname ds@dvipdfmx\endcsname\relax
\DeclareOption{dvipdfmx}{\bxpz@pIIe@dvipdfmx}
\fi
%% \bxpz@pIIe@dvipdfmx
\@onlypreamble\bxpz@pIIe@dvipdfmx
\def\bxpz@pIIe@dvipdfmx{%
\expandafter\ifx\csname ver@dvipdfmx.def\endcsname\relax
\input{dvipdfmx.def}\fi
\begingroup % cancel \relax'ing of \[ver@dvipdfm.def]
\xdef\bxpz@nxt{\noexpand\bxpz@nxt@a\expandafter\noexpand
\csname ver@dvipdfm.def\endcsname\noexpand\bxpz@ver@dpm}%
\endgroup
\def\bxpz@nxt@a##1##2{\let##2##1\let##1\@empty
\AtEndOfPackage{\let##1##2\def\Gin@driver{dvipdfmx.def}}}%
\bxpz@nxt \def\Gin@driver{dvipdfm.def}%
%
\def\bxpz@begin@picture@hook{\let\pdfliteral\bxpz@pdfliteral}
\def\bxpz@pdfliteral##1{\special{pdf:literal ##1}}
\let\bxpz@org@@picture\@picture
\def\@picture{\bxpz@begin@picture@hook \bxpz@org@@picture}
%
\let\bxpz@pIIe@dvipdfmx\relax
}
%% EOF
|