Index of /archives/text/CTAN/macros/plain/contrib/transparent-io
Name Last modified Size Description
Parent Directory -
Transparent-IO-hello.tex 2022-08-13 15:47 12
Transparent-IO-example.tex 2022-08-13 15:47 118
Transparent-IO-eccentric.tex 2022-08-13 15:47 192
Transparent-IO-doc.tex 2022-08-13 15:47 35K
Transparent-IO-doc.pdf 2022-08-13 15:47 158K
Transparent-IO-TUGboat-danger.tex 2022-08-13 15:47 724
TrIOsupport.org 2022-08-13 15:47 7.2K
TrIOprivate.org 2022-08-13 15:47 9.8K
TrIOopenout.org 2022-08-13 15:47 717
TrIOopenin.org 2022-08-13 15:47 716
TrIOopen.org 2022-08-13 15:47 594
TrIOmacros.org 2022-08-13 15:47 5.8K
TrIOlineno.org 2022-08-13 15:47 1.0K
TrIOinstall.org 2022-08-13 15:47 583
TrIOinput.org 2022-08-13 15:47 654
TrIOextract.org 2022-08-13 15:47 908
TrIOauto.org 2022-08-13 15:47 2.6K
TrIO.org 2022-08-13 15:47 664
README 2022-08-13 15:47 3.9K
This package provides macros to make the file I/O in plain TeX more
transparent. That is, every \input, \openin, and \openout operation by
TeX is presented to the user who must check carefully what's going on
and then has to enter several inputs including the repetition of the
file name if the file I/O is accepted.
The application of the macros requires concentration; don't execute
TeX with an instrumented source file hastily. Moreover, to use the
macros successfully you must have a non-beginner's knowledge of TeX.
The macros are installed in an non-trivial process. The process is
described in the manual for a UNIX-like system. You must be able to
run sed and bash.
>>> PACKAGE MAINTAINERS:
This package cannot and should not be used from the TDS without an
__individual__ installation by the user. The installation procedure
renames the files and relocates them.
I use the words package, program, TrIO macros, or TrIO when I refer to
the program statements in the twelve files named either TrIO*.org (see
below) or TrIO*.tex (six files, see below), openin.tex, openout.tex,
TrIO*.sed (three files, see below), and TrIO.sh after the
installation.
1. TrIOmacros.org: main file to instrument a source file
2. TrIOsupport.org: common macros to TrIOmacros.tex and TrIOauto.tex
3. TrIOprivate.org: copies of control sequences and test routines
4. TrIOinput.org: called for every \input
5. TrIOopenin.org: entered by the user for every \openin
6. TrIOopenout.org: entered by the user for every \openout
7. TrIOextract.org: sed script to create TrIOnames.tex (see manual)
8. TrIOlineno.org: another sed script to create TrIOnames.tex
9. TrIOauto.org: replacement for TrIOmacros.tex in repeated executions
10. TrIOopen.org: called for every I/O command in TrIOnames.tex
11. TrIO.org: bash script to install the package
12. TrIOinstall.org: sed script to set passwords and private messages
The last two files are only used for the installation. They must be
renamed and edited, see the manual. During their execution they will
change and rename the other ten files.
The first six files are renamed during the installation so that all
have the extension .tex instead of .org; in the names of files 5 and 6
the ``TrIO'' prefix is deleted too. Files 7--10 are also renamed: The
first two become sed scripts the other two .tex files.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 3 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
The package consists of the following files:
TrIO*.org -- 12 files (see above) that must be
customized to become an installation
Transparent-IO-doc.pdf -- a manual that describes the installation
and the use of the TrIO macros
Transparent-IO-doc.tex -- the source of the manual; it requires
plain TeX
Transparent-IO-example.tex -- an example from the documentation
Transparent-IO-eccentric.tex -- another example from the documentation
Transparent-IO-hello.tex -- used in the above two examples
Transparent-IO-TUGboat-danger.tex -- see the TUGboat article referenced in
the documentation for its relevance;
rename the file to ``danger.tex'' if
you want to run this example
README -- this file
Copyright (C) 2022 Udo Wermuth (author)
u dot wermuth (at) icloud dot com