Re: [NTG-context] simple layout

2010-01-14 Thread Wolfgang Werners-Lucchini
 \NC \tbox{\externalfigure[...]} \NC ... \NC\AR
 
 You can find more box type in supp-box.tex
Yes! I have never heared about this.
Thank you very much!
Wolfgang

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


[NTG-context] simple layout

2010-01-12 Thread Wolfgang Werners-Lucchini
Hallo,

I need a little help for this simple layout. I am looking for a 
solution for hours now, but I can not get it work:

\setupcolors[state=start]

\starttext
\framed[background=color, backgroundcolor=gray]{%
\starttable[|lp(.1\textwidth)|lp(.9\textwidth)|]
\NC \placefigure[left,high]{none}{\framed[height=1cm]{graphic}}
\NC Text rechts!\crlf Text rechts!\crlf Text rechts!\crlf Text 
rechts!\crlf Text rechts!\crlf Text rechts!\crlf Text rechts!\crlf 
Text rechts!\crlf Text rechts!  \NC\AR
% \NC Text rechts!  \NC\AR
\stoptable}

Mehr Text \ldots
\stoptext
-
left: picture (not always the same height)
right: text (variable height, sometimes more, sometimes less than on 
the left)
left and right framed (height should be the maximum of left and right 
height)
after that: normal text.

Problems:
If height(left)height(right) than height(framed) is not height(left)

'Mehr Text' is not left aligned

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


Re: [NTG-context] simple layout

2010-01-12 Thread Wolfgang Schuster

Am 13.01.2010 um 00:25 schrieb Wolfgang Werners-Lucchini:

 Hallo,
 
 I need a little help for this simple layout. I am looking for a 
 solution for hours now, but I can not get it work:
 
 \setupcolors[state=start]
 
 \starttext
 \framed[background=color, backgroundcolor=gray]{%
 \starttable[|lp(.1\textwidth)|lp(.9\textwidth)|]
 \NC \placefigure[left,high]{none}{\framed[height=1cm]{graphic}}

\NC \tbox{\externalfigure[...]} \NC ... \NC\AR

You can find more box type in supp-box.tex

Kind regards,
Wolfgang

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