-
Notifications
You must be signed in to change notification settings - Fork 12
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
Deprecate @EndSection and @EndSubsection #206
Comments
I would not like to deprecate them all. However, |
OK, I guess I somewhat see a point for And I'd argue that even text between subsections is a bad idea (there is a reason why neither MarkDown nor LaTeX support that, I guess). And it is usually impossible for the reader to tell the difference visually anyway. And what would one use this for? What kind of text would not instead also fit into the end of one subsection or the start of the next? Of course, I am in general sceptical about using subsections at all, so I might be overly negative :-) |
I see. Well, putting the introductory text at the beginning of a chapter is one of my main reasons. As you correctly say, latex does not really support this feature anyway. We could (first silently) deprecate them, so we can just make them stop do anything at all. Then drop them at some point. I am not sure about dropping subsections at all. They are not really a problem, and I sometimes use them, as only two layers of nesting is not enough sometimes. Why should we remove them? |
I did not mean to suggest that we should drop support for subsections, just that I personally try to avoid them in papers and otherwise. But I think it makes sense that we expose all GAPDoc features. Moreover, people do use them. And even I may sometimes use them. |
Okay, then I just misinterpreted your comment, I think :). |
Let's deprecate
@EndSection
, and@EndSubsection
. Instead, improve the logic which automatically ends chapters/sections/subsections. This is motivated by #157 and @oysteins comments there. To steal from his comment there:@EndSection
, and@EndSubsection
commands in the manual; also change them to print warnings@EndSubsection
, but removing that requires a new AutoDoc release, so we can't rush this)optionally: consider supportingmoved to issue Allow using# Chapter
,## Section
and### Subection
syntax, at least in.autodoc
files...# Chapter
,## Section
and### Subsection
in.autodoc
files and doc comments #213The text was updated successfully, but these errors were encountered: