carta
pdf2baresvg(1)

pdf2baresvg1

Pdf to bare svg convertor

Usage

pdf2baresvg pdffile svgfile [page number]

Overview

pdf2baresvg launches the command pdf2svg and simplifies its output.

pdf2svg is a tiny command-line utility using Cairo and Poppler to convert PDF documents into SVG files. Its ouput is a standalone SVG file which comes with an XML header.

In some cases, the XML header is not useful; for instance when one wants to embed the SVG output as an element in some HTML page.

Options

[some page label]

The third parameter is optional and serves as a page selector. If omitted it defaults to the first page of the passed PDF. If passed it must be a valid page label (typically it is a value such as “iii” or “3”).

all

This special selector causes the program to iterate over all pages in the PDF. Because it cannot save multiple pages into one single SVG the second parameter is expected to contain a sensible file specification: pdf2baresvg document.pdf output-page%d.svg all This selector is not encouraged for use with pdf2baresvg since the XML header will not be removed from output files.

-h or --help

Show this message and exit.

Author

Georges Khaznadar <[email protected]>

Wrote this manpage for the Debian system.

From pdf2svg 0.2.4-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.