ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Very strange behaviour of itemize, \quotation and \dots
Date: Tue, 17 Dec 2019 10:04:34 +0100	[thread overview]
Message-ID: <AD76A585-1814-4179-9F93-A90FC8750D9F@gmail.com> (raw)

[-- 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
___________________________________________________________________________________

             reply	other threads:[~2019-12-17  9:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-17  9:04 Otared Kavian [this message]
2019-12-17 11:00 ` Hans Hagen
2019-12-17 15:48 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AD76A585-1814-4179-9F93-A90FC8750D9F@gmail.com \
    --to=otared@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).