[NTG-context] Indentation bug ? Sample

2006-08-02 Thread Renaud AUBIN
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

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Indentation bug ? Sample

2006-08-02 Thread Alan Bowen
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
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Indentation bug ? Sample

2006-08-02 Thread Hans Hagen
Alan Bowen wrote:

 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.
   
this indentation around floats needs some improvement anyway; 

the current implementation is not watertight

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
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context