An #xref is a cross-reference - a pointer to another location within a document.
Typically it is authored mid-paragraph, or mid-phrase.
Only in HTML output is it rendered in a way that makes the content at the target
readily visible (with a click).
Some PDF viewers will show part of the target on a hover. Print is hopeless. I
think EPUB is just a traditional hyperlink. Jupyter is hostile to knowls
(though there was just activity on a very old issue I filed). Braille will be
just text, like print.
So something like "content-expanded" is really just a hint for one particular
output format, embedded in your (generic, output-agnostic) source. And if I put
my #xref mid-sentence, what would you do, split the sentence? (No, likely where
it opens now, I guess.)
Our ideas about numbering - distinct "counters" only for visually distinct
material - would get very upset with this.
To go:
Corollary 11.2
Theorem 4.28
Definition 11.3
would be very confusing to me.
I would put your theroem in its own XML file (root-element #theorem) and
xi:include it twice. Content always duplicated, even on edits, and I would give
it a (common) #title. Yes, you get two numbers. Also, you cannot put a @xml:id
on it, since it will not be unique. I would think that no matter what you would
have some surrounding explanatory text: "You first saw this theorem in
Worksheet 4.3..."
Rob
> --
> 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>.
> c3a64d9c-1dd3-487f-bbc5-f2c49b7c67e2n%
40googlegroups.com <https://
>
groups.google.com/d/msgid/pretext-support/c3a64d9c-1dd3-487f-bbc5-
> f2c49b7c67e2n%
40googlegroups.com?utm_medium=email&utm_source=footer>.