summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix for broken LaTeX output.Dimitri van Heesch2020-09-271-2/+2
| | | | | | Fixes error: "\begin{DoxyCodeInclude} on input line 93 ended by \end{DoxyCode}" while generating the LaTeX version of the manual
* Refactoring: prepare output generators for multi-threaded useDimitri van Heesch2020-09-271-47/+50
|
* Fix for Windows buildDimitri van Heesch2020-08-251-1/+2
|
* Refactoring: OutputList & OutputGenDimitri van Heesch2020-08-241-48/+52
| | | | | | | | | | | | | | - Initialized member variables inside the class - Added copy & assign operators for OutputGenerator and Derived classes. - throw a runtime exception when OutputGenerator is copied while is file is still in progress. - Added clone method to make a copy of OutputList. - Moved the implementation of enable() & disable() and friend into OutputGen instead of having the same implementation in each derived class. - Made m_dir and m_fileName readonly (members dir() and fileName()) - Removed call to new while adding generators to OutputList - Replaced QStack by std::stack for the "enabled" state.
* Number of translatable terms (like Chapter) are in English instead of Greek ↵albert-github2020-06-131-4/+6
| | | | | | | | | | | | | | | | | | | (#7841) * Number of translatable terms (like Chapter) are in English instead of Greek When running tests in Greek OUTPUT_LANGUAGE mode for LaTeX a number of terms like Chapter were still in English instead of Greek. Some used references: https://tex.stackexchange.com/questions/548584/ascii-text-set-in-greek-script-when-using-usepackagegreekbabel https://tex.stackexchange.com/questions/548761/missing-characters-in-output-due-to-renewcommand-familydefault-sfdefault https://tex.stackexchange.com/questions/58624/variables-for-hiding-or-showing-text-in-latex * Number of translatable terms (like Chapter) are in English instead of Greek - adding the possibilities for mono spaced font (for code parts) - creating a more flexible way to change fonts for different languages See also discussion at https://tex.stackexchange.com/questions/548901/missing-characters-in-greek-output-due-to-ttfamily
* Refactor: modernize configuration valuesDimitri van Heesch2020-06-041-5/+5
|
* Replaced FileNameDict/FileNameList by FileNameLinkedMapDimitri van Heesch2020-04-061-106/+98
|
* Doxygen version information (#7645)albert-github2020-03-171-4/+4
| | | | | - add doxygen version to rtf, comment, output - remove duplicate code (getFullVersion) - more clear name to get doxygen version (getVersion becomes getrDoxygenVersion). Also to overcomecofusion with the version information for files.
* Remove dead code and fix more warningsDimitri van Heesch2020-03-081-5/+5
|
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-2/+2
|
* Merge branch 'sections'Dimitri van Heesch2020-02-211-12/+12
|\
| * Restructure section handlingDimitri van Heesch2020-02-211-12/+12
| |
* | Fixed error in Windows buildDimitri van Heesch2020-02-161-1/+1
|/
* Restructure citation handlingDimitri van Heesch2020-02-161-2/+2
|
* Possibility to use gswin64c on Windowsalbert-github2020-01-071-0/+1
| | | | include file was missing
* Possibility to use gswin64c on Windowsalbert-github2020-01-071-1/+2
| | | | | On windows the 32 bit executable is called gswin32c, but for the 64-bit systems also a gswin64c exists. The path is checked for the existing of these executables (with a preference for the 32 bit version).
* Minor fixesDimitri van Heesch2019-12-251-43/+43
| | | | | Avoid code duplication by adding function addHtmlExtensionIfMissing() and avoid member shadowing by using 'm_' prefix for member variables
* Merge pull request #7230 from albert-github/feature/bug_formula_macrofileDimitri van Heesch2019-12-251-0/+10
|\ | | | | Create possibility to define LaTeX commands for formulas
| * Create possibility to define LaTeX commands for formulasalbert-github2019-08-271-0/+10
| | | | | | | | | | | | To be able to have building bocks for formulas one can create a `\newcommand` (or when one wants to change a command `\renewcommand`). Due to the different handling of LaTeX commands in pure LaTeX code (latex output and formulas converted to images) and MathJax it is necessary to transform LaTeX commands to the MathJax equivalent. This is done in a transparent way by providing the new commands in a file and add this verbatim to the pure LaTeX code and to translate the `\newcommand` and `\renewcomamnd` to MathJax macros.
* | Merge branch 'master' into spellingDimitri van Heesch2019-12-231-6/+8
|\ \
| * | Removed exitCode parameter as it is always 1Dimitri van Heesch2019-12-221-3/+3
| | |
| * | Merge branch 'feature/bug_terminate' of ↵Dimitri van Heesch2019-12-221-6/+3
| |\ \ | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_terminate
| | * | Better termination messagealbert-github2019-11-221-6/+3
| | | | | | | | | | | | | | | | | | | | In case a `WARN_LOGFILE` is used it in this file no clear whether doxygen finished correctly or exited beforehand in case a fatal error. Now a 'Exiting...' is also given in the warning log file in case an error is a fatal error.
| * | | Merge pull request #7237 from albert-github/feature/bug_table_hrDimitri van Heesch2019-12-171-0/+5
| |\ \ \ | | |/ / | |/| | Problem with `<hr>` in LaTeX multicolumn cell
| | * | Problem with `<hr>` in LaTeX multicolumn cellalbert-github2019-08-291-0/+5
| | |/ | | | | | | | | | Small problem with defining `\hrulefilll`, moved code.
* | | spelling: tableJosh Soref2019-11-121-1/+1
|/ /
* | Merge pull request #7344 from albert-github/feature/bug_tclDimitri van Heesch2019-11-101-0/+1
|\ \ | | | | | | Small improvements of TCL output
| * | Small improvements of TCL outputalbert-github2019-10-211-0/+1
| |/ | | | | | | | | | | | | - handling of the used filename, sometimes the filename was not set resulting in case of a warning with file `<unknown>`, also improving, slightly, the line reference. - in case of `##` comment blocks the last line was not always show - in case of multiple comment blocks, properly separate them - correct handling tab character in source code output (*gen)
* | Spelling corrections for src directoryalbert-github2019-11-051-1/+1
|/ | | | | | | | Spelling corrections as found by codespell and in #561. Some reported problems were already fixed, others are fixed here, with some exceptions (a,o.): - "referenceby" in defgen.cpp as this is in the output and I cannot oversee the consequences (looks like none, but ...) - "HANGEUL_CHARSET" left as is as in some MS documentation is written: 'HANGUL_CHARSET: Also spelled "Hangeul". Specifies the Hangul Korean character set.' (https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wmf/0d0b32ac-a836-4bd2-a112-b6000a1b4fc9).
* Merge branch 'feature/bug_gitversion' of ↵Dimitri van Heesch2019-07-301-4/+4
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_gitversion
| * Show git version informationalbert-github2019-05-311-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original version has as features: - getting the git version number for usage in doxygen - making the doxygen version number inclusion dependent on the VERSION file The disadvantage of the chosen methodology was that an extra correction step was necessary, by defining getter methods to retrieve the values this correction can be hidden. The information is coming from different sources: - the VERSION file - the git "repository and build system (when present) Furthermore there are a couple of places where the version information is used (a.o. doxygen and doxywizard executable, though the doxygenwizard was only done "half hearted") The handling of the VERSION file has been made in such a way that it is comparable with the generation of the git version changes. For a better abstraction the version handling is all done in a separate directory.
* | issue #6769 Tabu is brokenalbert-github2019-07-261-5/+1
| | | | | | | | | | Based on comment `\usepackage` in refman.tex / doxygen_manual.tex has been replaced with `\RequirePackage` in doxygen.sty ("back to its old place").
* | issue #6769 Tabu is brokenalbert-github2019-07-221-1/+22
| | | | | | | | | | Created a workaround for the problems in the unmaintained tabu package due to changes in LaTeX 2019 Changes are based on the comments of David Carlisle and Frank Mittelbach of The LaTeX3 Project Team
* | issue #7110 URL Encoding for Hyperlinks in PDFalbert-github2019-07-081-1/+1
| | | | | | | | For an URL also the percentage (`%`)sign has to be escaped
* | refactoring dot.cppThomas Haller2019-06-131-5/+10
| |
* | Improved const correctness and added support for inline namespacesDimitri van Heesch2019-04-211-1/+1
|/
* Section title runs into marginalbert-github2019-02-101-43/+43
| | | | | | In the PDF version of the doxygen manual we see that for the `\image` command the chapter title the text runs into the margin (due to an unbreakable part). With this fix the problem is solved. (see also: https://tex.stackexchange.com/questions/474055/section-title-running-into-margin and , for the ifstar part, https://tex.stackexchange.com/questions/376375/using-ifstar-to-define-a-star-variant)
* Improved robustness of the emoji featureDimitri van Heesch2018-12-231-4/+3
| | | | | | | | Changes: - Use of `@emoji name` instead of `:name:` - Support only GitHub emojis (i.e. without spaces or special characters in the name) - Provided script to download images for LaTeX support. - XML output now has <emoji> tag with name an unicode sequence.
* Issue #6631 Code blocks incorrectly formatted in Latexalbert-github2018-11-211-5/+0
| | | | | | The line wrapping is automatically done in the DoxyCodeLine environment, so no need for extra spaces etc. (The m_col is still required for resolving tab positions)
* Merge branch 'feature/issue_6517' of ↵Dimitri van Heesch2018-11-111-0/+16
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/issue_6517
| * issue_6517: Emoji supportalbert-github2018-10-011-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added issue support for the different output types. - Sources of the emoji - based on the Unicode definition v11.0: - https://unicode.org/emoji/charts/full-emoji-list.html - http://www.unicode.org/emoji/charts/full-emoji-modifiers.html - github definition list: - https://api.github.com/emojis - Input of emoji: :<test>: with the restriction that direct after the opening colon and direct before the closing colon no space is allowed - doctokinizer.l, adding detection of emoji and new command `\:` - doktokinizer.h, adding "word" type TK_EMOJI - docparser.* handling of new "word" type TK_EMOJI (analogous to HTML Entities), handling of new command `\:` - cmdmapper,cpp, cmdmapper.h, adding new command `\:` - htmlentity.cpp, adding new definition required for new command `\:` - Emoji - emoji.cpp, emoji.h, class for handling emoji analogous to HTML Entities, including small directions on how to update the code when a new emoji is defined. Not everything is converted to lowercase for comparison and accents are removed. - doxygen.cpp possibility to create list of supported emoji - handling emoji for output types (analogous to HTML Entities), see documentation for different output types - docparser.h, *docvisitor.* - rtfdocvisitor.* converting output to UTF-16 (based on http://scruss.com/blog/2017/03/12/in-the-unlikely-event-you-need-to-represent-emoji-in-rtf-using-perl/) - latexdocvisitor.*, handling arguments for emoji in output (see also latexgen.cpp for meaning of the arguments of doxygenemoji). - latexgen.cpp, adding new latex command for doxygen (doxygenemoji) and prevent too many open file (code before documentclass) - config.xml, definition of `LATEX_EMOJI_DIRECTORY` with path to images required for LaTeX output - Documentation: - emojisup.doc, user description - commands.doc, description of new command `\:` - index.doc, reference to emoji chapter - xmlcmds.doc, adjust reference to next chapter as a new chapter is added - Doxyfile*, adding emoji chapter Build system - CMakeLists.txt adding new files
* | Changed refiltering to forced use of insideTabbingDimitri van Heesch2018-10-291-15/+15
| |
* | Merge pull request #6460 from albert-github/feature/issue_6456Dimitri van Heesch2018-10-271-2/+2
|\ \ | |/ |/| Issue_6456 Using # in links causes errors in PDF generation
| * Issue_6456 Using # in links causes errors in PDF generationalbert-github2018-08-241-2/+2
| | | | | | | | | | - The # sign in an URL needs to be escaped as longtabu reads the table body as the argument to a command, so the self-escaping mechanism of \href cannot work (from https://tex.stackexchange.com/questions/447461/having-a-hash-sign-in-href-in-a-longtabu-cell) - a regression regarding the change from `\tt` to `\texttt` (needed `{ ... }` as `\href` has 2 arguments )
* | Close last code line properly.albert-github2018-09-111-5/+3
| | | | | | | | | | When ending code fragment, check if last code line is closed, if this is not the case close it. (problem observed with inline code in Python, but might happen on other places as well)
* | Missing opening round bracket in case of an exceptionalbert-github2018-08-311-1/+1
| | | | | | | | | | In case of RTF / LaTeX the opening round bracket was missing after the word "throw" (see e.g. in the manual the `\fn` example the detailed function description)
* | Renamed (start/end)SimpleSect to (start/end)Examples.Dimitri van Heesch2018-08-261-11/+3
| |
* | Merge branch 'feature/bug_693515' of ↵Dimitri van Heesch2018-08-191-1/+1
|\ \ | |/ |/| | | https://github.com/albert-github/doxygen into albert-github-feature/bug_693515
| * Bug 693515 - The 'Examples:' section; bad/missing style and incorrect spellingalbert-github2018-06-291-1/+1
| | | | | | | | Made implementation analogous to the implementation for parameters in respect to padding and the use of colon (:).
* | Merge branch 'feature/bug_latex_index' of ↵Dimitri van Heesch2018-07-231-3/+15
|\ \ | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_latex_index