Skip to content

Commit

Permalink
issue #10147 Generating pdf with LuaLateX
Browse files Browse the repository at this point in the history
The package `iftex` is, now, also needed in the formulas
  • Loading branch information
albert-github committed Apr 9, 2024
1 parent a925226 commit ef7c101
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/formula.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ void FormulaManager::createLatexFile(const QCString &fileName,Format format,Mode
{
TextStream t(&f);
t << "\\documentclass{article}\n";
t << "\\usepackage{iftex}\n";
t << "\\usepackage{ifthen}\n";
t << "\\usepackage{epsfig}\n"; // for those who want to include images
t << "\\usepackage[utf8]{inputenc}\n"; // looks like some older distributions with newunicode package 1.1 need this option.
Expand Down

0 comments on commit ef7c101

Please sign in to comment.