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

maatext: could "Appendix" inside appendix labels be wrapped in (e.g.) x elements? #218

Open
pkra opened this issue Aug 27, 2024 · 5 comments
Assignees
Labels
question/discussion Further information is requested

Comments

@pkra
Copy link
Member

pkra commented Aug 27, 2024

I couldn't find where this happens but it would be useful downstream if we could more easily target the word "Appendix" inside maatext appendices.

@pkra pkra added the question/discussion Further information is requested label Aug 27, 2024
@pkra pkra added this to the 2024 milestone Aug 27, 2024
@pkra
Copy link
Member Author

pkra commented Aug 27, 2024

If we run into other (more complex) uses cases for such prefixes, then we can consider some additional identifying markup.

@davidmjones davidmjones self-assigned this Aug 27, 2024
@davidmjones
Copy link
Contributor

@pkra Would it be ok if the section/chapter/part name is always enclosed in x elements for all series?

Alternatively, we once discussed moving this into a separate prefix element, e.g.

 <sec>
    <prefix>Chapter</prefix>
    <label>1</label>
    <title>Strings, drums, and the Laplacian</title>

  <book>
    <prefix>Appendix</prefix>
    <label>A</label>
    <title>Proof of the GCD Theorem</title>

It's just as easy to do that as to add x elements.

@pkra
Copy link
Member Author

pkra commented Aug 27, 2024

Would it be ok if the section/chapter/part name is always enclosed in x elements for all series?

That would not be a problem.

Alternatively, we once discussed moving this into a separate prefix element,

I don't recall the discussion. The markup example seems doable but I still haven't unraveled all the convoluted history of label and title handling downstream, so adding another element to wrangle would come at a bad time.

This isn't urgent (I fixed the use case). Let's discuss this with some care another time.

@pkra pkra changed the title maatext: could "Appendix" inside appendix labels be wrapped in (e.g.,) x elements? maatext: could "Appendix" inside appendix labels be wrapped in (e.g.) x elements? Jan 20, 2025
@pkra
Copy link
Member Author

pkra commented Jan 20, 2025

[...] but I still haven't unraveled all the convoluted history of label and title handling downstream, so adding another element to wrangle would come at a bad time.

Downstream is in a much better place now.

@pkra
Copy link
Member Author

pkra commented Jan 23, 2025

Related: #179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question/discussion Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants