NAME

Text::Amuse::Compile::File - Object for file scheduled for compilation

SYNOPSIS

Everything here is pretty much private. It's used by Text::Amuse::Compile in a forked and chdir'ed environment.

ACCESSORS AND METHODS

new(name => $basename, suffix => $suffix, templates => $templates)

Constructor.

INTERNALS

name
suffix
templates
is_deleted
complete_file
mark_as_closed
mark_as_open
purged_extensions
lockfile
muse_file
document

The Text::Amuse object

tt

The Template object

purge_all

Remove all the output files related to basename

purge_latex

Remove files left by previous latex compilation

purge('.epub', ...)

Remove the files associated with this file, by extension.

METHODS

Emit the respective format, saving it in a file. Return value is meaningless, but exceptions could be raised.

html
bare_html
tex
pdf
epub
lt_pdf
a4_pdf