ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: DesdeChaves <desdechaves@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: first xcell dimension to large in xtable with external figure.
Date: Tue, 6 May 2014 22:52:20 +0100	[thread overview]
Message-ID: <CAPBmU9GtwBGxN9+MFg+btXL+7+2+jN38Q+1OkSCtt68gPfMYbA@mail.gmail.com> (raw)


[-- 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
___________________________________________________________________________________

                 reply	other threads:[~2014-05-06 21:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAPBmU9GtwBGxN9+MFg+btXL+7+2+jN38Q+1OkSCtt68gPfMYbA@mail.gmail.com \
    --to=desdechaves@gmail.com \
    --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).