summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | Making the 'tex' part of \makeindex available to the useralbert-github2018-05-081-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | In case we need to use another 'makeindex' command in the Makefile / make.bat we can use the configuration tag MAKEINDEX_CMD_NAME When we want to have another index we can use e.g. EXTRA_PACKAGES = [nottoc]tocbibind but in those cases the \makeindex command is still the same but should be \makeindex[intoc]. By means of the new configuration tag LATEX_MAKEINDEX_CMD this discrepancy has been solved. Due to the default value some small changes in the configuration parser were necessary as well. (based on the stack question https://stackoverflow.com/questions/44394311/add-index-to-toc-with-doxygen).
* | | Merge branch 'feature/bug_tableofcontents_latex' of ↵Dimitri van Heesch2018-07-221-1/+8
|\ \ \ | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_tableofcontents_latex
| * \ \ Merge branch 'master' into feature/bug_tableofcontents_latexDimitri van Heesch2018-06-241-40/+75
| |\ \ \ | | | |/ | | |/|
| * | | Enable in page table of contents for LaTeXalbert-github2018-05-211-1/+7
| | |/ | |/| | | | | | | | | | | | | | | | | | | currently the \tableofcontents command is only supported for HTML. In this patch: - enable in page table of contents for LaTeX: \tableofcontents['{'[option][,option]*'}'] where option can be 'HTML, and 'LaTeX' (side effect: possibility to have options with, nearly, all commands.)
* | | Possible fix for the buildDimitri van Heesch2018-07-211-5/+5
| | |
* | | Merge pull request #743 from albert-github/feature/bug_796355Dimitri van Heesch2018-07-211-4/+4
|\ \ \ | | | | | | | | Bug 796355 - LaTeX: Class scrbook Error: undefined old font command `\tt'
| * | | Bug 796355 - LaTeX: Class scrbook Error: undefined old font command `\tt'albert-github2018-05-261-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | - Replaced \tt by \texttt - Replaced the left over \bf by \textbf and taking care that { } still match.
* | | | Merge pull request #738 from albert-github/feature/bug_latex_codeDimitri van Heesch2018-07-211-30/+7
|\ \ \ \ | | | | | | | | | | Small problems when having code in LaTeX output
| * | | | Small problems when having code in LaTeX outputalbert-github2018-05-221-30/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - in formulas it is also possible to have special characters - adding special character '-' for U+2212 - making special characters more system independent (plain latex was not handled) and should be independent of hyperlink setting - without hyperlinks the name of normally linked names with underscore kept e.g. their underscores instead of escaping it - be sure that on the end of a code section the previous line is properly 'closed'.
* | | | | Bug 784322 - .tex file is wrong when generating a function whose name ↵albert-github2018-06-271-1/+1
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | includes an underline Correctly write the text to the text file (i.e. escape some characters)
* | | | Problem with code inside a Doxy table in LaTeXalbert-github2018-05-261-8/+15
| |/ / |/| | | | | | | | | | | | | | When code is used inside a problem occurs with \discretionary - Inside a table \discretionary is disabled when code is used. - \newline should not be appended to a code line (is already implicitly done by the command).
* | | Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2018-05-221-2/+2
|\ \ \
| * \ \ Merge pull request #687 from albert-github/feature/bug_vhdl_ports_htmlDimitri van Heesch2018-05-221-2/+2
| |\ \ \ | | |/ / | |/| | Better HTML output for VHDL Ports
| | * | Better HTML output for VHDL Portsalbert-github2018-03-291-2/+2
| | | | | | | | | | | | | | | | Small alignment improvement of HTML output for VHDL Ports so that the mode will be in a separate column
* | | | Merge branch 'feature/bug_latex_languages' of ↵Dimitri van Heesch2018-05-221-30/+54
|\ \ \ \ | |/ / / |/| | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_latex_languages
| * | | Merge branch 'master' into feature/bug_latex_languagesDimitri van Heesch2018-05-011-26/+70
| |\ \ \ | | | |/ | | |/|
| * | | Improvement LaTeX outputalbert-github2018-04-091-31/+53
| | |/ | |/| | | | | | | For a number of languages the output in LaTeX has been improved so the regular documentation can be generated (automatically) in LaTeX / PDF as well.
* | | Numbers overlap the titles in TOC of PDFalbert-github2018-05-161-0/+3
| |/ |/| | | | | | | With a lot of paragraphs / nesting levels in the TOC it happens that the paragraph number flows into paragraph title in the toc, this patch overcomes this problem. See also https://en.wikibooks.org/wiki/LaTeX/Tables_of_Contents_and_Lists_of_Figures#Numbers_overlap_the_titles
* | Bug 768240 - Make maxLineLen of latex output configurablealbert-github2018-04-261-27/+69
| | | | | | | | | | Removing the automatic line breaking after 108 characters (also didn't work properly with e.g. executive paper size). Due to new implementation some character encodings had to be changed as well as well as handling of the single quote in formulas.
* | Consistency of Index name in LaTeX outputalbert-github2018-04-101-1/+1
|/ | | | | | The name of the index is used on a number of places, in the Contents and the Bookmarks the name as used in the \addcontentsline is used and in the chapter with the index the name as specified in the \indexname is used. The \indexname is set by the language package and the name in the \addcontentsline the name as used in the doxygen translator is used, this can lead to inconsistencies (e.g. Slovak language Register versus Index). The approach has be made uniform here by using \indexname on bot places.
* Bug 783134 - LaTeX output for \tparam block fails to compile when it ↵Dimitri van Heesch2017-12-311-5/+5
| | | | contains a \code block
* Merge branch 'feature/bug_783134' of ↵Dimitri van Heesch2017-12-311-1/+5
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_783134
| * Bug 783134 - LaTeX output for \tparam block fails to compile when it ↵albert-github2017-05-281-1/+5
| | | | | | | | | | | | | | contains a \code block General problem regarding having a code / verbatim section inside a table. Besides handling of the $ some other characters need special handling as well as the \n.
* | Bug 778730 - doxygen build failsalbert-github2017-09-031-6/+12
|/ | | | | When a hyperlink splits across a page boundary it can come to the problem of "\pdfendlink ended up in different nesting level than \pdfstartlink". To overcome this problem the \hyperlink is packed into a "\mbox" construct (as suffested e.g. in https://tex.stackexchange.com/questions/1522/pdfendlink-ended-up-in-different-nesting-level-than-pdfstartlink)
* Merge pull request #545 from albert-github/feature/bug_774138Dimitri van Heesch2016-11-281-1/+1
|\ | | | | Bug 774138 - Please add HTML classes to "Definition at..." & "Referenced by..." for CSS
| * Bug 774138 - Please add HTML classes to "Definition at..." & "Referenced ↵albert-github2016-11-131-1/+1
| | | | | | | | | | | | | | by..." for CSS Added class= to html output for "Definition at..." resulting in p.definition in the css file and for "Referenced by .. " and "References ..." resulting in p.definition in css file. (also corrected some error messages).