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

Remove need to redefine \definition. #1606

Merged
merged 1 commit into from Jul 30, 2017
Merged

Conversation

Eelis
Copy link
Contributor

@Eelis Eelis commented Apr 7, 2017

Fixes #1605.

@Eelis
Copy link
Contributor Author

Eelis commented Apr 7, 2017

Rebased to take the other fix for #1605 into account. Now that #1605 is fixed, this change yields no visible difference (but may prevent problems like #1605 in the future).

\let\oldcontentsline\addcontentsline%
\let\addcontentsline\nocontentsline%
#1[#2]{\hfill[#3]}\vspace{-.3\onelineskip}\label{#3} \textbf{#2}\\*%
\ifcase\value{SectionDepth}\let\s=\section
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linebreak before \let to make the cases easier to see?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work! Amended.

@zygoloid zygoloid added this to the C++20 milestone Jul 15, 2017
Eelis added a commit to Eelis/draft that referenced this pull request Jul 17, 2017
Eelis added a commit to Eelis/draft that referenced this pull request Jul 24, 2017
Eelis added a commit to Eelis/draft that referenced this pull request Jul 24, 2017
@zygoloid zygoloid merged commit 59ca44a into cplusplus:master Jul 30, 2017
@Eelis Eelis deleted the autodef branch July 30, 2017 07:32
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 this pull request may close these issues.

None yet

3 participants