summaryrefslogtreecommitdiffstats
path: root/testing
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 /testing
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 'testing')
-rw-r--r--testing/056/indexpage.xml11
-rw-r--r--testing/056_latexinclude.dox8
-rw-r--r--testing/sample.tex1
3 files changed, 20 insertions, 0 deletions
diff --git a/testing/056/indexpage.xml b/testing/056/indexpage.xml
new file mode 100644
index 0000000..8376a74
--- /dev/null
+++ b/testing/056/indexpage.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="">
+ <compounddef id="indexpage" kind="page">
+ <compoundname>index</compoundname>
+ <title>My Project</title>
+ <detaileddescription>
+ <para>Some text. <latexonly>\section{Hello world}
+</latexonly> More text. </para>
+ </detaileddescription>
+ </compounddef>
+</doxygen>
diff --git a/testing/056_latexinclude.dox b/testing/056_latexinclude.dox
new file mode 100644
index 0000000..6a8052a
--- /dev/null
+++ b/testing/056_latexinclude.dox
@@ -0,0 +1,8 @@
+// objective: test the \latexinclude command
+// check: indexpage.xml
+// config: EXAMPLE_PATH = .
+/** \mainpage
+ * Some text.
+ * \latexinclude sample.tex
+ * More text.
+ */
diff --git a/testing/sample.tex b/testing/sample.tex
new file mode 100644
index 0000000..9a1717e
--- /dev/null
+++ b/testing/sample.tex
@@ -0,0 +1 @@
+\section{Hello world}