Re: [NTG-context] Problem with math item in table of contents

2003-08-14 Thread Hans Hagen
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 | [EMAIL PROTECTED]
  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] Problem with math item in table of contents

2003-08-01 Thread Tobias Burnus
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?

Tobias

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


Re: [NTG-context] Problem with math item in table of contents

2003-08-01 Thread Sebastian Rooks
Tobias Burnus wrote:

Hi,
what about \chapter{a\vert b} ?
 Seb.

PS: Did you get any answer for this one of your previous question :

Hello all,

(repost)

I have the following problem:
Using
 \setuppagenumbering[location={footer,right}]
 \startbodymatter
 \chapter{Hi}
 \stopbodymatter
I always get 3 pages, but I want to have two: The recto with Hi and its
verso, I don't want to have an extra recto!
Tobias
I would be pleased to know how to get rid of this extra page.

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


Re: [NTG-context] Problem with math item in table of contents

2003-08-01 Thread Tobias Burnus
Hello Sebastian,

On Fri, 1 Aug 2003, Sebastian Rooks wrote:
 what about \chapter{a\vert b} ?
Good idea, I only remembered \mid which is something like '\,|\,'.
(I need to find my texbook, someone seems to have borrowed it.)

 PS: Did you get any answer for this one of your previous question :
[startbodymatter + alternative=doublesided gives odd number of pages]

No, unfortunally not.

 I would be pleased to know how to get rid of this extra page.
So do I ;-)

Tobias

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