MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001003contextbug reportpublic2018-01-23 10:022018-01-23 13:10
Reporterbbvogel 
Assigned ToHans Hagen 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001003: numberstopper in references
DescriptionWhen I use the numberstopper option in setupcaptions it appears
unexpectedly in the references. The wiki states otherwise.


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.
Steps To Reproduce\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] to see the additional
\quote{:} in the first reference.
\stoptext
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001680)
Hans Hagen (manager)
2018-01-23 13:10

I'll add this (because abusing stopper is suboptimal):

% \setupcaptions
% [table]
% [headseparator={:}]

But we can already do:

\setupcaptions
  [table]
  [numberstopper={:}]

\setupreferencestructureprefix
  [table]
  [default]
  [numberstopper={}]

\starttext

    \placetable[here][tab:ships]{Ships that moored at Hasselt.}{xx}

    See \in {Table} [tab:ships]

\stoptext
(0001681)
Hans Hagen (manager)
2018-01-23 13:10

can already be configured

- Issue History
Date Modified Username Field Change
2018-01-23 10:02 bbvogel New Issue
2018-01-23 13:10 Hans Hagen Note Added: 0001680
2018-01-23 13:10 Hans Hagen Note Added: 0001681
2018-01-23 13:10 Hans Hagen Status new => closed
2018-01-23 13:10 Hans Hagen Assigned To => Hans Hagen
2018-01-23 13:10 Hans Hagen Resolution open => no change required


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker