ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Very strange behaviour of itemize, \quotation and \dots
@ 2019-12-17  9:04 Otared Kavian
  2019-12-17 11:00 ` Hans Hagen
  2019-12-17 15:48 ` Hans Hagen
  0 siblings, 2 replies; 3+ messages in thread
From: Otared Kavian @ 2019-12-17  9:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 991 bytes --]

Hi Hans,

Last week I sent you a PDF showing a strange behaviour of \startitemize and \quotation in LMTX. I finally could nail down the origin of the problem: it seems that if the command
 
	\setupsynctex[state=start]

is present twice at the beginning of the document, then the combination \item and \quotation and \dots prevents the item to be shown correctly…
(In my case I was typesetting a document with the above command in which a file containing it also was \input).

Below is the minimal example and its PDF.
	
Best regards: OK
% begin file: bug-itemize-lmtx.tex

\setupsynctex[stat=start]

\setupsynctex[state=start] % if this is removed then everything is fine…

\setupquotation[style=italic,left={«~},right={~»}]

\showframe
\starttext

\startitemize[n]

\dorecurse{4}{\item This item \quotation{is shown correcly\dots} 

\item This item \quotation{\dots is not shown correctly}}

\stopitemize

\stoptext
% end file: bug-itemize-lmtx.tex


[-- Attachment #2: bug-itemize-lmtx.pdf --]
[-- Type: application/pdf, Size: 10793 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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] 3+ messages in thread

* Re: Very strange behaviour of itemize, \quotation and \dots
  2019-12-17  9:04 Very strange behaviour of itemize, \quotation and \dots Otared Kavian
@ 2019-12-17 11:00 ` Hans Hagen
  2019-12-17 15:48 ` Hans Hagen
  1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2019-12-17 11:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Otared Kavian

On 12/17/2019 10:04 AM, Otared Kavian wrote:
> Hi Hans,
> 
> Last week I sent you a PDF showing a strange behaviour of \startitemize and \quotation in LMTX. I finally could nail down the origin of the problem: it seems that if the command
>   
> 	\setupsynctex[state=start]
> 
> is present twice at the beginning of the document, then the combination \item and \quotation and \dots prevents the item to be shown correctly…
> (In my case I was typesetting a document with the above command in which a file containing it also was \input).
> 
> Below is the minimal example and its PDF.
> 	
> Best regards: OK
> % begin file: bug-itemize-lmtx.tex
> 
> \setupsynctex[stat=start]
> 
> \setupsynctex[state=start] % if this is removed then everything is fine…
> 
> \setupquotation[style=italic,left={«~},right={~»}]
> 
> \showframe
> \starttext
> 
> \startitemize[n]
> 
> \dorecurse{4}{\item This item \quotation{is shown correcly\dots}
> 
> \item This item \quotation{\dots is not shown correctly}}
> 
> \stopitemize
> 
> \stoptext
> % end file: bug-itemize-lmtx.tex
took me a while to figure out that it is actually an engine issue 
(obscured in luatex but exposed in luametatex)

fixed in next beta

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Very strange behaviour of itemize, \quotation and \dots
  2019-12-17  9:04 Very strange behaviour of itemize, \quotation and \dots Otared Kavian
  2019-12-17 11:00 ` Hans Hagen
@ 2019-12-17 15:48 ` Hans Hagen
  1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2019-12-17 15:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Otared Kavian

On 12/17/2019 10:04 AM, Otared Kavian wrote:
> Hi Hans,
> 
> Last week I sent you a PDF showing a strange behaviour of \startitemize and \quotation in LMTX. I finally could nail down the origin of the problem: it seems that if the command
>   
> 	\setupsynctex[state=start]
> 
> is present twice at the beginning of the document, then the combination \item and \quotation and \dots prevents the item to be shown correctly…
> (In my case I was typesetting a document with the above command in which a file containing it also was \input).
> 
> Below is the minimal example and its PDF.
you can check the (lmtx) beta (new luametatex bin etc)

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-12-17 15:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-17  9:04 Very strange behaviour of itemize, \quotation and \dots Otared Kavian
2019-12-17 11:00 ` Hans Hagen
2019-12-17 15:48 ` Hans Hagen

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