ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Johannes Graumann <johannes_graumann@web.de>
Subject: Re: XML and table interpretation
Date: Mon, 10 Apr 2006 22:25:56 -0700	[thread overview]
Message-ID: <e1fesn$2fo$1@sea.gmane.org> (raw)
In-Reply-To: <443A8E5B.4060101@wxs.nl>

Hans Hagen wrote:
> \defineXMLnested
>   [tr]
>   [bottomframe=off,rulethickness=0.3pt]
>  
{\expanded{\bTR[bottomframe=\XMLop{bottomframe},rulethickness=\XMLop{rulethickness}]}}
>   {\eTR}
> 
> \defineXMLnested
>   [td]
>   [rows=1,cols=1]
>   {\expanded{\bTD[nr=\XMLop{rows},nc=\XMLop{cols}]}}
>   {\eTD}
> 
> \defineXMLnested
>   [table]
>   {\bgroup
>    \defineXMLsave[caption]
>    \defineXMLnested[header]{\bTABLEhead} {\eTABLEhead}
>    \defineXMLnested[body]  {\bTABLEbody} {\eTABLEbody}
>    \placetable
>       [\XMLpar{table}{location}{here}]
>       [\XMLpar{table}{label}{unknown}]
>       {\XMLflush{caption}}
>       \bgroup
>       \setupTABLE[frame=off,split=repeat,splitmethod=a]
>       \ix\setupinterlinespace[reset,small]
>       \framed
> [frame=off,topframe=on,bottomframe=on,offset=none,rulethickness=1pt]
>         \bgroup \bTABLE[distance=10pt]}
>   {\eTABLE
>    \egroup
>    \egroup
>    \egroup}
Great! No more errors! But with this solution the caption disappears ...
strange. Also: breaking the table across pages doesn't work
despite 'split=repeat,splitmethod=a' - do I have to call a split explicitly
somewhere?

Joh

      reply	other threads:[~2006-04-11  5:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-09 23:52 Johannes Graumann
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 [this message]

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='e1fesn$2fo$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).