>From 448d26cb10c9e31408431762302e299d655f7521 Mon Sep 17 00:00:00 2001 From: Akira Yokosawa <akiyks@xxxxxxxxx> Date: Sun, 20 Oct 2019 14:09:21 +0900 Subject: [PATCH v3 3/6] Add output of '% mainfile: perfbook.tex' tags in extraction scripts Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- utilities/extractcontrib.sh | 1 + utilities/extractorigpub.sh | 1 + utilities/extractqqz.sh | 1 + 3 files changed, 3 insertions(+) diff --git a/utilities/extractcontrib.sh b/utilities/extractcontrib.sh index ae978ea0..8fc4b681 100644 --- a/utilities/extractcontrib.sh +++ b/utilities/extractcontrib.sh @@ -22,5 +22,6 @@ # # Authors: Paul E. McKenney <paulmck@xxxxxxxxxxxxx> +echo "% mainfile: perfbook.tex" sed -n -e '/^\\ContributedBy{/p' | sed -e 's/^\\ContributedBy{/\\ContribItem{/' diff --git a/utilities/extractorigpub.sh b/utilities/extractorigpub.sh index 1fad230c..71154f96 100644 --- a/utilities/extractorigpub.sh +++ b/utilities/extractorigpub.sh @@ -22,6 +22,7 @@ # # Authors: Paul E. McKenney <paulmck@xxxxxxxxxxxxx> +echo "% mainfile: perfbook.tex" sed -n -e '/^\\OriginallyPublished{/p' \ -e '/^\\RangeOriginallyPublished{/p' | sed -e 's/^\\OriginallyPublished{/\\OrigPubItem{/' \ diff --git a/utilities/extractqqz.sh b/utilities/extractqqz.sh index 921c78e8..5d54d31f 100644 --- a/utilities/extractqqz.sh +++ b/utilities/extractqqz.sh @@ -21,6 +21,7 @@ # # Authors: Paul E. McKenney <paulmck@xxxxxxxxxxxxx> +echo "% mainfile: perfbook.tex" sed -n -e '/^\\QuickQuizChapter{/p' \ -e '/^\\QuickQuiz{/,/^} \\QuickQuizEnd/p' | sed -e 's/^\\QuickQuizChapter{/\\QuickQAC{/' \ -- 2.17.1