ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Bowen <acbowen@princeton.edu>
Subject: Re: Indentation bug ? Sample
Date: Wed, 02 Aug 2006 16:58:37 -0400	[thread overview]
Message-ID: <EE414809-2EF4-4878-A913-30FCB03CD85C@princeton.edu> (raw)
In-Reply-To: <44D06B52.6010404@nibua-r.org>

On Aug 2, 2006, at 5:07 AM, Renaud AUBIN wrote:

> Hi all,
>
> Here is a test document with "french" indentation (placefigure and
> placetable are tested with bottom, here, top and auto options):
>
> \setupindenting[medium,yes]
> \setupformulas[indentnext=yes]
> \setupheads[indentnext=yes]
> \setupfloats[indentnext=yes]
>
> \starttext
>
> \startuseMPgraphic{dummygraph}
> numeric u; u:=2cm;
> draw (-u,-u)--(u,u);
> draw ((-u,-u)--(u,u)) rotated 90;
> \stopuseMPgraphic
>
> \chapter{placefigure}
> \section{bottom option}
>
> \input knuth
>
> \placefigure[bottom]{none}{\useMPgraphic{dummygraph}}
>
> \input knuth
>
> \page
>
> \section{top option}
>
> \input knuth
>
> \placefigure[top]{none}{\useMPgraphic{dummygraph}}
>
> \input knuth
>
> \page
>
> \section{here option}
>
> \input knuth
>
> \placefigure[here]{none}{\useMPgraphic{dummygraph}}
>
> \input knuth
>
> \page
>
> \section{here, force, nonumber option}
>
> \input knuth
>
> \placefigure[here,force,nonumber]{none}{\useMPgraphic{dummygraph}}
>
> \input knuth
>
> \page
>
> \section{auto option}
>
> \input knuth
>
> \placefigure[auto]{none}{\useMPgraphic{dummygraph}}
>
> \input knuth
>
> \chapter{placetable}
>
> \startbuffer
> \setupTABLE[row][odd][background=color,backgroundcolor=red,
> width=.2\textwidth]
> \bTABLE[split=yes]
> \bTR \bTD[nr=3] 1 \eTD \bTD[nc=2] 2/3 \eTD \bTD[nr=3] 4 \eTD \eTR
> \bTR \bTD 2 \eTD \bTD 3 \eTD \eTR
> \bTR \bTD 2 \eTD \bTD 3 \eTD \eTR
> \bTR \bTD[nc=3] 1/2/3 \eTD \bTD 4 \eTD \eTR
> \bTR \bTD 1 \eTD \bTD 2 \eTD \bTD 3 \eTD \bTD 4 \eTD \eTR
> \eTABLE
> \stopbuffer
>
> \section{bottom option}
>
> \input knuth
>
> \placetable[bottom]{none}{\getbuffer}
>
> \input knuth
>
> \page
>
> \section{here option}
>
> \input knuth
>
> \placetable[here]{none}{\getbuffer}
>
> \input knuth
>
> \page
>
> \section{top option}
>
> \input knuth
>
> \placetable[top]{none}{\getbuffer}
>
> \input knuth
>
> \page
>
> \section{auto option}
>
> \input knuth
>
> \placetable[auto]{none}{\getbuffer}
>
> \input knuth
>
> \stoptext
>
>
> Alan, I cannot reproduce the problem you described, maybe I
> misunderstood... Please, try with my sample file and repost if you
> obtain a bug...
> You can see the result: http://renojrl.lrv.uvsq.fr/testbed/indent.pdf
>
> texexec --check gives:
>
> TeXExec | runtime: 0.509941
> TeXExec | end of analysis
> TeXExec |
> TeXExec | TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
> TeXExec | TeXUtil   | version 9.1.0 - 1997-2005 - PRAGMA ADE/POD
> TeXExec | CtxTools | version 1.3.3 - 2004/2006 - PRAGMA ADE/POD
> TeXExec |
> TeXExec | testing interface en
> TeXExec | pdfeTeX Version 3.141592-1.30.6-2.2 (Web2C 7.5.5)
> TeXExec | ConTeXt ver: 2006.07.28 23:56 fmt: 2006.8.1 int: english  
> mes:
> english
> TeXExec |
> TeXExec | testing interface fr
> TeXExec | pdfeTeX Version 3.141592-1.30.6-2.2 (Web2C 7.5.5)
> TeXExec | ConTeXt ver: 2006.07.28 23:56 fmt: 2006.8.1 int: french mes:
> french
> TeXExec |
> TeXExec | testing interface nl
> TeXExec | pdfeTeX Version 3.141592-1.30.6-2.2 (Web2C 7.5.5)
> TeXExec | ConTeXt ver: 2006.07.28 23:56 fmt: 2006.8.1 int: dutch  
> mes: dutch
>
> Cheers,
>
>
> Renaud

Renaud—no bug. The problem (I am guessing) lies in the peculiarities  
of my source file, specifically, in the fact that I was trying to  
place a figure at the bottom of a page in a text that has lengthy  
footnotes before and after the figure, with \setupfootnotes 
[split=verystrict]. In any case,  removing some of the text before  
the figure obviated the problem and gave a very fine result—though in  
that case there was no difference between the results obtained with  
the top, here, and bottom options of \placefigure, perhaps again  
because of the footnotes. As for the original file—the author would  
not have been pleased if I had excised some of his text—I simply  
indented the paragraph “manually” with \qquad (big indent) and plowed  
ahead.

Thanks for looking into this.

Best, Alan

  reply	other threads:[~2006-08-02 20:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-25  9:21 Indentation bug ? Renaud AUBIN
2006-07-25 19:31 ` Peter Münster
2006-07-25 20:48   ` Renaud AUBIN
2006-08-01  8:03 ` Renaud AUBIN
2006-08-01 14:49   ` Alan Bowen
2006-08-02  9:07 ` Indentation bug ? Sample Renaud AUBIN
2006-08-02 20:58   ` Alan Bowen [this message]
2006-08-02 21:30     ` Hans Hagen

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=EE414809-2EF4-4878-A913-30FCB03CD85C@princeton.edu \
    --to=acbowen@princeton.edu \
    --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).