A couple warnings in gmp.texi

Antonio Diaz Diaz antonio at gnu.org
Sun Jul 13 23:52:53 CEST 2025


Hello,

When running 'makeinfo gmp.texi' with makeinfo 4.13 and GMP 6.3.0 I get a 
couple warnings:

gmp.texi:2449: warning: `.' or `,' must follow @xref, not `)'.
gmp.texi:2449: warning: for cross-references in parentheses, use @pxref.
gmp.texi:9079: warning: `.' or `,' must follow @xref, not `b'.

I have fixed them with the patch below.

The warnings are still present in the devel version of gmp.texi (at lines 
2449 and 9080).

BTW, I would suggest to pass '--no-split' to makeinfo because the full info 
manual is not so large (about 112 kB compressed).

Best regards,
Antonio.


--- gmp.texi~   2023-07-29 15:42:16.000000000 +0200
+++ gmp.texi    2025-07-13 22:33:51.996989575 +0200
@@ -2446,7 +2446,7 @@
  expression evaluation within the main GMP library.  Going beyond something
  minimal quickly leads to matters like user-defined functions, looping, fixnums
  for control variables, etc, which are considered outside the scope of GMP
-(much closer to language interpreters or compilers, @xref{Language Bindings}).
+(much closer to language interpreters or compilers, @pxref{Language Bindings}).
  Something simple for program input convenience may yet be a possibility, a
  combination of the @file{expr} demo and the @file{pexpr} tree back-end
  perhaps.  But for now the above evaluators are offered as illustrations.
@@ -9076,7 +9076,7 @@
  by raising @m{(-1)^e,(-1)^e}.

  Much of the HGCD code is shared directly with the HGCD implementations, such
-as the 2x2 matrix calculation, @xref{Lehmer's Algorithm} basecase and
+as the 2x2 matrix calculation, @ref{Lehmer's Algorithm} basecase and
  @code{GCD_DC_THRESHOLD}.

  The asymptotic running time is @m{O(M(N)\log N),O(M(N)*log(N))}, where


More information about the gmp-bugs mailing list