Re: [NTG-context] Uppercase headings
\setuphead[title] [deeptextcommand=\WORD]
Does that work?
It does, it does!!!! You just saved my night. Can I send you a pint of beer somewhere? --- I tried finding more information about deeptextcommand, but all I found was a brief comment about deep hooks in the release notes (19-Jan-06). I can write something about this into Wiki, but that requires me to understand a bit more. Where do I start looking for? Thanks again, - Ville
Ville Voipio wrote:
\setuphead[title] [deeptextcommand=\WORD]
Does that work?
It does, it does!!!!
You just saved my night. Can I send you a pint of beer somewhere?
---
I tried finding more information about deeptextcommand, but all I found was a brief comment about deep hooks in the release notes (19-Jan-06). I can write something about this into Wiki, but that requires me to understand a bit more. Where do I start looking for?
the source -) the problem with the non-deep command is that it gets more than just text fed ... like the fontswitch, color, etc; if that info is subjected to uppercasing, strange side effects may appear; the deep command acts upon the text itself please, wikify this 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 -----------------------------------------------------------------
Ville Voipio wrote:
\setuphead[title] [deeptextcommand=\WORD]
Does that work?
It does, it does!!!!
You just saved my night. Can I send you a pint of beer somewhere?
---
I tried finding more information about deeptextcommand, but all I found was a brief comment about deep hooks in the release notes (19-Jan-06). I can write something about this into Wiki, but that requires me to understand a bit more. Where do I start looking for?
Don't do this if you don't want to get a nightmare ... \def\ShowTwoArguments#1#2% {\showargument{#1}% \showargument{#2}} \setuphead[chapter][command=\ShowTwoArguments] \chapter{test} ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Ville Voipio