ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Thangalin <thangalin@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Indenting after floating image
Date: Tue, 18 Feb 2014 18:37:38 -0800	[thread overview]
Message-ID: <CAANrE7of6bqz3temFR+KJ4614zBkDdWv=ZMcgMkQaUykbkhi9g@mail.gmail.com> (raw)
In-Reply-To: <530278cd.c3030e0a.4080.0646SMTPIN_ADDED_BROKEN@mx.google.com>

Hi Jan,

A work-around:

\setupexternalfigures[location=default]
\setupindenting[yes,medium]

\define[1]\PlaceFigure{
  \startplacefigure[number=no, location={page}, title={}]
  \externalfigure[#1]
  \stopplacefigure
  \\ \vskip-1em
}

\starttext
\input{ward}
\PlaceFigure{cow}
\input{ward}
\stoptext

The wiki states:

\setupindenting does not take care of indenting after environments,
such as ConTeXt's itemizes, enumerations, definitions, formulas and
floats.

The work-around forces the new line using \\, then immediately skips
back a line.
___________________________________________________________________________________
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:[~2014-02-19  2:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <530278cd.c3030e0a.4080.0646SMTPIN_ADDED_BROKEN@mx.google.com>
2014-02-19  2:37 ` Thangalin [this message]
2014-02-19 19:57   ` Jan Tosovsky
     [not found]   ` <53050cc0.c1320f0a.2ab7.051bSMTPIN_ADDED_BROKEN@mx.google.com>
2014-02-19 22:28     ` Thangalin
2014-02-17 21:01 Jan Tosovsky

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='CAANrE7of6bqz3temFR+KJ4614zBkDdWv=ZMcgMkQaUykbkhi9g@mail.gmail.com' \
    --to=thangalin@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).