The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

TeX::AutoTeX::HyperTeX - filter for augmenting TeX source with hypertex facilities

DESCRIPTION

The function copy_source_from_hyper() is filtering TeX source files through an aggregation of a large number of regular expressions imported from the original AutoTeX code. See HISTORY below.

HISTORY

 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

Functions

copy_source_from_hyper()

Routine to create modified TeX source to automatically add hypertex facilities.

Input parameters:

$type is the file type of $file as determined by TeX::AutoTeX::File
$file is the TeX file name to be edited
$log is an TeX::AutoTeX::Log object for logging
$local_hyper_transform either undef or an instance of a Filter class with a filter() method for local custom parsing to be executed line by line after the standard hypertex transformations.

Returns ($this_type, $dont_hypertex, $try_amsplain)

nohypertex()

Is called by the subroutine above. Essentially functions as a macro, prints an appropriate message and always returns 1, which is then used to set $dont_hypertex

BUGS AND LIMITATIONS

The parsing is somewhat inefficient and easily fooled.

Please report bugs to www-admin

AUTHOR

See history above. Current maintainer: Thorsten Schwander for arXiv.org

LICENSE AND COPYRIGHT

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.