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
      \documentclass{article}
      \begin{document}
        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 /.

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

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

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Package Links

Guest Book Sitemap Contact Contact Author