From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109895 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bertrand Masson Newsgroups: gmane.comp.tex.context Subject: Re: LMTX, repeated caption Date: Thu, 10 Dec 2020 11:47:04 +0100 Message-ID: <63ad030f-cd1b-8105-22ce-2c9f9d75ddd6@free.fr> References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2161552607870116156==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7203"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 10 11:47:21 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1knJTl-0001ll-Ch for gctc-ntg-context-518@m.gmane-mx.org; Thu, 10 Dec 2020 11:47:21 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DBF391AADDE; Thu, 10 Dec 2020 11:47:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kT5gwEMC2WLI; Thu, 10 Dec 2020 11:47:08 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3B4C31AADE4; Thu, 10 Dec 2020 11:47:07 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C123D1AADDC for ; Thu, 10 Dec 2020 11:47:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QkgdY1hVW6Eo for ; Thu, 10 Dec 2020 11:47:04 +0100 (CET) Received-SPF: None (mailfrom) identity=mailfrom; client-ip=212.27.42.3; helo=smtp3-g21.free.fr; envelope-from=bertrandmasson@free.fr; receiver= Original-Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id DBBCF1AAB41 for ; Thu, 10 Dec 2020 11:47:04 +0100 (CET) Original-Received: from [IPv6:2a01:e35:2e17:9280:b0d3:8441:14a9:d15e] (unknown [IPv6:2a01:e35:2e17:9280:b0d3:8441:14a9:d15e]) by smtp3-g21.free.fr (Postfix) with ESMTP id 762C813F8E7 for ; Thu, 10 Dec 2020 11:47:04 +0100 (CET) In-Reply-To: Content-Language: fr-FR X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:109895 Archived-At: This is a multi-part message in MIME format. --===============2161552607870116156== Content-Type: multipart/alternative; boundary="------------1B78FE130D3ED87CB5F9BA72" Content-Language: fr-FR This is a multi-part message in MIME format. --------------1B78FE130D3ED87CB5F9BA72 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Hello I have the same problem. I noticed that it depends on the length of the caption. Best regards. Le 10/12/2020 à 10:58, Jean-Philippe Rey a écrit : > Dear list, > > In some unclear circumstances, a figure caption is repeated above the figure, as with the following example. > > ====================== > \starttext > \placefigure > {This caption shouldn't be repeated} > {\hbox{anything here}} > \stoptext > ====================== > > The caption is not repeated for all figures. With a longer caption or a wider figure, the bug disappears. My guess is that it is triggered by a certain ratio between caption length and figure width! > > I hope this helps. > > Best regards, > > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ --------------1B78FE130D3ED87CB5F9BA72 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit

Hello

I have the same problem.

I noticed that it depends on the length of the caption.

Best regards.
Le 10/12/2020 à 10:58, Jean-Philippe Rey a écrit :
Dear list,

In some unclear circumstances, a figure caption is repeated above the figure, as with the following example.

======================
\starttext
\placefigure
{This caption shouldn't be repeated}
{\hbox{anything here}}
\stoptext
======================

The caption is not repeated for all figures. With a longer caption or a wider figure, the bug disappears. My guess is that it is triggered by a certain ratio between caption length and figure width!

I hope this helps.

Best regards,


___________________________________________________________________________________
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
___________________________________________________________________________________
--------------1B78FE130D3ED87CB5F9BA72-- --===============2161552607870116156== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============2161552607870116156==--