summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-04-09 13:27:31 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-04-09 13:27:31 (GMT)
commit496ebe413b20d406ef4a3b6b2a5966461c30af6c (patch)
tree2e95fa9dc6c56fa4c04f0862390d55c1cecd83e1
parent66a728cdcf50baeef45f78a1180c5ce86fe734af (diff)
downloadDoxygen-496ebe413b20d406ef4a3b6b2a5966461c30af6c.zip
Doxygen-496ebe413b20d406ef4a3b6b2a5966461c30af6c.tar.gz
Doxygen-496ebe413b20d406ef4a3b6b2a5966461c30af6c.tar.bz2
Improvement LaTeX output (Regression)
1) Build error: Unexpected token 'semic' on the line 50 in '/home/travis/build/doxygen/doxygen/build/src/translator.h'. status = 2 in collectPureVirtualPrototypes() Due to a discrepancy what translator.py expects and is in the actual code. In the actual code a (not required) ; was present after the closing } of the routine. 2) Unknown command \cpdflatex
-rw-r--r--src/config.xml2
-rw-r--r--src/translator.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/config.xml b/src/config.xml
index 8d897a5..d4c8c4a 100644
--- a/src/config.xml
+++ b/src/config.xml
@@ -2538,7 +2538,7 @@ EXTRA_SEARCH_MAPPINGS = tagname1=loc1 tagname2=loc2 ...
<![CDATA[
The \c LATEX_CMD_NAME tag can be used to specify the \f$\mbox{\LaTeX}\f$ command name to be invoked.
<br>Note that when not enabling \ref cfg_use_pdflatex "USE_PDFLATEX" the default is \c latex when
- enabling \ref cfg_use_pdflatex "USE_PDFLATEX" the default is \cpdflatex and when in the later case
+ enabling \ref cfg_use_pdflatex "USE_PDFLATEX" the default is \c pdflatex and when in the later case
\c latex is chosen this is overwritten by \c pdflatex. For specific output languages the default can
have been set differently, this depends on the implementation of the output language.
]]>
diff --git a/src/translator.h b/src/translator.h
index 0f94ed0..2c15c81 100644
--- a/src/translator.h
+++ b/src/translator.h
@@ -47,17 +47,17 @@ class Translator
* this routine. In case no font encoding is required the empty string
* can be returned.
*/
- virtual QCString latexFontenc() { return "T1"; };
+ virtual QCString latexFontenc() { return "T1"; }
/*!
* Sets the commands to be insered directly after the `\\begin{document}`
* in the LaTeX document.
*/
- virtual QCString latexDocumentPre() { return ""; };
+ virtual QCString latexDocumentPre() { return ""; }
/*!
* Sets the commands to be insered directly before the `\\end{document}`
* in the LaTeX document.
*/
- virtual QCString latexDocumentPost() { return ""; };
+ virtual QCString latexDocumentPost() { return ""; }
/*!
* Set the name to be used as latex command.
*/