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

The table of content should be an output, not an input #10

Open
Villetaneuse opened this issue May 14, 2024 · 2 comments · May be fixed by #12
Open

The table of content should be an output, not an input #10

Villetaneuse opened this issue May 14, 2024 · 2 comments · May be fixed by #12

Comments

@Villetaneuse
Copy link
Collaborator

We should only give (unnumbered) titles, subtitles, etc and, if need be, the numbering and the table of content should be automatically written by some tool.

I can write some crude sh/awk/sed helpers, but maybe the format should stabilize before.

@thomas-lamiaux
Copy link
Collaborator

thomas-lamiaux commented May 14, 2024

I agree. We are most likely to keep with coqdoc for a while, so it might be worth it doing something now.
For the numbering, ideally it should up to the writer like in latex. For the moment, in coqdoc, we can ask the user to write it themselves in section titles.
@Zimmi48 ?

@Zimmi48
Copy link
Member

Zimmi48 commented May 15, 2024

Well, if it doesn't take too long to write, why not?

But indeed, when we switch formats later on, it probably won't be useful anymore.

@Villetaneuse Villetaneuse linked a pull request May 15, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

3 participants