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

Custom label prefixes #84

Open
lierdakil opened this issue Aug 31, 2016 · 3 comments
Open

Custom label prefixes #84

lierdakil opened this issue Aug 31, 2016 · 3 comments
Milestone

Comments

@lierdakil
Copy link
Owner

lierdakil commented Aug 31, 2016

Moved from #83

Additionaly, it could be useful to define additional prefixes and their renderings, so I could define app -> app. as a mapping from the app prefix to the Appendix rendering.

Proposed syntax:

Definition in YAML metadata:

prefixes:
  dfn:
    ref: ["dfn.", "dfns."]
    name: "Definition"
  cl:
    ref: ["cl.", "cls."]
    scope: ["dfn"]

Reference-able items:

<div id="dfn:ring">
A _ring_ is a triple $(R,+,*)$ satisfying:

#. [$+$ is an abelian group]{#cl:addgp}
#. [$*$ is a monoid]{#cl:multmon}
#. [$*$ distributes over $+$]{#cl:distrib}
</div>
@lierdakil
Copy link
Owner Author

lierdakil commented Sep 14, 2017

Related: #114, #124, #113, #111, #104

@ilmaisin
Copy link

If there is a style that requires "photos" and "figures" to be labelled differently and listed in different lists, would solving this issue enable the user to do that?

@lierdakil
Copy link
Owner Author

@ilmaisin, yes, probably.

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

2 participants