summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* bug_674442 CREATE_FOLDERS should not create unused foldersalbert-github2021-06-121-0/+7
| | | | | | Also known as issue #4672 The folders are still created but in case the folders are empty after the doxygen run the directories are removed.
* Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-99/+104
| | | | | | | | | | | | | | | | | This commit changes the following in relation to string use - The implicit convert from 'QCString' to 'const char *' is removed - Strings parameters use 'const QCString &' as much as possible in favor over 'const char *' - 'if (s)' where s is a QCString has been replaced by 'if(!s.isEmpty())' - data() now always returns a valid C-string and not a 0-pointer. - when passing a string 's' to printf and related functions 'qPrint(s)' is used instead of 's.data()' - for empty string arguments 'QCString()' is used instead of '0' - The copy() operation has been removed - Where possible 'qstrcmp(a,b)==0' has been replaces by 'a==b' and 'qstrcmp(a,b)<0' has been replaced by 'a<b' - Parameters of string type that were default initialized with '= 0' are no initialized with '= QCString()'
* issue #2732: Adding support for C++ concepts (Origin: bugzilla #499352)Dimitri van Heesch2021-04-081-0/+37
|
* Regression: source code was not longer visible in HTML/LaTeX/docbook outputDimitri van Heesch2021-03-311-11/+4
|
* Refactoring: Add TextStream buffer to improve output writing performanceDimitri van Heesch2021-03-281-310/+311
| | | | | - direct use of std::stringstream and std::ostream gave a 30% drop in performance.
* Refactoring: replace QGString by std::ostringstreamDimitri van Heesch2021-03-231-3/+3
|
* issue #8375: Lowercase search does not find non-ASCII uppercase pages and ↵Dimitri van Heesch2021-03-221-14/+4
| | | | vice versa
* Refactoring: replace QFile/FTextStream with fstream/stringstreamDimitri van Heesch2021-03-181-202/+191
|
* Refactoring: Replaced QDir with DirDimitri van Heesch2021-03-181-2/+2
| | | | | - Dir is based on ghc::filesystem, a std::filesystem compatible implementation that does not require C++17.
* Refactoring: Replaced QFileInfo with FileInfoDimitri van Heesch2021-03-181-9/+9
| | | | | - FileInfo is based on ghc::filesystem, a std::filesystem compatible implementation that does not require C++17.
* 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