RST2PDF(1) General Commands Manual RST2PDF(1)NAME
rst2pdf - Convert reStructuredText documents to PDF
SYNOPSIS
rst2pdf [options]
DESCRIPTION
The usual way of creating PDF from reStructuredText (ReST) is by going through LaTeX. The rst2pdf utility provides an alternative by pro-
ducing PDF directly using the ReportLab library.
OPTIONS --output=FILE, -o FILE
Specify output location.
--stylesheet=STYLESHEET, -s STYLESHEET
Specify custom stylesheets (comma-seperated)
--compressed, -c
Create a compressed PDF.
--print-stylesheet
Print the default stylesheet and exit.
--language=LANG, -l LANG
Language to be used for hyphenation.
--break-level=LEVEL, -b LEVEL
Maximum section level that starts in a new page. (Default: 1)
--font-folder=FOLDER
Search this folder for fonts
--quiet, -q
Print less information.
--verbose, -v
Print debugging information.
--very-verbose
Print even more debugging information.
-help, -h
Show help message.
EXAMPLES
$ rst2pdf rest.txt -o out.pdf
Produce an out.pdf file which is a PDF version of the ReST document rest.txt.
AUTHOR
rst2pdf was written by Roberto Alsina <ralsina@netmanagers.com.ar>.
This manual page was written by Chris Lamb <chris@chris-lamb.co.uk>, for the Debian project (but may be used by others).
September 01, 2008 RST2PDF(1)
Check Out this Related Man Page
PDF::API2::Basic::PDF::Page(3pm) User Contributed Perl Documentation PDF::API2::Basic::PDF::Page(3pm)NAME
PDF::API2::Basic::PDF::Page - Represents a PDF page, inherits from PDF::API2::Basic::PDF::Pages
DESCRIPTION
Represents a page of output in PDF. It also keeps track of the content stream, any resources (such as fonts) being switched, etc.
Page inherits from Pages due to a number of shared methods. They are really structurally quite different.
INSTANCE VARIABLES
A page has various working variables:
curstrm
The currently open stream
METHODS
PDF::API2::Basic::PDF::Page->new($pdf, $parent, $index)
Creates a new page based on a pages object (perhaps the root object).
The page is also added to the parent at this point, so pages are ordered in a PDF document in the order in which they are created rather
than in the order they are closed.
Only the essential elements in the page dictionary are created here, all others are either optional or can be inherited.
The optional index value indicates the index in the parent list that this page should be inserted (so that new pages need not be appended)
$p->add($str)
Adds the string to the currently active stream for this page. If no stream exists, then one is created and added to the list of streams for
this page.
The slightly cryptic name is an aim to keep it short given the number of times people are likely to have to type it.
$p->ship_out($pdf)
Ships the page out to the given output file context
perl v5.14.2 2011-03-10 PDF::API2::Basic::PDF::Page(3pm)
Hi all,
In the directory '/temp/chris' the following files exist: chris.tar, chris.txt
What i am trying to do is to assign the 'chris.tar' filename in an argument through perl, in order to do that i use the system command:
$file=system("ls /temp/chris/*.tmp), but in the '$file' the exit... (2 Replies)
Hi all,
I have 4 files for example named
abc01012009.txt
abc02012009.txt
abc03012009.txt
abc04012009.txt
in a folder. I would like to firstly backup the latest file available, in this case, the latest date available, abc04012009.txt to its subfolder named backup, and then rename the... (4 Replies)
Hello,
I am using the following code
#!/bin/sh
chris='rerun'
chris2=$1
echo "chris=$chris"
echo "chris2=$chris2"
if
then
echo "RERUN"
else
echo "NOT RERUN"
fi (6 Replies)
Hi all,
I'm trying to create a script to merge a csv or txt file with a pdf template. So i have a pdf template with company logo and i want to merge it with a csv or txt file so i can create a complete invoice in pdf.
now i do find some command line tools to do this but i need a pro version... (3 Replies)
Hopefully this is the correct place to post this, if not please let me know.
I am trying to find a way to print from AIX directly to a windows PDF printer. I don't really care if it is paid or freeware, I am just trying to get it to work. I did see a product called BullZip and I am going to... (3 Replies)