ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aidan Nichol <aidan@nicholware.co.uk>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Skipped figure numbers
Date: Wed, 30 Mar 2016 10:41:49 +0100	[thread overview]
Message-ID: <772524B2-B98C-4DAE-B015-7C5B32E6AEFE@nicholware.co.uk> (raw)

I have been looking at various options for controlling how figures are placed on a page and based on answers to similar questions in this mailing list I  tried various options. The most flexible one seems to be using tables e.g.

\setupexternalfigures[location={default}]

\starttext

\placefigure[]{}{\externalfigure[hacker][height=1in]}

\startxtable[frame=off,align=low]
\startxrow
  \startxcell[ny=2]
      \placefigure[force][]{left twoup}{\externalfigure[mill][height=4in]}
   \stopxcell
   \startxcell
     \placefigure[force][]{the first}{\externalfigure[spider][height=1.5in]}
   \stopxcell
\stopxrow
\startxrow
  \startxcell
    \placefigure[force][]{the second}{\externalfigure[cow][height=1.5in]}
  \stopxcell
\stopxrow
\stopxtable

It seems to work well except that figure numbers are being skipped. In this example hacker=1 mill=8, spider=9 and cow=10.
Varying the contents of the table reveals that It is skipping two times the number of figures in the table.

Is this an invalid combination of features I’m using or am I doing something wrong?
___________________________________________________________________________________
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:[~2016-03-30  9:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-30  9:41 Aidan Nichol [this message]
2016-03-30 23:25 ` Aditya Mahajan
     [not found] <mailman.244.1459405195.1989.ntg-context@ntg.nl>
2016-03-31 13:23 ` Aidan Nichol
2016-03-31 21:51   ` Aditya Mahajan
2016-03-31 22:27     ` Alan BRASLAU
2016-04-01  1:49       ` Aditya Mahajan
2016-04-01  7:51     ` Hans Hagen
2016-04-01  8:01     ` Hans Hagen
     [not found] <mailman.263.1459497717.1989.ntg-context@ntg.nl>
2016-04-01 10:17 ` Aidan Nichol
2016-04-01 14:21   ` Alan BRASLAU

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=772524B2-B98C-4DAE-B015-7C5B32E6AEFE@nicholware.co.uk \
    --to=aidan@nicholware.co.uk \
    --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).