| 1 |
# `scrwfile` — Use LaTeX .aux file in place of `\newrite` files |
| 2 |
|
| 3 |
------------------------------------------------------------------------------ |
| 4 |
|
| 5 |
LaTeX package `scrwfile` |
| 6 |
Copyright (c) 2010—2023 Markus Kohm |
| 7 |
Release: 2023-04-01 v0.1.99 |
| 8 |
License: LPPL 1.3c (see [LICENSE.md](https://github.com/komascript/scrwfile/blob/main/LICENSE.md)) |
| 9 |
CTAN Location: https://ctan.org/pkg/scrwfile |
| 10 |
|
| 11 |
------------------------------------------------------------------------------ |
| 12 |
|
| 13 |
## Summary |
| 14 |
|
| 15 |
`scrwfile` is a LaTeX package, that provides a means of sending all LaTeX |
| 16 |
`\newrite`, table of contents, and other miscellaneous output via the LaTeX |
| 17 |
`.aux`-file. The mechanism subverts the mechanism of `\newrite`, and means there |
| 18 |
will almost never be a “`No room for new \write`” message. |
| 19 |
|
| 20 |
`scrwfile` is a [KOMA-Script](https://www.ctan.org/pkg/koma-script) |
| 21 |
spin-off and was part of that bundle up to `scrwfile` version 0.1.12 |
| 22 |
resp. KOMA-Script version 3.38. It has been removed from KOMA-Script because |
| 23 |
it is experimental and no longer maintained officially. |
| 24 |
|
| 25 |
## Status |
| 26 |
|
| 27 |
This is an experimental package. There is currently no official maintainer |
| 28 |
of this package. |
| 29 |
|
| 30 |
## Installation |
| 31 |
|
| 32 |
We recommend to use the package manager of your TeX distribution to install |
| 33 |
packages. However, if you need to install `scrwfile` manually, you |
| 34 |
can either use a semi-manual installation or a completely manual installation. |
| 35 |
|
| 36 |
### Semi-manual Installation |
| 37 |
|
| 38 |
For a semi-manual installation you can first create a local clone |
| 39 |
of the repository: |
| 40 |
|
| 41 |
```bash |
| 42 |
git clone https://github.com/komascript/scrwfile.git |
| 43 |
``` |
| 44 |
|
| 45 |
Then enter the directory created while cloning the repository: |
| 46 |
|
| 47 |
```bash |
| 48 |
cd scrwfile |
| 49 |
``` |
| 50 |
|
| 51 |
Last, but not least use `l3build` to install it locally with manual and |
| 52 |
sources: |
| 53 |
|
| 54 |
```bash |
| 55 |
l3build install --full |
| 56 |
``` |
| 57 |
|
| 58 |
or without manual and sources: |
| 59 |
|
| 60 |
```bash |
| 61 |
l3build install |
| 62 |
``` |
| 63 |
|
| 64 |
### Completely Manual Installation |
| 65 |
|
| 66 |
To do a completely manual installation, download `scrwfile.dtx`. |
| 67 |
Then extract it using: |
| 68 |
|
| 69 |
```bash |
| 70 |
tex scrwfile.dtx |
| 71 |
``` |
| 72 |
|
| 73 |
To create the manual use: |
| 74 |
|
| 75 |
```bash |
| 76 |
pdflatex scrwfile.dtx |
| 77 |
mkindex scrwfile |
| 78 |
pdflatex scrwfile.dtx |
| 79 |
pdflatex scrwfile.dtx |
| 80 |
``` |
| 81 |
|
| 82 |
Now, you can either install it in the proper directory (see the |
| 83 |
documentation of your TeX distribution) or copy `scrwfile.sty` |
| 84 |
to your document directory. |
| 85 |
|
| 86 |
------------------------------------------------------------------------------ |