README

TITLE

Pod::To::PDF::Lite

SUBTITLE

Pod to PDF draft renderer

Description

Renders Pod to PDF draft documents via PDF::Lite.

Usage

From command line:

$ raku --doc=PDF::Lite lib/to/class.rakumod | xargs xpdf

From Raku:

use Pod::To::PDF::Lite;

=NAME
foobar.pl

=SYNOPSIS
    foobar.pl <options> files ...

pod2pdf($=pod).save-as: "foobar.pdf";

Exports

class Pod::To::PDF::Lite;
sub pod2pdf; # See below

From command line:

$ raku --doc=PDF::Lite lib/to/class.rakumod | xargs xpdf

From Raku code, the pod2pdf function returns a PDF::Lite object which can be further manipulated, or saved to a PDF file.

use Pod::To::PDF::Lite;
use PDF::Lite;

=NAME
foobar.raku

=SYNOPSIS
    foobarraku <options> files ...

my PDF::Lite $pdf = pod2pdf($=pod);
$pdf.save-as: "class.pdf"

Restrictions

PDF::Lite minimalism, including:

  • PDF Core Fonts only

  • no Table of Contents or Index

  • no Links

  • no Syntax Highlighting

  • no Marked Content/Accessibility

See Also

Pod::To::PDF::Lite v0.0.8

Minimal Pod to PDF draft rendering

Authors

  • David Warring

License

Artistic-2.0

Dependencies

PDF::LitePDF::Content:ver<0.5.16+>File::Temp

Test Dependencies

Provides

  • Pod::To::PDF::Lite
  • Pod::To::PDF::Lite::Style

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.