[latex3-commits] [git/LaTeX3-latex3-pdfresources] master: allow pdfpagelayout to be removed (2f842c1)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Mar 24 19:31:22 CET 2020


Repository : https://github.com/latex3/pdfresources
On branch  : master
Link       : https://github.com/latex3/pdfresources/commit/2f842c12090ce0007b4f32090cb681e5b4ea6244

>---------------------------------------------------------------

commit 2f842c12090ce0007b4f32090cb681e5b4ea6244
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Mar 24 19:31:22 2020 +0100

    allow pdfpagelayout to be removed


>---------------------------------------------------------------

2f842c12090ce0007b4f32090cb681e5b4ea6244
 hgeneric-experimental.def | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hgeneric-experimental.def b/hgeneric-experimental.def
index 0017278..bdc52e7 100644
--- a/hgeneric-experimental.def
+++ b/hgeneric-experimental.def
@@ -774,6 +774,8 @@
    ,pdfpagelayout .choices:nn =
      { SinglePage, OneColumn, TwoColumnLeft, TwoColumnRight, TwoPageLeft, TwoPageRight}
      { \pdf_catalog_gput:nx { PageLayout }{ /#1 } }
+   ,pdfpagelayout / .code:n =
+     { \pdf_catalog_gremove:n { PageLayout } }
    ,pdfpagemode   .code:n = { \pdf_catalog_gput:nx { PageMode }{ /#1 } }
    ,pdfpagemode   .value_required:n = true
    ,pdfpagemode   .initial:n  = { UseOutlines } %for now ...





More information about the latex3-commits mailing list.