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

PDFMaker: -halt-on-errorオプションをデフォルトに追加 #1378

Merged
merged 2 commits into from
Aug 22, 2019

Conversation

kmuto
Copy link
Owner

@kmuto kmuto commented Aug 22, 2019

現状の-interaction=nonstopmode -file-line-errorだと、エラーが出てもとりあえず進んで、でもエラーなので結局異常終了してしまい、原因がずっと上のほうでわからない ということになりがちです。

どうせTeXのエラーになったらRe:VIEWの場合はどうしようもないので、-halt-on-errorを追加して、エラー即終了にしたいと思います。

28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42]
[43] [44] [45]

./domain.tex:647: LaTeX Error: Counter too large.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.647 ...otetext[28]{\url{https://radix.website/}}
                                                  
Output written on __REVIEW_BOOK__.dvi (45 pages, 152988 bytes).
Transcript written on __REVIEW_BOOK__.log.

rake aborted!
Command failed with status (1): [review-pdfmaker config.yml...]
lib/tasks/review.rake:96:in `block in <top (required)>'
Tasks: TOP => pdf => book.pdf
(See full trace by running task with --trace)

@takahashim
Copy link
Collaborator

なるほど了解です。
テストがコケているようなので修正しておきます。

@kmuto
Copy link
Owner Author

kmuto commented Aug 22, 2019

おっと、ありがとうございます!

@kmuto kmuto merged commit c6a103c into master Aug 22, 2019
@kmuto kmuto deleted the halt-on-error branch August 22, 2019 23:08
kmuto added a commit that referenced this pull request Aug 23, 2019
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.

2 participants