diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3kernel/l3dvips.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/l3kernel/l3dvips.def | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/l3kernel/l3dvips.def b/Master/texmf-dist/tex/latex/l3kernel/l3dvips.def index 991fe9b59c4..5c22f8648e9 100644 --- a/Master/texmf-dist/tex/latex/l3kernel/l3dvips.def +++ b/Master/texmf-dist/tex/latex/l3kernel/l3dvips.def @@ -47,28 +47,28 @@ %% ----------------------------------------------------------------------- %% \RequirePackage{l3bootstrap} -\GetIdInfo$Id: l3drivers.dtx 4602 2013-11-18 23:19:01Z bruno $ +\GetIdInfo$Id: l3drivers.dtx 4632 2013-12-31 17:09:37Z joseph $ {L3 Experimental drivers} \ProvidesExplFile {l3dvips.def}{\ExplFileDate}{\ExplFileVersion} {L3 Experimental driver: dvips} \__expl_package_check: -\cs_new_protected_nopar:Npn \__driver_graphic_state_save: +\cs_new_protected_nopar:Npn \__driver_state_save: { \tex_special:D { ps:gsave } } -\cs_new_protected_nopar:Npn \__driver_graphic_state_restore: +\cs_new_protected_nopar:Npn \__driver_state_restore: { \tex_special:D { ps:grestore } } -\cs_new_protected:Npn \__driver_ps_literal:n #1 +\cs_new_protected:Npn \__driver_literal:n #1 { \tex_special:D { ps: #1 } } \cs_new_protected:Npn \__driver_box_use_clip:N #1 { - \__driver_graphic_state_save: - \__driver_ps_literal:n + \__driver_state_save: + \__driver_literal:n { /savedmatrix~matrix~currentmatrix~def~ currentpoint~translate~ Resolution~72~div~VResolution~72~div~scale } - \__driver_ps_literal:n + \__driver_literal:n { 0~ \__dim_strip_bp:n { \box_dp:N #1 } ~ @@ -76,16 +76,16 @@ \__dim_strip_bp:n { - \box_ht:N #1 - \box_dp:N #1 } ~ rectclip } - \__driver_ps_literal:n { savedmatrix~setmatrix } + \__driver_literal:n { savedmatrix~setmatrix } \hbox_overlap_right:n { \box_use:N #1 } - \__driver_graphic_state_restore: + \__driver_state_restore: \skip_horizontal:n { \box_wd:N #1 } } \cs_new_protected_nopar:Npn \__driver_box_rotate_begin: { - \__driver_graphic_state_save: + \__driver_state_save: \fp_set:Nn \l__box_angle_fp { round ( \l__box_angle_fp , 5 ) } - \__driver_ps_literal:n + \__driver_literal:n { currentpoint~ currentpoint~translate~ @@ -96,13 +96,13 @@ neg~exch~neg~exch~translate } } -\cs_new_eq:NN \__driver_box_rotate_end: \__driver_graphic_state_restore: +\cs_new_eq:NN \__driver_box_rotate_end: \__driver_state_restore: \cs_new_protected_nopar:Npn \__driver_box_scale_begin: { + \__driver_state_save: \fp_set:Nn \l__box_scale_x_fp { round ( \l__box_scale_x_fp , 5 ) } \fp_set:Nn \l__box_scale_y_fp { round ( \l__box_scale_y_fp , 5 ) } - \__driver_graphic_state_save: - \__driver_ps_literal:n + \__driver_literal:n { currentpoint~ currentpoint~translate~ @@ -111,9 +111,10 @@ neg~exch~neg~exch~translate } } -\cs_new_eq:NN \__driver_box_scale_end: \__driver_graphic_state_restore: +\cs_new_eq:NN \__driver_box_scale_end: \__driver_state_restore: \tl_new:N \l__driver_current_color_tl \tl_set:Nn \l__driver_current_color_tl { Black } +%% \end{macrocode} \cs_new_protected_nopar:Npn \__driver_color_ensure_current: { \tex_special:D { color~push~\l__driver_current_color_tl } |