]> pere.pagekite.me Git - text-madewithcc.git/commitdiff
Trim image sizes slightly, 80% look better than 100%.
authorPetter Reinholdtsen <pere@hungry.com>
Tue, 20 Oct 2020 15:56:18 +0000 (17:56 +0200)
committerPetter Reinholdtsen <pere@hungry.com>
Tue, 20 Oct 2020 15:56:18 +0000 (17:56 +0200)
fixup.rb

index f22de0bd145313f2faabcd81bc1110572f1dff30..3c7709e6ad0f563b89c2d6bd939effccde1c115b 100644 (file)
--- a/fixup.rb
+++ b/fixup.rb
@@ -311,7 +311,7 @@ log 0, 'emphesize keywords'
 data.map {|lin| lin.gsub!(/^(>\s*)(Revenue model|Interview date|Interviewees?):/, '\\1**\\2**:')}
 
 log 0, 'make figure sizes relative to text body width while keeping aspect ratio'
-data.map {|lin| lin.gsub!(/width="6.5in"/, 'width="100%"')}
+data.map {|lin| lin.gsub!(/width="6.5in"/, 'width="80%"')}
 data.map {|lin| lin.gsub!(/width="4.198in"/, 'width="40%"')}
 data.map {|lin| lin.gsub!(/width="4.1665in"/, 'width="40%"')}
 data.map {|lin| lin.gsub!(/height="[0-9.]+in"/, '')}