From 7afe0e42460f752233659a061aadf578faedd7dc Mon Sep 17 00:00:00 2001 From: albert-github Date: Fri, 26 Jul 2019 12:25:52 +0200 Subject: [PATCH] issue #6769 Tabu is broken Based on comment `\usepackage` in refman.tex / doxygen_manual.tex has been replaced with `\RequirePackage` in doxygen.sty ("back to its old place"). --- doc/doxygen_manual.tex | 8 ++------ src/latexgen.cpp | 6 +----- templates/latex/doxygen.sty | 8 ++++---- 3 files changed, 7 insertions(+), 15 deletions(-) diff --git a/doc/doxygen_manual.tex b/doc/doxygen_manual.tex index 2380d32b1d2..078bdea29c3 100644 --- a/doc/doxygen_manual.tex +++ b/doc/doxygen_manual.tex @@ -14,7 +14,7 @@ \batchmode \documentclass{book} -%% moved from doxygen.sty due to workaround for LatEx 2019 version and unmaintained tabu package +%% moved from doxygen.sty due to workaround for LaTex 2019 version and unmaintained tabu package \usepackage{ifthen} \ifx\requestedLaTeXdate\undefined \usepackage{array} @@ -31,7 +31,7 @@ \usepackage{geometry} \usepackage{listings} \usepackage{color} -%%\usepackage{ifthen} %% moved to top due to workaround for LatEx 2019 version and unmaintained tabu package +%%\usepackage{ifthen} %% moved to top due to workaround for LaTex 2019 version and unmaintained tabu package \usepackage[table]{xcolor} \PassOptionsToPackage{warn}{textcomp} \usepackage{textcomp} @@ -63,10 +63,6 @@ \usepackage{sectsty} \usepackage[titles]{tocloft} \usepackage{amssymb} -%% moved from doxygen.sty due to workaround for LatEx 2019 version and unmaintained tabu package -\usepackage{longtable_doxygen} -\usepackage{tabu_doxygen} -%% \usepackage{doxygen} \usepackage{manual} %% diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 275d2c35213..f88f79bdc93 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -497,7 +497,7 @@ static void writeDefaultHeaderPart1(FTextStream &t) documentClass = "book"; t << "\\documentclass[twoside]{" << documentClass << "}\n" "\n"; - t << "%% moved from doxygen.sty due to workaround for LatEx 2019 version and unmaintained tabu package\n" + t << "%% moved from doxygen.sty due to workaround for LaTex 2019 version and unmaintained tabu package\n" "\\usepackage{ifthen}\n" "\\ifx\\requestedLaTeXdate\\undefined\n" "\\usepackage{array}\n" @@ -510,10 +510,6 @@ static void writeDefaultHeaderPart1(FTextStream &t) t << "% Packages required by doxygen\n" "\\usepackage{fixltx2e}\n" // for \textsubscript "\\usepackage{calc}\n" - "%% moved from doxygen.sty due to workaround for LatEx 2019 version and unmaintained tabu package\n" - "\\usepackage{longtable_doxygen}\n" - "\\usepackage{tabu_doxygen}\n" - "%%\n" "\\usepackage{doxygen}\n"; QStrList extraLatexStyle = Config_getList(LATEX_EXTRA_STYLESHEET); for (uint i=0; i