Gentoo Archives: gentoo-pms

From: Michael Orlitzky <mjo@g.o>
To: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] [PATCH] Refer to chapters as chapters.
Date: Sun, 24 Mar 2019 03:23:47
Message-Id: ebd4bb96-f321-dddf-792f-ce21f1dfe5b0@gentoo.org
In Reply to: [gentoo-pms] [PATCH] Refer to chapters as chapters. by "Ulrich Müller"
1 On 3/23/19 5:30 PM, Ulrich Müller wrote:
2 > -certain variables and functions (see sections~\ref{sec:ebuild-vars} and~\ref{sec:ebuild-functions}
3 > +certain variables and functions (see chapters~\ref{sec:ebuild-vars} and~\ref{sec:ebuild-functions}
4
5 Please change those labels to e.g. "chap:ebuild-vars" in the process.
6 Every "chapter" reference to a "sec" label looks like a bug to me.
7
8 I don't know how everyone feels about additional TeX dependencies, but
9 the cleveref package is designed to solve exactly this problem:
10
11 https://ctan.org/pkg/cleveref
12
13 Instead of "chapter~\ref{chap:...}", cleveref lets you write only
14 "\cref{chap:...}", and the correct word, capitalization, and
15 non-breaking spaces are inserted automatically.

Replies

Subject Author
[gentoo-pms] [PATCH v2] Refer to chapters as chapters. "Ulrich Müller" <ulm@g.o>