On 7/28/2021 5:05 AM, Connor P. Jackson wrote:
My prior message got stuck in Moderation Limbo because I attached a PDF, so resending without the attachments:

Apologies, I realized about an hour after I hit send that I should have submitted an MRE! Here is an MRE adapted from the wiki page on PDF/A <https://wiki.contextgarden.net/PDF/A>:

---

\setupinteraction[title=MyTitle,state=start]


\setupinteractionscreen[option={title}]


\setupbackend[

format={pdf/a-1a:2005},

profile={default_cmyk.icc,default_rgb.icc,default_gray.icc},

intent=ISO coated v2 300\letterpercent\space (ECI)]


%% Tagged PDF

%% method=auto ==> default tags by Adobe

\setupbackend[export=yes]

\setupstructure[state=start,method=auto]


\starttext


\chapter[chap:testing]{Testing}


Here is some text


\useURL[url1][https://xkcd.org][][Here <https://xkcd.org][][Here> is a link to xkcd]\from[url1]


\stoptext


---

Including \setupinteractionscreen[option={title}] fixed the title issue (#1)! Thanks for that. I will add that to my default template.


And to see #s 2 and 3, I can send a PDF where I have fixed those errors in Adobe Acrobat—adding a link-OBJR tag and setting the Tab Order. Is there a preferred method since the listserv doesn’t seem to like large attachments?
your file is large because you also embed a profile .. this is more minimal

\setuptagging[state=start]

\setupstructure[state=start,method=auto]

\starttext

    \chapter[chap:testing]{Testing}

    Here is some text

    \useURL[url1][https://xkcd.org][][Here is a link to xkcd]\from[url1]

    \goto{next page}[page(2)]

    \page test

\stoptext

anyway, adding this - yet another weird - tag related object is doable but i'll send you some files to test off list (the tagging code is already somewhat old but lucky me it's not that complex so i could figure it out without official pdf spec)

(when it works ok i also need to backport to mkiv)

Hans


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to