.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "pdf2baresvg" "1" "\[lq]February 19 2024\[rq]" "" "User Commands" .hy .SH NAME .PP pdf2baresvg - PDF to bare SVG convertor .SH SYNOPSIS .PP \f[B]pdf2baresvg\f[R] pdffile svgfile [page number] .SH DESCRIPTION .PP \f[B]pdf2baresvg\f[R] launches the command pdf2svg and simplifies its output. .PP 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. .PP 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. .SH OPTIONS .TP \f[B][some page label]\f[R] 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 \[lq]iii\[rq] or \[lq]3\[rq]). .TP \f[B]all\f[R] 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: \f[B]pdf2baresvg\f[R] document.pdf output-page%d.svg all This selector is not encouraged for use with \f[B]pdf2baresvg\f[R] since the XML header will not be removed from output files. .TP \f[B]-h\f[R] or \f[B]--help\f[R] Show this message and exit. .SH SEE ALSO .PP \f[B]pdf2svg\f[R] (1) .SH AUTHOR .TP Georges Khaznadar Wrote this manpage for the Debian system. .SH COPYRIGHT .PP Copyright © 2024 Georges Khaznadar .PP This manual page was written for the Debian system (and may be used by others). .PP This manual page is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation as version 2 of the License. .PP This manual page is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. .PP You should have received a copy of the GNU General Public License along with this program. If not, see .PP On Debian systems, the complete text of the GNU General Public License version 2 can be found in \[lq]/usr/share/common-licenses/GPL-2\[rq].