TeX::AutoTeX::File
The File object stores information on files processed by AutoTeX, and is also invoked to handle the actual processing for these files. Most of the TeX processing code is located here.
Creates a new File object. Call as TeX::AutoTex::File->new($fileset, $filename) Logging is inherited from the TeX::AutoTeX::Fileset object $fileset.
To get cache behaviour, instantiate instead through the TeX::AutoTeX::Fileset context as $fileset->new_File($filename).
setter for file specific dvi_flags
getter for file specific dvi_flags
returns a file's type, in a form like 'TYPE_FAILED' or such
returns the filename attribute
determines the file type and returns it. Will also store the tex format if necessary.
returns an English description of the type.
determines if the type is in the list of tex types.
Returns a number, the higher it is the more likely this file is to be a top level tex file. Possible return values:
Call to override type. Intended to be used only be readme parser.
processes this file. Call as $file->process($instance_of_TeX::AutoTeX::Process). if this is a tex file, returns 0 on non-failure.
gets called by process, the subroutine above, when a tex file is encountered returns the log file, so process can check for file inclusion
gets called when a DVI file is encounterd. attempts conversion of DVI to PostScript
this is a stub which is not functional without external helper programs. Some of the source files at arXiv are encrypted to protect their contents from close inspection by third parties.
reads the log file produced by running tex/whatever, returns reference to a scalar holding the entire log file
unlinks all '.aux' files newer than the process start time, remove from cache if present
links in place the appropriate source, either what copy_source_from_hyper generated for use with nohyper, or a version that can be used with hypertex
runs the actual tex/latex/whatever program. Will do multiple passes and such
determines whether latex has created files that would imply an extra pass needs to be done.
checks to see if font generation took place. If so, causes run_tex_attempt to cycle again.
deletes tex aux files after tex has been run
simple boolean check on whether a particular flag is set
set a flag for the given name to true
return the name of a file without the extension (if any)
AutoTeX automatic TeX processing system Copyright (c) 1994-2006 arXiv.org and contributors AutoTeX is supplied under the GNU Public License and comes with ABSOLUTELY NO WARRANTY; see COPYING for more details. AutoTeX is an automatic TeX processing system designed to process TeX/LaTeX/AMSTeX/etc source code of papers submitted to the arXiv.org (nee xxx.lanl.gov) e-print archive. The portable part of this code has been extracted and is made available in the hope that it will be useful to other projects and that the input of others will benefit arXiv.org. Code developed and contributed to by Tanmoy Bhattacharya, Rob Hartill, Mark Doyle, Thorsten Schwander, and Simeon Warner. Refactored to separate generic code from arXiv.org specific code by Stephen Marsh, Michael Fromerth, and Simeon Warner 2005/2006. Major cleanups and algorithmic improvements/corrections by Thorsten Schwander 2006 - 2011
Please report bugs to www-admin
See history above. Current maintainer: Thorsten Schwander for arXiv.org
Copyright (c) 2007 - 2011 arxiv.org http://arxiv.org/help/contact
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install TeX::AutoTeX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TeX::AutoTeX
CPAN shell
perl -MCPAN -e shell install TeX::AutoTeX
For more information on module installation, please visit the detailed CPAN module installation guide.