ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: Re: How to switch off the numbering of a float in a CLDocument?
Date: Mon, 18 Jul 2022 20:56:07 +0200	[thread overview]
Message-ID: <db51c849-62ad-a064-e5dd-c5db030875d4@fiee.net> (raw)
In-Reply-To: <67B48E36-F85D-4E32-903B-C1E078463C9A@boede.nl>

Am 18.07.22 um 20:31 schrieb Willi Egger via ntg-context:
> Hi all,
> 
> I wanted to place a figure in a cld. The example in the cld manual does not reveal how to influence bahavior except for the caption.
> 
> context.placefigure(
>   “caption”,
>      function() context.externalfigure({i}, { width = "\\textwidth" } ) end )
> 
> Can anybody enlighten me?

Just use

context.startplacefigure({ option = "some", otheroption = "thing" })
...
context.stopplacefigure()

Hraban

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2022-07-18 18:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-18 18:31 Willi Egger via ntg-context
2022-07-18 18:56 ` Henning Hraban Ramm via ntg-context [this message]
2022-07-21 11:18   ` Willi Egger via ntg-context
2022-07-21 15:35     ` Taco Hoekwater via ntg-context

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=db51c849-62ad-a064-e5dd-c5db030875d4@fiee.net \
    --to=ntg-context@ntg.nl \
    --cc=texml@fiee.net \
    /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).