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