On 22-3-2010 16:00, Aditya Mahajan wrote:
On Mon, 22 Mar 2010, Hans van der Meer wrote:
This program:
\setupbodyfont[lmodern]
\starttext
\type{$\lbrace$} <$\lbrace$>\crlf
\type{$\lbrack$} <$\lbrack$>\crlf
\stoptext
This does typeset a left brace but chokes on \lbrack.
I took my copy of the TeX Book and find \brack as one of the defined
delimiters in chapter 17. How come?
ConTeXt ver: 2010.03.20 22:59 MKIV fmt: 2010.3.21 int: english/english
fonts : preloading latin modern fonts
bodyfont : 12pt rm is loaded
language : language en is active
systems : begin file test.tex at line 2
! Undefined control sequence.
<recently read> \lbrack
l.4 \type{$\lbrack$} <$\lbrack
$>\crlf
?
For some reason it is defined as \lbracket in MkIV and undefined in
MkII. Does anyone use \lbracket? If not, we can change it to \lbrack.
Otherwise, we can also have both \lbrack and \lbracket defined.
Any thoughts?
i'll change it to lbrack + rbrack ... indeed we should use mml names in
char-def and then have a list of equivalents but it has a low priority
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________