ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: mkiv math delimiters and <|>
Date: Sat, 14 Nov 2009 17:21:12 -0500	[thread overview]
Message-ID: <9ab866900911141421w35b23851t6a66c4567f6a8f92@mail.gmail.com> (raw)
In-Reply-To: <6faad9f00911130103u518335a0laf9b02b1bd14c34d@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1405 bytes --]

On Fri, Nov 13, 2009 at 4:03 AM, Mojca Miklavec <
mojca.miklavec.lists@gmail.com> wrote:

> Hello,
>
> I have tried to compile an old document (written in mkii times). Among
> other problems that I yet need to isolate, the following minimal
> example doesn't want to compile: $\bigl| x \bigr>$ since <|> aren't
> recognized as candidates for delimiters. There is a workaround of
> course (using \langle, \rangle, ... instead of <>), but the three
> characters are just way too handy to use.
>

| works fine here. < and > don't. I did not know that \left< is equivalent
to \left\langle even in plain tex.

I suppose that the behaviour in mkii comes from these lines:
>
> \definemathcharacter [<]   [nothing] [sy] ["68] [ex] ["0A]
> \definemathcharacter [>]   [nothing] [sy] ["69] [ex] ["0B]
>

I guess mkii is imitating plain tex here. (Though, I could not find how this
is happening in plain tex)


> But I'm not sure where mkiv could be changed.
>

I don't know how to do this. < should behave like a rel without a \left, and
like a delimited with \left.


> I have tried to use
>  adobename="greater",
>  ...
>  mathspec={
>   { class="binary", name="gt" },
>   { class="close", name="rbrace" },
>  },
> but without any success.
>

rbrace!!. Probabably you want rangle. You can change the order of the two,
and then > will map to rangle, but you will have to use \gt to get the
relation symbol.

Aditya

[-- Attachment #1.2: Type: text/html, Size: 2337 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2009-11-14 22:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-13  9:03 Mojca Miklavec
2009-11-14 22:21 ` Aditya Mahajan [this message]
2009-11-15  6:06   ` Taco Hoekwater
2009-11-15  6:51     ` Aditya Mahajan
2009-11-15  7:11       ` Taco Hoekwater
2009-11-15  7:37         ` Aditya Mahajan
2009-11-15  7:40           ` Taco Hoekwater
2009-11-15 17:26             ` Hans Hagen
2009-11-15 17:25           ` 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=9ab866900911141421w35b23851t6a66c4567f6a8f92@mail.gmail.com \
    --to=adityam@umich.edu \
    --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).