* LMTX, repeated caption
@ 2020-12-10 9:58 Jean-Philippe Rey
2020-12-10 10:47 ` Bertrand Masson
2020-12-10 11:02 ` Hans Hagen
0 siblings, 2 replies; 3+ messages in thread
From: Jean-Philippe Rey @ 2020-12-10 9:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 682 bytes --]
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,
--
Jean-Philippe Rey
jean-philippe.rey@centralesupelec.fr
91192 Gif-sur-Yvette Cedex - France
Empreinte PGP : 807A 5B2C 69E4 D4B5 783A 428A 1B5E E83E 261B BF51
[-- Attachment #2: mfe-placetable.pdf --]
[-- Type: application/pdf, Size: 8562 bytes --]
[-- Attachment #3: mfe-placetable.log --]
[-- Type: application/octet-stream, Size: 7520 bytes --]
system >
system > ConTeXt ver: 2020.12.09 11:14 LMTX fmt: 2020.12.10 int: english/english
system >
system > 'cont-new.mkxl' loaded
open source > level 1, order 1, name '/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system > beware: some patches loaded from cont-new.mkiv
close source > level 1, order 1, name '/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system > files > jobname 'mfe-placetable', input './mfe-placetable', result 'mfe-placetable'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > level 1, order 2, name './mfe-placetable.tex'
fonts > preloading latin modern fonts (second stage)
fonts > 'fallback modern-designsize rm 12pt' is loaded
floatblocks > '1' placed (here)
backend > xmp > using file '/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1, subpage 1
close source > level 1, order 2, name './mfe-placetable.tex'
system > start used files
system > text: mfe-placetable
system > stop used files
system > start used files
system > 1: filename=char-prv.lua filetype=tex format=tex foundname=/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf-context/tex/context/base/mkiv/char-prv.lua fullname=/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf-context/tex/context/base/mkiv/char-prv.lua usedmethod=database
system > 2: filename=publ-imp-default.lua filetype=lua foundname=/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
system > 3: filename=cont-new.mkxl filetype=tex foundname=/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl fullname=/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl usedmethod=database
system > 4: filename=lang-exc.lua filetype=lua foundname=/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
system > 5: filename=lang-us.lua filetype=lua foundname=/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
system > 6: filename=/Users/jprey/Projets/ConTeXt/mfe-placetable.tex format=tex foundname=/Users/jprey/Projets/ConTeXt/mfe-placetable.tex fullname=/Users/jprey/Projets/ConTeXt/mfe-placetable.tex usedmethod=direct
system > 7: filename=lm.lfg filetype=tex foundname=/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg fullname=/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg usedmethod=database
system > 8: filename=lmroman12-regular filetype=otf format=otf foundname=/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf fullname=/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
system > 9: filename=latinmodern-math.otf filetype=opentypefonts foundname=/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf fullname=/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
system > 10: filename=lmroman12-bold filetype=otf format=otf foundname=/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf/fonts/opentype/public/lm/lmroman12-bold.otf fullname=/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf/fonts/opentype/public/lm/lmroman12-bold.otf usedmethod=database
system > 11: filename=lpdf-pdx.xml filetype=tex foundname=/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml fullname=/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=database
system > stop used files
system > start commandline options
system > currentrun="1"
system > fulljobname="./mfe-placetable.tex"
system > input="./mfe-placetable.tex"
system > kindofrun="1"
system > maxnofruns="9"
system > texmfbinpath="/Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf-osx-64/bin"
system > stop commandline options
system > start commandline files
system > 1: ./mfe-placetable.tex
system > stop commandline files
modules > start used modules
modules > stop used modules
mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats > used cache path: /Users/jprey/Applications/ConTeXt/2020-LMTX/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats > resource resolver: loadtime 0.010 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 11 found files, scanned paths: <none>
mkiv lua stats > stored bytecode data: 477 modules (0.216 sec), 95 tables (0.011 sec), 572 chunks (0.227 sec)
mkiv lua stats > traced context: maxstack: 1517, freed: 0, unreachable: 1517
mkiv lua stats > cleaned up reserved nodes: 58 nodes, 435 lists of 434
mkiv lua stats > node memory usage: 8 attribute, 4 attribute_list, 1 glue, 37 glue_spec, 3 kern, 2 penalty, 1 temp, 1 whatsit
mkiv lua stats > node list callback tasks: 8 unique task lists, 7 instances (re)created, 57 calls
mkiv lua stats > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats > jobdata time: 0.001 seconds saving, 0.001 seconds loading
mkiv lua stats > callbacks: internal: 0, file: 0, direct: 0, late: 2, function 0, total: 2 (2 per page)
mkiv lua stats > randomizer: resumed with value 0.16022547177801
mkiv lua stats > loaded patterns: en::1, load time: 0.000
mkiv lua stats > loaded fonts: 3 files: latinmodern-math.otf, lmroman12-bold.otf, lmroman12-regular.otf
mkiv lua stats > font engine: otf 3.112, afm 1.513, tfm 1.000, 8 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.171 seconds
mkiv lua stats > font embedding time: 0.007 seconds, 2 fonts
mkiv lua stats > result saved in file: mfe-placetable.pdf, compresslevel 1, objectcompresslevel 3
mkiv lua stats > used platform: osx-64, type: unix, binary subtree: texmf-osx-64
mkiv lua stats > used engine: luametatex version: 2.0806, functionality level: 20201208, format id: 550, compiler: clang
mkiv lua stats > tex properties: 740025 hash slots used of 2097152, approximate memory usage: 28 MB
mkiv lua stats > lua properties: engine: lua 5.4, used memory: 46 MB, ctx: 43 MB, max: 43 MB, symbol mask: utf (τεχ)
mkiv lua stats > runtime: 0.474 seconds, 1 processed pages, 1 shipped pages, 2.109 pages/second
[-- Attachment #4: 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: LMTX, repeated caption
2020-12-10 9:58 LMTX, repeated caption Jean-Philippe Rey
@ 2020-12-10 10:47 ` Bertrand Masson
2020-12-10 11:02 ` Hans Hagen
1 sibling, 0 replies; 3+ messages in thread
From: Bertrand Masson @ 2020-12-10 10:47 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 1193 bytes --]
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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 3537 bytes --]
[-- Attachment #2: 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: LMTX, repeated caption
2020-12-10 9:58 LMTX, repeated caption Jean-Philippe Rey
2020-12-10 10:47 ` Bertrand Masson
@ 2020-12-10 11:02 ` Hans Hagen
1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2020-12-10 11:02 UTC (permalink / raw)
To: mailing list for ConTeXt users, Jean-Philippe Rey
On 12/10/2020 10:58 AM, Jean-Philippe Rey wrote:
> 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.
fixed in next upload
-----------------------------------------------------------------
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:[~2020-12-10 11:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-10 9:58 LMTX, repeated caption Jean-Philippe Rey
2020-12-10 10:47 ` Bertrand Masson
2020-12-10 11:02 ` 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).