Lire::ReportParser::LaTeXWriter(3pm)

Lire::ReportParser::LaTeXWriter3pm

Lire::reportparser processor that formats the report in latex

Usage

    use Lire::ReportParser::LaTeXWriter;
    use Lire::ReportParser::ReportBuilder;
    my $writer = new Lire::ReportParser::LaTeXWriter(),
 );
    my $parser = new Lire::ReportParser::ReportBuilder();
    my $report = $parser->parsefile( 'report.xml' );
    $parser->write_report( $report, 'report.pdf', 'pdf',
                           'preamble' => 'myfont.tex' );

Overview

This is a Lire::ReportParser processor which will format the XML report into PDF, PS or DVI format using LaTeX as intermediary format.

Methods

new()

Returns an new LaTeXWriter.

write_report( $report, $outputfile, $format, [ $preamble ] )

This will write the report Lire::Report in $outputfile in $format output format.

outputfile

This manadatory parameter specifies the file where the file will be written.

format

This mandatory parameter may be one of 'pdf', 'ps', 'dvi' or 'latex'.

preamble

This optional parameter can be used to specify a file that will be included in the LaTeX preamble. It can be use to change the fonts for example.

Version

$Id: LaTeXWriter.pm,v 1.17 2006/07/29 17:57:34 vanbaal Exp $

Releases

6 releases since Debian 3.1 (Sarge); the text changed 5 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. Arch

Author

Francis J. Lacoste <[email protected]>

From lire 2.1.1-8 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.