This commit is contained in:
John Whitington 2017-09-24 13:14:29 +01:00
parent c1deec28df
commit ddd685b596
2 changed files with 4 additions and 1 deletions

View File

@ -1746,7 +1746,9 @@ let addtext
=
let endpage = Pdfpage.endpage pdf in
let replace_pairs pdf filename bates batespad num page =
["%Page", (fun () -> string_of_int num);
[
"%PageDiv2", (fun () -> string_of_int ((num + 1) / 2));
"%Page", (fun () -> string_of_int num);
"%Roman", (fun () -> roman_upper num);
"%roman", (fun () -> roman_lower num);
"%filename", (fun () -> filename);

View File

@ -1,5 +1,6 @@
%FIXME: Document new -hard-box option
%FIXME: Document that -upright also shifts the page to 0,0
%FIXME: Document %PageDiv2
\documentclass{book}
\usepackage{palatino}
\usepackage{microtype}