Re: [NTG-context] Stopping text from flowing around sidefloats

2004-07-08 Thread Fabio Fogliuzzi
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
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] How to define Small Caps when installing a new font (repost)

2004-07-07 Thread Fabio Fogliuzzi
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.

A question about fonts. I have successfully installed (for the first  
time) a font using the texfont utility and creating both small caps and  
slanted variants of the font.
I wrote the following typescript saved in a file named 'Typeface.tex':

\starttypescript [map] [texnansi]
\loadmapfile [texnansi-bertholdag-grotesk-akzidenz]
\stoptypescript
\starttypescript [sans] [grotesk] [name]
\definefontsynonym[Sans] [AkzidenzGrotesk-Extended]
\definefontsynonym[SansItalic] [AkzidenzGrotesk-Extended-Italic]
\definefontsynonym[SansSlanted] [AkzidenzGrotesk-Extended-Slanted]
\definefontsynonym[SansBold] [AkzidenzGrotesk-Extended-Bold]
\definefontsynonym[SansBoldItalic] [AkzidenzGrotesk-Extended-BoldItalic]
\definefontsynonym[SansBoldSlanted][AkzidenzGrotesk-Extended- 
BoldSlanted]
\definefontsynonym[SansCaps] [AkzidenzGrotesk-Extended-Caps]
\definefontsynonym[SansItalicCaps]  
[AkzidenzGrotesk-Extended-Italic-Caps]
\definefontsynonym[SansBoldCaps] [AkzidenzGrotesk-Extended-Bold-Caps]
\definefontsynonym[SansBoldItalicCaps]  
[AkzidenzGrotesk-Extended-BoldItalic-Caps]
\stoptypescript

\starttypescript [sans] [grotesk] [texnansi]
\definefontsynonym [AkzidenzGrotesk-Extended] [texnansi-gflex]  
[encoding=texnansi]
\definefontsynonym [AkzidenzGrotesk-Extended-Italic] [texnansi-gflex]  
[encoding=texnansi]
\definefontsynonym [AkzidenzGrotesk-Extended-Bold] [texnansi-gfmex]  
[encoding=texnansi]
\definefontsynonym [AkzidenzGrotesk-Extended-BoldItalic]  
[texnansi-gfmex-slanted-167] [encoding=texnansi]
\definefontsynonym [AkzidenzGrotesk-Extended-Slanted]  
[texnansi-gflex-slanted-167] [encoding=texnansi]
\definefontsynonym [AkzidenzGrotesk-Extended-BoldSlanted]  
[texnansi-gfmex-slanted-167] [encoding=texnansi]
\definefontsynonym [AkzidenzGrotesk-Extended-Caps]  
[texnansi-gflex-capitalized-800] [encoding=texnansi]
\definefontsynonym [AkzidenzGrotesk-Extended-Italic-Caps]  
[texnansi-gflex-capitalized-800-slanted-167] [encoding=texnansi]
\definefontsynonym [AkzidenzGrotesk-Extended-Bold-Caps]  
[texnansi-gfmex-capitalized-800] [encoding=texnansi]
\definefontsynonym [AkzidenzGrotesk-Extended-BoldItalic-Caps]  
[texnansi-gfmex-capitalized-800-slanted-167] [encoding=texnansi]
\stoptypescript

\starttypescript [akzidenzgrotesk]
  \definetypeface [AkzidenzGrotesk] [ss] [sans] [mixgroteskcmr]  
[default] [encoding=texnansi]
\stoptypescript

 and in the  file to typeset I wrote:
\usetypescriptfile[Typeface]
\usetypescript[AkzidenzGrotesk]
\setupbodyfont[AkzidenzGrotesk,ss]
All seems to work as expected, except for the use of the  
SansItalicCaps, SansBoldCaps and SansBoldItalicCaps variants.
What is the correct way to define a font so that {\bf \sc Some Text}  
get typeset in the SansBoldCaps variant of the font?
A similar question exists for {\it \sc Some Text}, {\bi \sc Some Text}  
etc.
I have read chapter 5.3 of the Context manual and the 'Fonts in  
Context' without finding a hint.

Every hint (for a beginner) will be appreciated.
F. Fogliuzzi
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Stopping text from flowing around sidefloats

2004-07-06 Thread Fabio Fogliuzzi
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.
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context