ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Fabio Fogliuzzi <fogliuzzi@libero.it>
Subject: Stopping text from flowing around sidefloats
Date: Mon, 5 Jul 2004 20:33:17 +0200	[thread overview]
Message-ID: <C8938DC8-CEB1-11D8-A9EE-000A95785DEC@libero.it> (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.

             reply	other threads:[~2004-07-05 18:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-05 18:33 Fabio Fogliuzzi [this message]
2004-07-06 16:40 ` Hans Hagen
2004-07-07 16:10   ` Fabio Fogliuzzi
2004-07-07 16:39   ` Fabio Fogliuzzi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C8938DC8-CEB1-11D8-A9EE-000A95785DEC@libero.it \
    --to=fogliuzzi@libero.it \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).