closefrm – Tidy up after reading a METAPOST file
Defines a ‘closefrom’ macro to complement the ‘readfrom’ primitive. It operates by repeatedly reading from a file until reaching EOF, which has the side-effect of closing the file.
The macro might be useful to avoid running out of read files when using the METAPOST graph package to process many data files that contain extra junk at the end. (In such circumstances, reading the files will stop short of the end, so leaving the file open.)
|License||Unknown Status, No Information Available|
manage TeX’s limited i/o streams|
Maybe you are interested in the following packages as well.
- newfile: User level management of LaTeX input and output
- gpdata: Cause METAPOST graph package to ignore '#'-comments
- exteps: Include EPS figures in METAPOST
- hatching: METAPOST macros for hatching interior of closed paths