ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Uwe Koloska" <uwe.koloska@mailbox.tu-dresden.de>
Subject: minor remarks on core-tab.tex
Date: Sun, 17 Dec 2000 00:22:23 +0100	[thread overview]
Message-ID: <00121700222300.02529@bilbo> (raw)

Hello,

yesterday I was in need for a sophisticated table and since the manual only 
has tabulation and the natural tables seemed to complicated, I studied the 
source for table (core-tab.tex and thrd-tab.tex).  There I found something 
that might be remarkable ;-)

Near the beginning is a line:
    \doifundefined{BeginTable}{\doinputonce{table.tex}}
This only works, because thrd-tab.tex (a renamed version of table.tex) is 
loaded before ...
So this has to be changed to "\doinputonce(thrd-tab.tex}"

Where can I find some docu about table.tex???  I wanted to make a table 
with two columns.  The first one as wide as the widest entry, and the 
second one a paragraph that fills the rest of the line.  I couldn't figure 
out how to do (neither with tabulate, nor tables and natural tables) ...

There are two lines with something like:
    \doifnumberelse{#1x}             % x ???????????????

I am no TeX expert -- so I am very proud that I can say: It's possible that 
I know what this means (Tusch!) ;-))))

\doifnumberelse test it's argument and if there are numbers in the first 
positions it's true otherwise false.
    \doifnumberelse{1234x} -> true
    \doifnumberelse{ab12x} -> false
and if #1 is an empty argument:
    \doifnumberelse{x}     -> false

The 'x' is there to prevent the expression inside {} expanding to nothing.

Hey that are no bugs and nothing great, but ...

Uwe

-- 
mailto:koloska@rcs.urz.tu-dresden.de
http://rcswww.urz.tu-dresden.de/~koloska/
--                                    --
right now the web page is in german only
but this will change as time goes by ;-)


             reply	other threads:[~2000-12-16 23:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-16 23:22 Uwe Koloska [this message]
2000-12-17 20:16 ` 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=00121700222300.02529@bilbo \
    --to=uwe.koloska@mailbox.tu-dresden.de \
    /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).