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

[DISC] proof:proof has no label option #10

Open
mmcky opened this issue Aug 31, 2020 · 2 comments
Open

[DISC] proof:proof has no label option #10

mmcky opened this issue Aug 31, 2020 · 2 comments

Comments

@mmcky
Copy link
Member

mmcky commented Aug 31, 2020

@najuzilu is there a reason for not supporting label option for proof:proof. It seems that you're suggesting to use tags (i.e. (tag-here)=) syntax provided by myst

@najuzilu
Copy link
Member

I noticed that proofs are not referenced as often as theorems, corollaries, and conjectures. Since they're not numbered either (which is common for LaTeX proofs), I couldn't decide what the default link text would look like when referenced. Tags on the other hand, don't have a default link text so the user would have to provide it.

I am open to adding a label option for proofs. What do you think the default link text would look like?

One possibility could be "Proof of Theorem #" where the label provided in the proof directive could be the label of its theorem directive.

@mmcky
Copy link
Member Author

mmcky commented Sep 1, 2020

What do you think the default link text would look like?

Hmm -- not sure. You make good points re: targets / tag approach and default link text. Given there is no title text or default numbering your approach might be the best.

I guess if we were to add it then perhaps it would switch on numbering by default and use that.

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

No branches or pull requests

2 participants