* Bug? numberstopper in references
@ 2018-01-16 21:25 bbvogel
2018-01-17 6:51 ` Otared Kavian
2018-01-17 6:55 ` Otared Kavian
0 siblings, 2 replies; 3+ messages in thread
From: bbvogel @ 2018-01-16 21:25 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug? numberstopper in references
2018-01-16 21:25 Bug? numberstopper in references bbvogel
@ 2018-01-17 6:51 ` Otared Kavian
2018-01-17 6:55 ` Otared Kavian
1 sibling, 0 replies; 3+ messages in thread
From: Otared Kavian @ 2018-01-17 6:51 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 1033 bytes --]
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
[-- Attachment #2: caption-numberstopper-0.pdf --]
[-- Type: application/pdf, Size: 16423 bytes --]
[-- Attachment #3: Type: text/plain, Size: 1511 bytes --]
> On 16 Jan 2018, at 22:25, bbvogel@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
> ___________________________________________________________________________________
[-- Attachment #4: Type: text/plain, Size: 492 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: Bug? numberstopper in references
2018-01-16 21:25 Bug? numberstopper in references bbvogel
2018-01-17 6:51 ` Otared Kavian
@ 2018-01-17 6:55 ` Otared Kavian
1 sibling, 0 replies; 3+ messages in thread
From: Otared Kavian @ 2018-01-17 6:55 UTC (permalink / raw)
To: mailing list for ConTeXt users
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, bbvogel@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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-01-17 6:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-16 21:25 Bug? numberstopper in references bbvogel
2018-01-17 6:51 ` Otared Kavian
2018-01-17 6:55 ` Otared Kavian
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).