Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
bb5a773c
Commit
bb5a773c
authored
Apr 21, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #157 from albert-github/feature/bug_172072
Bug 172072 - $title doesn't work in LateX header
parents
c5bd23ce
790000b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
config.xml
src/config.xml
+7
-5
latexgen.cpp
src/latexgen.cpp
+2
-2
No files found.
src/config.xml
View file @
bb5a773c
...
...
@@ -2506,11 +2506,10 @@ EXTRA_PACKAGES=times
The following commands have a special meaning inside the header:
<code>
\$title
</code>
,
<code>
\$datetime
</code>
,
<code>
\$date
</code>
,
<code>
\$doxygenversion
</code>
,
<code>
\$projectname
</code>
,
<code>
\$projectnumber
</code>
.
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 \ref cfg_project_name "PROJECT_NAME"), or the
project number (see \ref cfg_project_number "PROJECT_NUMBER").
<code>
\$projectnumber
</code>
,
<code>
\$projectbrief
</code>
,
<code>
\$projectlogo
</code>
.
Doxygen will replace
<code>
\$title
</code>
with the empy string, for the replacement values of the
other commands the user is refered to \ref cfg_html_header "HTML_HEADER".
]]>
</docs>
</option>
...
...
@@ -2521,6 +2520,9 @@ EXTRA_PACKAGES=times
the generated \f$\mbox{\LaTeX}\f$ document. The footer should contain everything after
the last chapter. If it is left blank doxygen will generate a
standard footer.
See \ref cfg_latex_header "LATEX_HEADER" for more information on
how to generate a default footer and what special commands can be
used inside the footer.
<br>
Note: Only use a user-defined footer if you know what you are doing!
]]>
...
...
src/latexgen.cpp
View file @
bb5a773c
...
...
@@ -623,7 +623,7 @@ void LatexGenerator::startIndexSection(IndexSections is)
else
{
QCString
header
=
fileToString
(
latexHeader
);
t
<<
substituteKeywords
(
header
,
0
,
t
<<
substituteKeywords
(
header
,
""
,
convertToLaTeX
(
Config_getString
(
"PROJECT_NAME"
)),
convertToLaTeX
(
Config_getString
(
"PROJECT_NUMBER"
)),
convertToLaTeX
(
Config_getString
(
"PROJECT_BRIEF"
)));
...
...
@@ -1021,7 +1021,7 @@ void LatexGenerator::endIndexSection(IndexSections is)
else
{
QCString
footer
=
fileToString
(
latexFooter
);
t
<<
substituteKeywords
(
footer
,
0
,
t
<<
substituteKeywords
(
footer
,
""
,
convertToLaTeX
(
Config_getString
(
"PROJECT_NAME"
)),
convertToLaTeX
(
Config_getString
(
"PROJECT_NUMBER"
)),
convertToLaTeX
(
Config_getString
(
"PROJECT_BRIEF"
)));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment