From 0c693b23c4ff8f98a151884a24f150a5ff746dd4 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 16 Oct 2020 19:16:18 -0400 Subject: org mode, unique code-block names & adjust headers - avoid org-mode undefined behavior, provide unique code-block names --- org/out_src_pod.org | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'org/out_src_pod.org') diff --git a/org/out_src_pod.org b/org/out_src_pod.org index 3fc6d82..e7d761b 100644 --- a/org/out_src_pod.org +++ b/org/out_src_pod.org @@ -7,6 +7,7 @@ #+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah #+LANGUAGE: en #+STARTUP: content hideblocks hidestars noindent entitiespretty +#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t #+PROPERTY: header-args :exports code #+PROPERTY: header-args+ :noweb yes #+PROPERTY: header-args+ :eval no @@ -29,7 +30,8 @@ template spinePod() { <> try { <> - <> + <> + <> <> } catch (ErrnoException ex) { // Handle error @@ -140,7 +142,7 @@ if (doc_matters.opt.action.source) { ** copy :copy: -#+NAME: source_pod_copy +#+NAME: source_pod_copy_0 #+BEGIN_SRC d debug(pod) { writeln(__LINE__, ": ", @@ -393,7 +395,7 @@ auto fn_pod = pths_pod.pod_filename(doc_matters.src.filename).zpod; ** sha256 of pod.zip, zip debug, read zip archive -#+NAME: source_pod_copy +#+NAME: source_pod_copy_1 #+BEGIN_SRC d if (exists(fn_pod)) { try { -- cgit v1.2.3