| 1 |
# The metacapture package |
| 2 |
|
| 3 |
The `metacapture` package provides a mechanism for authors to express |
| 4 |
their metadata in a way that separates it from the styling of the |
| 5 |
page. It is intended primarily for use by LaTeX document class |
| 6 |
designers, but may also be useful for authors who may wish to change |
| 7 |
their document class in the future. |
| 8 |
|
| 9 |
When a document that loads `metacapture.sty` is compiled, it produces |
| 10 |
a yaml-like text file containing all metadata from the document. The |
| 11 |
`metacapture` package accomplishes this by providing replacements for |
| 12 |
the generic macros `\title`, `\author` and `\maketitle` macros that |
| 13 |
have traditionally been used by document classes. The `metacapture` |
| 14 |
package also provides several implementations of the `\maketitle` in |
| 15 |
different styles, partly as a way to demonstrate how to separate |
| 16 |
metadata capture from styling of front matter. Document class designers |
| 17 |
can also write their own implementation of `\maketitle` with their |
| 18 |
preferred styling using the dictionary-like data structures used |
| 19 |
to hold author metadata. |
| 20 |
|
| 21 |
The documentation for the `metacapture` package is contained in the |
| 22 |
`metacapture-doc.tex` file (along with the `metacapture-doc.pdf` file). |
| 23 |
There is also a `metacapture-sample.tex` file that demonstrates |
| 24 |
the many uses of the `metacapture` package. |
| 25 |
|
| 26 |
The `metacapture` package was developed for use in the `iacrj.cls` |
| 27 |
document class that is used for IACR journals, but may be used by |
| 28 |
others. There is also a companion open source project for a LaTeX |
| 29 |
workflow located at a separate [github repository](https://github.com/IACR/latex-submit). |
| 30 |
Further information about this can be found at two articles that were |
| 31 |
published by the authors: |
| 32 |
|
| 33 |
* [An article in arXiv](https://arxiv.org/abs/2504.10424): https://arxiv.org/abs/2504.10424 |
| 34 |
* [An article in TUGboat](https://tug.org/TUGboat/tb46-3/tb144bos-workflow.html): https://tug.org/TUGboat/tb46-3/tb144bos-workflow.html |
| 35 |
|
| 36 |
Bugs on this can be filed at the [github repository](https://github.com/IACR/latex) |