{"componentChunkName":"component---src-templates-post-template-js","path":"/book-review-troubles-en","result":{"data":{"markdownRemark":{"id":"0792dca4-887f-5850-939a-56aa85d0cef4","html":"<blockquote>\n<p>This page has been machine-translated from the <a href=\"/book-review-troubles\">original page</a>.</p>\n</blockquote>\n<p>This article explains how to recover when Re:VIEW Starter suddenly stops generating PDFs even though you did not change anything.</p>\n<p>Recently, as a new challenge, I have been writing a technical doujin book to distribute at Tech Book Fest.\nFor that writing work, I use a tool called Re:VIEW Starter.</p>\n<p>Reference: <a href=\"https://qiita.com/kauplan/items/d01e6e39a05be0b908a1\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Introduction to Re:VIEW Starter, a great tool for people writing technical doujin books - Qiita</a></p>\n<p>At one point, I suddenly ran into a problem where PDF generation stopped working, so I am leaving a record of how I resolved it.</p>\n<p>Specifically, I deleted every file with the following extensions directly under the <code class=\"language-text\">*-pdf</code> directory generated by Re:VIEW Starter.</p>\n<ul>\n<li>.tex</li>\n<li>.aux</li>\n<li>.dvi</li>\n<li>.log</li>\n<li>.maf</li>\n<li>.mtc*</li>\n<li>.out</li>\n<li>.toc</li>\n</ul>\n<h2 id=\"problem-that-occurred\" style=\"position:relative;\"><a href=\"#problem-that-occurred\" aria-label=\"problem that occurred permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Problem that occurred</h2>\n<p>All of a sudden, Re:VIEW Starter started outputting the following error and failed to generate a PDF.</p>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">Package pagecolor Warning: Option nopagecolor=none requested but \\nopagecolor u\nnknown:\n(pagecolor)                By option nopagecolor the \"colour\" to be used with\\n\nopagecolor\n(pagecolor)                is set. The current value is \"none\" (maybe by defaul\nt),\n(pagecolor)                but command \\nopagecolor is undefined.\n(pagecolor)                Therefore the colour cannot be \"none\".\n(pagecolor)                Please change the option accordingly!\n(pagecolor)                As first aid nopagecolor is now set to white\n(pagecolor)                 on input line 116.\n\n\nPackage pagecolor Warning: Option pagecolor=none (maybe by default) used,\n(pagecolor)                but \\nopagecolor is unknown.\n(pagecolor)                Please use anotheroption value;\n(pagecolor)                white\n(pagecolor)                will be used now\n(pagecolor)                 on input line 127.\n\n)) (./mycolophon.sty) (./mystyle.sty) (./book.aux)\nRunaway argument?\n{\\contentsline {subsection}{\\nu\n./book.tex:193: File ended while scanning use of \\@writefile.\n&lt;inserted text>\n                \\par\nl.193 \\begin{document}\n\nNo pages of output.\nTranscript written on book.log.\n*\n* ERROR (review-pdfmaker):\n*  failed to run command: uplatex -halt-on-error -file-line-error book.tex\n*\nmake: *** [Makefile:45: create_pdf] Error 1</code></pre></div>\n<p>In most cases, something like this is caused by a problem in a <code class=\"language-text\">*.re</code> file.\nHowever, in this case PDF generation failed even when I used a completely valid <code class=\"language-text\">*.re</code> file.</p>\n<p>In the end I never identified the exact cause, but it looked like the issue was somewhere in the TeX compilation step, so I deleted all of the following files and the problem was resolved successfully.</p>\n<ul>\n<li>.tex</li>\n<li>.aux</li>\n<li>.dvi</li>\n<li>.log</li>\n<li>.maf</li>\n<li>.mtc*</li>\n<li>.out</li>\n<li>.toc</li>\n</ul>\n<p>This happened completely out of nowhere, and because I could not figure out the cause, I ended up wasting about an hour.\nFor now, if PDF generation fails, it seems worth trying to delete previously generated files first, so I am leaving this as a memo.</p>","fields":{"slug":"/book-review-troubles-en","tagSlugs":["/tag/book-en/","/tag/note-en/","/tag/re-view-en/","/tag/english/"]},"frontmatter":{"date":"2021-06-09","description":"This article explains how to recover when Re:VIEW Starter suddenly stops generating PDFs even though you did not change anything.","tags":["Book (en)","Note (en)","Re:VIEW (en)","English"],"title":"How to Recover When Re:VIEW Starter Breaks Even Though You Changed Nothing","socialImage":{"publicURL":"/static/dc4d8b7f8795f3c3d3489d9957d155f2/no-image.png"}}}},"pageContext":{"slug":"/book-review-troubles-en"}},"staticQueryHashes":["251939775","401334301","825871152"]}