diff options
author | Karl Pettersson <klpn1258@gmail.com> | 2019-07-15 20:55:04 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-07-15 11:55:04 -0700 |
commit | 5303791bc4a9d5233a60e6bc84f2fb773c9c8e4e (patch) | |
tree | f974f266dfcc6bbe8cea554629638be277bbf380 /data/templates/default.context | |
parent | 680d7b515f2467a74c508c3c26281eead9af6e7a (diff) | |
download | pandoc-5303791bc4a9d5233a60e6bc84f2fb773c9c8e4e.tar.gz |
Customizable type of PDF/A for the ConTeXt writer (issue #5608) (#5610)
* Let the user choose type of PDF/A generated with ConTeXt (closes #5608)
* Updated ConTeXt test documents for changes in tagging
* Updated color profile settings in accordance with ConTeXt wiki
* Made ICC profile and output intent for PDF/A customizable
* Read pdfa variable from meta (and updated manual)
Diffstat (limited to 'data/templates/default.context')
-rw-r--r-- | data/templates/default.context | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/data/templates/default.context b/data/templates/default.context index 879269394..f54b55e74 100644 --- a/data/templates/default.context +++ b/data/templates/default.context @@ -27,7 +27,6 @@ $endif$ % make chapter, section bookmarks visible when opening document \placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section] \setupinteractionscreen[option=bookmark] -\setuptagging[state=start] $if(papersize)$ \setuppapersize[$for(papersize)$$papersize$$sep$,$endfor$] @@ -41,10 +40,12 @@ $endif$ $if(pdfa)$ % attempt to generate PDF/A \setupbackend - [format=PDF/A-1b:2005, - intent=sRGB IEC61966-2.1, - profile=sRGB.icc] + [format=PDF/A-$pdfa$, + profile={$if(pdfaiccprofile)$$for(pdfaiccprofile)$$pdfaiccprofile$$sep$,$endfor$$else$sRGB.icc$endif$}, + intent=$if(pdfaintent)$$pdfaintent$$else$sRGB IEC61966-2.1$endif$] $endif$ +\setupbackend[export=yes] +\setupstructure[state=start,method=auto] % use microtypography \definefontfeature[default][default][script=latn, protrusion=quality, expansion=quality, itlc=yes, textitalics=yes, onum=yes, pnum=yes] |