From 496ebe413b20d406ef4a3b6b2a5966461c30af6c Mon Sep 17 00:00:00 2001 From: albert-github Date: Mon, 9 Apr 2018 15:27:31 +0200 Subject: 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 --- src/config.xml | 2 +- src/translator.h | 6 +++--- 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 ... 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. */ -- cgit v0.12