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
a8dc1a84
Commit
a8dc1a84
authored
Oct 21, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #239 from albert-github/feature/bug_738548
Bug 738548 - latex: dead links to source code
parents
0f100cab
b68a4abc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
filedef.cpp
src/filedef.cpp
+9
-0
No files found.
src/filedef.cpp
View file @
a8dc1a84
...
...
@@ -327,6 +327,13 @@ void FileDef::writeDetailedDescription(OutputList &ol,const QCString &title)
//printf("Writing source ref for file %s\n",name().data());
if
(
Config_getBool
(
"SOURCE_BROWSER"
))
{
//if Latex enabled and LATEX_SOURCE_CODE isn't -> skip, bug_738548
ol
.
pushGeneratorState
();
if
(
ol
.
isEnabled
(
OutputGenerator
::
Latex
)
&&
!
Config_getBool
(
"LATEX_SOURCE_CODE"
))
{
ol
.
disable
(
OutputGenerator
::
Latex
);
}
ol
.
startParagraph
();
QCString
refText
=
theTranslator
->
trDefinedInSourceFile
();
int
fileMarkerPos
=
refText
.
find
(
"@0"
);
...
...
@@ -339,6 +346,8 @@ void FileDef::writeDetailedDescription(OutputList &ol,const QCString &title)
refText
.
length
()
-
fileMarkerPos
-
2
));
// text right from marker 2
}
ol
.
endParagraph
();
//Restore settings, bug_738548
ol
.
popGeneratorState
();
}
ol
.
endTextBlock
();
}
...
...
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