🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #71988

texinfo -- can one define macros?

#71988
From: Dan Kelley
Date: Sun, 03 May 1992 01:25
22 lines
1525 bytes
I have a texinfo document in which I refer repeatedly to the version
number of the software being described.  Is there a way I can store
the version number in some kind of macro that both TeX and "info" will
understand?  I'd like to avoid having to manually search/replace for
the version number each time I update the program.  I reckon I can do
this for the TeX part fairly easily (with a \def{} command), but I'd
like a "@" mechanism that would affect both the TeX and "info" output
from the texinfo file.

Thanks for any email tips on this, and apologies if this is the wrong
group ... I spend a while scanning my .newsrc file, and this looked
like the most likely.






-- 
Dan Kelley, Oceanography Department   |  kelley@cs.dal.ca
Dalhousie University                  |  {uunet watmath}!dalcs!kelley
Halifax, Nova Scotia, CANADA, B3H 4J1 |  (902) 494-1694
Technical Details
Message-ID: <1992May3.012548.1431@cs.dal.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!news-server.csri.toronto.edu!utgpu!csd.unb.ca!morgan.ucs.mun.ca!nstn.ns.ca!cs.dal.ca!kelley

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,40267f1759a621c2,start
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1992-05-02 18:25:48 PST
Newsgroups: gnu.misc.discuss
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!news-server.csri.toronto.edu!utgpu!csd.unb.ca!morgan.ucs.mun.ca!nstn.ns.ca!cs.dal.ca!kelley
From: kelley@cs.dal.ca (Dan Kelley)
Subject: texinfo -- can one define macros?
Message-ID: <1992May3.012548.1431@cs.dal.ca>
Keywords: texinfo 
Organization: Oceanography, Dalhousie University, Halifax, NS, Canada
Distribution: na
Date: Sun, 3 May 92 01:25:48 GMT
Lines: 22