[NTG-context] numexpr in etex / bug ?

2004-02-13 Thread Hans Hagen
Hi,

A numexpr either ends with a \relax or is delimited by ()

So, the following works as expected:

  \number\numexpr(1) test

but ... the following gives an error message:

  \number\numexpr(1) /test

so, the expr parser looks beyond the ) which is rather strange; bug or 
feature?

(those expr are behaving a bit strange anyway)

Hans

PS. for those using etex primitives, recently i ran into a bug in 
\lastnodetype (resulting in incorrect return values or funny side effects), 
this is already corrected (by fabrice/olaf) in the yet to come versions.

-
  Hans Hagen | PRAGMA ADE/POD/CTS
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Not seeing the wood because of so many trees

2004-02-13 Thread Höppner, Dierk
Hello,

just a short and simple question with hopefully a quick answer:

How do I print '{' and '}'. You may answer with RTFM but please name the M
and page!

Thanks and sorry for the simple question.

greetings

Dierk Höppner
Technische Informationsbibliothek
Universitätsbibliothek Hannover (TIB/UB)
EDV / DOD Operating
Welfengarten 1b, 30167 Hannover
Tel.: 0511/762-4067, Fax: 0511/762-5881
Mobil: 0163/762 4067
E-Mail: [EMAIL PROTECTED]
http://www.tib.uni-hannover.de 
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Not seeing the wood because of so many trees

2004-02-13 Thread Tobias Burnus
Hello,

On Fri, Feb 13, 2004 at 01:29:48PM +0100, Alexander Klink wrote:
  How do I print '{' and '}'. You may answer with RTFM but please name the M
  and page!
 what about \type|{| and \type|}| (just like \verb in LaTeX)?
Or $\{$ and $\}$ which uses the math font instead of the typewriter
front.

Regards,

Tobias
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] how to get bottom-vertical-alignment in (natural) table cells?

2004-02-13 Thread Stefan Wachter
Hi all!

I try to set a simple table that show the different horizontal and 
vertical alignment capabilities (see below):

horizontal: left, middle, right
vertical: top(?), lohi, bottom(?)
Yet, the bottom alignment does not work. The texts in the third column 
that should be placed at the bottom appear at the top of their cell.

Does anyone know how bottom alignment in table cells can be accomplished?

Many thanks for your attention.
--Stefan
\bTABLE[width=3cm,height=3cm]
\bTABLEbody
\bTR
\bTD[align={right,top}] top \eTD
\bTD[align={right,lohi}] middle \eTD
\bTD[align={right,bottom}] bottom \eTD
\eTR
\bTR
\bTD[align={middle,top}] top \eTD
\bTD[align={middle,lohi}] middle \eTD
\bTD[align={middle,bottom}] bottom \eTD
\eTR
\bTR
\bTD[align={left,top}] top \eTD
\bTD[align={left,lohi}] middle \eTD
\bTD[align={left,bottom}] bottom \eTD
\eTR
\eTABLEbody
\eTABLE
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] proportional column widths in natural tables?

2004-02-13 Thread Stefan Wachter
Hi all!

Is there a possibility to specify proportional column widths when using 
natural tables?

E.g. If i want to set column 1 and 2 to have 2/7 and column 3 3/7 of the 
available broadth.

\setupTABLE[column][1][width=2*]
\setupTABLE[column][2][width=2*]
\setupTABLE[column][3][width=3*]
Thanks for your attention,
--Stefan
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] proportional column widths in natural tables?

2004-02-13 Thread Willi Egger
Hi Stefan,

It is probably not quite logic, but replacing the bottom option with 
low solves the problem

Kind regards
Willi
Stefan Wachter wrote:

Hi all!

Is there a possibility to specify proportional column widths when using 
natural tables?

E.g. If i want to set column 1 and 2 to have 2/7 and column 3 3/7 of the 
available broadth.

\setupTABLE[column][1][width=2*]
\setupTABLE[column][2][width=2*]
\setupTABLE[column][3][width=3*]
Thanks for your attention,
--Stefan
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] how to get bottom-vertical-alignment in (natural) table cells?

2004-02-13 Thread Willi Egger
Hi Stefan,

May be not quit logic, but when replacing the bottom by low you get 
the desired result.

Kind regards

Willi

Stefan Wachter wrote:

Hi all!

I try to set a simple table that show the different horizontal and 
vertical alignment capabilities (see below):

horizontal: left, middle, right
vertical: top(?), lohi, bottom(?)
Yet, the bottom alignment does not work. The texts in the third column 
that should be placed at the bottom appear at the top of their cell.

Does anyone know how bottom alignment in table cells can be accomplished?

Many thanks for your attention.
--Stefan
\bTABLE[width=3cm,height=3cm]
\bTABLEbody
\bTR
\bTD[align={right,top}] top \eTD
\bTD[align={right,lohi}] middle \eTD
\bTD[align={right,bottom}] bottom \eTD
\eTR
\bTR
\bTD[align={middle,top}] top \eTD
\bTD[align={middle,lohi}] middle \eTD
\bTD[align={middle,bottom}] bottom \eTD
\eTR
\bTR
\bTD[align={left,top}] top \eTD
\bTD[align={left,lohi}] middle \eTD
\bTD[align={left,bottom}] bottom \eTD
\eTR
\eTABLEbody
\eTABLE
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] proportional column widths in natural tables?

2004-02-13 Thread Willi Egger
Hi Stefan

sorry for sending an answer to your previous mail as reply to this one

You can determin columnwidths by saying width=.3\textwidth or 
width=.3\makeupwidth or even though less ConTeXty width=.3\hsize

Wheter to use \textwidth or \makeupwidth depends on the context where 
your table is placed.

Kind regards
Willi
Stefan Wachter wrote:

Hi all!

Is there a possibility to specify proportional column widths when using 
natural tables?

E.g. If i want to set column 1 and 2 to have 2/7 and column 3 3/7 of the 
available broadth.

\setupTABLE[column][1][width=2*]
\setupTABLE[column][2][width=2*]
\setupTABLE[column][3][width=3*]
Thanks for your attention,
--Stefan
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context