* Bug with caption
@ 2011-12-04 5:46 Aditya Mahajan
2011-12-09 23:53 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Aditya Mahajan @ 2011-12-04 5:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: TEXT/PLAIN, Size: 607 bytes --]
Hi,
If I use \setupcaption[number=no] and include a float with no caption, then all
subsequent floats do not have a caption!
Here is an example (using 2011.11.29)
\setupcaption[number=no]
\startbuffer
\startnotmode[bugfix]
\startplacefigure[location=here]
Figure with no caption
\stopplacefigure
\stopnotmode
\startplacefigure[location=here, title={Test}]
Still no caption!
\stopplacefigure
\stopbuffer
\starttext
%% The float is shown with a caption here
\enablemode[bugfix]
\getbuffer
%% The second float does not have a caption now.
\disablemode[bugfix]
\getbuffer
\stoptext
Aditya
[-- Attachment #2: Type: APPLICATION/PDF, Size: 6809 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] 2+ messages in thread
end of thread, other threads:[~2011-12-09 23:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-04 5:46 Bug with caption Aditya Mahajan
2011-12-09 23:53 ` 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).