[NTG-context] Tagged PDF Best Practice Guide: Syntax

2019-06-14 Thread luigi scarso
https://www.pdfa.org/resource/tagged-pdf-best-practice-guide-syntax/

-- 
luigi
___
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
___


[NTG-context] Tagged PDF - Standard structure type for list elements

2014-05-30 Thread Christoph Reller
Hi,

I have found a small bug in line 62 of strc-tag.lua:

item   = { pdf = Li, nature = display },

The standard structure type for list elements is LI not Li. Please
correct the line to

item   = { pdf = LI, nature = display },

A minimal example to reproduce is:

\setuptagging[state=start]
\starttext
\startitemize
\item One
\stopitemize
\stoptext

I am using ConTeXt Version 2014.05.27 13:38.

Thanks,

Christoph
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Tagged PDF - Math

2014-05-30 Thread Christoph Reller
Hi,

ConTeXt can produce tagged PDF - this is really cool! (At the moment
ConTeXt/luaTeX seems to be the only macropackage/TeX-engine that is able to
do this.)

What is the status of producing structure information for math? After a
quick evaluation I observe two issues:

1. Empty entry in RoleMap:
ConTeXt wisely uses the RoleMap entry of the StructTreeRoot element in a
PDF to map structure element names to standard element names. In PDF terms,
RoleMap is a dictionary with keys and values. Unfortunately, certain math
elements seem to lead to a corrupt RoleMap, e.g., the usage of a square
root results in an empty dictionary key with corresponding value \Span. A
minimal example is:

\setuptagging[state=start]
\starttext
\startformula
\sqrt{A}
\stopformula
\stoptext

2. Structure element contains index of type real number:
According to the PDF Reference V 1.7 (see Table 10.10) a structure element
dictionary's K entry can be an integer (e.g. 2) that denotes an index
for a marked-content sequence. When tagging math, ConTeXt sometimes
produces a real value (e.g. 2.000) instead. A minimal example is: (In
this example the last element B receives such a real number index)

\setuptagging[state=start]
\starttext
\startformula
A = B
\stopformula
\stoptext

I am using ConTeXt version 2014.05.27 13:38.

Thanks in advance for any feedback.

Christoph
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Tagged PDF - Math

2014-05-30 Thread Hans Hagen

On 5/30/2014 9:33 AM, Christoph Reller wrote:

Hi,

ConTeXt can produce tagged PDF - this is really cool! (At the moment
ConTeXt/luaTeX seems to be the only macropackage/TeX-engine that is able to
do this.)

What is the status of producing structure information for math? After a
quick evaluation I observe two issues:

1. Empty entry in RoleMap:
ConTeXt wisely uses the RoleMap entry of the StructTreeRoot element in a
PDF to map structure element names to standard element names. In PDF terms,
RoleMap is a dictionary with keys and values. Unfortunately, certain math
elements seem to lead to a corrupt RoleMap, e.g., the usage of a square
root results in an empty dictionary key with corresponding value \Span. A
minimal example is:

\setuptagging[state=start]
\starttext
\startformula
\sqrt{A}
\stopformula
\stoptext

2. Structure element contains index of type real number:
According to the PDF Reference V 1.7 (see Table 10.10) a structure element
dictionary's K entry can be an integer (e.g. 2) that denotes an index
for a marked-content sequence. When tagging math, ConTeXt sometimes
produces a real value (e.g. 2.000) instead. A minimal example is: (In
this example the last element B receives such a real number index)

\setuptagging[state=start]
\starttext
\startformula
A = B
\stopformula
\stoptext

I am using ConTeXt version 2014.05.27 13:38.

Thanks in advance for any feedback.


fixed in next beta

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Tagged PDF

2013-08-15 Thread D. K.
Hi everyone,

in my quest to generate tagged pdf's that meet nowaday's accessibility
requirements (it seems to me that tags are the major hurdle when using
tex), I came around context.

There is a very interesting article on how to generate tagged pdf's with
context mkiv.
http://www.tug.org/TUGboat/tb31-3/tb99hagen.pdf

A quick sample run of the examples shown in the above pdf with context
however doesn't yield a nice result. Checking with the pdf accessibility
checker
http://www.access-for-all.ch/en/pdf-lab/pdf-accessibility-checker-pac.html
for example, the generated pdf fails completely and is not considered to be
tagged.

Could someone point me in the right direction? Is there any kind of
tutorial or minimal example from where I could work on? Are there any
(hidden) options that need to be set in order to activate tagging support?

kind regards
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Tagged PDF

2013-08-15 Thread Aditya Mahajan

On Wed, 14 Aug 2013, D. K. wrote:


Hi everyone,

in my quest to generate tagged pdf's that meet nowaday's accessibility
requirements (it seems to me that tags are the major hurdle when using
tex), I came around context.

There is a very interesting article on how to generate tagged pdf's with
context mkiv.
http://www.tug.org/TUGboat/tb31-3/tb99hagen.pdf

A quick sample run of the examples shown in the above pdf with context
however doesn't yield a nice result. Checking with the pdf accessibility
checker
http://www.access-for-all.ch/en/pdf-lab/pdf-accessibility-checker-pac.html
for example, the generated pdf fails completely and is not considered to be
tagged.

Could someone point me in the right direction? Is there any kind of
tutorial or minimal example from where I could work on? Are there any
(hidden) options that need to be set in order to activate tagging support?


Have you seen http://wiki.contextgarden.net/PDFX

Aditya
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tagged PDF

2013-08-15 Thread Peter Rolf
Am 15.08.2013 09:05, schrieb Aditya Mahajan:
 On Wed, 14 Aug 2013, D. K. wrote:
 
 Hi everyone,

 in my quest to generate tagged pdf's that meet nowaday's accessibility
 requirements (it seems to me that tags are the major hurdle when using
 tex), I came around context.

 There is a very interesting article on how to generate tagged pdf's with
 context mkiv.
 http://www.tug.org/TUGboat/tb31-3/tb99hagen.pdf

 A quick sample run of the examples shown in the above pdf with context
 however doesn't yield a nice result. Checking with the pdf accessibility
 checker
 http://www.access-for-all.ch/en/pdf-lab/pdf-accessibility-checker-pac.html

 for example, the generated pdf fails completely and is not considered
 to be
 tagged.

 Could someone point me in the right direction? Is there any kind of
 tutorial or minimal example from where I could work on? Are there any
 (hidden) options that need to be set in order to activate tagging
 support?
 
 Have you seen http://wiki.contextgarden.net/PDFX


Tagging is part of PDF/A, but the interface is the same.

pdf/a-1a:2005 and pdf/a-1b:2005 are the used 'format' names for
PDF/A. Never used it myself, so I can't tell much about it.

Peter
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Tagged PDF

2012-07-10 Thread Wray, Paul
Hello all

First of all I must say that I am a complete newbie to the TeX world. 

I am evaluating Context for generation of PDFs for educational use. We
aim to produce PDFs that are accessible to screen reader users and for
that reason we would like to create tagged PDFs. My initial experiments
with tagged PDF have so far been unsuccessful. 

I am using ConTeXT standalone,  (ConTeXT ver: 2012.07.07 MKIV
fmt:2012.7.8 int: english/english ).

 

I am using this tex file as a test input (have left in line breaks in
case that is significant):

 

\setupstructure[state=start]

 

\starttext

\startbodymatter

 

\startchapter[title=Chapter 1]

The quick brown fox jumped over the lazy dog.

\stopchapter

 

\startchapter[title=Chapter 2]

Now is the time for all good people to come to the aid of the party.

\stopchapter

 

\stopbodymatter

\stoptext

 

When I open the resulting PDF in Adobe Acrobat 10.0.3 and show the tags
navigation pane, it says No tags available. Can anyone suggest what I
am doing wrong? 

 

Paul Wray

 


**
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Tagged PDF

2012-07-10 Thread Shriramana Sharma
On Tue, Jul 10, 2012 at 7:56 AM, Wray, Paul paul.w...@det.nsw.edu.au wrote:
 We aim to produce PDFs that are accessible to screen reader users and for
 that reason we would like to create tagged PDFs.

I would also like to see tagged PDFs because I use Indic scripts which
have a non-linear character-glyph correspondence, so without tags PDF
content is not copy-pastable to other applications. I would also like
to be able to enable tagged PDF production where the underlying
character sequences is embedded in the PDF. I understand this will
increase the PDF size and it is not an issue for me, but being able to
copy-paste is.

Thanks!

-- 
Shriramana Sharma
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tagged PDF

2012-07-10 Thread Hans Hagen

On 10-7-2012 04:26, Wray, Paul wrote:


\setupstructure[state=start]


it's

\setuptagging[state=start]


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tagged PDF

2012-07-10 Thread Wray, Paul
Thanks, that works now. 
I will also need to emit accessible alternate text for images, but this
is not a tag in its own right, it appears to be an attribute of the
figure tag. Is this possible?


Paul



-Original Message-
From: Hans Hagen [mailto:pra...@wxs.nl] 
Sent: Tuesday, 10 July 2012 6:04 PM
To: mailing list for ConTeXt users
Cc: Wray, Paul
Subject: Re: [NTG-context] Tagged PDF

On 10-7-2012 04:26, Wray, Paul wrote:

 \setupstructure[state=start]

it's

\setuptagging[state=start]


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-


**
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tagged PDF

2011-03-08 Thread Wolfgang Schuster

Am 08.03.2011 um 20:14 schrieb Cecil Westerhof:

 Is it possible to make tagged PDF's with ConTeXt?

Yes but you need mkiv.

You need \setupstructure[state=start] at the begin to enable it. It’s also 
important to use the start/stop commands (e.g. \startchapter) for headings.

Wolfgang

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tagged PDF

2011-03-08 Thread Cecil Westerhof
2011/3/8 Wolfgang Schuster schuster.wolfg...@googlemail.com

  Is it possible to make tagged PDF's with ConTeXt?

 Yes but you need mkiv.

 You need \setupstructure[state=start] at the begin to enable it. It’s also
 important to use the start/stop commands (e.g. \startchapter) for headings.


Okay, thanks. I first need to 'finish' my e-book. But it is good to know
that I can create tagged PDF documents. (Handy for PDA's and the like.) I
see that I really need to upgrade to MKIV. Let's put a higher priority on
that. ;-}

-- 
Cecil Westerhof
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] tagged pdf broken

2010-09-29 Thread Hans Hagen

On 29-9-2010 10:41, Steffen Wolfrum wrote:

Hi,

in todays beta (20100929) the tagged pdf is broken!

No tags are created and Preflight says:
An error occurred while parsing a contents stream


that's a side effect of a change in label mechanism (more generic as the 
letter module needs it own label namespace) and tags are a special 
(limited) variant of labels


I'll fix it

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Tagged PDF

2010-06-28 Thread Steffen Wolfrum

Am 20.01.2009 um 16:19 schrieb Arthur Reutenauer:

 Tagged PDF is indeed a problem
 for the moment, but it's clearly not the feature your printer asks for,
 and as a rule, you can be sure that if some functionality is essential
 to publishers, it will be added quickly to ConTeXt :-)



Hi Hans,

these wise words were written 1 1/2 years ago ...  and publishers indeed more 
and more often ask for that!

For me, the only way to do tagging is with AcrobatPro. 

But as LuaTeX made so much progress in the last 18 month, maybe is there also 
some break-through on this topic?


Steffen

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tagged PDF

2010-06-28 Thread Hans . Hagen







--- Original message ---
Subject: Tagged PDF
From: Steffen Wolfrum cont...@st.estfiles.de
To: mailing list for ConTeXt users ntg-context@ntg.nl
Cc: Hans Hagen pra...@wxs.nl
Date: Monday, 28/06/2010  7:17 AM


Am 20.01.2009 um 16:19 schrieb Arthur Reutenauer:



Tagged PDF is indeed a problem
for the moment, but it's clearly not the feature your printer asks 
for,

and as a rule, you can be sure that if some functionality is essential
to publishers, it will be added quickly to ConTeXt :-)




Hi Hans,

these wise words were written 1 1/2 years ago ...  and publishers 
indeed more and more often ask for that!


For me, the only way to do tagging is with AcrobatPro.

But as LuaTeX made so much progress in the last 18 month, maybe is 
there also some break-through on this topic?





no as i don't need it and it's not something you implement for fun 
(only as part of a project) .. it's quite doable (unrelated to luatex 
i think) but boring


Hans
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___