summaryrefslogtreecommitdiffstats
path: root/src/docparser.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-03-27 20:22:11 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-03-27 20:22:11 (GMT)
commit1134237afe25f86fcf7c7e2a76a3542eee8acc79 (patch)
tree61693e55d7d19def20499b7a62795028b86f82d4 /src/docparser.cpp
parent904ad3fbdc5e1615fdb052ba8562fc9b1329cd81 (diff)
downloadDoxygen-1134237afe25f86fcf7c7e2a76a3542eee8acc79.zip
Doxygen-1134237afe25f86fcf7c7e2a76a3542eee8acc79.tar.gz
Doxygen-1134237afe25f86fcf7c7e2a76a3542eee8acc79.tar.bz2
Added \latexinclude command (thanks to Juan Zaratiegui for the patch)
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r--src/docparser.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp
index 927b3ee..8465039 100644
--- a/src/docparser.cpp
+++ b/src/docparser.cpp
@@ -1777,6 +1777,9 @@ void DocInclude::parse()
case HtmlInclude:
readTextFileByName(m_file,m_text);
break;
+ case LatexInclude:
+ readTextFileByName(m_file,m_text);
+ break;
case Snippet:
readTextFileByName(m_file,m_text);
// check here for the existence of the blockId inside the file, so we
@@ -5628,6 +5631,9 @@ int DocPara::handleCommand(const QCString &cmdName)
case CMD_HTMLINCLUDE:
handleInclude(cmdName,DocInclude::HtmlInclude);
break;
+ case CMD_LATEXINCLUDE:
+ handleInclude(cmdName,DocInclude::LatexInclude);
+ break;
case CMD_VERBINCLUDE:
handleInclude(cmdName,DocInclude::VerbInclude);
break;