Skip to content

Commit

Permalink
Started with generating LaTeX output via the template engine
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Aug 27, 2015
1 parent 56987af commit 02a0c35
Show file tree
Hide file tree
Showing 23 changed files with 1,629 additions and 410 deletions.
3 changes: 0 additions & 3 deletions src/classdef.cpp
Expand Up @@ -925,10 +925,7 @@ static void writeTemplateSpec(OutputList &ol,Definition *d,
if (a) ol.docify(", ");
}
ol.docify(">");
ol.pushGeneratorState();
ol.disableAllBut(OutputGenerator::Html);
ol.lineBreak();
ol.popGeneratorState();
}
ol.docify(type.lower()+" "+name);
ol.endSubsubsection();
Expand Down
5 changes: 3 additions & 2 deletions src/config.l
Expand Up @@ -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");
Expand Down

0 comments on commit 02a0c35

Please sign in to comment.