summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2016-05-23 17:28:12 (GMT)
committeralbert-github <albert.tests@gmail.com>2016-05-23 17:28:12 (GMT)
commit61919f5483c717370742f2d238dcac88695d1990 (patch)
treec9ed107c484ae7aeb4c6ca65aa9b864f814c55e8
parentf96cb4bae6b8267c90b8b8c74f25f516b75cc2aa (diff)
downloadDoxygen-61919f5483c717370742f2d238dcac88695d1990.zip
Doxygen-61919f5483c717370742f2d238dcac88695d1990.tar.gz
Doxygen-61919f5483c717370742f2d238dcac88695d1990.tar.bz2
Bug 766787 - HTML Tables with 10+ columns are broken for LaTeX based output
Added {} around number of columns (was present for tabularx but not for longtabu tables)
-rw-r--r--src/latexdocvisitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/latexdocvisitor.cpp b/src/latexdocvisitor.cpp
index 184511f..4a98c77 100644
--- a/src/latexdocvisitor.cpp
+++ b/src/latexdocvisitor.cpp
@@ -908,7 +908,7 @@ static void writeStartTableCommand(FTextStream &t,const DocNode *n,int cols)
}
else
{
- t << "\\tabulinesep=1mm\n\\begin{longtabu} spread 0pt [c]{*" << cols << "{|X[-1]}|}\n";
+ t << "\\tabulinesep=1mm\n\\begin{longtabu} spread 0pt [c]{*{" << cols << "}{|X[-1]}|}\n";
}
//return isNested ? "TabularNC" : "TabularC";
}