ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Tagging nested itemize with interaction
@ 2017-10-31 14:38 Christoph Reller
  0 siblings, 0 replies; only message in thread
From: Christoph Reller @ 2017-10-31 14:38 UTC (permalink / raw)
  To: ntg-context

Dear Hans,

Consider the following MWE with nested multi-column itemize and item label:

\setuptagging[state=start]
\setupinteraction[state=start]
\starttext
\startitemize[n]
\item[label] First
  \startitemize[a, columns]
  \item Second
  \item Third
  \stopitemize
\stopitemize\crlf
Bla \in{Item}[label].
\stoptext

The above results in a PDF whose tag tree looks as follows:

‹document›
 |-‹itemgroup› itemize
 |  |-<item>
 |  |  |-‹itemtag›
 |  |  |  '-"1."
 |  |  '-‹itemcontent›
 |  |     |-"First"
 |  |     '-‹itemgroup› itemize
 |  |        |-‹item›
 |  |        |  |-‹itemtag›
 |  |        |  |  '-"a."
 |  |        |  '-‹itemcontent›
 |  |        |     '-"Second"
 |  |        '-‹item›
 |  |           |-‹itemtag›
 |  |           |  '-"b."
 |  |           '-‹itemcontent›
 |  |              '-"Third"
 |  '-‹link›
 |     '-"Item 1"
 |-"Bla"
 '-"."

In this tag tree, the ‹link› item is placed wrongly inside the topmost
‹itemgroup›. It sould be located between "Bla" and ".". This happens
only if:
1. An itemization with multiple columns is nested in an itemization
2. Interaction is enabled.

I think this is a bug. Please consider fixing it.

Kind regards,
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-10-31 14:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-31 14:38 Tagging nested itemize with interaction Christoph Reller

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).