aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v0/defaults.rb10
-rw-r--r--lib/sisu/v0/texpdf_format.rb5
2 files changed, 10 insertions, 5 deletions
diff --git a/lib/sisu/v0/defaults.rb b/lib/sisu/v0/defaults.rb
index ef33be04..5ea3de65 100644
--- a/lib/sisu/v0/defaults.rb
+++ b/lib/sisu/v0/defaults.rb
@@ -1934,7 +1934,7 @@ WOK
end
def landscape
def w
- 234
+ 242
end
def h
166
@@ -1976,10 +1976,10 @@ WOK
def b5
def portrait
def w
- 126
+ 140
end
def h
- 180
+ 210
end
def img_px
356
@@ -2003,10 +2003,10 @@ WOK
def a5
def portrait
def w
- 100
+ 112
end
def h
- 144
+ 170
end
def img_px
280
diff --git a/lib/sisu/v0/texpdf_format.rb b/lib/sisu/v0/texpdf_format.rb
index ee457ca3..ab4c7fe2 100644
--- a/lib/sisu/v0/texpdf_format.rb
+++ b/lib/sisu/v0/texpdf_format.rb
@@ -1212,9 +1212,14 @@ WOK
d[:textheight],d[:textwidth]=@tx.legal.portrait.h,@tx.legal.portrait.w
when /book|b5/i #book default - larger
d[:papertype],d[:fontsize]='b5paper','11pt'
+ d[:oddsidemargin],d[:evensidemargin],d[:topmargin]='-4mm','-4mm','-36pt'
+ d[:headheight],d[:headsep],d[:columnsep]='12pt','20pt',''
d[:textheight],d[:textwidth]=@tx.b5.portrait.h,@tx.b5.portrait.w
when /a5/i
d[:papertype],d[:fontsize]='a5paper','11pt'
+ d[:oddsidemargin],d[:evensidemargin],d[:topmargin]='-4mm','-4mm','-36pt'
+ d[:headheight],d[:headsep],d[:columnsep]='8pt','12pt',''
+ d[:marginparsep],d[:marginparwidth]='4mm','6mm'
d[:textheight],d[:textwidth]=@tx.a5.portrait.h,@tx.a5.portrait.w
else #default currently A4
d[:papertype],d[:fontsize]='a4paper','12pt'