ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Indent after Float
@ 2010-12-01 12:02 Andreas Harder
  2010-12-01 14:44 ` Andreas Harder
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Harder @ 2010-12-01 12:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

please consider the following example:

\setupindenting[big,yes]
\setupfloats[indentnext=yes] % default: no

\def\TestFloatPlacement#1%
  {\input tufte \par
   \placefigure[#1,nonumber]{place=#1}{}
   \dorecurse{2}{\input tufte \par} \page}

\starttext
\TestFloatPlacement{top}
\TestFloatPlacement{bottom}
\TestFloatPlacement{auto}
\TestFloatPlacement{right}
\stoptext

Only "top" seems to give the right indenting. It worked (at least with "auto") a while ago. I have many floats placed "auto". So is there a quick fix?

Greeting
	Andreas
___________________________________________________________________________________
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] 2+ messages in thread

* Re: Indent after Float
  2010-12-01 12:02 Indent after Float Andreas Harder
@ 2010-12-01 14:44 ` Andreas Harder
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Harder @ 2010-12-01 14:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 773 bytes --]


Am 01.12.2010 um 13:02 schrieb Andreas Harder:

> Hi all,
> 
> please consider the following example:
> 
> \setupindenting[big,yes]
> \setupfloats[indentnext=yes] % default: no
> 
> \def\TestFloatPlacement#1%
>  {\input tufte \par
>   \placefigure[#1,nonumber]{place=#1}{}
>   \dorecurse{2}{\input tufte \par} \page}
> 
> \starttext
> \TestFloatPlacement{top}
> \TestFloatPlacement{bottom}
> \TestFloatPlacement{auto}
> \TestFloatPlacement{right}
> \stoptext
> 
> Only "top" seems to give the right indenting. It worked (at least with "auto") a while ago. I have many floats placed "auto". So is there a quick fix?

Hi again,

I tried some more placement options (attachment). An indent only shows up with the option "here", "top" and "margin".

[-- Attachment #2: test-float-indenting.tex --]
[-- Type: application/octet-stream, Size: 750 bytes --]


\setuplayout[width=middle,backspace=4cm,cutspace=5cm,header=0pt]

\setuppagenumbering[alternative=doublesided,location=right]

\setupindenting[big,yes]

\setupfloats[indentnext=yes] % default: no

\def\TestFloatPlacement#1%
  {\input tufte \par
   \placefigure[#1,nonumber]{place=#1}{}
   \dorecurse{2}{\input tufte \par} \page}

\starttext  \showframe

\processcommalist % tblr,lrtb,tbrl,rltb,btlr,lrbt,btrl,rlbt,fxtb,fxbt,
  [here,% force, % text, % -> infinite loop
   left,right,top,bottom,
   auto,margin,opposite,
   page,leftpage,rightpage,
   inmargin,inleft,inright,
   leftmargin,rightmargin,% rightedge,somewhere,
   backspace,cutspace] \TestFloatPlacement

\stoptext

%%% Local Variables: 
%%% mode: context
%%% TeX-master: t
%%% End: 


[-- Attachment #3: Type: text/plain, Size: 35 bytes --]



I appreciate any answer

	Andreas

[-- Attachment #4: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2010-12-01 14:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-01 12:02 Indent after Float Andreas Harder
2010-12-01 14:44 ` Andreas Harder

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).