Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

publican::createbook(3) [centos man page]

Publican::CreateBook(3) 				User Contributed Perl Documentation				   Publican::CreateBook(3)

NAME
Publican::CreateBook - A module for generating documentation boilerplate VERSION
This document describes Publican::CreateBook version $VERSION SYNOPSIS
use Publican::CreateBook; my $creator = Publican::CreateBook->new({name => 'foo'}); $creator->create(); DESCRIPTION
Creates a new Book, Article or Set for use with the publican package INTERFACE
new Create a Publican object set. Parameters: docname Book Name (Required) version Product Version (default: 0.1) edition Edition (default: 0) product Product Name (default: Documentation) brand Brand (default: common) xml_lang Source Language (default: en-US) type Book|Set|Article (default: Book) create Try embedding templates in perl to avoid licensing rubbish DIAGNOSTICS
"unknown args %s" All subs with named parameters will return this error when unexpected named arguments are provided. "%s is a required argument" Any sub with a mandatory parameter will return this error if the parameter is undef. "directory %s exists" When creating a book a directory is created named publican-<book_name>. If a directory with that name is in the current directory the creation will fail. CONFIGURATION AND ENVIRONMENT
Publican::CreateBook requires no configuration files or environment variables. DEPENDENCIES
Carp Config::Simple XML::TreeBuilder File::Path DateTime Term::ANSIColor Publican INCOMPATIBILITIES
None reported. BUGS AND LIMITATIONS
No bugs have been reported. Please report any bugs or feature requests to "publican-list@redhat.com", or through the web interface at <https://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Publican&component=publican>. AUTHOR
Jeff Fearn "<jfearn@redhat.com>" perl v5.16.3 2014-06-10 Publican::CreateBook(3)

Check Out this Related Man Page

Publican::XmlClean(3pm) 				User Contributed Perl Documentation				   Publican::XmlClean(3pm)

NAME
Publican::XmlClean - A module to reformat XML to Publican standards VERSION
This document describes Publican::XmlClean version $VERSION SYNOPSIS
use Publican::XmlClean; my $cleaner = Publican::XmlClean->new( { clean_id => 1 } ); foreach my $xml_file ( sort(@xml_files) ) { $cleaner->process_file( { file => $xml_file, out_file => $xml_file } ); } DESCRIPTION
Publican::XmlClean tidies XML formatting and filters structure based on input rules. INTERFACE
new Create a new Publican::XmlClean object. print_known_tags Print a list of tags that have had their output QA'd. print_banned_tags Print a list of tags that are not supported. prune_xml($node) Remove unwanted nodes. If $lang is set then delete all nodes that have lang set and do not contain $lang If $arch is set then delete all nodes that have arch set and do not contain $arch If $condition is set then delete all nodes that have condition set and do not contain $condition Clean_ID Rename ID's and update xrefs. If this node has a title as a child set it's ID else remove the ID print_xml Print out utf8 XML files Have to output xml/DTD header my_as_XML Traverse tree and output xml as text. Overrides traverse ... evil stuff. validate_tables Ensure Tables comply to requirements not enforceable in XML validation. 1. tgroup attribute cols must match the number of entries in every row. sort_glossaries Sort glosslists process_file Create XML::TreeBuilder object and perform operations. DIAGNOSTICS
"unknown args %s" All subs with named parameters will return this error when unexpected named arguments are provided. "%s is a required argument" Any sub with a mandatory parameter will return this error if the parameter is undef. "Could not open %s for output!" The named file could not be opened. "Can't calculate image size of %s" Images are automatically scaled if thy are to wide, this check could not be performed due to either access permissions or file weirdness. CONFIGURATION AND ENVIRONMENT
Publican::XmlClean requires no configuration files or environment variables. DEPENDENCIES
Carp version XML::TreeBuilder Text::Wrap Config::Simple Publican File::Path Image::Size Term::ANSIColor Cwd INCOMPATIBILITIES
None reported. BUGS AND LIMITATIONS
No bugs have been reported. Please report any bugs or feature requests to "publican-list@redhat.com", or through the web interface at <https://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Publican&#59amp;version=rawhide&amp;component=publican>. AUTHOR
Jeff Fearn "<jfearn@redhat.com>" perl v5.14.2 2012-06-18 Publican::XmlClean(3pm)
Man Page