Beginning html manual

This commit is contained in:
John Whitington 2017-01-10 19:52:57 +00:00
parent 37bb153a49
commit 545d777fd8
6 changed files with 2424 additions and 49 deletions

View File

@ -137,6 +137,7 @@ val get_info_utf8 : Pdf.t -> string -> string
(** Output to standard output general information about a PDF. *) (** Output to standard output general information about a PDF. *)
val output_info : encoding -> Pdf.t -> unit val output_info : encoding -> Pdf.t -> unit
(** Output to standard output information from any XMP metadata stream in a PDF. *)
val output_xmp_info : encoding -> Pdf.t -> unit val output_xmp_info : encoding -> Pdf.t -> unit
(** {2 Presentations} *) (** {2 Presentations} *)
@ -204,60 +205,16 @@ swapped. If [fast] is true, the PDFs are assumed to be well-formed and no
fixes are done. *) fixes are done. *)
val combine_pages : bool -> Pdf.t -> Pdf.t -> bool -> bool -> bool -> Pdf.t val combine_pages : bool -> Pdf.t -> Pdf.t -> bool -> bool -> bool -> Pdf.t
(** [stamp relative_to_cropbox position topline midline scale_to_fit fast isover range over pdf] stamps the first page of (** [stamp relative_to_cropbox position topline midline fast scale_to_fit isover range over pdf] stamps the first page of
[over] over each page of the PDF. The arguments have the same meaning as in [over] over each page of the PDF. The arguments have the same meaning as in
[combine_pages]. *) [combine_pages]. *)
val stamp : bool -> position -> bool -> bool -> bool -> bool -> bool -> int list -> Pdf.t -> Pdf.t -> Pdf.t val stamp : bool -> position -> bool -> bool -> bool -> bool -> bool -> int list -> Pdf.t -> Pdf.t -> Pdf.t
(** {2 Splitting PDFs} *) (** {2 Splitting PDFs} *)
(** [split_at_bookmarks linearize nobble level spec pdf] splits on bookmarks at
the fiven level, writing to files with names given by [spec] (see
cpdfmanual.pdf). [nobble] is undocumented and should be false. If [linearize]
is true, the files will be linearized. *)
(*val split_at_bookmarks :
bool ->
bool ->
bool ->
string ->
bool ->
cpdflin:string option ->
preserve_objstm:bool ->
create_objstm:bool ->
squeeze:bool ->
(Pdf.t -> Pdf.t) ->
int ->
string ->
Pdf.t ->
unit*)
(** Split a PDF on bookmarks of a given level or below. Level 0 is top level. *) (** Split a PDF on bookmarks of a given level or below. Level 0 is top level. *)
val split_on_bookmarks : Pdf.t -> int -> Pdf.t list val split_on_bookmarks : Pdf.t -> int -> Pdf.t list
(** [split_pdf printf chunksize linearize preserve_objstm create_objstm nobble
spec pdf] splits a PDF to files given a chunk size (number of pages in each
split), a file specification (see cpdfmanual.pdf). If [linearize] is true
each output is linearized. If [preserve_objstm] is true, object streams will
be used if the input file had them. If [create_objstm] is true, object
streams will be created in any event. [printf] and [nobble] are
undocumented and should be false. *)
(*val split_pdf :
bool ->
bool ->
bool ->
Pdfwrite.encryption option ->
string ->
int ->
bool ->
cpdflin:string option ->
preserve_objstm:bool ->
create_objstm:bool ->
squeeze:bool ->
(Pdf.t -> Pdf.t) ->
string ->
Pdf.t ->
unit*)
(** {2 Listing fonts} *) (** {2 Listing fonts} *)
(** Print font list to stdout *) (** Print font list to stdout *)
@ -474,10 +431,10 @@ val draft : bool -> int list -> Pdf.t -> Pdf.t
(** Squeeze a PDF *) (** Squeeze a PDF *)
val squeeze : ?logto:string -> Pdf.t -> unit val squeeze : ?logto:string -> Pdf.t -> unit
val process_xobjects : Pdf.t -> Pdfpage.t -> (Pdf.t -> Pdf.pdfobject -> Pdf.pdfobject list -> Pdf.pdfobject list) -> unit
(**/**) (**/**)
val process_xobjects : Pdf.t -> Pdfpage.t -> (Pdf.t -> Pdf.pdfobject -> Pdf.pdfobject list -> Pdf.pdfobject list) -> unit
(** Custom CSP1 *) (** Custom CSP1 *)
val custom_csp1 : Pdf.t -> Pdf.t val custom_csp1 : Pdf.t -> Pdf.t

View File

@ -1,7 +1,5 @@
(** PDF Command Line Tools in library form. *) (** PDF Command Line Tools in library form. *)
exception StayOnError
(** Call the command line tools with the contents of [Sys.argv] *) (** Call the command line tools with the contents of [Sys.argv] *)
val go : unit -> unit val go : unit -> unit
@ -11,3 +9,4 @@ val go_withargv : string array -> unit
(**/**) (**/**)
val demo : bool val demo : bool
exception StayOnError

Binary file not shown.

1
html_manual/clean Executable file
View File

@ -0,0 +1 @@
rm -f *.4ct *.4tc *.aux *.css *.dvi *.idv *.idx *.lg *.log *.tmp *.xref *.png

View File

@ -0,0 +1,72 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html >
<head><title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="generator" content="TeX4ht (http://www.tug.org/tex4ht/)">
<meta name="originator" content="TeX4ht (http://www.tug.org/tex4ht/)">
<!-- html,pic-fbox,pic-equations,pic-tabular -->
<meta name="src" content="cpdfmanual.tex">
<link rel="stylesheet" type="text/css" href="cpdfmanual.css">
</head><body
>
<!--l. 23--><p class="indent" >
<div class="flushright"
>
<!--l. 26--><p class="noindent" >
<!--l. 28--><p class="noindent" ><span
class="phvb7t-x-x-248">Coherent PDF</span>
<!--l. 31--><p class="noindent" ><span
class="phvb7t-x-x-248">Command Line Toolkit</span>
<!--l. 35--><p class="noindent" ><span
class="pplr7t-x-x-248">User Manual</span><br />
Version 2.2 (March 2017)
<!--l. 45--><p class="noindent" ><span
class="phvb7t-x-x-172">Coherent Graphics Ltd</span>
</div>
<!--l. 52--><p class="noindent" >For bug reports, feature requests and comments, email<br
class="newline" /><span
class="pcrr7t-">contact@coherentgraphics.co.uk</span>
<!--l. 55--><p class="noindent" ><span
class="cmsy-10">©</span>2017 Coherent Graphics Limited. All rights reserved. ISBN 978-0957671140
<!--l. 58--><p class="noindent" >Adobe, Acrobat, Adobe PDF, Adobe Reader and PostScript are registered trademarks of Adobe
Systems Incorporated. Windows, Powerpoint and Excel are registered trademarks of Microsoft
Corporation.
<!--l. 64--><p class="indent" >
<h2 class="likechapterHead"><a
id="x1-1000"></a>Contents</h2> <div class="tableofcontents">
</div>
<!--l. 66--><p class="indent" >
<!--l. 67--><p class="indent" >
<h2 class="likechapterHead"><a
id="x1-2000"></a>Typographical Conventions</h2> Command lines to be typed are shown in <span
class="pcrr7t-">typewriter font </span>in a
box. For example:
<!--l. 71--><p class="noindent" ><img
src="cpdfmanual0x.png" alt="" class="fbox" >
</body></html>

2346
html_manual/cpdfmanual.tex Normal file

File diff suppressed because it is too large Load Diff