Re: [NTG-context] Problem with identation

2010-05-21 Thread Marius
Please, Hans, write a little more, I can't understand what you mean.

From what I red and understood ConTeXt seems very promising in
comparison with LaTeX. After playing around for two months, I recently
started to use ConTeXt for the real work: my dissertacion summary. I
made style for it and now while filling the contents I spoted this
identation problem and I am stuck because of it. As this problem is
beyond my capabilities and time is short, I have now three options:
return to LaTeX, use [here] option (and manual formating) or please
help me :)

Thank you,
Marius

On Thu, May 20, 2010 at 7:11 PM, Hans Hagen pra...@wxs.nl wrote:
 On 20-5-2010 5:48, Aditya Mahajan wrote:

 On Thu, 20 May 2010, Hans Hagen wrote:

 On 20-5-2010 10:51, Marius wrote:

 \setupindenting[yes,7mm]

 \setupfloats[indentnext=yes]

 \starttext
 \input tufte
 \input knuth

 \placefigure
 [bottom,top][]
 {Title}
 {\externalfigure[cow][width=0.6\textwidth]}

 \input tufte
 \input knuth


 by the time you place the figure at the top, the first paragraph has
 already been typeset

 I think that the question is about the *fourth* paragraph (coming from
 the 2nd tufte quote). Search the pdf for thrive.

 I also find this behaviour to be broken. Why should the next paragraph
 after \placefloat in the source lose its indentation? IMO, only
 \placefigure[left] should affect the indentation, everything else should
 simply leave indentation alone. Or atleast, there should be a way to
 configure the indentation behaviour depending on what type of float we
 are dealing with.

 \definefloat ..

 -
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
 -
 ___
 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
 ___

___
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
___


Re: [NTG-context] Problem with identation

2010-05-21 Thread Peter Münster
On Fri, May 21 2010, Marius wrote:

 identation problem and I am stuck because of it. As this problem is
 beyond my capabilities and time is short, I have now three options:
 return to LaTeX, use [here] option (and manual formating) or please
 help me :)

Fourth option: use a workaround.

  \placefigure
  [bottom,top][]
  {Title}
  {\externalfigure[cow][width=0.6\textwidth]}
 

\indentation \input tufte

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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
___


Re: [NTG-context] Problem with identation

2010-05-21 Thread Marius
On Fri, May 21, 2010 at 1:47 PM, Peter Münster pmli...@free.fr wrote:
 On Fri, May 21 2010, Marius wrote:

 identation problem and I am stuck because of it. As this problem is
 beyond my capabilities and time is short, I have now three options:
 return to LaTeX, use [here] option (and manual formating) or please
 help me :)

 Fourth option: use a workaround.

  \placefigure
  [bottom,top][]
  {Title}
  {\externalfigure[cow][width=0.6\textwidth]}
 

 \indentation \input tufte

I remember that there is a command to indent (tried \indent,
\indenting), but could not recall and find it in documentation.
Thank you for the hint.
___
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
___


Re: [NTG-context] Problem with identation

2010-05-21 Thread Peter Münster
On Wed, May 19 2010, Marius wrote:

 \setupfloats[indentnext=yes] has no effect in the example below? I
 expect the line 6 above figure to be indented.
 
 
 \placefigure
   [bottom,top][]

Strange, there is no such problem when you write top,bottom!
Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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
___


Re: [NTG-context] Problem with identation

2010-05-21 Thread Aditya Mahajan

On Fri, 21 May 2010, Marius wrote:


\indentation \input tufte


I remember that there is a command to indent (tried \indent,
\indenting), but could not recall and find it in documentation.


Also see (which needs to be wikified)

http://www.tug.org/TUGboat/Articles/tb29-2/tb92mahajan.pdf

Aditya
___
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
___


Re: [NTG-context] Problem with identation

2010-05-20 Thread Marius
Here is more clear example in the attachments.

Indenting looks broken if you are using floats in your document and it
is broken in current and previous versions of ConTeXt too.

There is a tread in this mailing list about indenting [1], but the
given example used the option [here] and my reported issue does not
appear. As soon as float starts to float, the paragraph there it was
placed in the source document is not indented and I can't find a way
to indent it.

If it is designed this way, then how to indent a line after a float?

Is it a bug? If it is, then I will fill an issue here [2].


[1] http://www.ntg.nl/pipermail/ntg-context/2010/046799.html
[2] http://tracker.luatex.org/my_view_page.php

On Wed, May 19, 2010 at 6:30 PM, Marius mariau...@gmail.com wrote:
 Hello,

 \setupfloats[indentnext=yes] has no effect in the example below? I
 expect the line 6 above figure to be indented.


 ==
 \setupindenting[yes,7mm]
 \setupfloats[indentnext=yes]

 \starttext
 \input tufte
 \input knuth

 \placefigure
  [bottom,top][]
  {Title}
  {\externalfigure[cow][width=0.6\textwidth]}

 \input tufte
 \input knuth

 \stoptext
 ==



test2.tex
Description: TeX document


test2.pdf
Description: Adobe PDF document
___
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
___


Re: [NTG-context] Problem with identation

2010-05-20 Thread Hans Hagen

On 20-5-2010 10:51, Marius wrote:

\setupindenting[yes,7mm]

 \setupfloats[indentnext=yes]

 \starttext
 \input tufte
 \input knuth

 \placefigure
   [bottom,top][]
   {Title}
   {\externalfigure[cow][width=0.6\textwidth]}

 \input tufte
 \input knuth



by the time you place the figure at the top, the first paragraph has 
already been typeset


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Problem with identation

2010-05-20 Thread Aditya Mahajan

On Thu, 20 May 2010, Hans Hagen wrote:


On 20-5-2010 10:51, Marius wrote:

\setupindenting[yes,7mm]

 \setupfloats[indentnext=yes]

 \starttext
 \input tufte
 \input knuth

 \placefigure
   [bottom,top][]
   {Title}
   {\externalfigure[cow][width=0.6\textwidth]}

 \input tufte
 \input knuth



by the time you place the figure at the top, the first paragraph has already 
been typeset


I think that the question is about the *fourth* paragraph (coming from the 
2nd tufte quote). Search the pdf for thrive.


I also find this behaviour to be broken. Why should the next paragraph 
after \placefloat in the source lose its indentation? IMO, only 
\placefigure[left] should affect the indentation, everything else should 
simply leave indentation alone. Or atleast, there should be a way to 
configure the indentation behaviour depending on what type of float we are 
dealing with.


Aditya
___
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
___


Re: [NTG-context] Problem with identation

2010-05-20 Thread Hans Hagen

On 20-5-2010 5:48, Aditya Mahajan wrote:

On Thu, 20 May 2010, Hans Hagen wrote:


On 20-5-2010 10:51, Marius wrote:

\setupindenting[yes,7mm]

\setupfloats[indentnext=yes]

\starttext
\input tufte
\input knuth

\placefigure
[bottom,top][]
{Title}
{\externalfigure[cow][width=0.6\textwidth]}

\input tufte
\input knuth



by the time you place the figure at the top, the first paragraph has
already been typeset


I think that the question is about the *fourth* paragraph (coming from
the 2nd tufte quote). Search the pdf for thrive.

I also find this behaviour to be broken. Why should the next paragraph
after \placefloat in the source lose its indentation? IMO, only
\placefigure[left] should affect the indentation, everything else should
simply leave indentation alone. Or atleast, there should be a way to
configure the indentation behaviour depending on what type of float we
are dealing with.


\definefloat ..

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


[NTG-context] Problem with identation

2010-05-19 Thread Marius
Hello,

\setupfloats[indentnext=yes] has no effect in the example below? I
expect the line 6 above figure to be indented.


==
\setupindenting[yes,7mm]
\setupfloats[indentnext=yes]

\starttext
\input tufte
\input knuth

\placefigure
  [bottom,top][]
  {Title}
  {\externalfigure[cow][width=0.6\textwidth]}

\input tufte
\input knuth

\stoptext
==
___
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
___