summaryrefslogtreecommitdiffstats
path: root/src/latexdocvisitor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'feature/bug_endblock_msg' of ↵Dimitri van Heesch2019-08-041-1/+1
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_endblock_msg
| * Correction warning messagealbert-github2019-06-011-1/+1
| | | | | | | | Consistency
* | Merge branch 'feature/issue_6831' of ↵Dimitri van Heesch2019-08-041-2/+4
|\ \ | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/issue_6831
| * | issue #6831 Failure to recognize class array with PHP in @varalbert-github2019-02-151-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | There are 2 different situations here: - @var, here a special change is necessary to check and handle whether or not we are in PHP (declinfo.*, doxygen.cpp) - @param - the type recognition for the PHP type has to be extended with the `[]` possibility and subsequently the `[]` part has to be handled separately from the 'datatype' (doctokinizer.l, docparser.*). - In the output we now can have multiple text strings resulting in a small change in handling of the separator between the data type (*docvisitor.*)
* | | Merge branch 'fetaure/bug_html_ins_del_tag' of ↵Dimitri van Heesch2019-08-031-0/+2
|\ \ \ | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-fetaure/bug_html_ins_del_tag
| * | | Adding HTML tags ins and delalbert-github2019-04-041-0/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Github does not support the `<u>` tag for underlined text, in HTML there exists the tag `<ins>`. On https://www.w3schools.com/tags/tag_ins.asp is written: The `<ins>` tag defines a text that has been inserted into a document. Browsers will normally strike a line through deleted text and underline inserted text. Most browsers will display the `<ins>` element with the following default values: ``` ins { text-decoration: underline; } ``` analogous there exists the tag `<del>` (https://www.w3schools.com/tags/tag_del.asp): The `<del>` tag defines text that has been deleted from a document. Browsers will normally strike a line through deleted text and underline inserted text. Most browsers will display the `<del>` element with the following default values: ``` del { text-decoration: line-through; } ``` Definitions analogue to the underline and strike through tag the implementation for the other formats has been chosen.
* | | Remove not used classalbert-github2019-07-071-8/+0
| | | | | | | | | | | | | | | | | | | | | As per comment in `docvisitor.h`: ``` class DocCopy; // TODO: no longer generated => remove ```
* | | High consequence coverity mesagesalbert-github2019-07-021-1/+1
| | | | | | | | | | | | | | | - initializing fd (analogous to htmldocvisitor) - always good to close file pointers
* | | issue #7033 Syntax highlighting doesn't work when calling \dontinclude from ↵albert-github2019-06-061-2/+4
|/ / | | | | | | | | | | Markdown files Don't use the file name extension of the including file but of the included file. In case of no included filename or no extension, fall back of the file extension of the including file.
* | Merge branch 'feature/bug_lineno_split_examples' of ↵Dimitri van Heesch2019-03-091-4/+19
|\ \ | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_lineno_split_examples
| * | Show line numbers in "split" examplesalbert-github2019-03-031-1/+16
|/ / | | | | | | | | | | With the commands like `\skip`, `\skipline` it is possible to show parts of a file for further explanation / tutorials. They can be started with `\include` or `\dontinclude` but in case `\include` specifies that the line numbers have to be shown they are only shown in the full example and not in the split up example - show line numbers in split up example in case `lineno` is required - add `lineno` option to `\dontinclude` so here also line numbers can be shown.
* | Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2019-02-281-1/+1
|\ \
| * | Section title runs into marginalbert-github2019-02-101-1/+1
| |/ | | | | | | | | | | 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)
* | Refactored Definition and derived classes such that they are abstract interfacesDimitri van Heesch2019-02-281-4/+6
|/
* Merge branch 'cheoljoo-run_java_once_3rd_trial'Dimitri van Heesch2019-01-081-2/+2
|\
| * Merge branch 'run_java_once_3rd_trial' of ↵Dimitri van Heesch2019-01-081-2/+2
| |\ | | | | | | | | | https://github.com/cheoljoo/doxygen into cheoljoo-run_java_once_3rd_trial
| * \ Merge branch 'run_java_once_3rd_trial' of ↵Dimitri van Heesch2018-12-271-1/+1
| |\ \ | | |/ | | | | | | https://github.com/cheoljoo/doxygen into cheoljoo-run_java_once_3rd_trial
| | * mergeCharles.Lee2018-12-241-28/+70
| | |\
| | * | add format in writePlantUMLSource() and gathered in one pu file. But it is ↵Charles.Lee2018-08-281-1/+1
| | | | | | | | | | | | | | | | not final
* | | | Implementing `<hr>` for LaTeXalbert-github2019-01-051-1/+1
|/ / / | | | | | | | | | In LaTeX the `<hr>` was implemented as a"new paragraph", now as a horizontal line.
* | | Fixed problems with emoji handling and added a test case for itDimitri van Heesch2018-12-251-1/+3
| |/ |/|
* | Improved robustness of the emoji featureDimitri van Heesch2018-12-231-39/+5
| | | | | | | | | | | | | | | | 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.
* | Merge pull request #6602 from albert-github/feature/bug_tparamDimitri van Heesch2018-12-031-4/+1
|\ \ | | | | | | Consistency in headings and layout for template parameters (tparam)
| * | Consistency in headings and layout for template parameters (tparam)albert-github2018-11-061-4/+1
| | | | | | | | | | | | | | | - at some places the translation of the "Template Parameters" was not yet done - layout of the template parameters table in HTML had no default. Should be analogous to the table for normal parameters
* | | Merge pull request #6611 from albert-github/feature/bug_debug_latexdocvisitorDimitri van Heesch2018-11-111-2/+0
|\ \ \ | | | | | | | | Remove debug statements
| * | | Remove debug statementsalbert-github2018-11-111-2/+0
| |/ / | | | | | | | | | Removing some debug statements
* | | Merge branch 'feature/bug_inline_image' of ↵Dimitri van Heesch2018-11-111-15/+44
|\ \ \ | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_inline_image
| * | | Inline imagesalbert-github2018-08-091-15/+44
| | | | | | | | | | | | | | | | Create the possibility of inline images with the `\image` command by means of the option `inline`.
* | | | Merge branch 'feature/issue_6517' of ↵Dimitri van Heesch2018-11-111-0/+50
|\ \ \ \ | |_|/ / |/| | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/issue_6517
| * | | issue_6517: Emoji supportalbert-github2018-10-011-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2/+2
| | | |
* | | | Merge pull request #6460 from albert-github/feature/issue_6456Dimitri van Heesch2018-10-271-6/+8
|\ \ \ \ | |/ / / |/| | | Issue_6456 Using # in links causes errors in PDF generation
| * | | Issue_6456 Using # in links causes errors in PDF generationalbert-github2018-08-241-6/+8
| |/ / | | | | | | | | | | | | - 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 )
* | | Fixing coverity messagesalbert-github2018-09-131-1/+1
| |/ |/| | | | | Note: especially latexdocvisitor (dead code that should not be dead code).
* | Merge branch 'feature/bug_667993' of ↵Dimitri van Heesch2018-08-261-1/+7
|\ \ | |/ |/| | | https://github.com/albert-github/doxygen into albert-github-feature/bug_667993
| * Bug 667993 - HTML tags <u> and </u> not supportedalbert-github2018-07-071-1/+7
| | | | | | | | Added underline possibility and strike through possibility for the different output formats insofar it is possible (other similar possibilities are not always possible for all output formats either).
* | 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 #742 from albert-github/feature/bug_latex_table_codeDimitri van Heesch2018-06-101-6/+19
|\ \ | | | | | | Problem with code inside a Doxy table in LaTeX
| * | Problem with code inside a Doxy table in LaTeXalbert-github2018-05-261-6/+19
| |/ | | | | | | | | | | 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).
* | Problems and some enhancements for LaTeX tablesalbert-github2018-05-301-21/+25
|/ | | | | | | | | | | | - Possibility to honor also the cell alignment when using Markdown tables for other formats (markdown.cpp, latexdocvisitor.cpp, lines: 1146, 1157, 1173) latexdocvisitor.cpp: - Possibility to nest tables to a further level when using LaTeX. It was only possible till level 2 (i.e. a longtabu followed buy a tabularx table). By placing tabularx in an extra set of brackets this is fixed (lines 938 and 951) - tablarx environment cannot handle the headers as used for the longtabu table. A header line is in case of tabularx implemented by mimicking the header line. - longtabu needs multiple times the header line (first and following), tabularx we only need 1 (line 998) - no longtabu special headers (line 1092) - tabularx cannot handle rowcolor, coloring done only with columncolor(line 1024, 1134, 1188) - no necessity for longtabu to define column with for spanned columns / rows(line 1048, 1134, 1171)
* Bug 768240 - Make maxLineLen of latex output configurablealbert-github2018-04-261-2/+14
| | | | | 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.
* Bug 783134 - LaTeX output for \tparam block fails to compile when it ↵Dimitri van Heesch2017-12-311-3/+2
| | | | contains a \code block
* Merge branch 'feature/bug_783134' of ↵Dimitri van Heesch2017-12-311-0/+3
|\ | | | | | | 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-0/+3
| | | | | | | | | | | | | | 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-7/+19
|/ | | | | 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)
* Fix: replace deprecated {\bf with \textbf{ in LaTeX generatorJürgen Hunold2016-11-101-3/+3
| | | | | The newest version of scrbook (from Ubuntu 16.10) otherwise bails out with "scrbook Error: undefined old font command `\bf'"
* Bug 773231 - Underscores in type or member name cause unwanted hyphenation ↵Dimitri van Heesch2016-10-231-2/+2
| | | | in PDF output Data Fields
* Sorting in latex index and missing \@ in indexalbert-github2016-09-031-26/+4
| | | | | | When looking at the index of the doxygen (pdf) manual we see that __init__ is on a bit strnge place (between "\" items) and that the item "\@" is missing. Made handling of the index consistent by using latex... routines and adjusting the label routine in respect to the @.
* Bug 770660 - Code snippet always shows line numbers from 1albert-github2016-09-031-0/+22
| | | | | | | | | This patch makes the handling of the \snippet and other commands consistent between the different languages (no line numbers anymore with python) and also introduces analogous to \includelineno the command \snippetlineno. Some non relevant changes: - *code.l Calculation of the end line was incorrect, in case of a snippet the end line was the number of lines of the snippet and not reltive to the start line. - *code.l made consistent over the different laguages, enabling exBlock and inlineFragment - testing/indexpage.xml in test 14 the \snippet command was used with python and giving line numbers, linenumbers are now gone (consistency)