Re: [PATCH 1/4] howto: Use '\cref' consistently

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Akira,

On Sun, Apr 4, 2021 at 11:39 AM Akira Yokosawa <akiyks@xxxxxxxxx> wrote:
>
> Hello SeongJae,
>
> On Sun, 4 Apr 2021 09:50:07 +0200, SeongJae Park wrote:
> > 'howto' chapter is using mix of '\cref' and 'Chapter~\ref'.  This commit
> > makes it to consistently use the shorter one, '\cref'.
> >
> > Signed-off-by: SeongJae Park <sj38.park@xxxxxxxxx>
> > ---
> >  howto/howto.tex | 38 +++++++++++++++++++-------------------
> >  1 file changed, 19 insertions(+), 19 deletions(-)
> >
> > diff --git a/howto/howto.tex b/howto/howto.tex
> > index 7de1dbd9..4a00bb3c 100644
> > --- a/howto/howto.tex
> > +++ b/howto/howto.tex
> > @@ -56,22 +56,22 @@ that it has brought to us!
> >  This book is a handbook of widely applicable and heavily
> >  used design techniques, rather than
> >  a collection of optimal algorithms with tiny areas of applicability.
> > -You are currently reading Chapter~\ref{chp:How To Use This Book}, but
> > +You are currently reading \cref{chp:How To Use This Book}, but
> >  you knew that already.
> > -Chapter~\ref{chp:Introduction} gives a high-level overview of parallel
> > +\cref{chp:Introduction} gives a high-level overview of parallel
>
> Please use \Cref{} at the beginning of a sentence.
>
> This does not matter at the moment, but in the long run,
> once we finish the conversion to \cref{}/\Cref{}s,
> cleveref will allow us to choose other convention of
>
>     Figure 1 ..., Fig. 2 ...
>
> ,or
>
>     Figure 1 ..., fig. 2 ...
>
> to save some paper/display area.
>
> Excerpt of cleveref's user manual:
>
>     If you just want to get going quickly with cleveref, and
>     come back later to read up on all the features it provides
>     in more detail, here’s what you need to do. Wherever you
>     would previously have used \ref, use \cref instead.
>     (Except at the beginning of a sentence, where you should
>     use \Cref.)
>
> >  programming.
> >
> > -Chapter~\ref{chp:Hardware and its Habits} introduces shared-memory
> > +\cref{chp:Hardware and its Habits} introduces shared-memory
>
> Ditto.  And there are same patterns below.
>
> Can you fix them and resend the series?

Sure, I will do so soon.


Thanks,
SeongJae Park
[...]




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux