X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=joinfiles.awk;h=467f16958e497ecf14208a62bb826d0c67ad673b;hb=c59e0f4f3cfac38cd4f2cac90ee0a5f7b1c5c231;hp=de96d5a240131285b220e38b2750a4743c3ebebb;hpb=b2c4b6e803dcbb86cad5d94c7c765c0308f4d07e;p=fiction%2FKate-the-Empress.git diff --git a/joinfiles.awk b/joinfiles.awk index de96d5a..467f169 100644 --- a/joinfiles.awk +++ b/joinfiles.awk @@ -1,9 +1,10 @@ /\\part/ {gsub("part","section");gsub(".addcontentsline{.*}","");} /\\chapter/ {gsub("chapter","subsection");gsub(".addcontentsline{.*}","");} $1 == "\\input" {fn=$2; while (getline