File: pdftoipe.1

package info (click to toggle)
pdftoipe 20130124-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 180 kB
  • ctags: 83
  • sloc: cpp: 875; makefile: 28
file content (107 lines) | stat: -rw-r--r-- 3,623 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
.\" EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
.\" respectively.
.TH PDFTOIPE 1 "October 13, 2009"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh        disable hyphenation
.\" .hy        enable hyphenation
.\" .ad l      left justify
.\" .ad b      justify to both left and right margins
.\" .nf        disable filling
.\" .fi        enable filling
.\" .br        insert line break
.\" .sp <n>    insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
pdftoipe \- Convert PDF files into editable Ipe format
.SH SYNOPSIS
.B pdftoipe
{ \fIoptions\fP } \fIPDF file\fP [ \fIXML file\fP ]

.SH DESCRIPTION

\fBpdftoipe\fP converts arbitrary PDF files to Ipe's XML format.

Note that \fBpdftoipe\fP is not related to Ipe's use of the PDF file
format.  PDF files generated by Ipe contain an extra stream with Ipe
markup information, which is necessary for Ipe to read the file again.
If you wish to convert an Ipe-generated PDF-file to XML format, you
should use \fIipetoipe -xml\fP!  \fBpdftoipe\fP is meant to allow you
to take arbitrary PDF files and make them editable in Ipe.

\fBpdftoipe\fP does a pretty good job on drawings, but doesn't handle
text very well.  Ipe's text model is based on LaTeX, which is just
very different from the text found in most PDF files.

.TP
\fB-notext\fR
Ignore all text in the PDF file, convert graphics only
.TP
\fB-literal\fR
Allow Latex markup in text objects.  The default is to escape all
characters special in Latex.
.TP
\fB-math\fR
Use LaTeX math mode for all text in the PDF file
.TP
\fB-merge\fR \fIint\fP
Set the text merge level, an integer between 0 (the default) and 2.
It determines how eagerly \fBpdftoipe\fP tries to combine consecutive
text in the PDF document into a single Ipe text object.  At level 0,
only characters consecutively rendered in PDF are combined. At level
1, more text is combined.  At level 2, all text is combined until a
path or image is drawn.
.TP
\fB-unicode\fR \fIint\fP 
Determine what should be done with non-ASCII
characters in text.  At level 0, all non-ASCII
characters are represented as \fB[U+XXX]\fR.  At level 1 (the
default), some often used characters (such as bullets) are replaced by
Latex equivalents, others are represented as \fB[U+XXX]\fR.
At level 2, characters that are not replaced by Latex equivalents
are included in UTF-8.  At level 3, all characters are included as
UTF-8.

At level 2 and 3, UTF-8 is set as the input encoding in the Latex
preamble of the generated Ipe document.

Note that this only concerns characters for which the PDF file
provides a mapping to Unicode.  Characters from embedded fonts without
Unicode mapping (such as symbol fonts) are always represented as
\fB[S+XX]\fR.
.TP
\fB-f\fR \fIint\fP
First page to convert
.TP
\fB-l\fR \fIint\fP
Last page to convert
.TP
\fB-opw\fR \fIstring\fP
Owner password for encrypted PDF files
.TP
\fB-upw\fP \fIstring\fP
User password for encrypted PDF files
.TP
\fB-q\fP
Quiet mode (don't print any messages or errors)

.SH AUTHOR
Otfried Cheong

.SH REPORTING BUGS
.ad l
Please report bugs at
.I "http://ipe7.sourceforge.net/bugzilla.html"

.SH SEE ALSO
.ad l
More information about Ipe can be found in  
.IR "The Ipe Manual" , 
available online at 
.I "http://ipe7.sourceforge.net/manual/manual.html"