ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Stopping text from flowing around sidefloats
@ 2004-07-05 18:33 Fabio Fogliuzzi
  2004-07-06 16:40 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Fogliuzzi @ 2004-07-05 18:33 UTC (permalink / raw)


I'm a newbie in Context (and TeX) typesetting, but I'm seriously   
thinking of switching  from my current wokflow, FrameMaker based, to a  
new one based on this system, impressive for its quality and  
flexibility.
The main work at my office is the producing of  technical manuals  
(250-500 pages) for megayachts, covering the entire workflow (layout,  
technical writing, illustrations etc.).
My first attempt in the use of  ConText was the finding of a way to  
mimic the basic layout currently used in Framemaker and the mode in  
which illustrations are currently placed in the manuals.
The basic layout in Framemaker is composed of a main text flow in which  
a column is reserved for placing side notes (warning notes, danger  
notes etc.) and a second column is reserved for the main text.

|------------------|----------------------------------------------|
|                        |                                               
                 |
|  Side Notes  |                       Main Text                     |
|                        |                                               
                 |
|                        |                                               
                 |
|------------------|-----------------------------------------------|

Normally the figures are placed in the main text area. In this case  
(depending from the width of the illustration) flows or doesn't the  
main text  flow around the illustration.
The larger figures however occupy all the width of the text flow ('Side  
Notes'+'Main Text') and the main text get interrupted by the  
illustration.

I replicated the basic layout  (the original layout is double sided but  
i don't care of this at this moment) with the following commands:

   \setuppapersize[A4][A4]
    \setuplayout  
[backspace=7.3cm,width=11.7cm,topspace=1.5cm,leftmargin=4cm,
      
rightmargin=0cm,leftmargindistance=0.8cm,height=27.2cm,header=2cm,footer 
=2cm,location=singlesided,marking=on]


The last command set the left margin,  and should replicate the 'Side  
Notes' column of the original layout.
With this setup there is no problem in placing figures smaller than the  
main text area.
For placing the larger figures I followed an example taken from page 29  
of the manual 'IT'S IN THE DETAILS' writing the following commands:

     \definefloat [largefigure][figure]
     \setupfloat [largefigure]  
[leftmargindistance=-\leftmargintotal,default={left,none,noident}]
     \useexternalfigure [provafigura] [Largefigure.pdf][width=16.5cm]
     ..........
     \placelargefigure [left] {ProvaFigura}  
{\externalfigure[provafigura]}

The last command work as expected for figure placement but cause the  
text of the paragraph immediately following the \placefigure command to  
flow around the placed figure in a tiny column (around 1cm in width)   
at the right of the page and outside the main text flow.

|------------------|----------------------------------------------|-a-
|                        |                                               
                 |-b-
| <---------------Large Figure ---------------------------->|-c-   
<----paragraph flowing outside the main text flow.
|                        |                                               
                 |-d-
|------------------|-----------------------------------------------|-e-

What is wrong? There is a way to prevent the text from flowing around  
sidefloats or a workaround to place large figures in the desired way?

Thank you in advance and Best Regards
F.Fogliuzzi.

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

* Re: Stopping text from flowing around sidefloats
  2004-07-05 18:33 Stopping text from flowing around sidefloats Fabio Fogliuzzi
@ 2004-07-06 16:40 ` Hans Hagen
  2004-07-07 16:10   ` Fabio Fogliuzzi
  2004-07-07 16:39   ` Fabio Fogliuzzi
  0 siblings, 2 replies; 4+ messages in thread
From: Hans Hagen @ 2004-07-06 16:40 UTC (permalink / raw)


Fabio Fogliuzzi wrote:

...

\forgetsidefloats
\flushsidefloats

may be of help in manipulating those side floats (more on side floats in details.pdf) 

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

* Re: Stopping text from flowing around sidefloats
  2004-07-06 16:40 ` Hans Hagen
@ 2004-07-07 16:10   ` Fabio Fogliuzzi
  2004-07-07 16:39   ` Fabio Fogliuzzi
  1 sibling, 0 replies; 4+ messages in thread
From: Fabio Fogliuzzi @ 2004-07-07 16:10 UTC (permalink / raw)



Il giorno 06/lug/04, alle 18:40, Hans Hagen ha scritto:

>
> \forgetsidefloats
> \flushsidefloats
>
> may be of help in manipulating those side floats (more on side floats 
> in details.pdf)
> Hans

Thanks Hans.
Placing \flushsidefloats after the figure insertion works in the 
desired way. It seems that this command force the immediate placement 
of the side float after the text that precedes it. It is true?
There is another way to accomplish the same result using standard 
floats (not surrounded by the body text) moving the content of the 
float in a manner similar to the one used for the side floats?

F.Fogliuzzi

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

* Re: Stopping text from flowing around sidefloats
  2004-07-06 16:40 ` Hans Hagen
  2004-07-07 16:10   ` Fabio Fogliuzzi
@ 2004-07-07 16:39   ` Fabio Fogliuzzi
  1 sibling, 0 replies; 4+ messages in thread
From: Fabio Fogliuzzi @ 2004-07-07 16:39 UTC (permalink / raw)


Excuse me if this message will be posted twice. In the first post I 
inadvertently used  my work e-mail address which is not registered in 
this forum.

Il giorno 06/lug/04, alle 18:40, Hans Hagen ha scritto:

>
> \forgetsidefloats
> \flushsidefloats
>
> may be of help in manipulating those side floats (more on side floats 
> in details.pdf)
> Hans

Thanks Hans.
Placing \flushsidefloats after the figure insertion works in the 
desired way. It seems that this command force the immediate placement 
of the side float after the text that precedes it. It is true?
There is another way to accomplish the same result using standard 
floats (not surrounded by the body text) moving the content of the 
float in a manner similar to the one used for the side floats?

F.Fogliuzzi

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

end of thread, other threads:[~2004-07-07 16:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-05 18:33 Stopping text from flowing around sidefloats Fabio Fogliuzzi
2004-07-06 16:40 ` Hans Hagen
2004-07-07 16:10   ` Fabio Fogliuzzi
2004-07-07 16:39   ` Fabio Fogliuzzi

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