[OS X TeX] Only referencing once

Serge Cohen cohen at embl-grenoble.fr
Thu Jun 27 10:48:28 EDT 2002



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi;

I'm looking for a package (or a macro command) to have the following 
capability:

I have command which I used throught my PhD to typeset standard words 
(like program names), so that they will be always typed the same, and 
referenced in the index. On top of that I would like that a 
bibliographic reference be added the FIRST time the program name appear 
in the document. The best for me would be to have a command used this 
way:

\newcommand{\Foo}{\firt{{Foo \index{Foo} \cite{foo:program}},{Foo 
\index{Foo}}}}

Or eventually giving one more argument, giving a name for the variable 
(counter, boolean???) holding the number of time the command appeared.

Thanks for any info/help.

Serge.

- ----------------------------------------------------
Serge Cohen

GPG Key ID: 1024D/69B1D346
- ----------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org

iD8DBQE9GyXFMygj1Wmx00YRAuWKAJ901R5GD5Lk8H+NbLTAwGb3hcILKgCaAu0e
Dy2Z413KxfRbGSsuaxhcJSw=
=vzG3
-----END PGP SIGNATURE-----


-----------------------------------------------------------------
Threaded list archives can be found at:
<http://www.masda.vxu.se/~pku/MacOSX_TeX/>
-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
-----------------------------------------------------------------




More information about the MacOSX-TeX mailing list