Dear All,

I am sorry to bring up tagging again. \startfiguretext .. \stopfiguretext is 
causing trouble. 
The MWE below passes VeraPDF with \dorecurse{3} but not \dorecurse{2}




\setupbackend[format=pdf/ua-2]
\setuptagging
 [state=start,
  preset=basic,
  level=2,
  option=interaction]
\setupexternalfigures[location=default]
\starttext

\dorecurse{3}
{
 \startfiguretext
[right] 
[]
{}   
{\externalfigure[cow.pdf]
[width=.3\textwidth, 
alternativetext={A Cow}]}
\input tufte
\stopfiguretext
}

\stoptext

And if you use only two \startfiguretext’s, 
the next \startsection will cause VeraPDF to throw a fit, too.

Vera is ominous and useless as ever:

Rule    Status
Specification: ISO 32005:2023, Clause: Table 5. StructTreeRoot-Aside, Test 
number: 1    
StructTreeRoot shall not contain <Aside>        Failed
1 occurrences   Show 
<file:///private/var/folders/n_/llyvrh957hvgp0lgrx5twqnc0000gn/T/veraPDF-tempHTMLReport5833202410029255256.html#>


Specification: ISO 14289-2:2024, Clause: 8.2.5.2, Test number: 1 
<https://github.com/veraPDF/veraPDF-validation-profiles/wiki/PDFUA-Part-2-rules#rule-8252-1>
   
The structure tree root shall contain a single Document structure element as 
its only child, as specified in ISO 32000-2:2020, Annex L and ISO/TS 32005 
Failed
1 occurrences



and in the second case with a section:
Rule    Status
Specification: ISO 14289-2:2024, Clause: 8.2.5.2, Test number: 1 
<https://github.com/veraPDF/veraPDF-validation-profiles/wiki/PDFUA-Part-2-rules#rule-8252-1>
   
The structure tree root shall contain a single Document structure element as 
its only child, as specified in ISO 32000-2:2020, Annex L and ISO/TS 32005 
Failed
1 occurrences   Show 
<file:///private/var/folders/n_/llyvrh957hvgp0lgrx5twqnc0000gn/T/veraPDF-tempHTMLReport7762463842260619002.html#>


Specification: ISO 32005:2023, Clause: Table 5. StructTreeRoot-Sect, Test 
number: 1     
StructTreeRoot shall not contain <Sect> Failed
1 occurrences

That’s just fyi, I can work around this. 
If someone has experience with combining smallish figures and text in ConTeXt 
that avoids \startfiguretext and has time to send a simple example,
I would be delighted to play with it.

Thanks, 

as always.

Matthias 


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to