ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* captions trouble
@ 2011-11-26 11:29 Meer, H. van der
  2011-11-26 11:50 ` Jaroslav Hajtmar
  2011-11-26 14:17 ` Wolfgang Schuster
  0 siblings, 2 replies; 5+ messages in thread
From: Meer, H. van der @ 2011-11-26 11:29 UTC (permalink / raw)
  To: ConTeXt NTG


[-- Attachment #1.1: Type: text/plain, Size: 917 bytes --]

Something seems amiss in the code below. The idea is having in general figures with numbered labels, but now and then a figure without. First I thought to use [location=none] on the placement, but then the numbering is not interrupted: label-1 (label-2 invisible), label-3. That is disturbing to the reader who will think a figure is missing. The numbering and the label are suppressed by \setupcations[number=no] and reinstated with \setupcaptions[number=yes]. But this kills the space between the label and the caption. I enclose a minimal example that shows the effect. Could this be a bug?

\setuppapersize[A6][A6]
\starttext
\placefigure[][fig:1]{label with space}{\externalfigure[arrows.pdf]}
\setupcaptions[number=no]
\placefigure{}{\externalfigure[arrows.pdf]}
\setupcaptions[number=yes]
\placefigure[][fig:3]{label without space}{\externalfigure[arrows.pdf]}
\stoptext

Hans van der Meer





[-- Attachment #1.2: Type: text/html, Size: 1360 bytes --]

[-- Attachment #2: labelspace.pdf --]
[-- Type: application/pdf, Size: 8972 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2011-11-26 16:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-26 11:29 captions trouble Meer, H. van der
2011-11-26 11:50 ` Jaroslav Hajtmar
2011-11-26 12:29   ` Meer, H. van der
2011-11-26 14:17 ` Wolfgang Schuster
2011-11-26 16:09   ` Wolfgang Schuster

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