From fc25d90c46f454448a41438c62fdd7dad5105946 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 6 Feb 2020 08:55:48 -0500 Subject: latex outputs (various paper sizes & orientation) - a4, a5, b4, letter, legal - portrait, landscape --- src/doc_reform/io_out/paths_output.d | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/doc_reform/io_out/paths_output.d') diff --git a/src/doc_reform/io_out/paths_output.d b/src/doc_reform/io_out/paths_output.d index 83c9728..7cd9051 100644 --- a/src/doc_reform/io_out/paths_output.d +++ b/src/doc_reform/io_out/paths_output.d @@ -491,8 +491,12 @@ template spinePathsLaTeX() { string latex_path_stuff() { return ((base.chainPath(base_filename(doc_matters.src.filename))).asNormalizedPath).array; } - string latex_file_with_path() { - return ((base.chainPath(base_filename(doc_matters.src.filename) ~ "." ~ doc_matters.src.language ~ ".tex")).asNormalizedPath).array; + string latex_file_with_path(string paper_size_orientation) { + return ((base.chainPath(base_filename(doc_matters.src.filename) + ~ "." ~ doc_matters.src.language + ~ "." ~ paper_size_orientation + ~ ".tex") + ).asNormalizedPath).array; } string images() { string image_dir = "image"; -- cgit v1.2.3