From 811eee7cad840a65dbdcd72649b4007a9e8e46e2 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 2 Jan 2022 22:04:55 -0800 Subject: [PATCH] ConTeXt template: make title appear in PDF title bar. This is recommended for accessibility reasons. Note: doesn't work with macOS Preview.app. See https://groups.google.com/d/msgid/pandoc-discuss/m2lezx20jq.fsf%40MacBook-Pro-2.hsd1.ca.comcast.net --- data/templates/default.context | 2 +- test/writer.context | 2 +- test/writers-lang-and-dir.context | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/templates/default.context b/data/templates/default.context index df39130b2..49b2c1f6f 100644 --- a/data/templates/default.context +++ b/data/templates/default.context @@ -26,7 +26,7 @@ $endif$ % make chapter, section bookmarks visible when opening document \placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section] -\setupinteractionscreen[option=bookmark] +\setupinteractionscreen[option={bookmark,title}] $if(papersize)$ \setuppapersize[$for(papersize)$$papersize$$sep$,$endfor$] diff --git a/test/writer.context b/test/writer.context index ae45d1580..7be3fe125 100644 --- a/test/writer.context +++ b/test/writer.context @@ -9,7 +9,7 @@ % make chapter, section bookmarks visible when opening document \placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section] -\setupinteractionscreen[option=bookmark] +\setupinteractionscreen[option={bookmark,title}] \setuppagenumbering[location={footer,middle}] \setupbackend[export=yes] diff --git a/test/writers-lang-and-dir.context b/test/writers-lang-and-dir.context index c01ecab58..ecb04d208 100644 --- a/test/writers-lang-and-dir.context +++ b/test/writers-lang-and-dir.context @@ -7,7 +7,7 @@ % make chapter, section bookmarks visible when opening document \placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section] -\setupinteractionscreen[option=bookmark] +\setupinteractionscreen[option={bookmark,title}] \setuppagenumbering[location={footer,middle}] \setupbackend[export=yes]