summaryrefslogtreecommitdiffstats
path: root/src/latexdocvisitor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Warnings from CLANG compileralbert-github2016-08-281-0/+5
| | | | The CLANG compiler gave some warnings after pull request #503 ("Introducing commands includedoc and snippetdoc ") at places that are not / should not be reachable.
* Include command show line number (e.g. LaTeX)albert-github2016-08-241-2/+16
| | | | | Based on the report of Luis Vega (http://doxygen.10944.n7.nabble.com/include-inserts-line-numbers-for-LaTeX-PDF-output-td7683.html) The default setting for parseCode calls was not consistent between the different output formats, resulting in wrong settings of default options (e.g. show line numbers).
* Bug 766787 - HTML Tables with 10+ columns are broken for LaTeX based outputalbert-github2016-05-231-1/+1
| | | | Added {} around number of columns (was present for tabularx but not for longtabu tables)
* Merge pull request #441 from albert-github/feature/bug_image_in_tableDimitri van Heesch2016-01-171-1/+1
|\ | | | | PDF generation stops when image with caption is included in a table.
| * PDF generation stops when image with caption is included in a table.albert-github2016-01-151-1/+1
| | | | | | | | | | - patch should only be applied to images. - added doxyfigcaption to manual.sty for completeness, when in future a table with an image and caption might appear in the documentation.
| * PDF generation stops when image with caption is included in a table.albert-github2016-01-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | In case an image is included in a table and this image has a caption the generation of a PDF stops with the message: ! Misplaced \noalign. \caption ->\noalign \bgroup \@ifnextchar [{\egroup \LT@c@ption \@firstofone ... l.45 \end{longtabu} This problem has in general been described in: http://tex.stackexchange.com/questions/85919/adding-a-caption-to-a-graphic-inside-a-longtable In this patch the suggestion from this reference is implemented by defining \doxyfigcaption and using this where a caption is required.
* | Changed configuration mechanism to directly access options in order to ↵Dimitri van Heesch2016-01-171-22/+22
|/ | | | improve performance
* Fixes to support nested tables againDimitri van Heesch2015-08-261-51/+85
|
* Improved handling of <caption> in tables for LaTeX output.Dimitri van Heesch2015-08-081-31/+39
|
* Using tabu package for LaTeX tablesDimitri van Heesch2015-07-121-3/+27
|
* Remove unreachable codealbert-github2015-04-111-16/+5
| | | | The else part of the condition of the if statement is not reachable (When entering this part of the code ref.isEmpty() is always True).
* Bump copyright yearDimitri van Heesch2015-02-261-1/+1
|
* Bug 742899 - <CAPTION> inside <TABLE> no longer works for LaTex outputalbert-github2015-01-141-1/+1
| | | | This is a regression for bug: Bug 732768 - nested html tables cause pdflatex to hang (1.8.4 and 1.8.6).
* Bug 741100 - Latex to PDF hangs when using Markdown tablesDimitri van Heesch2014-12-231-1/+1
|
* various fixes and restructuringDimitri van Heesch2014-12-221-6/+6
|
* Limit images sizes and make more uniform (LaTeX)albert-github2014-11-281-207/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adjusts some problems regarding image sizes in LaTeX output of doxygen (a.o. Bug 738299 - When using msc or PlantUML, the default latex for the created image should include [width=\linewidth]) this has been done is such a way that all the "image" commands (i.e. image, dot, dotfile, msc, mscfile, diafile, startuml) operate in a similar way / have the same possibilities. - commands.doc Adjusted documentation to reflect changes. - cmdmapper.cpp - cmdmapper.h Added utility function to map command id back to command name - doctokenizer.h - doctokenizer.l Handle Caption and Size indication. Required also that some other rules had to be tightened a bit (like usage of {} in startuml and usage of "" for captions. This was already described in the documentation in this way). - docparser.cpp - docparser.h Created routine to uniformly handle the Caption and size indications and store them in a general way. - latexgen.cpp Replaced graphicx package by adjustbox package (includes graphicx) to support "min width" etc. - doxygen.sty templates\latex Added commands to make commands with and without caption behave similar. - docbookvisitor.cpp - docbookvisitor.h - htmldocvisitor.cpp - latexdocvisitor.cpp - latexdocvisitor.h - printdocvisitor.h - xmldocvisitor.cpp Created routine to uniformly handle the Caption and size indications in a general way. - indexpage.xml (testing\022) - indexpage.xml (testing\031) - class_receiver.xml (testing\037) - class_sender.xml (testing\037) Adjusted example output.
* Bug 731947 - Support for PlantUMLDimitri van Heesch2014-08-101-0/+29
|
* Bug 732768 - nested html tables cause pdflatex to hang (1.8.4 and 1.8.6)Dimitri van Heesch2014-08-081-6/+17
|
* Docbook output improvementsDimitri van Heesch2014-06-201-1/+1
| | | | | | 1. New Feature: Adapted Class Graph generation for DOCBOOK 2. Fixed DOCBOOK Code documentation formatting 3. Fixed Doxygen to handle FULL_PATH_NAMES for DOCBOOK generation
* Bug 728530 - Crash on \addindex \termDimitri van Heesch2014-04-191-20/+26
|
* [PATCH] Fix broken links to subpages in LaTeX outputDimitri van Heesch2014-04-121-2/+2
|
* Added optional [block] option to \htmlonlyDimitri van Heesch2014-03-291-1/+1
|
* Improve rendering of sub and superscripts in LaTeXDimitri van Heesch2014-03-281-2/+2
|
* Use \newline i.s.o. \par for linebreaks in LaTeXDimitri van Heesch2014-03-281-2/+1
|
* Added \latexinclude command (thanks to Juan Zaratiegui for the patch)Dimitri van Heesch2014-03-271-0/+3
|
* Bug 726734 - alignment of blockquotes in pdfalbert-github2014-03-191-2/+2
| | | | The quote instead of quotation does align multi level block quotes
* Improved handling of percent symbolDimitri van Heesch2014-02-111-1/+1
|
* Updated copyrightDimitri van Heesch2014-02-111-1/+1
|
* Restructered html entity handlingDimitri van Heesch2014-02-101-2/+3
|
* Recognize all HTML4 special character entitiesalbert-github2014-02-081-129/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In doxygen a limited number of HTML4 special character entities are recognized, with this patch the full list of HTML4 special character entities (see http://www.w3.org/TR/html4/sgml/entities.html) is supported (as far as they can be represented in the output format). - doxygen_manual.tex - latexgen.cpp Added wasysym package to support per thousand sign (perthousand command from textcomp didn't work properly) Added option for textcomp package so currency symbol would work properly - htmlcmds.doc Adjusted documentation, listing all entities - compound.xsd - xmlgen.cpp Removed in xsd file all references for special HTML4 character entities and placed placeholder so doxygen (in xmlgen.cpp)can automatically add the right element names. - util.cpp - util.h Define all entities with their representation for all output formats. Define access routines to the different representations Mapping (for recognition of the entities) based on running through the list of available entities, after validation of the order of the entities. A few entities contain now besides letters also numbers at the end. - docparser.h Define symbols for all entities as well as a helper struct and enum. The member m_letter is not used anymore and thus removed. All existing symbols were renamed so no confusion (i.e. errors when forgetting to rename some symbols) can occur. Obsolete references to letter removed, all letters with accents etc. are explicitly defined and not through the generic accent name plus an extra letter. - docparser.cpp Adjust used symbols to their new names. Remove references to letter (as used for accents etc.) Replace list of explicitly supported entities with call to symbol code access routine. - docbookvisitor.cpp - htmldocvisitor.cpp - latexdocvisitor.cpp - mandocvisitor.cpp - perlmodgen.cpp - printdocvisitor.h - rtfdocvisitor.cpp - textdocvisitor.cpp - xmldocvisitor.cpp Replace list of explicitly supported entities with call to access routine and use returned value to output.
* Enabling possibility to have { and } in (latex) index itemsalbert-github2014-01-151-0/+5
| | | | | | | | | In the doxygen manual the index items for \{ and \} were missing due to the missing support for the usage of { and } in parts of the code. This patch fixes this problem by introducing 2 new latex commands. See also http://tex.stackexchange.com/questions/153291/index-unmatched-braces-in-latex Further improvements in the index are: - consistency in different places - correction of index for \:: - placing \~ on a more logical place (together with other special characters, ~ is in the ASCII table after a-z whilst other characters are before this range)
* Bug 719639 - @xrefitem with empty heading stringalbert-github2013-12-011-2/+2
| | | | | | | Replaced: if (!(x->title().length())) return; by: if (x->title().isEmpty()) return;
* Bug 719639 - @xrefitem with empty heading stringalbert-github2013-12-011-1/+3
| | | | Adjusted documentation and in case the title is the empty string in a DocXRefItem the visitPre and visitPost do nothing.