diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3drivers.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3drivers.dtx | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3drivers.dtx b/Master/texmf-dist/source/latex/l3kernel/l3drivers.dtx index 5cf76d9b972..47b21713513 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3drivers.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3drivers.dtx @@ -34,11 +34,11 @@ %% ----------------------------------------------------------------------- %% % -%<*driver> +%<*driver|package> \RequirePackage{l3names} -\GetIdInfo$Id: l3drivers.dtx 2776 2011-09-07 18:33:19Z joseph $ +\GetIdInfo$Id: l3drivers.dtx 2862 2011-09-27 21:14:27Z joseph $ {L3 Experimental drivers} -%</driver> +%</driver|package> %<*driver> \documentclass[full]{l3doc} \begin{document} @@ -141,7 +141,26 @@ % \section{\pkg{l3drivers} Implementation} % % \begin{macrocode} -%<*initex> +%<*initex|package> +% \end{macrocode} +% +% \begin{macrocode} +%<*package> +\ProvidesExplFile +%<*dvips> + {l3pdfmode.def}{\ExplFileDate}{\ExplFileVersion} + {L3~Experimental~driver:~dvips} +%</dvips> +%<*pdfmode> + {l3pdfmode.def}{\ExplFileDate}{\ExplFileVersion} + {L3~Experimental~driver:~PDF~mode} +%</pdfmode> +%<*xdvipdfmx> + {l3pdfmode.def}{\ExplFileDate}{\ExplFileVersion} + {L3~Experimental~driver:~xdvipdfmx} +%</xdvipdfmx> +\package_check_loaded_expl: +%</package> % \end{macrocode} % % \subsection{Settings for direct PDF output} @@ -150,9 +169,11 @@ % (This may of course alter: it might be that the driver is picked based on the % value of \cs{pdfmode_pdfoutput:D}.) % \begin{macrocode} +%<*initex> %<*pdfmode> \pdftex_pdfoutput:D = 1 \scan_stop: %</pdfmode> +%</initex> % \end{macrocode} % % Set up the driver for direct PDF output to set the PDF origin equal to @@ -160,6 +181,7 @@ % is standard in \TeX{} Live 2011 and should be a reasonable baseline for % the future. % \begin{macrocode} +%<*initex> %<*pdfmode> \pdftex_pdfhorigin:D = 1 true in \scan_stop: \pdftex_pdfvorigin:D = 1 true in \scan_stop: @@ -169,6 +191,7 @@ \pdftex_pdfcompresslevel:D = 9 \scan_stop: \pdftex_pdfobjcompresslevel:D = 2 \scan_stop: %</pdfmode> +%</initex> % \end{macrocode} % % \subsection{Box rotation and scaling} @@ -371,7 +394,7 @@ % \end{macro} % % \begin{macrocode} -%</initex> +%</initex|package> % \end{macrocode} % % \end{implementation} |