ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Unexpected side effects when using \cap in custom headings
@ 2000-11-14 12:19 Berend de Boer
  2000-11-14 13:50 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Berend de Boer @ 2000-11-14 12:19 UTC (permalink / raw)


Hello All,

I think I've found a bug. If you use \cap in a custom heading, the
reference is also capitalized. As you will see the reference [sec:test]
will not be found.

------------------------
% interface=en

\setupbodyfont
  [ber,pos,ss]

% capitalize headings
\def\myhead#1#2%
  {\cap{#2}}

\setuphead
  [chapter]
  [command=\myhead]

\starttext

\chapter[sec:test]{Test}

\input tufte.tex

See \in{chapter}[sec:test] or \in{chapter}[SEC:TEST].

\stoptext
------------------------

I think I'm using the latest beta (oct 3).

Groetjes,

Berend. (-:


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-11-14 15:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-14 12:19 Unexpected side effects when using \cap in custom headings Berend de Boer
2000-11-14 13:50 ` Hans Hagen
2000-11-14 15:05   ` Berend de Boer
2000-11-14 15:51     ` Hans Hagen

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).