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

Allow setting *raw* chapter/section/subsection labels #223

Open
fingolfin opened this issue Jul 2, 2019 · 0 comments
Open

Allow setting *raw* chapter/section/subsection labels #223

fingolfin opened this issue Jul 2, 2019 · 0 comments

Comments

@fingolfin
Copy link
Member

I am converting parts of an existing GAPDoc manually to AutoDoc. For this it is important to keep labels the same, so that I don't have to change more than one file at a time.

But I couldn't figure out a way to set the label for e.g. a section to an arbitrary value. It seems AutoDoc insists on prefixing the section label with a string. So even if I do this:

@SectionLabel Foobar

I end up with this in the resulting XML:

<Subsection Label="Subsection_Foobar">

IMHO we should just drop these prefixes. Sure, that risks a clash in labels -- but so what, the same holds for LaTeX labels, for hyperlinks, kind of for anything in programming that requires names.

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