PDFTOIPE(1)
๐ PDFTOIPE ๐
okay bestie, quick vibe check on the header first: this page is PDFTOIPE(1) โ that's pdftoipe, living in the General Commands Manual, section 1. so it's a user command, and it's here to make your PDFs editable. let's get into it ๐ซถ
โจ NAME โจ
pdftoipe โ Convert PDF files into editable Ipe format
๐ธ SYNOPSIS ๐ธ
pdftoipe { options } PDF file [ XML file ]
so like: options, then a PDF file, then optionally an XML file. the square brackets are doing the "maybe, maybe not, your call" thing ๐
๐ฆ DESCRIPTION ๐ฆ
pdftoipe converts arbitrary PDF files to Ipe's XML format. like, any PDF. no cap. ๐ฅ
โ ๏ธ okay important plot twist: pdftoipe is not related to Ipe's use of the PDF file format. not even a little.
here's the tea โ โ PDF files generated by Ipe contain an extra stream with Ipe markup information, and that stream is literally necessary for Ipe to read the file again. so if what you actually want is to convert an Ipe-generated PDF file to XML format, you should be using ipetoipe -xml instead! pdftoipe has a different job: it lets you take arbitrary PDF files and make them editable in Ipe. two different queens, two different lanes ๐
and ngl, one honest warning before you get your hopes all the way up: pdftoipe does a pretty good job on drawings, but doesn't handle text very well. ๐ญ why? because Ipe's text model is based on LaTeX, and LaTeX is just too different from the text found in most PDF files. it's giving incompatible texting styles, fr fr.
๐ THE OPTIONS ๐
-notextโ Ignore all text in the PDF file, convert graphics only. bye bye words, hello shapes โ๏ธ-literalโ Allow Latex markup in text objects. the default is to escape all characters special in Latex.-mathโ Use LaTeX math mode for all text in the PDF file. math girlies rise ๐งฎ-merge intโ Set the text merge level, an integer between0(the default) and2. it determines how eagerlypdftoipetries 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.
- At level
-unicode intโ Determine what should be done with non-ASCII characters in text.- At level
0, all non-ASCII characters are represented as[U+XXX]. - At level
1(the default), some often used characters (such as bullets) are replaced by Latex equivalents, others are represented as[U+XXX]. - 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
At level 2 and 3, UTF-8 is set as the input encoding in the Latex preamble of the generated Ipe document.
heads up: 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 [S+XX]. no exceptions, that's just how it is ๐
-f intโ First page to convert-l intโ Last page to convert-opw stringโ Owner password for encrypted PDF files ๐-upw stringโ User password for encrypted PDF files ๐-qโ Quiet mode (don't print any messages or errors). silent treatment, but make it intentional ๐คซ
๐ AUTHOR ๐
Otfried Cheong
๐ REPORTING BUGS ๐
Please report bugs at https://github.com/otfried/ipe-tools/issues
(if something's broken, tell the maintainers! don't suffer in silence bestie, that's what the issue tracker is for ๐ซถ)
๐ SEE ALSO ๐
More information about Ipe can be found in The Ipe Manual, available online at http://ipe.otfried.org/manual/manual.html โจ
and that's the whole page, bestie ๐ this one's dated January 3, 2017, it's PDFTOIPE(1) from the General Commands Manual, and now you know everything it knows. go convert something iconic ๐
๐
๐ฆ where this page comes from
- debian bookworm: pdftoipe 1:7.2.24.1-3.1 ยท GPL-2.0-or-later
- debian trixie: pdftoipe 1:7.2.29.1-1+b2 ยท GPL-2.0-or-later
- ubuntu jammy: pdftoipe 1:7.2.20-1ubuntu1 ยท GPL-2.0-or-later
- ubuntu noble: pdftoipe 1:7.2.24.1-3.1build3 ยท GPL-2.0-or-later
- ubuntu questing: pdftoipe 1:7.2.29.1-2
- ubuntu resolute: pdftoipe 1:7.2.29.2-0ubuntu1 ยท GPL-2.0-or-later
- ubuntu stonking: pdftoipe 1:7.2.29.2-0ubuntu2 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms