[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: in printed output, @deffn arguments should use a typewriter font lik
From: |
Vincent Lefevre |
Subject: |
Re: in printed output, @deffn arguments should use a typewriter font like with @deftypefn |
Date: |
Sun, 4 Sep 2022 23:39:57 +0200 |
User-agent: |
Mutt/2.2.7+37 (a90f69b9) vl-149028 (2022-09-02) |
On 2022-09-03 21:53:31 +0100, Gavin Smith wrote:
> I see that you use both @deffn and @deftypefn-like commands.
Yes, I don't know about the exact reason. I suppose that a look
at the Texinfo manual was done, and since there are two ways do
to the same thing, one ended up with these two ways in the MPFR
manual (there are also copies of text from the GMP manual).
> The changes
> should be an improvement. For example, in a definition like
>
> size_t mpfr_get_str_ndigits (int b, mpfr_prec_t p)
>
> in the PDF currently on your website, the int and mpfr_prec_t types are
> slanted, for no good reason. With the new output, the types will be
> in upright typewriter. With
I agree, for the types, this is a big improvement.
On 2022-09-04 10:11:04 +0100, Gavin Smith wrote:
> I appreciate the changes broke consistency for @var between @deffn and
> @deftypefn.
>
> What I've done is use the ttsl font for @var in @def lines if txicodevaristt
> is @set (currently the default, in the future to be turned off).
>
> This means if documents use the two types of @def* command together with
> @var, the font style for @var with be the same for both.
Thanks. Everything seems to be consistent now.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)