CTAN Comprehensive TeX Archive Network

runtexshebang – A Lua script running document files with -style shebang

In short, a -style shebang (%#!) is a special kind of comment that you include in your / document file to tell the operating system’s shell how to run the file for the rest of the file:

      %#!lualatex foo.tex
        Hello, {\} World!
Happy {\}ing. \end{document}

If you are using a -style shebang, it must appear on the line that matched 20 lines or less in your document, and it has to start with a comment symbol (%) followed by a hash sign (#) and an exclamation mark (!), colloquially known as the bang, hence the name shebang for /.

Home pagehttps://github.com/munepi/runtexshebang
Bug trackerhttps://github.com/munepi/runtexshebang/issues
Version0.5 2023-11-17
LicensesMIT License
Copyright2021–2023 Munehiro Yamamoto
MaintainerMunehiro Yamamoto
Contained inTeX Live as runtexshebang
MiKTeX as runtexshebang

Download the contents of this package in one zip archive (4.2k).

Community Comments



Here you can see a respective diagram in newer browsers.


Package Links

Guest Book Sitemap Contact Contact Author