Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support new citation markup #443

Closed
Tracked by #446
pkra opened this issue May 30, 2024 · 5 comments
Closed
Tracked by #446

support new citation markup #443

pkra opened this issue May 30, 2024 · 5 comments
Assignees
Milestone

Comments

@pkra
Copy link
Member

pkra commented May 30, 2024

From AmerMathSoc/texml#183 (comment)

<cite-group>
    <x>[</x>
    <xref ref-type="bibr" rid="bibr-AEG0" specific-use="cite">AEG08<cite-detail><x>, </x>Section 5</cite-detail></xref>
    <x>; </x>
    <xref ref-type="bibr" rid="bibr-AEG0" specific-use="cite">AEG08</xref>
    <x>]</x>
</cite-group>

(Note: added whitespace just for clarity here.)

@pkra pkra self-assigned this May 30, 2024
@pkra pkra added this to the 2024 milestone May 30, 2024
@pkra
Copy link
Member Author

pkra commented May 31, 2024

I think I might just copy them. They currently won't have attributes on them and (right now) I can't see a reason why they would ever get attributes.

@pkra
Copy link
Member Author

pkra commented May 31, 2024

By "them", I mean cite-group and cite-detail - both are valid (custom) html tag names.

@pkra
Copy link
Member Author

pkra commented May 31, 2024

I'm weirdly stumped by handling of x and how it will change (cf. AmerMathSoc/texml#183 (comment)).

Maybe it's time to move this hacky bit downstream now.

@pkra
Copy link
Member Author

pkra commented May 31, 2024

Since this is a breaking change either way, we might as well.

@pkra
Copy link
Member Author

pkra commented May 31, 2024

Ah, finally got it. I don't think this has to be a breaking change. But I've created #445 to remember.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant