summaryrefslogtreecommitdiffstats
path: root/templates/latex
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: replace QFile/FTextStream with fstream/stringstreamDimitri van Heesch2021-03-181-2557/+2557
|
* bug 668003 Default LaTeX header misses $-placeholdersalbert-github2021-01-052-0/+299
| | | | Create, analogous to HTML, also for LaTeX default header and footer files.
* Remove ouble usepackage / RequirePackage from LaTeXalbert-github2020-10-271-0/+1
| | | | Remove double usepackage / RequirePackage from LaTeX initialization files (but keen multirow / multicol together)
* Merge pull request #8099 from albert-github/feature/bug_warn_latex_figDimitri van Heesch2020-10-151-1/+1
|\ | | | | Warning about duplicate figure numbers in LaTeX
| * Warning about duplicate figure numbers in LaTeXalbert-github2020-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the log file of the generated doxygen manual we see warnings like: ``` pdfTeX warning (ext4): destination with the same identifier (name{figure.22.1}) has been already used, duplicate ignored \AtBegShi@Output ...ipout \box \AtBeginShipoutBox \fi \fi ``` (this pull request was also triggered by: https://stackoverflow.com/questions/64328597/pdftex-warning-saying-about-duplicate-figures) The solution is found by means of: https://tex.stackexchange.com/questions/566677/multiple-use-of-figure-number-ext4-warning/ in short: > The hyperref package patches \caption so \H@refstepcounter is used instead of \refstepcounter. The definition isn't necessary in `manual.sty` as the `doxygen_manual.tex` includes `doxygen.sty`
* | Space around images in LaTeX output is sometimes a bit largealbert-github2020-10-141-2/+1
|/ | | | | | | | When we look at images in documents we see for a number of images a big amount of white space around the image. This is e.g. the case in the doxygen manual at page 99 of the 1.8.20 version. - using `\raggedbottom` sees to it that the space inside the page is removed (there might be some white space when the next image doesn't fit anymore. (See https://tex.stackexchange.com/questions/566779/placing-figures-on-a-fixed-place-without-lot-of-space-around-it) - use `\centering` instead of `\begin{center}` as the center environment adds some extra white space (see a comment with the question, on a different subject though: https://stackoverflow.com/questions/64328597/pdftex-warning-saying-about-duplicate-figures#comment113772445_64328597)
* Merge branch 'master' into spellingDimitri van Heesch2019-12-231-2/+8
|\
| * Merge pull request #7237 from albert-github/feature/bug_table_hrDimitri van Heesch2019-12-171-2/+8
| |\ | | | | | | Problem with `<hr>` in LaTeX multicolumn cell
| | * Problem with `<hr>` in LaTeX multicolumn cellalbert-github2019-08-291-4/+0
| | | | | | | | | | | | Small problem with defining `\hrulefilll`, moved code.
| | * Problem with `<hr>` in LaTeX multicolumn cellalbert-github2019-08-291-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case we have a `<hr>` in a table cell then it is displayed as a horizontal line (in LaTeX) unless it is in a multicolumn cell. In the later case it throws an error: ``` ! You can't use `\hrule' here except with leaders. \DoxyHorRuler ... }{0ex plus 0ex minus 0ex}\hrule ``` We have to use use `\hrulefill` in a table but in combination with the table option of xcolor this gives some problems so a new command has to be defined for this. See also: - horizontal rule / line inside a multicolumn field (https://tex.stackexchange.com/questions/506211/horizontal-rule-line-inside-a-multicolumn-field) - interaction between \usepackage[table]{xcolor} and \hrulefill (https://tex.stackexchange.com/questions/506221/interaction-between-usepackagetablexcolor-and-hrulefill)
* | | spelling: inheritedJosh Soref2019-11-121-1/+1
| | |
* | | spelling: charactersJosh Soref2019-11-121-1/+1
|/ /
* | Fix typosluz.paz2019-09-281-5/+5
| | | | | | | | | | | | Found via ``` codespell -q 3 -S *.js,*.po,./src/translator*,*.eps,./doc/changelog.doc -L ang,ans,attribs,ba,behaviour,classe,colour,german,iff,initialise,nam,nd,que,russian,statics,te,tim,uint ```
* | Fix some typos luz.paz2019-09-161-3/+3
|/
* Incorrect paragraph numbers in secref list.albert-github2019-08-041-15/+21
| | | | | | | The definition of `\doxysection` etc. are using grouping around the section title, and this destroys the \label system as label names are stored locally. (see also: https://tex.stackexchange.com/questions/502650/section-numbering-in-redefined-sections) the `\doxysection` commands have been redefined (unfortunately partly copying values from book.cls)
* Merge branch 'latex-output-format-fixes' of ↵Dimitri van Heesch2019-07-281-9/+2
|\ | | | | | | https://github.com/BCiesla/doxygen into BCiesla-latex-output-format-fixes
| * Change DoxyParagraph to use DoxyDesc inside in latex styleBartosz Ciesla2019-07-181-9/+2
| | | | | | | | | | | | This solves the problem where header of the paragraph in pdf output generated from latex has different indent than other sections (like param or retval).
* | issue #6769 Tabu is brokenalbert-github2019-07-261-4/+4
| | | | | | | | | | 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-223-4/+3009
|/ | | | | 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 #6896 empty sections in latex outputalbert-github2019-03-281-6/+15
| | | | In pull request #6832 a fix was made for section captions that ran into the margins. For sections that should not appear in the the TOC (i.e. `*`-ed sections) this led to showing a `*`, this has been corrected.
* Merge pull request #6852 from albert-github/feature/bug_indendation_paragraphDimitri van Heesch2019-02-241-1/+1
|\ | | | | Indentation of paragraphs in LaTeX
| * Indentation of paragraphs in LaTeXalbert-github2019-02-231-1/+1
| | | | | | | | | | Looking in the documentation at e.g. the commands `\class` or `\image` we see that the start of some paragraph titles in LaTeX is a bit to the left of the normal indentation. Corrected the leftmargin setting (consistent with other settings).
* | Section title runs into marginalbert-github2019-02-101-0/+9
|/ | | | | | 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)
* Bug 141919 - Wrong param and exception style in RTF outputalbert-github2019-02-011-1/+1
| | | | | | | | Some small improvements in the different formats based on the problems signaled with the issue - doxygen.css make exceptions in line with other tables (i.e. the appearance of the name of the exception) - doxygen.sty, rtfdocvisitor.cpp between items in e.g. Precondition, Postcondition, Note place a paragraph distance (like in main text) - docbookvisitor.cpp handle title of Rcs and User sections correctly .
* Implementing `<hr>` for LaTeXalbert-github2019-01-051-0/+4
| | | | In LaTeX the `<hr>` was implemented as a"new paragraph", now as a horizontal line.
* Merge branch 'feature/bug_inline_image' of ↵Dimitri van Heesch2018-11-111-0/+6
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_inline_image
| * Inline imagesalbert-github2018-08-091-0/+6
| | | | | | | | Create the possibility of inline images with the `\image` command by means of the option `inline`.
* | Merge branch 'feature/bug_667993' of ↵Dimitri van Heesch2018-08-261-1/+1
|\ \ | |/ |/| | | 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/+1
| | | | | | | | 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).
* | Improvements in handling special characters in Latexalbert-github2018-07-231-9/+4
| | | | | | | | | | | | - In case a corrupted character is found LaTeX shows this as a U+FFFD , the character in the code is 0xef 0xbf oxbd. This character was in the LaTex Code already replaced with `\ucr` but this didn't work properly with TexLive 2015 and the code is now detected i the doxygen code and directly replaced `\ucr` - other special characters are now handled, in a way that works in all engines, by means of `\newunicodechar` - the size of the `\ucr` was not set in case it was used in 'running text' and not inside e.g. a code section.
* | Merge pull request #738 from albert-github/feature/bug_latex_codeDimitri van Heesch2018-07-211-6/+6
|\ \ | |/ |/| Small problems when having code in LaTeX output
| * Small problems when having code in LaTeX outputalbert-github2018-05-241-6/+6
| | | | | | | | Also part in doxygen.sty made valid for plain latex
* | Problem with code inside a Doxy table in LaTeXalbert-github2018-05-261-4/+10
|/ | | | | | 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).
* Bug 768240 - Make maxLineLen of latex output configurablealbert-github2018-04-261-12/+50
| | | | | 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.
* LaTeX with verbatim part inside a tablealbert-github2018-04-111-16/+17
| | | | | | | | | | | | | Doxygen test 54, when generating LaTeX / PDF, gave the error message: Runaway argument? Second paragraph of the param description. \end {DoxyVerb} \\ \hline \ETC. ! Paragraph ended before \verbatim@ was complete. <to be read again> \par l.41 \end{DoxyParams} The tabu package documentation (and Stack Exchange LaTeX) give some hints in to the problem about the verbatim command in the different environments and has been implemented here for the longtabu table.
* Bug 773231 - Underscores in type or member name cause unwanted hyphenation ↵Dimitri van Heesch2016-10-231-0/+3
| | | | in PDF output Data Fields
* Unified display of enum values across output formats and languagesDimitri van Heesch2016-08-311-0/+16
|
* Modified (readability) layout for member title in HTML and LaTexPkLab.net2016-06-221-1/+1
|
* PDF generation stops when image with caption is included in a table.albert-github2016-01-131-0/+7
| | | | | | | | | | | | 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.
* Made paragraph spacing more flexible in the LaTeX output to prevent page ↵Dimitri van Heesch2015-12-121-1/+1
| | | | overflows
* Template enhancements and various other small fixesDimitri van Heesch2015-09-084-2/+5
|
* Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2015-08-301-3/+3
|\
| * Alignment in LaTeX parameter tablealbert-github2015-08-281-3/+3
| | | | | | | | Too be consistent between HTML, LaTeX and RTF the items should all be left aligned in the param table.
* | Started with generating LaTeX output via the template engineDimitri van Heesch2015-08-2712-3/+502
|/
* Added documentation for creating tablesDimitri van Heesch2015-08-261-0/+1
|
* Fixes to support nested tables againDimitri van Heesch2015-08-261-1/+7
|
* Improved handling of <caption> in tables for LaTeX output.Dimitri van Heesch2015-08-081-0/+5
|
* Using tabu package for LaTeX tablesDimitri van Heesch2015-07-121-72/+57
|
* Limit images sizes and make more uniform (LaTeX)albert-github2014-11-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Introduced template directory for template and resource files and resource ↵Dimitri van Heesch2014-11-131-0/+478
compiler & manager