bug-texinfo
[Top][All Lists]
Advanced

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

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


From: Raymond Toy
Subject: ref macro works as expected for html and info, but not pdf?
Date: Sat, 5 Aug 2023 08:07:31 -0700
User-agent: Mozilla Thunderbird

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 “:context-declarations” in a fixed-width font. That’s what I was expecting. In the info file, I also see “:context-declarations”, as desired.

However, in the pdf, I only see “context-declarations” without the colon, and the text appears to be the default serif font, and not a fixed-width font.

Is this expected behavior?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]