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

openanyにしても第一章だけが偶数ページはじまりになる #1711

Closed
uyumyuuy opened this issue Jun 25, 2021 · 4 comments
Closed

Comments

@uyumyuuy
Copy link

openanyを指定しても第1章のみ偶数ページ始まりになるという現象に悩まされています。

あるいは目次の後に白紙ページが出るということなのかもしれません。
白紙ページは、ノンブルはついていますがヘッダやフッタのページ番号はないので、おそらくlatexレベルの話かと思います。tocの後にcleardoublepageなどが入っているのかなと思ったのですがよくわかりませんでした。

環境はこんな感じです。

  • luatex
  • review-jlreq
  • プロジェクトは4.2で作成後5.0にreview-updateで更新
  • review-ext.rbでいろいろインライン命令を追加しています(ほぼフォント変更用)
  • review-custom.styで\usepackage[greek,bidi=basic]{babel} しています←あやしいそうだけど消しても変わりませんでした
texdocumentclass:
  [
    "review-jlreq",
    "media=print,paper=a5,fontsize=9pt,baselineskip=15pt,line_length=34zw,number_of_lines=32,head_space=21mm,gutter=23mm, openany, startpage=1,serial_pagination=true, hiddenfolio=nikko-pc",
  ]

新しいプロジェクトで少し試したのですがそちらでは再現しませんでした。

最小構成で再現できない上に、上記のとおり怪しいところがたくさんあるのでReViewの問題ではない可能性がだいぶ高いのですが、何か考えられることあるでしょうか。

@kmuto
Copy link
Owner

kmuto commented Jun 27, 2021

jlreqの更新がいろいろアグレッシブでなかなかついていきづらいのですが、mainmatterにcleardoublepageがデフォルトで設定されているのが原因のような気がします。

review-custom.sty

\jlreqsetup{mainmatter_pagebreak=clearpage}

だとどうでしょうか。

@uyumyuuy
Copy link
Author

完璧です! こんなオプションがあったのですね。ありがとうございます!

@kmuto
Copy link
Owner

kmuto commented Jun 27, 2021

性質的にopenanyの効果はjlreq.cls側で対処してもらうほうがよさそうなので、あとでjlreq.clsにお願い出してみますね。

@kmuto
Copy link
Owner

kmuto commented Jun 27, 2021

abenori/jlreq#85

@kmuto kmuto closed this as completed in ecf00f6 Jun 28, 2021
kmuto added a commit that referenced this issue Jun 28, 2021
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

No branches or pull requests

2 participants