ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Problem with math item in table of contents
Date: Tue, 05 Aug 2003 22:52:46 +0200	[thread overview]
Message-ID: <5.2.0.9.1.20030805225159.019b1e48@server-1.pragma-net.nl> (raw)
In-Reply-To: <Pine.LNX.4.44.0308011540180.2341-100000@g25.physik.fu-berl in.de>

At 15:41 01/08/2003 +0200, you wrote:
>Hi,
>
>I would like to use this:
>
>\completecontent
>\chapter{$a|b$}
>\bye
>
>the problem is that the bar "|" causes problems in the table of contents.
>Any ideas how I can still have it in the table?

either patch supp-lan:

   \def\fakecompoundhyphen
     {\def\|{\mathortext\vert\dofakecompoundhyphen}}

   \def\dofakecompoundhyphen
     {\def##1|%
        {\doifelsenothing{##1}{\compoundhyphen}{##1}%
         \kern\compoundbreakpoint\allowbreak}}


or use $a\vert b$ instead

interesting how long it takes for such a bug to show up

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       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
-------------------------------------------------------------------------

       reply	other threads:[~2003-08-05 20:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.44.0308011540180.2341-100000@g25.physik.fu-berl in.de>
2003-08-05 20:52 ` Hans Hagen [this message]
2003-08-01 13:41 Tobias Burnus
2003-08-01 15:01 ` Sebastian Rooks
2003-08-01 15:32   ` Tobias Burnus

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=5.2.0.9.1.20030805225159.019b1e48@server-1.pragma-net.nl \
    --to=pragma@wxs.nl \
    --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).