From: nico <nicolas.marsgui@libertysurf.fr>
Subject: Re: TABLE 'last line' tag?
Date: Fri, 21 Apr 2006 22:57:27 +0200 [thread overview]
Message-ID: <ops8dlt1eu9niby6@localhost> (raw)
In-Reply-To: <e2bd33$smk$1@sea.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1499 bytes --]
On Fri, 21 Apr 2006 12:44:45 -0700, Johannes Graumann
<johannes_graumann@web.de> wrote:
> nico wrote:
>
>> On Thu, 20 Apr 2006 17:27:50 -0700, Johannes Graumann
>> <johannes_graumann@web.de> wrote:
>>
>>> nico wrote:
>>>
>>>> Why don't you test if the attribute is set before applying it to the
>>>> TR?
>>>> You see the problem on the last row, but the fact is that you force
>>>> the
>>>> bottomframe clear for every row (which is dirty IMHO).
>>> It's not that easy, since the bottomframe - once set - is persistent
>>> ...
>>> so
>>> every row underneath my header (e.g.) will have 'bottomframe=on' set.
>>
>> No, the options are local to the current level where it is set. If
>> bottomframe is on for one row, it won't set bottomframe to the next
>> rows.
>> In the following example, only two rows (the header and another one in
>> the
>> body) have local bottomframe on, and the last row bottomframe is done
>> with
>> table setup:
>
> The persistence issue is XML specific, I believe and therefore does not
> apply to your code example.
It's because you systematically apply the attribute. Doing this should
work, even if there's maybe a smarter way of doing:
\defineXMLnested
[tr]
[bottomframe=,rulethickness=0.5pt]
{\doifelse{\XMLop{bottomframe}}{}%
{\expanded{\bTR}}%
{\expanded{\bTR[bottomframe=\XMLop{bottomframe},rulethickness=\XMLop{rulethickness}]}}}
{\eTR}
I attach the full example.
Regards,
BG
[-- Attachment #2: splittable.tex --]
[-- Type: application/x-tex, Size: 4529 bytes --]
[-- Attachment #3: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
next prev parent reply other threads:[~2006-04-21 20:57 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-20 5:55 Johannes Graumann
2006-04-20 6:26 ` nico
2006-04-20 14:59 ` Johannes Graumann
2006-04-20 16:14 ` Peter Rolf
2006-04-20 16:45 ` Peter Münster
2006-04-20 16:50 ` Taco Hoekwater
2006-04-20 18:29 ` Johannes Graumann
2006-04-20 19:05 ` nico
2006-04-21 0:27 ` Johannes Graumann
2006-04-21 7:07 ` nico
2006-04-21 19:44 ` Johannes Graumann
2006-04-21 20:57 ` nico [this message]
2006-04-21 22:23 ` Johannes Graumann
2006-04-21 19:51 ` Hans Hagen
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=ops8dlt1eu9niby6@localhost \
--to=nicolas.marsgui@libertysurf.fr \
--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).