more
This commit is contained in:
parent
c1deec28df
commit
ddd685b596
4
cpdf.ml
4
cpdf.ml
|
@ -1746,7 +1746,9 @@ let addtext
|
||||||
=
|
=
|
||||||
let endpage = Pdfpage.endpage pdf in
|
let endpage = Pdfpage.endpage pdf in
|
||||||
let replace_pairs pdf filename bates batespad num page =
|
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_upper num);
|
||||||
"%roman", (fun () -> roman_lower num);
|
"%roman", (fun () -> roman_lower num);
|
||||||
"%filename", (fun () -> filename);
|
"%filename", (fun () -> filename);
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
%FIXME: Document new -hard-box option
|
%FIXME: Document new -hard-box option
|
||||||
%FIXME: Document that -upright also shifts the page to 0,0
|
%FIXME: Document that -upright also shifts the page to 0,0
|
||||||
|
%FIXME: Document %PageDiv2
|
||||||
\documentclass{book}
|
\documentclass{book}
|
||||||
\usepackage{palatino}
|
\usepackage{palatino}
|
||||||
\usepackage{microtype}
|
\usepackage{microtype}
|
||||||
|
|
Loading…
Reference in New Issue