[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-texinfo] Problem with including file in texinfo
From: |
Karl Berry |
Subject: |
Re: [help-texinfo] Problem with including file in texinfo |
Date: |
Thu, 18 Dec 2003 18:00:43 -0500 |
Now, how can I include such a file into a texinfo-source, in a way that
The easiest way is to use @set and @value. For instance, version.texi
could contain:
@set version 0.0.2
@set releasedate Whenever, 2004
And then your main document could say:
@include version.texi
...
This is for version @value{version}, released @value{releasedate}.
For an example, see:
http://www.gnu.org/software/texinfo/manual/texinfo/html_node/GNU-Sample-Texts.html
(That example is much longer, it includes all the boilerplate for GNU
manuals, but you can see the version.texi stuff there.)
Hope this helps,
karl