From 0b484b0a1a6405a53616416aaaa6512a602b6072 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 15 Apr 2020 20:05:56 -0400 Subject: cli precedence over config file settings - cli precedence over config file settings - latex papersize settings sorted --- src/doc_reform/io_out/latex.d | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/doc_reform/io_out/latex.d') diff --git a/src/doc_reform/io_out/latex.d b/src/doc_reform/io_out/latex.d index a021ee2..38dd486 100644 --- a/src/doc_reform/io_out/latex.d +++ b/src/doc_reform/io_out/latex.d @@ -1297,18 +1297,7 @@ string table(O,M)( string tail; } auto latex = LaTeX(); - foreach (paper_size_orientation; [ - "a4.portrait", - "a4.landscape", - "letter.portrait", - "letter.landscape", - "a5.portrait", - "a5.landscape", - "b4.portrait", - "b4.landscape", - // "legal.portrait", - // "legal.landscape", - ]) { + foreach (paper_size_orientation; doc_matters.conf_make_meta.conf.set_papersize) { latex.head = latex_head(doc_matters, paper_size_orientation); latex.content = latex_body(doc_abstraction, doc_matters, paper_size_orientation); latex.tail = latex_tail(doc_matters, paper_size_orientation); -- cgit v1.2.3