diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2010-03-24 20:39:59 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2010-03-24 20:39:59 (GMT) |
commit | eb1cb68e11a3b24222a49ed254f8f7aea2f73bae (patch) | |
tree | 1e47a4443afb2ec61f032669050ee1b8834baa8d /src/latexdocvisitor.cpp | |
parent | cd19d7a220915d1f637e0a0a5b2d05d5750f5db0 (diff) | |
download | Doxygen-eb1cb68e11a3b24222a49ed254f8f7aea2f73bae.zip Doxygen-eb1cb68e11a3b24222a49ed254f8f7aea2f73bae.tar.gz Doxygen-eb1cb68e11a3b24222a49ed254f8f7aea2f73bae.tar.bz2 |
Release-1.6.3-20100324
Diffstat (limited to 'src/latexdocvisitor.cpp')
-rw-r--r-- | src/latexdocvisitor.cpp | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/latexdocvisitor.cpp b/src/latexdocvisitor.cpp index 7a33288..d6d4437 100644 --- a/src/latexdocvisitor.cpp +++ b/src/latexdocvisitor.cpp @@ -1360,20 +1360,17 @@ void LatexDocVisitor::endDotFile(bool hasCaption) void LatexDocVisitor::writeMscFile(const QString &baseName) { + QString shortName = baseName; + int i; + if ((i=shortName.findRev('/'))!=-1) + { + shortName=shortName.right(shortName.length()-i-1); + } QString outDir = Config_getString("LATEX_OUTPUT"); writeMscGraphFromFile(baseName,outDir,baseName,MSC_EPS); m_t << "\n\\begin{DoxyImageNoCaption}" " \\mbox{\\includegraphics"; - //if (!width.isEmpty()) - //{ - // m_t << "[width=" << width << "]"; - //} - //else if (!height.isEmpty()) - //{ - // m_t << "[height=" << height << "]"; - //} - m_t << "{" << baseName << "}"; - + m_t << "{" << shortName << "}"; m_t << "}\n"; // end mbox m_t << "\\end{DoxyImageNoCaption}\n"; } |