diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-01-09 19:26:44 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-01-09 19:26:44 (GMT) |
commit | 1332d38f2805d986ea130e43218c0d2e870b4dc1 (patch) | |
tree | aa72853cb8d0d8fcd53a6f5eddf196a374226706 /ast/doincludes | |
parent | 5e545ec8058cc5238dc870468b34b5d4617f307f (diff) | |
download | blt-1332d38f2805d986ea130e43218c0d2e870b4dc1.zip blt-1332d38f2805d986ea130e43218c0d2e870b4dc1.tar.gz blt-1332d38f2805d986ea130e43218c0d2e870b4dc1.tar.bz2 |
update ast 8.6.2
Diffstat (limited to 'ast/doincludes')
-rwxr-xr-x | ast/doincludes | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/ast/doincludes b/ast/doincludes deleted file mode 100755 index 656b0ac..0000000 --- a/ast/doincludes +++ /dev/null @@ -1,22 +0,0 @@ -#! /usr/bin/env perl - -# Reads a Latex file which contains \include{file} commands and writes -# the document to standard output with the text of the included files -# inserted. - -# Read input lines. - while ( <> ) { - -# Spot the \include{file} lines and extract the file name. - if ( ( $file ) = /^ *\\include{(.*)} *$/ ) { - -# Read the contents of the included file. - open( INCLUDE, $file . ".tex" ); - while ( <INCLUDE> ) { print; } - close( INCLUDE ); - -# Output other lines unchanged. - } else { - print; - } - } |