ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: "j. van den hoff" <veedeehjay@googlemail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \setupcaptions question
Date: Tue, 10 Mar 2015 13:06:52 +0100	[thread overview]
Message-ID: <2B6B7660-1A02-4B86-8B47-4BB11280F83A@gmail.com> (raw)
In-Reply-To: <op.xtzj6vkcp7eajd@muck.fritz.box>


> Am 13.02.2015 um 08:53 schrieb j. van den hoff <veedeehjay@googlemail.com>:
> 
> On Fri, 13 Feb 2015 04:54:58 +0100, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
> 
>> No, you’re right. I used the wrong command (\at is used to show the page where to float was placed)
> 
> understood.
> 
>> and so far there is only a workaround for this problem. What you can do
> 
> OK, does this require some sort of formal bug report or can the issue be
> now considered to be on the "to do" list?
> 
>> is to use the “suffix” key to set
>> a stopper for the caption which will only appear in the caption itself.
>> \setupexternalfigure[location=default]
>> \setupcaption[figure][suffix=:]
>> \starttext
>> Take a look at \in{picture}[fig:cow] below.
>> \startplacefigure[reference=fig:cow,title=A dutch cow]
>>  \externalfigure[cow]
>> \stopplacefigure
>> \stoptext
>> This solution is far from perfect because normally the suffix key is used for the internal counter
>> of split floats, e.g. when a numbered table is split over several tables and you get numbers label
>> „Table 3.a” etc.
> 
> I see. I think workaround will suffice for the present document, thank you. I will
> do that (and hope for a timely fix so that I can revert to numberstopper soon…)


The new beta let you change the stopper symbol which is shown in the reference,
to disable the stopper you have to use “numberstopper={\symbol[none]}”.

\setupexternalfigure[location=default]

\setupcaption[figure][numberstopper=:]
\setupreferencestructureprefix[figure][default][numberstopper={\symbol[none]}]

\starttext

Take a look at \in{picture}[fig:cow] below.

\startplacefigure[reference=fig:cow,title=A dutch cow]
  \externalfigure[cow]
\stopplacefigure

\stoptext

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2015-03-10 12:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-12 16:37 j. van den hoff
2015-02-12 21:18 ` Otared Kavian
2015-02-12 21:41   ` j. van den hoff
2015-02-12 21:31 ` Wolfgang Schuster
2015-02-12 21:56   ` Otared Kavian
2015-02-12 22:14     ` j. van den hoff
2015-02-13  3:54       ` Wolfgang Schuster
2015-02-13  7:53         ` j. van den hoff
2015-03-10 12:06           ` Wolfgang Schuster [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-02-12 16:21 joerg van den hoff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2B6B7660-1A02-4B86-8B47-4BB11280F83A@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=veedeehjay@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).