Re: [NTG-context] Bug? numberstopper in references
Oh I sent my previous message too quickly… I was just using the \at command for referring to captions, while you want to use the \in command: maybe this is the problem. > On 16 Jan 2018, at 22:25, bbvo...@home.nl wrote: > > Dear list, > > When I use the numberstopper option in setupcaptions it appears > unexpectedly in the references. The wiki states otherwise. > Wiki and a working example are listed below. > > Kind regards, > > Bernard > > > wiki: http://wiki.contextgarden.net/Command/setupcaptions: > > numberstopper MKIV only. The numberstopper text follows the number > and, > if present, the suffix, and precedes the caption text. It does not > appear in references. > > > Working example: > > \setupcaptions[table][numberstopper={:}] > > \starttext > > \placetable[here][tab:ships]{Ships that moored at Hasselt.}{ > \starttable[|c|c|] > \HL > \NC \bf Year \NC \bf Number of ships \NC\SR > \HL > \NC 1645 \NC 450 \NC\FR > \NC 1671 \NC 480 \NC\MR > \NC 1676 \NC 500 \NC\MR > \NC 1695 \NC 930 \NC\LR > \HL > \stoptable > } > ... > > See \in{Table}[tab:ships] on \at{page}[tab:ships] > \stoptext > ___ > 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 > ___ ___ 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 ___
Re: [NTG-context] Bug? numberstopper in references
Hi Bernard, Transposing your table to an example given by Wolfgang Schuster some time ago I obtain the correct behavior, but I don’t know where the problem in your example comes from… Please see whether the following gives what you want and comapre with the PDF I get here with ConTeXt version 2018.01.14 15:55. Best regards: OK begin caption-numberstopper-0.tex \setupexternalfigure[location=default] \setupcaptions[numberstopper={:}] \starttext Take a look at \at{picture}[fig:cow] below. \startplacefigure[reference=fig:cow,title=A dutch cow] \externalfigure[cow] \stopplacefigure \placefigure[here][photo]{This is a cow}{\externalfigure[cow][width=2in]} Take a look at \at{table}[tab:1] below. \placetable[here][tab:1]{This is a table}{ \starttable[|c|c|] \HL \NC \bf Year \NC \bf Number of ships \NC\SR \HL \NC 1645 \NC 450 \NC\FR \NC 1671 \NC 480 \NC\MR \NC 1676 \NC 500 \NC\MR \NC 1695 \NC 930 \NC\LR \HL \stoptable} \stoptext end caption-numberstopper-0.tex caption-numberstopper-0.pdf Description: Adobe PDF document > On 16 Jan 2018, at 22:25, bbvo...@home.nl wrote: > > Dear list, > > When I use the numberstopper option in setupcaptions it appears > unexpectedly in the references. The wiki states otherwise. > Wiki and a working example are listed below. > > Kind regards, > > Bernard > > > wiki: http://wiki.contextgarden.net/Command/setupcaptions: > > numberstopper MKIV only. The numberstopper text follows the number > and, > if present, the suffix, and precedes the caption text. It does not > appear in references. > > > Working example: > > \setupcaptions[table][numberstopper={:}] > > \starttext > > \placetable[here][tab:ships]{Ships that moored at Hasselt.}{ > \starttable[|c|c|] > \HL > \NC \bf Year \NC \bf Number of ships \NC\SR > \HL > \NC 1645 \NC 450 \NC\FR > \NC 1671 \NC 480 \NC\MR > \NC 1676 \NC 500 \NC\MR > \NC 1695 \NC 930 \NC\LR > \HL > \stoptable > } > ... > > See \in{Table}[tab:ships] on \at{page}[tab:ships] > \stoptext > ___ > 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 > ___ ___ 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 ___
[NTG-context] Bug? numberstopper in references
Dear list, When I use the numberstopper option in setupcaptions it appears unexpectedly in the references. The wiki states otherwise. Wiki and a working example are listed below. Kind regards, Bernard wiki: http://wiki.contextgarden.net/Command/setupcaptions: numberstopper MKIV only. The numberstopper text follows the number and, if present, the suffix, and precedes the caption text. It does not appear in references. Working example: \setupcaptions[table][numberstopper={:}] \starttext \placetable[here][tab:ships]{Ships that moored at Hasselt.}{ \starttable[|c|c|] \HL \NC \bf Year \NC \bf Number of ships \NC\SR \HL \NC 1645 \NC 450 \NC\FR \NC 1671 \NC 480 \NC\MR \NC 1676 \NC 500 \NC\MR \NC 1695 \NC 930 \NC\LR \HL \stoptable } ... See \in{Table}[tab:ships] on \at{page}[tab:ships] \stoptext ___ 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 ___