ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bug with definefloat and caption case
@ 2015-08-10 14:35 Brian R. Landy
  2015-08-10 17:53 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Brian R. Landy @ 2015-08-10 14:35 UTC (permalink / raw)
  To: ntg-context

When I setup a custom float with \definefloat[exhibit][exhibits], the 
word "Exhibit" in the caption is printed with the first letter 
uppercased for the first 32 exhibits.  However, starting with the 33rd 
exhibit, the first letter uppercase is lost.  For example:

   \definefloat[exhibit][exhibits]
   \starttext
   \dorecurse{45}{\placeexhibit[here][fig:test\recurselevel]{title\recurselevel}{content\recurselevel}}
   \stoptext

yields exhibits with these titles:

   ...
   Exhibit 31
   Exhibit 32
   exhibit 33
   exhibit 34
   ...


This doesn't happen with the built-in types because they have entries in 
lang-txt.lua.  I am using 2015.08.05.  I wasn't

Best regards,
Brian
___________________________________________________________________________________
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

* Re: bug with definefloat and caption case
  2015-08-10 14:35 bug with definefloat and caption case Brian R. Landy
@ 2015-08-10 17:53 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2015-08-10 17:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 8/10/2015 4:35 PM, Brian R. Landy wrote:
> When I setup a custom float with \definefloat[exhibit][exhibits], the
> word "Exhibit" in the caption is printed with the first letter
> uppercased for the first 32 exhibits.  However, starting with the 33rd
> exhibit, the first letter uppercase is lost.  For example:
>
>    \definefloat[exhibit][exhibits]
>    \starttext
>
> \dorecurse{45}{\placeexhibit[here][fig:test\recurselevel]{title\recurselevel}{content\recurselevel}}
>
>    \stoptext
>
> yields exhibits with these titles:
>
>    ...
>    Exhibit 31
>    Exhibit 32
>    exhibit 33
>    exhibit 34
>    ...
>
>
> This doesn't happen with the built-in types because they have entries in
> lang-txt.lua.  I am using 2015.08.05.  I wasn't

an interesting bug ... i wonder why it got unnoticed so long

i uploaded a fixed beta

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | 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://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:[~2015-08-10 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-10 14:35 bug with definefloat and caption case Brian R. Landy
2015-08-10 17: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).