ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Johannes Graumann <johannes_graumann@web.de>
Subject: XML and table interpretation
Date: Sun, 09 Apr 2006 16:52:09 -0700	[thread overview]
Message-ID: <e1c6ud$cp$1@sea.gmane.org> (raw)

Why do these two things work:

1)\defineXMLnested
  [td]
  [rows=1,cols=1]
  {\bTD[nr=\XMLop{rows},nc=\XMLop{cols}]}
  {\eTD}
(in conjunction with '<tr><td rows="2">Gene product</td><td cols="3">HPM
tag</td><td rows="2">TAP tag</td><td rows="2">mod. TAP tag</td><td
rows="2">Frequ. in ref. set</td></tr>')


2) \bTR[bottomframe=on,rulethickness=0.3pt]\bTD a \eTD\bTD b \eTD\bTD b
\eTD\bTD c \eTD\eTR%

But this doesn't?

\defineXMLnested 
  [tr]
  [bottomframe=off,rulethickness=0.3pt]
 {\bTR[bottomframe=\XMLop{bottomframe},rulethickness=\XMLop{rulethickness}]}
  {\eTR}

together with '<tr bottomframe="on"><td rows="2">Gene product</td><td
cols="3">HPM tag</td><td rows="2">TAP tag</td><td rows="2">mod. TAP
tag</td><td rows="2">Frequ. in ref. set</td></tr>'

Thanks, Joh

             reply	other threads:[~2006-04-09 23:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-09 23:52 Johannes Graumann [this message]
2006-04-10  0:15 ` Hans Hagen
2006-04-10  0:22   ` Johannes Graumann
2006-04-10 16:29   ` Johannes Graumann
2006-04-10 16:48     ` Hans Hagen
2006-04-10 16:56     ` Hans Hagen
2006-04-11  5:25       ` Johannes Graumann

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='e1c6ud$cp$1@sea.gmane.org' \
    --to=johannes_graumann@web.de \
    --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).