From: Shamus Hammons Date: Thu, 12 Jan 2017 19:10:27 +0000 (-0600) Subject: Tweak "munge" to omit 'children' marker if there are no subchapters. X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=ardour-manual-diverged;a=commitdiff_plain;h=79c80e1d64ad8cf104c08012de2e9911e8c950ce Tweak "munge" to omit 'children' marker if there are no subchapters. --- diff --git a/master-doc.txt b/master-doc.txt index b8fa400..feb0139 100644 --- a/master-doc.txt +++ b/master-doc.txt @@ -7060,7 +7060,7 @@ part: subchapter The Transport Bar groups all the actions regarding the control of playback and recording.

-The transport controls +

The transport controls

This bar is made of (from left to right): @@ -7068,7 +7068,7 @@ part: subchapter

-

Language in the above paragraphs is awkward

+

Add default keyboard shortcuts to the above.

All these actions are bound to keyboard shortcuts, which allows for speedier use and more focused work. @@ -7131,7 +7131,7 @@ part: subchapter Follow Edits is a toggle that can be used to control whether or not making a selection (range or object) will move the playhead to the start of the selection.

  • - Auto Return is a toggle switch too. When active, pressing the Stop button returns the playhead to its previous position, and when inactive, pressing Stop keeps the playhead at its current location. Activating Auto Return can be useful for earing back the same part of the audio before and after having tweaked it, without having to loop on it. + Auto Return is a toggle switch too. When active, pressing the Stop button returns the playhead to its previous position, and when inactive, pressing Stop keeps the playhead at its current location. Activating Auto Return can be useful for hearing the same piece of audio before and after tweaking it, without having to set a loop range on it.
  • diff --git a/munge b/munge index 8b2261d..8176b44 100755 Binary files a/munge and b/munge differ diff --git a/munge.cpp b/munge.cpp index 493cdbd..61e1a6b 100644 --- a/munge.cpp +++ b/munge.cpp @@ -154,7 +154,9 @@ int main(int argc, char * argv[]) { if (newFile != NULL) { - fprintf(newFile, "\n{%% children %%}\n\n"); + if (level == 2) + fprintf(newFile, "\n{%% children %%}\n\n"); + fclose(newFile); newFile = NULL; }