From b5c06948568ac20d47be775c230465e93ccbbcee Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sun, 4 Sep 2016 17:44:47 +0200 Subject: [PATCH] Amend 97b9e81ceef7aae \@ifundefined is an If-Then-ELSE construct. --- src/LaTeXFeatures.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index 8b7287e530..999fbd6a7e 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -231,8 +231,8 @@ static docstring const papersizepdf_def = from_ascii( static docstring const papersizepdflua_def = from_ascii( "% Backwards compatibility for LuaTeX < 0.90\n" - "\\@ifundefined{pageheight}{\\let\\pageheight\\pdfpageheight}\n" - "\\@ifundefined{pagewidth}{\\let\\pagewidth\\pdfpagewidth}\n" + "\\@ifundefined{pageheight}{\\let\\pageheight\\pdfpageheight}{}\n" + "\\@ifundefined{pagewidth}{\\let\\pagewidth\\pdfpagewidth}{}\n" "\\pageheight\\paperheight\n" "\\pagewidth\\paperwidth\n");