ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Robert Blackstone <blackstone.robert@gmail.com>
To: ntg-context@ntg.nl
Subject: float combinations
Date: Sat, 13 Apr 2013 12:33:12 +0200	[thread overview]
Message-ID: <99FD7143-41D2-47F2-A95D-94752D8A513A@gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2293 bytes --]

Dear all,
A few days ago (10 April 2013, Vol.106, Issue 25) I posted a question about giving related but not necessarily adjacent floats the same number, as for example Fig. 2a and Fig. 2b.
In the meantime I found a, not very elegant, solution that only partly satisfies me.
Here is a working example: (I trust the cow and the mill can be found).
 %---------------------------------------------------
\useexternalfigure[SmallCow][cow.pdf][height=2cm] 
\useexternalfigure[MediumCow][cow.pdf][height=3cm] 
\useexternalfigure[Mill][mill.png][height=3cm] 
\definelist[figure]
\setuplist[figure][prefix=yes,label=yes,alternative=c]

\starttext
This file is for testing the possibility of giving two related musical examples (in old and modern notation respectively) the same figure number with a. and b. as suffixes to the number proper. 

\placefigure[here][SmallCow1]{A small cow.}
{\externalfigure[SmallCow]}  

A cow again, in two sizes.

\in{Figure}[SmallCow2]a shows the same cow as \in{Figure}[SmallCow1]. 
\placefigure[here][SmallCow2]{{\bf a}. Another small cow.}
{\externalfigure[SmallCow]} 
And here a larger cow (\in{Figure}[MediumCow1]b).

\setnumber[figure][1]
\placefigure[here][MediumCow1]{{\bf b}. A larger  cow.}
{\externalfigure[MediumCow]} 

And here comes a mill.
\placefigure[here][Mill1]{A mill.}
{\externalfigure[Mill]}  

\page
{\bf List of Figures}
\placelist[figure]
\completecontent
\stoptext 

%----------------------------------------------------
This way "a" and "b" become part of the caption text, resulting in: Figure 2     a  A small ….. etc., and: Figure 2     b  A larger …etc. Likewise in the List of Figures. This is not what I would like.

Is there a possibility, when not using Combinations, to get: Figure 2a    A small …..  etc?

Wherever possible I use Combinations but in some cases examples to be combined are very different in size and shape and/or too large to fit on one page together, so that one of them gets cut off.
Is there a possibility, when using a combination of figures, to split it, in other words, to separate the figures spatially, to allow them to appear on consecutive pages, and maybe even allowing some text in between?

Thanks in advance.

Best regards, 

Robert Blackstone




[-- Attachment #1.2: Type: text/html, Size: 10630 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2013-04-13 10:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-13 10:33 Robert Blackstone [this message]
2013-04-13 11:13 ` Alan BRASLAU
2013-04-13 12:27   ` Marco Patzer
2013-04-13 23:04   ` Hans Hagen
2013-04-14  6:30     ` Alan BRASLAU
2013-04-14  8:55       ` Hans Hagen
2013-04-14 10:59         ` Alan BRASLAU
2013-04-14 11:54           ` Marco Patzer
2013-04-14 12:16             ` Alan BRASLAU
2013-04-13 22:41 ` Hans Hagen
     [not found] <mailman.394.1365915927.2084.ntg-context@ntg.nl>
2013-04-14  9:19 ` Robert Blackstone
2013-04-14  9:39 ` Robert Blackstone
     [not found] <mailman.389.1365852601.2084.ntg-context@ntg.nl>
2013-04-13 13:05 ` Robert Blackstone
2013-04-13 13:18   ` Marco Patzer
  -- strict thread matches above, loose matches on Subject: below --
2013-04-10  8:29 Robert Blackstone

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=99FD7143-41D2-47F2-A95D-94752D8A513A@gmail.com \
    --to=blackstone.robert@gmail.com \
    --cc=ntg-context@ntg.nl \
    /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).