From 79c80e1d64ad8cf104c08012de2e9911e8c950ce Mon Sep 17 00:00:00 2001 From: Shamus Hammons Date: Thu, 12 Jan 2017 13:10:27 -0600 Subject: [PATCH] Tweak "munge" to omit 'children' marker if there are no subchapters. --- master-doc.txt | 14 +++++++------- munge | Bin 16384 -> 16384 bytes munge.cpp | 4 +++- 3 files changed, 10 insertions(+), 8 deletions(-) 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 8b2261d723b4f9fd1e1fb7bcc63f5b74fd4eb5ed..8176b440ba9520076b34da785cfb743818f62081 100755 GIT binary patch delta 1266 zcmZ`(ZA?>V6n@VwmKIuD+S1y}EMJPCR2yWCO4fGJQRd8;&MkB5PYuBsHEQ&SYZpLs z(;%_~nTc*;bIDe>B~30di!8NliQo^N{+TuVGn^)u)TmKJ5x08YduxRy-sIkU-se5f zbIx<#+eV`hjY8tvB3;4}VBxXRcIjNv4gnfaZ(IvA*ldh}8UHXg!CA?$&?#uUwTw+h zaE1ANy)WE#G|djI?mGHhIA{;YLh0lhCy9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<7{MW*2vbDp`1fib~T$E0n;pm`P;u-iNZ_TaGDZMiX&V1~%3RBLge#a2_w zJQBSUzj(fbWBSk?Q(VP76lJ9%gR!W<*!d9iMZ_)^+n+s#uBNDTm!9Ya-E>!@89HZ+G1h7EPEsO)}mNVGwP2Zds!hxc%~%|3Be@?^5s+mO%RRV!w^bHDV~4rmk!_u3X?H}G=U7FKBo zenq1LRGSqjWdt*WI%<}u@%3DVUadN#OHI*`#S}V7_wY}wbSwcLn;cuARUUENFoJIv Q7Q-8~mz9A7*O#6911kgFj{pDw 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; } -- 2.37.2