[contexttest-Feature Requests][76] floats and indenting
Feature Requests item #76, was opened at 2007-03-02 15:10 You can respond by visiting: http://foundry.supelec.fr/tracker/?func=detail&atid=164&aid=76&group_id=21 Or by replying to this e-mail entering your response between the following markers: #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ (enter your response here) #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ Status: Open Priority: 3 Submitted By: Aditya Mahajan (adityam) Assigned to: Nobody (None) Summary: floats and indenting Version: None Category: Typesetting Initial Comment: Hi, The paragraph after \placefloat[top] is always indented, and one after \placefloat[bottom] is never indented. This can sometimes be frustating. For example, a top float right after a section \setupindenting[big,yes] \section{test} \placefloat[top]{}{} \input knuth or a bottom float between two paragraphs \setupindenting[big,yes] \input tufte \placefloat[bottom]{}{} \input tufte The reason for different behaviour of top and bottom is the differce in their definition in page-flt \def\sometopfloat [#1]{\someelsefloat[#1]\nonoindentation} \def\somebottomfloat [#1]{\someelsefloat[#1]} I understand that it is difficult to make sure that all cases are handled correctly (automatically). So, I propose a manual solution. Make \placefloat honor indentnext. Then one can do \setupfloat [figure] [indentnext=auto] and then \setupindenting[big,yes] \section{test} \placefloat[top]{}{}%<-- No blank line \input knuth and \setupindenting[big,yes] \input tufte \placefloat[bottom]{}{}%<--blank line. \input tufte I am attaching a patch that takes care of this. It can be a stop gap solution for the time being. Aditya ----------------------------------------------------------------------
Comment By: Aditya Mahajan (adityam) Date: 2007-03-02 15:12
Message: Forgot to check the box to upload the file ---------------------------------------------------------------------- You can respond by visiting: http://foundry.supelec.fr/tracker/?func=detail&atid=164&aid=76&group_id=21
Comment By: Aditya Mahajan (adityam) Date: 2007-03-02 15:12
Message: Forgot to check the box to upload the file
The file is not posted to the mailing list :-( I am attaching it now.
Aditya Mahajan wrote: this is tricky, did you try \placefigure[left]{}{} \input tufte (so the code needs to be inside the preceding ifparfloat) with this patch? and how do 'here' floats that get moved perform? Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Aditya Mahajan
-
contexttest-featurerequests@foundry.supelec.fr
-
Hans Hagen