ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: "Connor P. Jackson" <connor@cpjackson.net>
Cc: Hans Hagen <j.hagen@xs4all.nl>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Adobe Acrobat accessibility criteria
Date: Wed, 28 Jul 2021 11:51:51 +0200	[thread overview]
Message-ID: <b5930d66-0995-e63a-aa8a-57637fadb11f@xs4all.nl> (raw)
In-Reply-To: <CAD5a2m5nTea==xvVtjmZb6Sk4Li9AbQieQ1Ra2Z_tMzBMJEPFg@mail.gmail.com>

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	other threads:[~2021-07-28  9:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-27  1:11 Connor P. Jackson via ntg-context
2021-07-27  7:35 ` Hans Hagen via ntg-context
2021-07-28  3:05   ` Connor P. Jackson via ntg-context
2021-07-28  9:51     ` Hans Hagen via ntg-context [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b5930d66-0995-e63a-aa8a-57637fadb11f@xs4all.nl \
    --to=ntg-context@ntg.nl \
    --cc=connor@cpjackson.net \
    --cc=j.hagen@xs4all.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).