summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* bug 668003 Default LaTeX header misses $-placeholdersalbert-github2021-01-051-419/+165
| | | | Create, analogous to HTML, also for LaTeX default header and footer files.
* Refactoring: replace Doxygen::directories by Doxygen::dirLinkedMapDimitri van Heesch2021-01-011-17/+8
|
* Refactoring: replace Doxygen::groupSDict by Doxygen::groupLinkedMapDimitri van Heesch2020-12-311-17/+8
|
* Refactoring: replaced PageSDict by PageLinked*MapDimitri van Heesch2020-12-311-12/+2
|
* Refactoring: replace NamespaceSDict by NamespaceLinkedMapDimitri van Heesch2020-12-231-26/+13
|
* Refactoring: replace ClassSDict by ClassLinkedMap/ClassLinkedRefMapDimitri van Heesch2020-12-191-39/+15
|
* Avoid duplicate entry in the LaTeX output for inlined namespaceDimitri van Heesch2020-12-031-1/+1
|
* Improve handling of inline namespace members in LateX/RTF outputDimitri van Heesch2020-12-021-2/+2
|
* Remove duplicate pages for classes inside inline namespaces (LaTeX/RTF/DocBook)Dimitri van Heesch2020-11-291-3/+6
|
* Issue #8206: Incorrect XHTML resultsDimitri van Heesch2020-11-271-2/+2
| | | | | | | | | | | | Changes: - Change TooltipManager back into a singleton - Give the OutputList object a unique output id - Increment the id at each startFile() atomically - Pass the id to the HTML code generator - Store tooltips per output id. - Keep track of tooltips that are already written for a given id - for output formats other than HTML the output id is 0 and tooltips are not collected and written
* Remove ouble usepackage / RequirePackage from LaTeXalbert-github2020-10-271-7/+2
| | | | Remove double usepackage / RequirePackage from LaTeX initialization files (but keen multirow / multicol together)
* Space around images in LaTeX output is sometimes a bit largealbert-github2020-10-141-1/+2
| | | | | | | | 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)
* Missing footer on first page of each chapter in LaTeXalbert-github2020-10-091-13/+18
| | | | | | | | | | | | | | In the doxygen pdf manual we see that on the first page of each chapter the footer is missing, the same occurs in the "normal" documentation generated by doxygen. References: - https://tex.stackexchange.com/questions/566034/footer-ruler-on-first-page-in-fancyhdr-with-book - https://tex.stackexchange.com/questions/566056/footer-ruler-on-first-page-in-fancyhdr-with-book-but-not-in-part-part/ Code changes ("normal" documentation): - latexgen.cpp changes required for the "normal" documentation Code changes (doxygen manual) - doxygen_manual.sty, remove word "Part" for the Appendices. - manual.sty changes like for "normal" documentation plus patching part in case of the `\part` (here we don't want the footer or header)
* 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)