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

TeX: 部が存在するときにはreviewusepartマクロを宣言する #1199

Merged
merged 1 commit into from
Nov 4, 2018

Conversation

kmuto
Copy link
Owner

@kmuto kmuto commented Nov 4, 2018

#1197 に関連して。

「部があるかどうか」の判断をTeX側でやるのは\partの上書きなど手間なので、pdfmakerロジック内で判定して、部があれば\reviewusepartを定義(値はtrue)するようにします。

このマクロを見てRe:VIEWのクラス/スタイル側で今どうするというのはないのですが、たとえば\appendixや\backmatter内でこれを見てしおりのtoclevelをデクリメントするといったケースを想定しています。

@kmuto
Copy link
Owner Author

kmuto commented Nov 4, 2018

些末なので入れておきます。

@kmuto kmuto merged commit 31fc1ee into master Nov 4, 2018
@kmuto kmuto deleted the partflag branch November 4, 2018 23:53
kmuto added a commit that referenced this pull request Nov 5, 2018
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.

1 participant