[latex3-commits] [git/LaTeX3-latex3-pdfresources] testlinkstuff: small corrections (lang test, ...) (173822b)

Ulrike Fischer fischer at troubleshooting-tex.de
Fri May 24 01:02:11 CEST 2019


Repository : https://github.com/latex3/pdfresources
On branch  : testlinkstuff
Link       : https://github.com/latex3/pdfresources/commit/173822b0ed5cffc088b4e9710e740b6b41fa6dce

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

commit 173822b0ed5cffc088b4e9710e740b6b41fa6dce
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri May 24 01:02:11 2019 +0200

    small corrections (lang test, ...)


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

173822b0ed5cffc088b4e9710e740b6b41fa6dce
 hluatex-experimental.def |   27 +++++++++++++++------------
 pdfresources.dtx         |    6 +++---
 2 files changed, 18 insertions(+), 15 deletions(-)

diff --git a/hluatex-experimental.def b/hluatex-experimental.def
index 63cc976..c4d7a40 100644
--- a/hluatex-experimental.def
+++ b/hluatex-experimental.def
@@ -715,7 +715,10 @@
    }
   \tl_if_exist:NT\@pdflang
    {
-    \pdf_catalog_gput:nn { Lang } { (\@pdflang) }
+    \tl_if_empty:NF\@pdflang
+    {
+     \pdf_catalog_gput:nn { Lang } { (\@pdflang) }
+    } 
    }
   \bool_if:nF
    {
@@ -744,47 +747,47 @@
     \ifHy at pdfdisplaydoctitle
      \pdf_catalog_ViewerPreferences_gput:nn { DisplayDocTitle } { true }
     \fi
-    \tl_if_empty:oF { \@pdfnonfullscreenpagemode }
+    \tl_if_empty:NF  \@pdfnonfullscreenpagemode
     {
      \pdf_catalog_ViewerPreferences_gput:nx { NonFullScreenPageMode } { /\@pdfnonfullscreenpagemode }
     }
-    \tl_if_empty:oF { \@pdfdirection }
+    \tl_if_empty:NF  \@pdfdirection
     {
      \pdf_catalog_ViewerPreferences_gput:nx { Direction } { /\@pdfdirection }
     }
-    \tl_if_empty:oF { \@pdfviewarea }
+    \tl_if_empty:NF  \@pdfviewarea
     {
      \pdf_catalog_ViewerPreferences_gput:nx { ViewArea }{/\@pdfviewarea }
     }
-    \tl_if_empty:oF { \@pdfviewclip }
+    \tl_if_empty:NF  \@pdfviewclip
     {
      \pdf_catalog_ViewerPreferences_gput:nx { ViewClip } { /\@pdfviewclip }
     }
-    \tl_if_empty:oF { \@pdfprintarea }
+    \tl_if_empty:NF  \@pdfprintarea
     {
      \pdf_catalog_ViewerPreferences_gput:nx { PrintArea } { /\@pdfprintarea }
     }
-    \tl_if_empty:oF { \@pdfprintclip }
+    \tl_if_empty:NF  \@pdfprintclip
     {
      \pdf_catalog_ViewerPreferences_gput:nx { PrintClip } { /\@pdfprintclip }
     }
-    \tl_if_empty:oF { \@pdfprintscaling }
+    \tl_if_empty:NF  \@pdfprintscaling
     {
      \pdf_catalog_ViewerPreferences_gput:nx { PrintScaling } { /\@pdfprintscaling }
     }
-    \tl_if_empty:oF { \@pdfduplex }
+    \tl_if_empty:NF  \@pdfduplex
     {
      \pdf_catalog_ViewerPreferences_gput:nx { Duplex } { /\@pdfduplex }
     }
-    \tl_if_empty:oF { \@pdfpicktraybypdfsize }
+    \tl_if_empty:NF \@pdfpicktraybypdfsize
     {
      \pdf_catalog_ViewerPreferences_gput:nx { PickTrayByPDFSize } { \@pdfpicktraybypdfsize }
     }
-    \tl_if_empty:oF { \@pdfprintpagerange }
+    \tl_if_empty:NF \@pdfprintpagerange
     {
      \pdf_catalog_ViewerPreferences_gput:nx { PrintPageRange } {  [ \@pdfprintpagerange ] }
     }
-    \tl_if_empty:oF { \@pdfnumcopies }
+    \tl_if_empty:NF  \@pdfnumcopies
     {
      \pdf_catalog_ViewerPreferences_gput:nx { NumCopies } {  \@pdfnumcopies }
     }
diff --git a/pdfresources.dtx b/pdfresources.dtx
index 1698929..160bc5f 100644
--- a/pdfresources.dtx
+++ b/pdfresources.dtx
@@ -775,6 +775,7 @@
 %  \item[PageLabels] dictionary containing on /Nums + array entry describing the numbering system of the pages.
 %  (done by hyperref).
 %  \item[Collection] should be added by one package only (for an example see embedfile package).
+%  \item[Metadata] only one package can add it (pdfx/hyperxmp clash here)
 % \end{description}
 %    \begin{macrocode}
 %<*package>
@@ -791,9 +792,8 @@
  }
 %</package>
 %    \end{macrocode}
-%% open:  AcroForm, Metadata,
-%% AF (array of dictionaries, pdf 2.0, associated files, important for accessibility),
-%% Threads, AA (dict, additional-actions),
+%% open:  AcroForm, AF (array of dictionaries, pdf 2.0, associated files, important for accessibility),
+%%        Threads, AA (dict, additional-actions),
 %% open but unclear: Names. Is created automatically (for the Dests subdict), but no
 %% other use found in the texmf tree. So perhaps later.
 %% open not so important: Dests (only pdf 1.1, later subdict of Names), SpiderInfo (dict),





More information about the latex3-commits mailing list