AmerMathSoc / texml

A repository for texml development
9 stars 3 forks source link

consider wrapper around generated text and (eq)ref #214

Closed pkra closed 2 months ago

pkra commented 3 months ago

To move this here.

eqref generates something like

<x>(</x><xref ref-subtype="equation" ref-type="disp-formula" rid="eq-xxx" specific-use="ref">blablub</xref><x>)</x>

making it difficult to target the x elements further downstream.

I'm wondering if texml could add a wrapper, e.g., ref-group, around this.

pkra commented 3 months ago

I could add the wrapper downstream but that seems more brittle.

pkra commented 3 months ago

Alternatively, maybe the x elements could move inside the xref.

pkra commented 3 months ago

Changing the title since this problem also presents with another type of cross-reference: list items.

pkra commented 3 months ago

As per F2F, we'll try always adding a ref-group.

pkra commented 2 months ago

This was rolled out.