Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <Status-20240822205836@ram.dialup.fu-berlin.de>
Deutsch   English   Français   Italiano  
<Status-20240822205836@ram.dialup.fu-berlin.de>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.text.tex
Subject: Re: [LaTeX] How to tell the user that the document wasn't compiled with -shell-escape flag?
Date: 22 Aug 2024 20:02:40 GMT
Organization: Stefan Ram
Lines: 20
Expires: 1 Jul 2025 11:59:58 GMT
Message-ID: <Status-20240822205836@ram.dialup.fu-berlin.de>
References: <e232066edde4e56c00ea54acc8608b61eca65278.camel@tilde.green>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de Yvy+Xr0bLkAt0K/JltaVpwYQRdm3jt4/EVYChNLXiDJWRJ
Cancel-Lock: sha1:gqAGX/w3BQbOrfnsBkVrgfXOzSg= sha256:JYGAvTUV68dIzXjV7MhEy3xlnVuQBSdl2yTtQ4OxHBI=
X-Copyright: (C) Copyright 2024 Stefan Ram. All rights reserved.
        Distribution through any means other than regular usenet
        channels is forbidden. It is forbidden to publish this
        article in the Web, to change URIs of this article into links,
        and to transfer the body without this notice, but quotations
        of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
        services to mirror the article in the web. But the article may
        be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
Bytes: 2134

Annada Behera <segfault@tilde.green> wrote or quoted:
>Anybody has any idea how that can be done. Thank you.

  Lately, the newer versions of "shellesc" (like since 2020?)
  are said to define "ShellEscapeStatus." So, you could totally
  do something like this:

\usepackage{shellesc}

\ifnum\ShellEscapeStatus=1 \else
\PackageError{mypackage}{use shell escape}{or else}
\fi

  But since I'm rocking an older version, I can't check this out
  myself!

|The shell escape status may be queried by checking the
|integer (chardef) command \ShellEscapeStatus, 0 (disabled) 1
|(enabled) 2 (restricted).
probably from the docs (2023)