* first xcell dimension to large in xtable with external figure.
@ 2014-05-06 21:52 DesdeChaves
0 siblings, 0 replies; only message in thread
From: DesdeChaves @ 2014-05-06 21:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1939 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 5618 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-06 21:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-06 21:52 first xcell dimension to large in xtable with external figure DesdeChaves
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).