* Re: Indenting after floating image
[not found] <530278cd.c3030e0a.4080.0646SMTPIN_ADDED_BROKEN@mx.google.com>
@ 2014-02-19 2:37 ` Thangalin
2014-02-19 19:57 ` Jan Tosovsky
[not found] ` <53050cc0.c1320f0a.2ab7.051bSMTPIN_ADDED_BROKEN@mx.google.com>
0 siblings, 2 replies; 4+ messages in thread
From: Thangalin @ 2014-02-19 2:37 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Indenting after floating image
2014-02-19 2:37 ` Indenting after floating image Thangalin
@ 2014-02-19 19:57 ` Jan Tosovsky
[not found] ` <53050cc0.c1320f0a.2ab7.051bSMTPIN_ADDED_BROKEN@mx.google.com>
1 sibling, 0 replies; 4+ messages in thread
From: Jan Tosovsky @ 2014-02-19 19:57 UTC (permalink / raw)
To: 'mailing list for ConTeXt users'
On 2014-02-19 Thangalin wrote:
>
> 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.
Thanks for sharing your approach. In meantime I've found an alternative
solution:
...
\stopplacefigure
\indentation % this command forces the indentation of the next first
paragraph
Jan
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <53050cc0.c1320f0a.2ab7.051bSMTPIN_ADDED_BROKEN@mx.google.com>]
* Indenting after floating image
@ 2014-02-17 21:01 Jan Tosovsky
0 siblings, 0 replies; 4+ messages in thread
From: Jan Tosovsky @ 2014-02-17 21:01 UTC (permalink / raw)
To: 'mailing list for ConTeXt users'
Dear All,
when an indenting is set, it is applied in a smart way and sometimes
suppressed, e.g after images.
But when the image is floating and forced to be displayed on a separate
page, I would expect the indenting of the following paragraph preserved.
Currently it doesn't, see this example:
\setupexternalfigures[location=default]
\setupindenting[medium, yes]
\starttext
\input{ward}
\startplacefigure[number=no, location={page}, title={}]
\externalfigure[cow]
\stopplacefigure
\input{ward}
\stoptext
Is there a global switch for it or am I to force the indenting in these
cases manually?
Thanks, Jan
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-02-19 22:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <530278cd.c3030e0a.4080.0646SMTPIN_ADDED_BROKEN@mx.google.com>
2014-02-19 2:37 ` Indenting after floating image Thangalin
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
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).