aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/out_latex.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-12-21 11:38:05 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2020-02-11 13:08:49 -0500
commit10ec5e96d65b58dbe915c2d622b0bfb8abbd122b (patch)
treef07e7b940b754a8133ff69c29596fcbcd327aef7 /org/out_latex.org
parentxmls, minor, internal links (metadata, images) (diff)
reduce use of auto, much with tuples
Diffstat (limited to 'org/out_latex.org')
-rw-r--r--org/out_latex.org6
1 files changed, 3 insertions, 3 deletions
diff --git a/org/out_latex.org b/org/out_latex.org
index 8ae369b..8a84ceb 100644
--- a/org/out_latex.org
+++ b/org/out_latex.org
@@ -25,7 +25,7 @@ template outputLaTeX() {
<<output_latex_imports>>
mixin InternalMarkup; // watch
mixin spineOutputRgxInit;
- auto rgx = Rgx();
+ static auto rgx = Rgx();
mixin spineLanguageCodes;
auto lang = Lang();
<<output_latex_shared>>
@@ -75,8 +75,8 @@ void writeOutputLaTeX(T,M)(
f.writeln(latex_content.content);
f.writeln(latex_content.tail);
foreach (image; doc_matters.srcs.image_list) {
- auto fn_src_in = doc_matters.src.image_dir_path ~ "/" ~ image;
- auto fn_src_out_file = pth_latex.latex_path_stuff ~ "/" ~ image;
+ string fn_src_in = doc_matters.src.image_dir_path ~ "/" ~ image;
+ string fn_src_out_file = pth_latex.latex_path_stuff ~ "/" ~ image;
if (exists(fn_src_in)) {
fn_src_in.copy(fn_src_out_file);
}