diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-01-01 20:04:54 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-08-27 13:45:02 (GMT) |
commit | 02a0c353a8947290a3191aead59db08dc84766ce (patch) | |
tree | f367cb6bf3f91c2b92160144f37eed33decdc4a0 /src/config.l | |
parent | 56987af3987f40ac77e70cd39ebbdac3702c1ce2 (diff) | |
download | Doxygen-02a0c353a8947290a3191aead59db08dc84766ce.zip Doxygen-02a0c353a8947290a3191aead59db08dc84766ce.tar.gz Doxygen-02a0c353a8947290a3191aead59db08dc84766ce.tar.bz2 |
Started with generating LaTeX output via the template engine
Diffstat (limited to 'src/config.l')
-rw-r--r-- | src/config.l | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/config.l b/src/config.l index b158e5c..63a5b30 100644 --- a/src/config.l +++ b/src/config.l @@ -1119,14 +1119,15 @@ void Config::check() QCString &paperType = Config_getEnum("PAPER_TYPE"); paperType=paperType.lower().stripWhiteSpace(); - if (paperType.isEmpty()) + if (paperType.isEmpty() || paperType=="a4wide") { paperType = "a4"; } - if (paperType!="a4" && paperType!="a4wide" && paperType!="letter" && + if (paperType!="a4" && paperType!="letter" && paperType!="legal" && paperType!="executive") { config_err("Unknown page type specified\n"); + paperType="a4"; } QCString &outputLanguage=Config_getEnum("OUTPUT_LANGUAGE"); |