ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: no indent after figure
       [not found] <mailman.716.1157766348.2039.ntg-context@ntg.nl>
@ 2006-09-09  9:05 ` Wolfgang Werners-Lucchini
  2006-09-09 12:19   ` Renaud AUBIN
  2006-09-10 13:38   ` Wolfgang Schuster
  2006-09-09  9:05 ` no indent after figure Wolfgang Werners-Lucchini
  1 sibling, 2 replies; 9+ messages in thread
From: Wolfgang Werners-Lucchini @ 2006-09-09  9:05 UTC (permalink / raw)


> The following works on my machine
> 
> \setupindenting[yes,medium]
> \setupfloats[indentnext=yes]
> 
> \starttext
> 
> \input knuth \par
> 
> \placefigure
>     {}
>     {\framed
>         [offset=none,
>          width=0.6\makeupwidth,
>          height=0.4\textheight]
>         {figure}}
> 
> 
> \dorecurse{3}{\input knuth\par}
> 
> \stoptext
> 
> Wolfgang

Hallo Wolfgang!

Your example doesn't use 

\setupfloat[figure][default={page,high,none}]

and I found, that the option 'page' in this statement toggles 
indenting of next paragraph!
I don't understand this at all. Please, can someone explain the 
interrelation between these two things?

And a second:
It seems, that
\setupfloats[indentnext=yes]
has nothing to do with indenting of next paragraph.
What is the real meaning of this option?

Wolfgang

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

* Re: no indent after figure
       [not found] <mailman.716.1157766348.2039.ntg-context@ntg.nl>
  2006-09-09  9:05 ` no indent after figure Wolfgang Werners-Lucchini
@ 2006-09-09  9:05 ` Wolfgang Werners-Lucchini
  1 sibling, 0 replies; 9+ messages in thread
From: Wolfgang Werners-Lucchini @ 2006-09-09  9:05 UTC (permalink / raw)


> Use \indentation, as in:
> \indentation Now is the time.

Thank you, David! That helps too.

Wolfgang

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

* Re: no indent after figure
  2006-09-09  9:05 ` no indent after figure Wolfgang Werners-Lucchini
@ 2006-09-09 12:19   ` Renaud AUBIN
  2006-09-10 13:38   ` Wolfgang Schuster
  1 sibling, 0 replies; 9+ messages in thread
From: Renaud AUBIN @ 2006-09-09 12:19 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 549 bytes --]

Wolfgang Werners-Lucchini a écrit :

>
>It seems, that
>\setupfloats[indentnext=yes]
>has nothing to do with indenting of next paragraph.
>What is the real meaning of this option?
>  
>

indentnext=yes is indeed related to indentation. Search for threads
"[NTG-context] Indentation bug ?" and "[NTG-context] Indentation bug ?
Sample"...
\indentation is the solution (Thanks to David) or you can cheat by
placing \placefigure or \placefloat before \section os \subsection...
when they use page, top, bottom, auto or page...

Renaud

[-- Attachment #1.2: Type: text/html, Size: 904 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

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

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

* Re: no indent after figure
  2006-09-09  9:05 ` no indent after figure Wolfgang Werners-Lucchini
  2006-09-09 12:19   ` Renaud AUBIN
@ 2006-09-10 13:38   ` Wolfgang Schuster
  2006-09-10 14:48     ` margintext style batela
  1 sibling, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2006-09-10 13:38 UTC (permalink / raw)


On Sat, 09 Sep 2006 11:05:57 +0200
"Wolfgang Werners-Lucchini" <wwl@musensturm.de> wrote:

> > The following works on my machine
> > 
> > \setupindenting[yes,medium]
> > \setupfloats[indentnext=yes]
> > 
> > \starttext
> > 
> > \input knuth \par
> > 
> > \placefigure
> >     {}
> >     {\framed
> >         [offset=none,
> >          width=0.6\makeupwidth,
> >          height=0.4\textheight]
> >         {figure}}
> > 
> > 
> > \dorecurse{3}{\input knuth\par}
> > 
> > \stoptext
> > 
> > Wolfgang
> 
> Hallo Wolfgang!
> 
> Your example doesn't use 
> 
> \setupfloat[figure][default={page,high,none}]
> 
> and I found, that the option 'page' in this statement toggles 
> indenting of next paragraph!
> I don't understand this at all. Please, can someone explain the 
> interrelation between these two things?
> 
> And a second:
> It seems, that
> \setupfloats[indentnext=yes]
> has nothing to do with indenting of next paragraph.
> What is the real meaning of this option?
> 
> Wolfgang
> 

My problem, I was too fast with my answer.

The following example solves now your problem on my
machine without the ugly solution with \indentation.

\unprotect

\def\OTRONEdosomepagefloat#1[#2]%
  {%\checkwaitingfloats{#1}%
   \global\setbox#1\vbox
     {\unvbox#1%
      \vbox to \textheight
        {\doifnotinset\v!high{#2}\vfill
         \box\floatbox
         \doifnotinset\v!low{#2}\vfill}%
      \goodbreak}%
   \doinsertfloatinfo
   \dochecknextindentation\??bk
   \dorechecknextindentation}

\protect

\setupindenting[medium,yes]
\setupfloat[figure][default={page,high,none}]
\setupfloats[indentnext=yes]

\starttext

\dorecurse{2}{\input knuth \par}

\placefigure
	[]
	[fig:bild]
	{Text}
	{\hrule width 6cm height 14cm depth 0cm\relax}

\dorecurse{3}{\input knuth \par}

\stoptext

Hope it works for you too.

Wolfgang

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

* margintext style
  2006-09-10 13:38   ` Wolfgang Schuster
@ 2006-09-10 14:48     ` batela
  2006-09-10 20:16       ` batela
  0 siblings, 1 reply; 9+ messages in thread
From: batela @ 2006-09-10 14:48 UTC (permalink / raw)


Dear Sirs

Is there any way to format margintext notes. I want to justify and 
apply this  format to my margin notes:

\def\MarginStyle{%
   \switchtobodyfont[7pt]\setupinterlinespace[line=9pt]%
   \setuphz\setupprot\emergencystretch=.5em
   \setuptolerance[{horizontal,verytolerant}]%
}

Thanks in advance

Jorge

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

* Re: margintext style
  2006-09-10 14:48     ` margintext style batela
@ 2006-09-10 20:16       ` batela
  2006-09-11 10:04         ` margintext style and more batela
  0 siblings, 1 reply; 9+ messages in thread
From: batela @ 2006-09-10 20:16 UTC (permalink / raw)


For changing inmargin style I  make

\setupinmargin
   [right]
   [style=\MarginStyle]

Are there a similar solution for \margintext?

thanks


Em 10/09/2006, às 3:48, batela escreveu:

> Dear Sirs
>
> Is there any way to format margintext notes. I want to justify and
> apply this  format to my margin notes:
>
> \def\MarginStyle{%
>    \switchtobodyfont[7pt]\setupinterlinespace[line=9pt]%
>    \setuphz\setupprot\emergencystretch=.5em
>    \setuptolerance[{horizontal,verytolerant}]%
> }
>
> Thanks in advance
>
> Jorge
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
Um Abraço,

Jorge Magalhães

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

* Re: margintext style and more
  2006-09-10 20:16       ` batela
@ 2006-09-11 10:04         ` batela
  2006-09-11 14:02           ` Peter Rolf
  0 siblings, 1 reply; 9+ messages in thread
From: batela @ 2006-09-11 10:04 UTC (permalink / raw)


Dear Sirs

I have two questions for you:

1. How i can changing the margintext style?

2. In some cases  I found a overlapping between to consecutive 
margintext notes and between a sequence of a inmargin and margintext 
notes. How I can fix this?

Thanks in advance


Em 10/09/2006, às 9:16, batela escreveu:

> For changing inmargin style I  make
>
> \setupinmargin
>    [right]
>    [style=\MarginStyle]
>
> Are there a similar solution for \margintext?
>
> thanks
>
>
> Em 10/09/2006, às 3:48, batela escreveu:
>
>> Dear Sirs
>>
>> Is there any way to format margintext notes. I want to justify and
>> apply this  format to my margin notes:
>>
>> \def\MarginStyle{%
>>    \switchtobodyfont[7pt]\setupinterlinespace[line=9pt]%
>>    \setuphz\setupprot\emergencystretch=.5em
>>    \setuptolerance[{horizontal,verytolerant}]%
>> }
>>
>> Thanks in advance
>>
>> Jorge
>>
>> _______________________________________________
>> ntg-context mailing list
>> ntg-context@ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>>
>>
> Um Abraço,
>
> Jorge Magalhães
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
Abraços,

Jorge Manuel de Almeida Magalhães

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

* Re: margintext style and more
  2006-09-11 10:04         ` margintext style and more batela
@ 2006-09-11 14:02           ` Peter Rolf
  2006-09-12 18:13             ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Rolf @ 2006-09-11 14:02 UTC (permalink / raw)


batela wrote:
> Dear Sirs
> 
> I have two questions for you:
> 
> 1. How i can changing the margintext style?
>
As I understand it, you also use \setupinmargin for this (see context
manual, top of page 63).

> 2. In some cases  I found a overlapping between to consecutive 
> margintext notes and between a sequence of a inmargin and margintext 
> notes. How I can fix this?
>
I don't think that there is any bookkeeping of the inmargin stuff. But
maybe I'm wrong.

Greetings, Peter

> Thanks in advance
> 
> 
> Em 10/09/2006, às 9:16, batela escreveu:
> 
>> For changing inmargin style I  make
>>
>> \setupinmargin
>>    [right]
>>    [style=\MarginStyle]
>>
>> Are there a similar solution for \margintext?
>>
>> thanks
>>
>>
>> Em 10/09/2006, às 3:48, batela escreveu:
>>
>>> Dear Sirs
>>>
>>> Is there any way to format margintext notes. I want to justify and
>>> apply this  format to my margin notes:
>>>
>>> \def\MarginStyle{%
>>>    \switchtobodyfont[7pt]\setupinterlinespace[line=9pt]%
>>>    \setuphz\setupprot\emergencystretch=.5em
>>>    \setuptolerance[{horizontal,verytolerant}]%
>>> }
>>>
>>> Thanks in advance
>>>
>>> Jorge
>>>
>>> _______________________________________________
>>> ntg-context mailing list
>>> ntg-context@ntg.nl
>>> http://www.ntg.nl/mailman/listinfo/ntg-context
>>>
>>>
>> Um Abraço,
>>
>> Jorge Magalhães
>>
>> _______________________________________________
>> ntg-context mailing list
>> ntg-context@ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>>
>>
> Abraços,
> 
> Jorge Manuel de Almeida Magalhães
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 
> 

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

* Re: margintext style and more
  2006-09-11 14:02           ` Peter Rolf
@ 2006-09-12 18:13             ` Hans Hagen
  0 siblings, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2006-09-12 18:13 UTC (permalink / raw)


Peter Rolf wrote:
>
>>     
> I don't think that there is any bookkeeping of the inmargin stuff. But
> maybe I'm wrong.
>   
\repositionmarginboxtrue

experimental for a few years now -) 

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

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

end of thread, other threads:[~2006-09-12 18:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.716.1157766348.2039.ntg-context@ntg.nl>
2006-09-09  9:05 ` no indent after figure Wolfgang Werners-Lucchini
2006-09-09 12:19   ` Renaud AUBIN
2006-09-10 13:38   ` Wolfgang Schuster
2006-09-10 14:48     ` margintext style batela
2006-09-10 20:16       ` batela
2006-09-11 10:04         ` margintext style and more batela
2006-09-11 14:02           ` Peter Rolf
2006-09-12 18:13             ` Hans Hagen
2006-09-09  9:05 ` no indent after figure Wolfgang Werners-Lucchini

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