Repository navigation
Keep LaTeX transcripts off the console - #22
Merged
Merged
Conversation
Capture latexmk, htlatex, and pandoc output. A successful command stays quiet. A failure is reported after every document is attempted, and the documents that built are still published.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #21
Principle: Experience First - a successful build reports progress, and the TeX transcript stays off the console.
Principle: Fix Root Causes - a failed document is recorded and the remaining documents are still built.
rake'sshprinted the fulllatexmk -verbosetranscript and stopped at the first non-zero command. A successfuldocbldfilled the console, and one bad document skipped the rest.Successful commands stay quiet. A failing command's output is shown. Every document is still attempted. PDFs that built are copied under their source path. The task exits non-zero and does not print the completion line.
Verification
ruby test/deploy_test.rbpassed: 10 runs, 59 assertions, 0 failures.A real pair confirmed it.
bad/broken.texxprintedUndefined control sequence,good.pdfwas published under_build, and the build exited 1.