From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/709 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: bug fix Date: Tue, 17 Aug 1999 21:33:41 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <37B9B915.BA7D8BBD@wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035391554 26362 80.91.224.250 (23 Oct 2002 16:45:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:45:54 +0000 (UTC) Original-To: NTG-CONTEXT Xref: main.gmane.org gmane.comp.tex.context:709 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:709 Those encountering problems with buttons with [] in the text argument should change in cont-new.tex: \def\dodocomplexbutton#1[#2]#3[#4]% #3 can contain [] -> {#3} later {\bgroup \doifvalue{#1\c!status}{\v!stop}{\locationfalse}% \iflocation \resetgoto \ConvertConstantAfter\doifelse{#3}{\v!geen}{\hphantom}{\hbox} {\doifelsenothing{#4} {\setlocationboxnop#1[#2]{#3}[#4]} {\doifreferencefoundelse{#4} {\setlocationboxyes#1[#2]{#3}[#4]} {\unknownreference{#4}% \setlocationboxnop#1[#2]{#3}[#4]}}}% \fi \egroup} (BTW, buttons now also honor the samepage and unknown reference settings as found in menus) 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.nl -----------------------------------------------------------------