[NTG-context] Tagging nested itemize with interaction

2017-10-31 Thread Christoph Reller
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
 |  |-
 |  |  |-‹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
___

Re: [NTG-context] Tabulate containing high element

2017-10-31 Thread Taco Hoekwater

Hi,

This should work:

  \tabulatesplitlinemode=0 % 1 | 2, default: 1
  % controls the splitting dimensions for lines in ‘p’ mode 
  % 0: do nothing
  % 1: make each line exactly the height and depth of \strut
  % 2: make each line at least the height and depth height of \strut


Undocumented, so likely to change in the next beta ;)

Best wishes,
Taco


> On 31 Oct 2017, at 12:55, Procházka Lukáš Ing.  wrote:
> 
> Hello,
> 
> any idea?
> 
> My other attempts to constrain the row height to reflect its highest member 
> fail, too.
> 
> Is it possible in the tabulate environment at all?
> 
> Best regards,
> 
> Lukas
> 
> 
> On Mon, 30 Oct 2017 09:04:18 +0100, Procházka Lukáš Ing.  
> wrote:
> 
>> Hello,
>> 
>> On Sun, 29 Oct 2017 23:50:51 +0100, Aditya Mahajan  wrote:
>> 
>>> On Sun, 29 Oct 2017, Procházka Lukáš Ing. wrote:
>>> 
 Hello,
 
 how to make tabulate row "aware" of some content of some "bigger" height?
 
 In the following sample:
 
 
 \starttext
 \starttabulate[|pd(.4\textwidth)|p|]
  \HL
  \NC
\framed[location=top,width=1in,height=1in]{Abc}
  \VL
Def
  \NC\NR
  \HL
 \stoptabulate
 \stoptext
 
>>> 
>>> (Untested): Does
>>> 
>>> \dontleavehmode \framed 
>> 
>> unfortunately, it does not...
>> 
>> Lukas
>> 
>>> work better?
>>> 
>>> Aditya
>> 
>> 
> 
> 
> -- 
> Ing. Lukáš Procházka | mailto:l...@pontex.cz
> Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz | 
> IDDS:nrpt3sn
> Bezová 1658
> 147 14 Praha 4
> 
> Mob.: +420 702 033 
> 396___
> 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
> ___

Taco Hoekwater
Elvenkind BV




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

Re: [NTG-context] Tabulate containing high element

2017-10-31 Thread Procházka Lukáš Ing .

Hello,

any idea?

My other attempts to constrain the row height to reflect its highest member 
fail, too.

Is it possible in the tabulate environment at all?

Best regards,

Lukas


On Mon, 30 Oct 2017 09:04:18 +0100, Procházka Lukáš Ing.  wrote:


Hello,

On Sun, 29 Oct 2017 23:50:51 +0100, Aditya Mahajan  wrote:


On Sun, 29 Oct 2017, Procházka Lukáš Ing. wrote:


Hello,

how to make tabulate row "aware" of some content of some "bigger" height?

In the following sample:


\starttext
\starttabulate[|pd(.4\textwidth)|p|]
  \HL
  \NC
\framed[location=top,width=1in,height=1in]{Abc}
  \VL
Def
  \NC\NR
  \HL
\stoptabulate
\stoptext



(Untested): Does

\dontleavehmode \framed 


unfortunately, it does not...

Lukas


work better?

Aditya






--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz | 
IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396

Tabul-with-HighElem.mkiv
Description: Binary data


Tabul-with-HighElem.pdf
Description: Adobe PDF document
___
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
___