CTAN Comprehensive TeX Archive Network

CTAN update: runtexshebang

Date: September 14, 2023 3:19:12 PM CEST
Munehiro Yamamoto submitted an update to the runtexshebang package. Version number: 0.4 2023-09-13 License type: mit Summary description: A Lua script running LaTeX document files with TeX-style shebang Announcement text:
* runtexshebang.lua (-n, --help, -v, --version): added options * runtexshebang.lua (USAGE): added "See also" * README.md: added some references
This package is located at https://mirrors.ctan.org/support/runtexshebang More information is at https://www.ctan.org/pkg/runtexshebang
Thanks for the upload. For the CTAN Team Erik Braun
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

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 /.

Packageruntexshebang
Version0.5 2023-11-17
Copyright2021–2023 Munehiro Yamamoto
MaintainerMunehiro Yamamoto

Announcements

more

Guest Book Sitemap Contact Contact Author