summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-xetex.def
blob: feaa7f77bae53eb219ab928bd03711f32a9c25ea (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
% 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 Public License.
%
% See the file doc/generic/pgf/licenses/LICENSE for more details.

\ProvidesFileRCS $Header: /cvsroot/pgf/pgf/generic/pgf/systemlayer/pgfsys-xetex.def,v 1.3 2010/02/16 10:56:09 tantau Exp $

% Driver commands for dvipdfm

%
% Load common pdf and pdf in dvi commands:
%
\input pgfsys-common-pdf.def
\input pgfsys-common-pdf-via-dvi.def

%
% dvipdfmx-specific stuff:
%

\def\pgfsys@invoke#1{\special{pdf:literal direct #1 }}


\ifx\XeTeXversion\@undefined
  \PackageError{pgfsys}{XeTeX is not running, but it should. Somehow
    the wrong driver got selected}{}
\fi


%
% Position tracking always on
%
\pgf@sys@pdf@dvi@tracker

% 
% Page size stuff
% 
\def\pgfsys@papersize#1#2{%
 \pdfpageheight#2%
 \pdfpagewidth#1}


\endinput

%%% Local Variables: 
%%% mode: latex
%%% End: