🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #90

CTAN update: runtexshebang

#90
From: CTAN Announcements
Date: Thu, 22 Oct 2026 05:20
66 lines
4727 bytes
Munehiro Yamamoto submitted an update to the

                runtexshebang

package.

Version: 1.1 2026-10-21
License: lppl1.3c

Summary description: A Lua script running LaTeX document files with TeX-style shebang

Announcement text:
--------------------------------------------------------------------------------
runtexshebang v1.1 refuses a TeX-style shebang (%#!) line that contains
an ASCII control character other than TAB, both when running it and
with --dry-run.  A carriage return or an escape sequence in that line
could make the command shown on the terminal differ from the command the
shell actually runs.  Non-ASCII bytes are not checked, so UTF-8,
Shift_JIS and EUC-JP file names keep working.

The test suite now also checks that runtexshebang never loads Lua
modules placed in the current directory.



runtexshebang 1.0 runs the `%#!` line of a LaTeX document through the
system shell, as before, but is now more careful about it.

## Changes

- The license is now the LaTeX Project Public License 1.3c (was MIT).
- The command of the `%#!` line is printed on stderr before it is run,
  and its exit status is passed through, so editors and `make` can
  detect failures.
- CRLF line endings and a UTF-8 byte order mark before `%#!` are handled;
  only the leading `%#!` is removed from the line.
- Missing files, an empty `%#!` line and unknown options are reported
  with a message and a non-zero exit status instead of a Lua traceback.
  `--` ends option parsing.
- On Windows, `NoDefaultCurrentDirectoryInExePath=1` is set before the
  command runs, so an executable placed next to the document cannot
  shadow a TeX Live program named on the `%#!` line.
- The README has a new Security section. In short: running runtexshebang
  on a document is equivalent to typing its `%#!` line yourself, so use
  it only on documents you trust, and never add it to
  `shell_escape_commands`.
- PDF documentation is included.
--------------------------------------------------------------------------------

This package is located at
   https://mirrors.ctan.org/support/runtexshebang

More information is at
   https://ctan.org/pkg/runtexshebang


--------------------------------------------------------------------------------

   Thanks for the upload.

     For the CTAN Team
    Manfred Lotz


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 .
Technical Details
Message-ID: <b50cffffbf7c0c60@hogwart>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: CTAN Announcements <manfred@ctan.org>
Newsgroups: comp.text.tex
Subject: CTAN update: runtexshebang
Date: Thu, 22 Oct 2026 07:20:10 +0200 (CEST)
Organization: CTAN
Lines: 66
Message-ID: <b50cffffbf7c0c60@hogwart>
Content-Type: text/plain; charset=utf-8
Injection-Info: solani.org;
	logging-data="203414"; mail-complaints-to="abuse@news.solani.org"
To: ctan-ann@ctan.org
Cancel-Lock: sha1:Q1DS4p/fYg9ZymjU7zm3+H70r8g=
X-Mailman-Rule-Hits: member-moderation
X-Mailman-Version: 3.3.8
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address
X-MailFrom: manfred@ctan.org
X-Rspamd-Queue-Id: C45118050E
Message-ID-Hash: DMP3ZOZ6EM3QAKSAZPY4S6A5J2KTUTLP
X-User-ID: eJwFwQkBACAIA8BKTgZoHB7pH8E7FYOV09SoowOUBw8lG+RkX8q8TqLva0Sss0urkrL9Lf0lURF9
X-Message-ID-Hash: DMP3ZOZ6EM3QAKSAZPY4S6A5J2KTUTLP
Precedence: list
X-Rspamd-Server: irony
X-Spamd-Result: default: False [-0.60 / 16.00];
	BAYES_HAM(-3.00)[100.00%];
	MISSING_MIME_VERSION(2.00)[];
	MID_RHS_NOT_FQDN(0.50)[];
	MIME_GOOD(-0.10)[text/plain];
	RCVD_VIA_SMTP_AUTH(0.00)[];
	ARC_NA(0.00)[];
	ASN(0.00)[asn:3320, ipnet:87.128.0.0/10, country:DE];
	RCVD_COUNT_ONE(0.00)[1];
	RCPT_COUNT_ONE(0.00)[1];
	TO_DOM_EQ_FROM_DOM(0.00)[];
	MISSING_XM_UA(0.00)[];
	FREEMAIL_ENVRCPT(0.00)[gmail.com];
	RECEIVED_HELO_LOCALHOST(0.00)[];
	TO_MATCH_ENVRCPT_ALL(0.00)[];
	FROM_EQ_ENVFROM(0.00)[];
	FROM_HAS_DN(0.00)[];
	MIME_TRACE(0.00)[0:+];
	LOCAL_OUTBOUND(0.00)[];
	RCVD_TLS_LAST(0.00)[];
	TO_DN_NONE(0.00)[];
	HAS_ORG_HEADER(0.00)[]
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ctan.org; s=201703;
	t=1792646413; bh=Ph0kT/7+5YZNCN8X+dgNDNGX38HsGSd5kYiB12upNTY=;
	h=Date:From:To:Subject:From;
	b=BMXGPmf2gJWF7TC8cjVt9xgrGcR92C3NNPAW7vV0wCpORrpa7JUqhLEtrWDlhS4si
	 VqRLz9FbuEl5LcNOzma+k5Bj52/akdzpVYADSF5AdQ0NrmdxWos1ku+PAAvWcKPsPn
	 ElvGvFlH6sLIswuYK7ANMlhipfly7Amqaz5d/ZLk=
X-Rspamd-Action: no action