diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/sdaps/sdapsbase.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/sdaps/sdapsbase.dtx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/sdaps/sdapsbase.dtx b/Master/texmf-dist/source/latex/sdaps/sdapsbase.dtx index e97da6f2fc8..e993c8ba070 100644 --- a/Master/texmf-dist/source/latex/sdaps/sdapsbase.dtx +++ b/Master/texmf-dist/source/latex/sdaps/sdapsbase.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2019 by Benjamin Berg <benjamin@sipsolutions.net> +% Copyright (C) 2019-2021 by Benjamin Berg <benjamin@sipsolutions.net> % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -644,7 +644,7 @@ \cs_new_protected_nopar:Nn \__sdaps_questionnaire_overrides_set:nn { - \str_if_eq_x:nnTF { #1 } { * } { + \str_if_eq:eeTF { #1 } { * } { \__sdaps_parse_overrides:n{ #2 } } { \prop_put:Nnn \g__sdaps_id_to_overrides_prop { #1 } { #2 } @@ -1777,6 +1777,7 @@ \bool_gset:Nn \g__sdaps_last_page_bool \c_false_bool % TODO: We really want to make sure nobody modifies the values after \sdaps_begin: + \sdaps_info_write:x{SDAPSVersion=1.9.10} \sdaps_info_write:x{Duplex=\bool_if:NTF \g_sdaps_twoside_bool {true} {false}} \sdaps_info_write:x{PrintQuestionnaireId=\bool_if:NTF \g_sdaps_print_questionnaire_id_bool {1} {0}} \sdaps_info_write:x{ @@ -1787,6 +1788,14 @@ \sdaps_info_write:x{GlobalID=\g_sdaps_global_id_tl} \sdaps_info_write:x{GlobalIDLabel=\g_sdaps_global_id_label_tl} + \sdaps_info_write:x{ + CornerMarkMargin= + \dim_use:N\g_sdaps_edge_left_margin_dim, + \dim_use:N\g_sdaps_edge_right_margin_dim, + \dim_use:N\g_sdaps_edge_top_margin_dim, + \dim_use:N\g_sdaps_edge_bottom_margin_dim + } + \int_gset:Nn \g_sdaps_page_int { 0 } } |