xref display options

14 views
Skip to first unread message

Cooper, David

unread,
Jul 6, 2026, 4:10:50 PM (3 days ago) Jul 6
to pretext...@googlegroups.com
I would like to display links with the global number followed by the title without the type, but I can’t find this option. Is there a way to do this, or am I stuck displaying the type if I want the number with it? 

xref with text=“title” gets just the title, xref with text=“type-global-title” gets Section 1.1 My section name. I would like xref with text=“global-title” to give me 1.1 My section name. Is there a different keyword that would work or some other way to get this to work?

Thanks,

David


David G. Cooper, PhD
Assistant Professor
Computer Science
West Chester University
25 University Ave
Office 142
x2651



Rob Beezer

unread,
Jul 6, 2026, 5:06:46 PM (3 days ago) Jul 6
to pretext...@googlegroups.com
Available options are here:

Table 4.5.2: Cross-reference visual text styles
https://pretextbook.org/doc/guide/html/topic-cross-referencing.html#topic-cross-referencing-6-3
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to pretext-suppo...@googlegroups.com <mailto:pretext-
> support+u...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/pretext-support/
> CF8DBF54-E24E-4210-AAB6-C32A1516F1E2%40wcupa.edu <https://groups.google.com/d/
> msgid/pretext-support/CF8DBF54-E24E-4210-AAB6-C32A1516F1E2%40wcupa.edu?
> utm_medium=email&utm_source=footer>.

Charles M

unread,
Jul 8, 2026, 12:18:03 AM (yesterday) Jul 8
to PreTeXt support
David,

Does this produce the output you're seeking? 

<section xml:id="chap02-sec02">
<title>
Examples
</title>

<p>
This is <xref ref="chap02-sec02" text="global" /> <xref ref="chap02-sec02" text="title" />.
</p>
</section>

Regards,
Charles

PS PASSHE here, too.  Commonwealth University - Lock Haven

Reply all
Reply to author
Forward
0 new messages