ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem with identation
@ 2010-05-19 15:30 Marius
  2010-05-20  8:51 ` Marius
  2010-05-21 11:59 ` Peter Münster
  0 siblings, 2 replies; 10+ messages in thread
From: Marius @ 2010-05-19 15:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Problem with identation
  2010-05-19 15:30 Problem with identation Marius
@ 2010-05-20  8:51 ` Marius
  2010-05-20  9:14   ` Hans Hagen
  2010-05-21 11:59 ` Peter Münster
  1 sibling, 1 reply; 10+ messages in thread
From: Marius @ 2010-05-20  8:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

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 <mariausol@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
> ==============================
>

[-- Attachment #2: test2.tex --]
[-- Type: application/x-tex, Size: 407 bytes --]

[-- Attachment #3: test2.pdf --]
[-- Type: application/pdf, Size: 18726 bytes --]

[-- 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] 10+ messages in thread

* Re: Problem with identation
  2010-05-20  8:51 ` Marius
@ 2010-05-20  9:14   ` Hans Hagen
  2010-05-20 15:48     ` Aditya Mahajan
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2010-05-20  9:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Problem with identation
  2010-05-20  9:14   ` Hans Hagen
@ 2010-05-20 15:48     ` Aditya Mahajan
  2010-05-20 16:11       ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Aditya Mahajan @ 2010-05-20 15:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Problem with identation
  2010-05-20 15:48     ` Aditya Mahajan
@ 2010-05-20 16:11       ` Hans Hagen
  2010-05-21  9:33         ` Marius
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2010-05-20 16:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Problem with identation
  2010-05-20 16:11       ` Hans Hagen
@ 2010-05-21  9:33         ` Marius
  2010-05-21 10:47           ` Peter Münster
  0 siblings, 1 reply; 10+ messages in thread
From: Marius @ 2010-05-21  9:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <pragma@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Problem with identation
  2010-05-21  9:33         ` Marius
@ 2010-05-21 10:47           ` Peter Münster
  2010-05-21 11:18             ` Marius
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Münster @ 2010-05-21 10:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Problem with identation
  2010-05-21 10:47           ` Peter Münster
@ 2010-05-21 11:18             ` Marius
  2010-05-21 15:00               ` Aditya Mahajan
  0 siblings, 1 reply; 10+ messages in thread
From: Marius @ 2010-05-21 11:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, May 21, 2010 at 1:47 PM, Peter Münster <pmlists@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Problem with identation
  2010-05-19 15:30 Problem with identation Marius
  2010-05-20  8:51 ` Marius
@ 2010-05-21 11:59 ` Peter Münster
  1 sibling, 0 replies; 10+ messages in thread
From: Peter Münster @ 2010-05-21 11:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Problem with identation
  2010-05-21 11:18             ` Marius
@ 2010-05-21 15:00               ` Aditya Mahajan
  0 siblings, 0 replies; 10+ messages in thread
From: Aditya Mahajan @ 2010-05-21 15:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-05-21 15:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-19 15:30 Problem with identation Marius
2010-05-20  8:51 ` Marius
2010-05-20  9:14   ` Hans Hagen
2010-05-20 15:48     ` Aditya Mahajan
2010-05-20 16:11       ` Hans Hagen
2010-05-21  9:33         ` Marius
2010-05-21 10:47           ` Peter Münster
2010-05-21 11:18             ` Marius
2010-05-21 15:00               ` Aditya Mahajan
2010-05-21 11:59 ` Peter Münster

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