From b7d1e15f5f79bdbec72a36125c700e06d1b33b39 Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Fri, 2 Jul 2021 18:53:53 -0400 Subject: [PATCH 2/2] org-manual: Update docs * doc/org-manual.org (Header arguments): document that lists can be passed as arguments to :tangle --- doc/org-manual.org | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/org-manual.org b/doc/org-manual.org index 977ef80b9..eaee9b248 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -17961,6 +17961,14 @@ to source file(s). file name as being relative to the directory of the Org file's location. Example: =:tangle FILENAME=. +- {{{var(FILENAME-LIST)}}} :: + + Export the code block to possibly several source files whose file name is derived from + a list of strings passed to the =tangle= header argument. Org derives the + file names as being relative to the directory of the Org file's + location. Example: =:tangle ’("FILENAME1" "FILENAME2")=. + + #+cindex: @samp{mkdirp}, header argument The =mkdirp= header argument creates parent directories for tangled files if the directory does not exist. A =yes= value enables -- 2.31.1