ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Andy Thomas <andythomas@web.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How to put a \placefigure with no caption?
Date: Mon, 12 Nov 2012 07:30:22 +0100	[thread overview]
Message-ID: <49C0BEF9-A65D-403C-A829-0F0B5AF08CA1@web.de> (raw)
In-Reply-To: <20121015234800.1db7fbb5@homerow>


> 
> Yes. \placefigure is the old syntax. \start…\stopplacefigure the new
> one. The new one uses a the key=value syntax also present in other MkIV
> commands. Compare:
> 
>    \startplacefigure [title=Lorem, reference=fig:lorem]
>    …
>    \stopplacefigure
> 
>    \startchapter [title=Lorem, reference=sec:lorem]
>    …
>    \stopchapter
> 
> They are both supported, I personally stick to the new variant. I
> find the interface much more memorable.

I guess, I do not understand the relation completely. Please compare the following

-- startcode --

\starttext
%
\chapter{One}
\input tufte
\placefigure[margin,none]{}{Let's put some text of at least two lines.}
\placefigure[none,margin]{}{Let's put some text of at least two lines.}
\input tufte
\stoptext

-- stopcode --

The first one works as intended, the second one does not. Also, I cannot figure out the equivalent new syntax. I tried 'caption=none' and 'location=none'. But even if the latter one would work, having a caption (or not) and placing the figure on the page are two different things?


Andy


___________________________________________________________________________________
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:[~2012-11-12  6:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-15 21:16 Marcin Borkowski
2012-10-15 21:19 ` Wolfgang Schuster
2012-10-15 21:33   ` Marcin Borkowski
2012-10-15 21:22 ` Marco Patzer
2012-10-15 21:34   ` Marcin Borkowski
2012-10-15 21:47     ` Wolfgang Schuster
2012-10-15 21:48     ` Marco Patzer
2012-11-12  6:30       ` Andy Thomas [this message]
2012-11-12  8:02         ` Marco Patzer

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=49C0BEF9-A65D-403C-A829-0F0B5AF08CA1@web.de \
    --to=andythomas@web.de \
    --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).