| Crates.io | latex-packer |
| lib.rs | latex-packer |
| version | 0.1.1 |
| created_at | 2025-04-21 21:58:02.4802+00 |
| updated_at | 2025-04-21 21:59:04.851089+00 |
| description | CLI that goes though the file and subsequent \input, \include and packs all the content to the single output file. |
| homepage | https://github.com/DobbiKov/latex-packer |
| repository | https://github.com/DobbiKov/latex-packer |
| max_upload_size | |
| id | 1643291 |
| size | 12,312 |
This CLI reads a provided main tex file and if there are inputet or included
files using \input or \inlcude the CLI copies their content and pastes to
the output files. In the end you obtain a single tex file containing all the
contents without nested files.
\documentclass{article}
\begin{document}
\input{abstract.tex}
Hello, world!
\input{first.tex}
\end{document}
\abstract{This is a simple abstract.}
\textbf{First nested files}
But there's another one:
\input{second.tex}
Second \textit{nested file}
Then if you call:
latex-packer main.tex output.tex
You obtain the resulted file:
\documentclass{article}
\begin{document}
\abstract{This is a simple abstract.}
Hello, world!
\textbf{First nested files}
But there's another one:
Second \textit{nested file}
\end{document}