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

dvipdfmxオプションはdvicommandパラメータの文字列で判定するように #1065

Merged
merged 1 commit into from
Jun 29, 2018

Conversation

kmuto
Copy link
Owner

@kmuto kmuto commented Jun 29, 2018

#1035 のコメントをもとに。

  • platex系以外のコンパイラではdvipdfmxドライバが不要なことがある。layout.tex.erbからdvipdfmx,を除去する。
  • 既存文書の互換性維持として、dvicommandパラメータがデフォルトのままか、明示してもパラメータにdvipdfmxという文字列がある場合はdvipdfmx,をdocumentoptionに付与する。
  • documentoptionにすでにdvipdfmxという文字列を含む場合は何もしない。

… be added when dvicommand parameter includes dvipdfmx (default).
@yuw
Copy link

yuw commented Jun 29, 2018

dvicommandで判断するのは良い方法だと思います.
LaTeX的にもdviドライバに関する事項ですので,素直な方策といえると思います.

@kmuto
Copy link
Owner Author

kmuto commented Jun 29, 2018

lualatexなどのときはdvicommand: nullにしてもらうかんじですね。

@yuw
Copy link

yuw commented Jun 29, 2018

よいと思います.
lualatexを使う場合,とくにRe:VIEWではDVIを経由することはないはずですので.

@takahashim takahashim merged commit 40d3d92 into master Jun 29, 2018
@kmuto kmuto deleted the dvipdfmxopt branch October 10, 2018 08:54
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.

3 participants