diff options
author | Ralph Amissah <ralph@amissah.com> | 2020-02-06 08:55:48 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2020-02-26 09:59:18 -0500 |
commit | fc25d90c46f454448a41438c62fdd7dad5105946 (patch) | |
tree | 38e6bc56211a2392d8a87b81fd031441a79faa65 /org/default_paths.org | |
parent | imports related, mostly cosmetic (diff) |
latex outputs (various paper sizes & orientation)
- a4, a5, b4, letter, legal
- portrait, landscape
Diffstat (limited to 'org/default_paths.org')
-rw-r--r-- | org/default_paths.org | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/org/default_paths.org b/org/default_paths.org index bb7ca79..0e80bb2 100644 --- a/org/default_paths.org +++ b/org/default_paths.org @@ -1518,8 +1518,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"; |