X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/blobdiff_plain/9f80e729657bf25cbc3a61c4d98964b843ef3733..2f3e9d99059d288f84a54319ce98f1cf5b638a32:/fixup.rb diff --git a/fixup.rb b/fixup.rb index f70f996..cd025c1 100644 --- a/fixup.rb +++ b/fixup.rb @@ -66,6 +66,12 @@ end log 0, 'correct emphesis in some titles' data.map {|lin| lin.gsub!(/ *\* \\\[/, ' *\[')} +log 0, 'tag title and author' +data.delete_at(1) # Remove unwanted blank line between title and authors +data[0].sub!(/^/, '% ') # title +data[1].sub!(/^/, '% ') # authors +data[1].sub!(/ and /, ';') # authors + # Mark up headings: Very artisanal and suboptimal, but should do the # trick. #