Received: by nummer-3.proteosys id <01C19443.487F31BC@nummer-3.proteosys>; Thu, 3 Jan 2002 11:42:04 +0100 MIME-Version: 1.0 x-vm-v5-data: ([nil nil nil nil nil nil nil t nil][nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil]) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C19443.487F31BC" X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Subject: Re: \verbosity parameter Date: Wed, 18 Sep 1991 01:00:00 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: Sender: "LaTeX-L Mailing list" To: "Rainer M. Schoepf" Reply-To: "LaTeX-L Mailing list" Status: R X-Status: X-Keywords: X-UID: 394 This is a multi-part message in MIME format. ------_=_NextPart_001_01C19443.487F31BC Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I doubt that this message will reach the world but what the heck. Michael's idea for a \verbosity paramter is not bad. I've been experimenting with something similar myself for my Lollipop package, the workings of which are occasionally (meaning too frequently for my taste) a mystery to me. In the end what I did was implement a command \Trace, that I wanted to give a numeric parameter at first (cf Michael's suggestion), but I settled for a `verbose' parameter: \Trace:yes traces everything \Trace:no switches off all traces \Trace:output traces the workings of the output routine \Trace:fonts reports when fonts are loaded (this is much more necessary than you think, if you have a complicated font selection scheme!) et cetera. These commands selectively trigger the execution of \Tmessage (trace message) comands in the macros: the commands have optional parameters, for instance \Tmessage[fonts], to determine under what trace mode they should execute. So far I've been pretty happy with this scheme. Victor Eijkhout Center for Supercomputing Research and Development University of Illinois at Urbana-Champaign 305 Talbot Laboratory phone: +1 217 244-0047 (office) 104 South Wright Street +1 217 356-0876 (home) Urbana, Illinois 61801-2932, USA fax: +1 217 244-1351 home: 2503 W. Springfield Av, Apt. K-4, Champaign 61821, USA ------_=_NextPart_001_01C19443.487F31BC Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: \verbosity parameter

I doubt that this message will reach the world but = what the heck.

Michael's idea for a \verbosity paramter is not = bad.
I've been experimenting with something similar = myself
for my Lollipop package, the workings of which are = occasionally
(meaning too frequently for my taste) a mystery to = me.

In the end what I did was implement a command
\Trace, that I wanted to give a numeric parameter at = first
(cf Michael's suggestion), but I settled for a = `verbose' parameter:
\Trace:yes traces everything
\Trace:no switches off all traces
\Trace:output traces the workings of the output = routine
\Trace:fonts reports when fonts are loaded (this is = much more
 necessary than you think, if you have a = complicated font
 selection scheme!)
et cetera.

These commands selectively trigger the execution = of
\Tmessage (trace message) comands in the = macros:
the commands have optional parameters, for = instance
\Tmessage[fonts], to determine under what trace = mode
they should execute.

So far I've been pretty happy with this scheme.

Victor Eijkhout
 Center for Supercomputing Research and = Development
 University of Illinois at = Urbana-Champaign
 305 Talbot = Laboratory          &nb= sp;      phone: +1 217 244-0047 (office)
 104 South Wright = Street           &= nbsp;          +1 217 = 356-0876 (home)
 Urbana, Illinois 61801-2932, = USA        fax: +1 217 = 244-1351

home: 2503 W. Springfield Av, Apt. K-4, Champaign = 61821, USA




------_=_NextPart_001_01C19443.487F31BC--