Re: ref macro works as expected for html and info, but not pdf?

2023-08-05 Thread Raymond Toy
On 8/5/23 8:16 AM, Gavin Smith wrote: On Sat, Aug 05, 2023 at 08:07:31AM -0700, Raymond Toy wrote: I have a set of simple macros: |@macro kwd {keyword} @code{:\keyword\} @end macro @c Macro to generate a cross-reference to a keyword. @macro keyref {arg} @xref{\arg\, @kwd{\arg\}} @end macro |

Re: ref macro works as expected for html and info, but not pdf?

2023-08-05 Thread Gavin Smith
On Sat, Aug 05, 2023 at 08:07:31AM -0700, Raymond Toy wrote: > I have a set of simple macros: > > |@macro kwd {keyword} @code{:\keyword\} @end macro @c Macro to generate a > cross-reference to a keyword. @macro keyref {arg} @xref{\arg\, @kwd{\arg\}} > @end macro | > > And I use it like |@keyref{c

ref macro works as expected for html and info, but not pdf?

2023-08-05 Thread Raymond Toy
I have a set of simple macros: |@macro kwd {keyword} @code{:\keyword\} @end macro @c Macro to generate a cross-reference to a keyword. @macro keyref {arg} @xref{\arg\, @kwd{\arg\}} @end macro | And I use it like |@keyref{context-declarations}|. In the html doc, I see a link with text “:conte

Re: Warning about ":" in @ref

2023-08-05 Thread Raymond Toy
On 8/4/23 11:47 PM, Patrice Dumas wrote: On Fri, Aug 04, 2023 at 04:06:47PM -0700, Raymond Toy wrote: With texinfo 7.0.2 (which comes with Fedora 38), I get warnings like: |warning: @ref node name should not contain `:' | The offending ref is “@ref{ext:encapsulate}”, and corresponding anchor

Re: Can new @nodedescription command be used for @detailmenu?

2023-08-05 Thread Patrice Dumas
On Fri, Aug 04, 2023 at 05:10:15PM +0100, Gavin Smith wrote: > That is me mostly done now. The code looks good to me, but it should not be in Texinfo::Common, because it depends on Texinfo::Structuring, and maybe even worse on Texinfo::Translations. It should be in Texinfo::Structuring, with a de