Skip to content

Commit

Permalink
Merge pull request #10852 from albert-github/feature/issue_10851
Browse files Browse the repository at this point in the history
issue #10851 Unable to build documentation from "master" branch
  • Loading branch information
doxygen committed May 6, 2024
2 parents 1d674af + 06db696 commit f92beef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/latexgen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2304,7 +2304,7 @@ void writeLatexSpecialFormulaChars(TextStream &t)
sup3[1]= 0xB3;
sup3[2]= 0;

t << "\\ifpdftex\n";
t << "\\ifPDFTeX\n";
t << "\\usepackage{newunicodechar}\n";
// taken from the newunicodechar package and removed the warning message
// actually forcing to redefine the unicode character
Expand Down
14 changes: 7 additions & 7 deletions templates/latex/header.tex
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
\let\mypdfximage\pdfximage\def\pdfximage{\immediate\mypdfximage}
\RequirePackage{iftex}
\ifluatex
\ifLuaTeX
\directlua{pdf.setminorversion(7)}
\fi
\ifxetex
\ifXeTeX
\special{pdf:minorversion 7}
\fi
\ifpdftex
\ifPDFTeX
\pdfminorversion=7
\fi
Expand Down Expand Up @@ -42,7 +42,7 @@
\let\protected@wlog\@@protected@wlog
\makeatother
\IfFormatAtLeastTF{2016/01/01}{}{\usepackage{fixltx2e}} % for \textsubscript
\ifpdftex
\ifPDFTeX
\IfFormatAtLeastTF{2015/01/01}{\pdfsuppresswarningpagegroup=1}{}
\fi
Expand Down Expand Up @@ -187,13 +187,13 @@
% Hyperlinks
%%BEGIN PDF_HYPERLINKS
% Hyperlinks (required, but should be loaded last)
\ifpdftex
\ifPDFTeX
\usepackage[pdftex,pagebackref=true]{hyperref}
\else
\ifxetex
\ifXeTeX
\usepackage[xetex,pagebackref=true]{hyperref}
\else
\ifluatex
\ifLuaTeX
\usepackage[luatex,pagebackref=true]{hyperref}
\else
\usepackage[ps2pdf,pagebackref=true]{hyperref}
Expand Down

0 comments on commit f92beef

Please sign in to comment.