logo       

Re: How: refer to project-name and -number: msg#00042

text.doxygen.general

Subject: Re: How: refer to project-name and -number

On Wed, 2003-02-12 at 00:40, Christoph Dohmen wrote:
> Hi,
>
> I had read about it, but I can't remember where :-((
> How do i refere to the PROJECT_NAME and PROJECT_NUMBER insight the
> source-code? A kind of special variable?!
Have a look at the documentation for LATEX_HEADER:

"...The following commands have a special meaning inside the header:
$title, $datetime, $date, $doxygenversion, $projectname, $projectnumber.
Doxygen will replace them by respectively the title of the page, the
current date and time, only the current date, the version number of
doxygen, the project name (see PROJECT NAME), or the project number (see
PROJECT NUMBER)."

This is how you use it in headers and footers (not only latex), so long
as you've set PROJECT_NAME and PROJECT_NUMBER. As for code, I'm not
sure that there is an inbuilt way to do it. You could use ALIASES or a
prefilter though.

HTH,
--
Iain Buchanan <iain@xxxxxxxxxxxxxxxxxxx>
Steele's Law:
There exist tasks which cannot be done by more than ten men
or fewer than one hundred.

Attachment: signature.asc
Description: This is a digitally signed message part

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise