Dear Sirs,

I would like to write a tecnhical document that looks like the DIN
standards style.
 I found  in this Wolfgang's message  (
http://www.ntg.nl/pipermail/ntg-context/2013/076348.html) inspiration for
do that. All works great if the sentence  \externalfigure[cow.pdf][height=3cm]
are commented, otherwise the cell "Doc No." is to large relatively the
other cells in the last column.
What is wrong with this code?

thanks in advance.

Jorge


 \setuplayout
   [backspace=15mm,
    width=middle,
    topspace=15mm,
    height=middle,
    header=5cm,
    footer=0pt]

\startsetups[header:table]

\startembeddedxtable[align={middle,lohi},strut=no]
\startxrow
\startxcell[width=0.20\paperwidth,ny=4]
\externalfigure[cow.pdf][height=3cm]
\stopxcell
\startxcell[width=0.40\paperwidth,ny=4]
Document title
\stopxcell
\startxcellgroup[height=1cm,foregroundstyle=small]
\startxcell[width=0.10\paperwidth,align={flushright,lohi}]
Doc No.
\stopxcell
\startxcell[width=0.15\paperwidth,align={flushleft,lohi}]
\unknown
\stopxcell
\stopxcellgroup
\stopxrow
 \startxrow
\startxcellgroup[height=1cm, foregroundstyle=small]
\startxcell[width=0.10\paperwidth,align={flushright,lohi}]
Revision
\stopxcell
\startxcell[width=0.15\paperwidth,align={flushleft,lohi}]
\unknown
\stopxcell
\stopxcellgroup
\stopxrow
 \startxrow
\startxcellgroup[height=1cm, foregroundstyle=small]
\startxcell[width=0.10\paperwidth,align={flushright,lohi}]
Data
\stopxcell
\startxcell[width=0.15\paperwidth,align={flushleft,lohi}]
\unknown
\stopxcell
\stopxcellgroup
\stopxrow
 \startxrow
\startxcellgroup[height=1cm,foregroundstyle=small]
\startxcell[width=0.10\paperwidth,align={flushright,lohi}]
Pagina
\stopxcell
\startxcell[width=0.15\paperwidth,align={flushleft,lohi}]
\pagenumber/\lastpagenumber
\stopxcell
\stopxcellgroup
\stopxrow
\stopembeddedxtable

\stopsetups

\setupheadertexts[\texsetup{header:table}]


\starttext
\dorecurse{30}{\input knuth\par}


\stoptext
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to