Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Numeric stability is probably not all that important when you're guessing.


computers / comp.text.tex / CTAN update: cleveref-usedon

SubjectAuthor
o CTAN update: cleveref-usedonCTAN Announcements

1
CTAN update: cleveref-usedon

<mailman.5600.1682196717.3715.ctan-ann@ctan.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6486&group=comp.text.tex#6486

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: ctan-...@ctan.org (CTAN Announcements)
Newsgroups: comp.text.tex
Subject: CTAN update: cleveref-usedon
Date: Sat, 22 Apr 2023 21:51:48 +0100
Lines: 86
Message-ID: <mailman.5600.1682196717.3715.ctan-ann@ctan.org>
Reply-To: ctan-ann@ctan.org
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: solani.org;
logging-data="3828453"; mail-complaints-to="abuse@news.solani.org"
To: ctan-ann@ctan.org
Cancel-Lock: sha1:swNhizSso9qrHp6DHs7Dvs83uhs=
Precedence: list
X-User-ID: eJwNxskBwDAIA7CVwmFTxikQ9h+h1UswCjucoGOxMq4k+j1W89y+EI2cK2mo/Ld6UpBasSapHxWyEH8=
List-Help: <mailto:ctan-ann-request@ctan.org?subject=help>
List-Subscribe: <https://lists.dante.de/mailman/listinfo/ctan-ann>,
<mailto:ctan-ann-request@ctan.org?subject=subscribe>
List-Id: CTAN Announcements <ctan-ann.ctan.org>
X-BeenThere: ctan-ann@ctan.org
List-Archive: <https://lists.dante.de/pipermail/ctan-ann/>
List-Unsubscribe: <https://lists.dante.de/mailman/options/ctan-ann>,
<mailto:ctan-ann-request@ctan.org?subject=unsubscribe>
X-Mailman-Version: 2.1.23
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ctan.org; s=201703;
t=1682196716; bh=B6R6JtfG2FwHpxB0rppgPzvAnDmoqyFj7rszp5shGLA=;
h=Date:From:To:Subject:Reply-To:From;
b=EpptSkG/J0lo/6U78Fn2hbhRkG9FG11j7Az8aODxxMzrfvgmyqV3+CZJt3rNFevdy
BUyQ9DFpoizbRbct10V9QLn9XbMXKIbXE4YrhVQ9vBevdI4wRtHYNDHkjdsept5nHW
dJtsAoafGmvFE1sCA3hb0+QnCFNEigfqMP/Sxdbk=
 by: CTAN Announcements - Sat, 22 Apr 2023 20:51 UTC

Sven Pistre submitted an update to the

cleveref-usedon

package.

Version number: 0.4.0 2023-04-21
License type: lppl1.3

Summary description: Adds forward-referencing functionality to the cleveref package

Announcement text:
----------------------------------------------------------------------

### Changed
- the .dtx file to use the l3doc document class instead of ltxdoc.

### Added
- an abstract explanation of the implementation in Section 2 of the documentation.
- the change log CHANGES.md
- more descriptive \PackageError's to abort loading the package when the expl3 or LaTeX
format is older than 2021-05-16.

### New Features
- Experimental options UsedBy and UsedByAndOn:

The new (experimental) options UsedBy and UsedByAndOn add the messages
"(Used by <list of theorem-like destination(s)>.)"
and
"(Used by <list of theorem-like destination(s)> on page(s) <list of page(s)>.)",
respectively, after the original location of the label <LabelName> when it is referenced
via e.g. \cref[UsedBy]{<LabelName>}.
Thanks to Murray Eisenberg for this suggestion.

Unfortunately, due to how this package is currently implemented, to get these
experimental options to work it is necessary to abuse the usage of proof environments.
Namely, one needs to nest the proof environment \emph{inside} the theorem-like
environment, i.e. \begin{theorem}
THEOREM CONTENT
\begin{proof}
PROOF CONTENT with \cref[UsedBy]{lemma:AuxiliaryCalculation}.
\end{proof}
\end{theorem}
instead of
\begin{theorem}
THEOREM CONTENT
\end{theorem}
\begin{proof}
PROOF CONTENT with \cref[UsedBy]{lemma:AuxiliaryCalculation}.
\end{proof}
Note carefully how the proof environments are (ab)used in the above code example.

This is -- as far is I know -- not how these environments are supposed to be used.
In particular, placing text between theorem-like environment and the corresponding proof,
as is often common, will result in a wrong reference. Namely, instead of referencing the
theorem-like environment by name only the corresponding section name would be printed,
e.g. "(Used by Section 2.2.)"
Check Section 2.2 of the documentation for an example.
Hence, using proof environments correctly results in "UsedBy" and "UsedByAndOn" messages
which are less helpful to the reader. On the other hand, using this experimental
functionality to help the reader forces users (i.e. authors) of this package to use proof
environments incorrectly. This sounds like a No-Free-Lunch theorem...
Therefore, use these two experimental options at your own discretion!

If anyone has an idea how to implement this without nesting the proof environment, let me
know! ----------------------------------------------------------------------

This package is located at
https://mirrors.ctan.org/macros/latex/contrib/cleveref-usedon

More information is at
https://www.ctan.org/pkg/cleveref-usedon

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

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

Thanks for the upload.

For the CTAN Team
Ina Dau

--

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor