From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87271 Path: news.gmane.org!not-for-mail From: DesdeChaves Newsgroups: gmane.comp.tex.context Subject: first xcell dimension to large in xtable with external figure. Date: Tue, 6 May 2014 22:52:20 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0087631721==" X-Trace: ger.gmane.org 1399413170 14472 80.91.229.3 (6 May 2014 21:52:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 May 2014 21:52:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 06 23:52:44 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WhnI4-0003MY-FR for gctc-ntg-context-518@m.gmane.org; Tue, 06 May 2014 23:52:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E995610228 for ; Tue, 6 May 2014 23:52:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NmqA9NV97rgI for ; Tue, 6 May 2014 23:52:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 874901021F for ; Tue, 6 May 2014 23:52:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6FDBF101E2 for ; Tue, 6 May 2014 23:52:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id MY3lshtjMmym for ; Tue, 6 May 2014 23:52:32 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 19AE7101E1 for ; Tue, 6 May 2014 23:52:23 +0200 (CEST) Original-Received: from mail-oa0-x22a.google.com (mail-oa0-x22a.google.com [IPv6:2607:f8b0:4003:c02::22a]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s46LqLnC010597 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 6 May 2014 23:52:22 +0200 Original-Received: by mail-oa0-f42.google.com with SMTP id j17so138548oag.29 for ; Tue, 06 May 2014 14:52:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=57MSTjKIyGgiPX71xyLko2oS+34VkZgb7HfoEUQWU6c=; b=zlUhvQ4xVPTpQXi2BwsAUp67ubK/V0XJCSFhThak4P2v5CzhfKJ0j5k0jeetmuDvu4 Kb/gKxsz18pQfXqpqcnIMUQPyFC+yzOP7XpyVGhdeBEOq5Q3llz7P5n/CJeWyr8qHQEu +IC4e1DRuAYnnESGX/tVIFjrZOUqb9KvNrXelrWJTcA3XC6RKH/U2TLrc0d7PmSS3q2i NCkCoQzNb9Eje9gQ/RdperqOJhR7RNKSLQt94UqejMtZ2o/E5QLDN6CYfJ46UZhinOlc YRTqfKnY9+Vkw2aB+Zfe8tMFlu+woqT8I1Re5h3rzBHKq8mwACFHlJX5BqM3zNNZDRK9 bxlQ== X-Received: by 10.182.70.39 with SMTP id j7mr11648758obu.55.1399413140997; Tue, 06 May 2014 14:52:20 -0700 (PDT) Original-Received: by 10.60.132.20 with HTTP; Tue, 6 May 2014 14:52:20 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4003:c02::22a; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06LWJQm2A - 8c37484816f2 - 20140506 X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:87271 Archived-At: --===============0087631721== Content-Type: multipart/alternative; boundary=089e0158b20429cb1304f8c24333 --089e0158b20429cb1304f8c24333 Content-Type: text/plain; charset=UTF-8 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 --089e0158b20429cb1304f8c24333 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Dear Sirs,=C2=A0

I would like to write a tecnhical document that looks like the DIN standa= rds style.=C2=A0
=C2=A0I found =C2=A0in this Wolfgang's= message =C2=A0(http://www.ntg.nl/pipermail/ntg-context/2013/076348.html) ins= piration for do that. All works great if the sentence =C2=A0\externalfigure[cow.pdf][height=3D3cm] are commente= d, 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


=C2=A0\setuplayout
=C2=A0 =C2=A0[backspace=3D15mm,
=C2=A0 =C2=A0 width=3Dmiddle= ,
=C2=A0 =C2=A0 topspace=3D15mm,
=C2=A0 =C2=A0 height= =3Dmiddle,
=C2=A0 =C2=A0 header=3D5cm,
=C2=A0 =C2=A0 fo= oter=3D0pt]

\startsetups[header:table]

\startemb= eddedxtable[align=3D{middle,lohi},strut=3Dno]
\startxrow
\startxcell[width=3D0.20\paperwidth,ny=3D4]=
\externalfigure[= cow.pdf][height=3D3cm]
\stopxcell
= \startxcell[width=3D0.40\paperwidth,ny=3D4]
Document title
\stopxcell
\startxcellgro= up[height=3D1cm,foregroundstyle=3Dsmall]
\startxcell[widt= h=3D0.10\paperwidth,align=3D{flushright,lohi}]
Doc No.
\stopxcell
\startxcell[widt= h=3D0.15\paperwidth,align=3D{flushleft,lohi}]
\unknown
\stopxcell
\stopxcellgroup
\stopxrow
\startxrow
\startxcellgroup[= height=3D1cm, foregroundstyle=3Dsmall]
\startxcell[width=3D0.10\paperwidth,align=3D{fl= ushright,lohi}]
Revision
<= div> \stopxcell
<= div> \startxcell[width= =3D0.15\paperwidth,align=3D{flushleft,lohi}]
\unknown
<= div> \stopxcell
<= div> \stopxcellgroup
\stopxrow
\startxrow
\startxcellgroup[height=3D1cm, foregroun= dstyle=3Dsmall]
\startxcell[widt= h=3D0.10\paperwidth,align=3D{flushright,lohi}]
Data
\stopxcell
\startxcell[widt= h=3D0.15\paperwidth,align=3D{flushleft,lohi}]
\unknown
\stopxcell
\stopxcellgroup
\stopxrow
\startxrow
\startxcellgroup[= height=3D1cm,foregroundstyle=3Dsmall]
\startxcell[width=3D0.10\paperwidth,align=3D{flu= shright,lohi}]
Pagina
\stopxcell
\startxcell[width= =3D0.15\paperwidth,align=3D{flushleft,lohi}]
\pagenumber/\la= stpagenumber
\stopxcell
\stopxcellgroup
\stopxrow
\stopembeddedxtable

\stopsetups

\setupheadertex= ts[\texsetup{header:table}]


\starttext
\dorecurse{30}{\inp= ut knuth\par}


\stoptext
=
--089e0158b20429cb1304f8c24333-- --===============0087631721== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0087631721==--