Added file-write using LaTeX

This commit is contained in:
Emanuel Duss 2023-12-29 20:08:23 +01:00
parent 4eca50ea16
commit 96c2fc9fad

View File

@ -8,6 +8,9 @@ functions:
code: | code: |
latex '\documentclass{article}\usepackage{verbatim}\begin{document}\verbatiminput{file_to_read}\end{document}' latex '\documentclass{article}\usepackage{verbatim}\begin{document}\verbatiminput{file_to_read}\end{document}'
strings article.dvi strings article.dvi
file-write:
- code: |
latex '\documentclass{article}\begin{document}\immediate\openout\tempfile=file_to_write\immediate\write\tempfile{content_to_write}\end{document}'
sudo: sudo:
- description: The read file will be part of the output. - description: The read file will be part of the output.
code: | code: |