mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
texinfo: Allow markup in the arguments of `@pxref'.
* module/texinfo.scm (texi-command-specs)[pxref]: Change to `INLINE-TEXT-ARGS'. * test-suite/tests/texinfo.test ("test-texinfo->stexinfo")["@pxref{Locales, @code{setlocale}}"]: New test.
This commit is contained in:
parent
c52ce75a1f
commit
797b2aa69a
2 changed files with 5 additions and 1 deletions
|
@ -216,7 +216,8 @@ lambda. Only present for @code{INLINE-ARGS}, @code{EOL-ARGS},
|
|||
(value INLINE-ARGS . (key))
|
||||
(ref INLINE-ARGS . (node #:opt name section info-file manual))
|
||||
(xref INLINE-ARGS . (node #:opt name section info-file manual))
|
||||
(pxref INLINE-ARGS . (node #:opt name section info-file manual))
|
||||
(pxref INLINE-TEXT-ARGS
|
||||
. (node #:opt name section info-file manual))
|
||||
(url ALIAS . uref)
|
||||
(uref INLINE-ARGS . (url #:opt title replacement))
|
||||
(anchor INLINE-ARGS . (name))
|
||||
|
|
|
@ -416,4 +416,7 @@
|
|||
(name "foo")
|
||||
(arguments "bar " (code "baz"))))
|
||||
(para "text that should be in a para")))
|
||||
(test-body "@pxref{Locales, @code{setlocale}}"
|
||||
'((para (pxref (% (node "Locales")
|
||||
(name (code "setlocale")))))))
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue