We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
欧文文字(手元で確かめたところでは \u00C0 ~ \u017F の範囲)が入った @<tt>{...} があると「Package inputenc Error: Invalid UTF-8 byte sequence.」というエラーになります。 なお、@<code>{...} インライン命令でも同様にエラーとなり、@<strong>{...} インライン命令では問題となりません。また、Webmakerでは問題ありません。
\u00C0
\u017F
@<tt>{...}
@<code>{...}
@<strong>{...}
dockerhubにある vvakame/review:4.1 と vvakame/review:5.0 を利用させていただいてます。 (gibhubに公開されているDockerfile)
vvakame/review:4.1
vvakame/review:5.0
= test @<tt>{Edelweiß}
review-pdfmaker ./config.yml INFO review-pdfmaker: compiling test.tex INFO review-pdfmaker: uplatex -interaction=nonstopmode -file-line-error -halt-on-error __REVIEW_BOOK__.tex ERROR review-pdfmaker: failed to run command: uplatex -interaction=nonstopmode -file-line-error -halt-on-error __REVIEW_BOOK__.tex Error log: This is e-upTeX, Version 3.14159265-p3.8.1-u1.23-180901-2.6 (utf8.uptex) (TeX Live 2019/dev/Debian) (preloaded format=uplatex) restricted \write18 enabled. entering extended mode (./__REVIEW_BOOK__.tex pLaTeX2e <2018-12-01u02> (based on LaTeX2e <2018-12-01>) (./review-jsbook.cls Document Class: review-jsbook 2019/09/22 v4.0 Re:VIEW pLaTeX class modified for jsbook.cls (/usr/share/texlive/texmf-dist/tex/latex/base/fix-cm.sty (/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.def (/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.dfu))) (/usr/share/texlive/texmf-dist/tex/latex/xkeyval/xkeyval.sty (/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkeyval.tex (/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkvutils.tex (/usr/share/texlive/texmf-dist/tex/generic/xkeyval/keyval.tex)))) (/usr/share/texlive/texmf-dist/tex/latex/everypage/everypage.sty) (./jsbook.cls Document Class: jsbook 2020/02/02 jsclasses (okumura, texjporg) (/usr/share/texlive/texmf-dist/tex/platex/jsclasses/jslogo.sty)) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty)) (/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty) (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/auxhook.sty) (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def) (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg) (/usr/share/texlive/texmf-dist/tex/latex/url/url.sty)) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hdvipdfm.def (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty)) (/usr/share/texlive/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty)) (./gentombow.sty ***** Package gentombow detected b5paper. ***** ***** Now the output size is automatically set to a4. ***** (/usr/share/texlive/texmf-dist/tex/latex/platex-tools/pxatbegshi.sty)) (./reviewmacro.sty (./review-base.sty (/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty) (/usr/share/texlive/texmf-dist/tex/platex/japanese-otf-uptex/otf.sty (/usr/share/texlive/texmf-dist/tex/platex/japanese-otf/ajmacros.sty)) (/usr/share/texlive/texmf-dist/tex/latex/caption/caption.sty (/usr/share/texlive/texmf-dist/tex/latex/caption/caption3.sty) Package caption Warning: Unsupported document class (or package) detected, (caption) usage of the caption package is not recommended. See the caption package documentation for explanation. ) (/usr/share/texlive/texmf-dist/tex/latex/needspace/needspace.sty) (/usr/share/texlive/texmf-dist/tex/latex/bigfoot/suffix.sty) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty (/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def)) (/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty (/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.def)) (/usr/share/texmf/tex/latex/lm/lmodern.sty) (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty) (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg) (/usr/share/texlive/texmf-dist/tex/latex/graphics-def/dvipdfmx.def))) (/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg) (/usr/share/texlive/texmf-dist/tex/latex/colortbl/colortbl.sty (/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty))) (/usr/share/texlive/texmf-dist/tex/latex/framed/framed.sty) (/usr/share/texlive/texmf-dist/tex/latex/wrapfig/wrapfig.sty) (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty) (/usr/share/texlive/texmf-dist/tex/latex/ascmac/ascmac.sty (/usr/share/texlive/texmf-dist/tex/latex/ascmac/tascmac.sty)) (/usr/share/texlive/texmf-dist/tex/latex/float/float.sty) (/usr/share/texlive/texmf-dist/tex/latex/base/alltt.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amscls/amsthm.sty) (/usr/share/texlive/texmf-dist/tex/latex/tools/bm.sty) (/usr/share/texlive/texmf-dist/tex/latex/tools/tabularx.sty) (./jumoline.sty) (/usr/share/texlive/texmf-dist/tex/platex/pxrubrica/pxrubrica.sty)) (./review-style.sty (/usr/share/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)) (./techbooster-doujin-base.sty (/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty (/usr/share/texlive/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty (/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.t ex)) (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def (/usr/share/texlive/texmf-dist/tex/latex/ms/everyshi.sty)) (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex (/usr/share/texlive/texmf-dist/tex/generic/pgf/pgf.revision.tex))) (/usr/share/texlive/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty (/usr/share/texlive/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty (/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.t ex)) (/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg) (/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def (/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.de f))) (/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code. tex) (/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code. tex)) (/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex (/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex (/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex (/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex) (/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex) (/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex (/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code .tex) (/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonomet ric.code.tex) (/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.cod e.tex) (/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison .code.tex) (/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code. tex) (/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code .tex) (/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code. tex) (/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerari thmetics.code.tex))) (/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex)) (/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.te x) (/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconstruct. code.tex) (/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage.code .tex) (/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.code.te x) (/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicstate.c ode.tex) (/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransformation s.code.tex) (/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex ) (/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.code.t ex) (/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathprocessing .code.tex) (/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.te x) (/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex ) (/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex (/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.code. tex)) (/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.code.te x) (/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransparency.c ode.tex) (/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.code. tex) (/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorerdf.code.tex)) ) (/usr/share/texlive/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.code.tex ) (/usr/share/texlive/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.tex ) (/usr/share/texlive/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-0-65 .sty) (/usr/share/texlive/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-1-18 .sty)) (/usr/share/texlive/texmf-dist/tex/latex/tools/verbatim.sty) (/usr/share/texlive/texmf-dist/tex/latex/environ/environ.sty (/usr/share/texlive/texmf-dist/tex/latex/trimspaces/trimspaces.sty)) (/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty) (/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex Library (tcolorbox): 'tcbraster.code.tex' version '4.15' ) (/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex Library (tcolorbox): 'tcbskins.code.tex' version '4.15' (/usr/share/texlive/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty (/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgffor.sty (/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex)) (/usr/share/texlive/texmf-dist/tex/latex/pgf/math/pgfmath.sty (/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex)) (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex (/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex))) (/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex (/usr/share/texlive/texmf-dist/tex/generic/pgf/libraries/pgflibraryplothandlers .code.tex) (/usr/share/texlive/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.code.tex ) (/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tik zlibrarytopaths.code.tex))) (/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex Library (tcolorbox): 'tcbskinsjigsaw.code.tex' version '4.15' )) (/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex Library (tcolorbox): 'tcbbreakable.code.tex' version '4.15' ) (/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex Library (tcolorbox): 'tcbhooks.code.tex' version '4.15' ) (/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex Library (tcolorbox): 'tcbtheorems.code.tex' version '4.15' ) (/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex Library (tcolorbox): 'tcbfitting.code.tex' version '4.15' ) (/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex Library (tcolorbox): 'tcbxparse.code.tex' version '4.15' (/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty (/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty (/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3-code.tex) (/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3dvipdfmx.def)))) (/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex Library (tcolorbox): 'tcblistingsutf8.code.tex' version '4.15' (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/listingsutf8.sty (/usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty (/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty) (/usr/share/texlive/texmf-dist/tex/latex/listings/listings.cfg)) Package listingsutf8 Warning: Package loading is aborted because of missing \pd f@unescapehex. (listingsutf8) It is provided by pdfTeX >= 1.30. ) (/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex Library (tcolorbox): 'tcblistings.code.tex' version '4.15' (/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex Library (tcolorbox): 'tcblistingscore.code.tex' version '4.15' (/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex Library (tcolorbox): 'tcbprocessing.code.tex' version '4.15' (/usr/share/texlive/texmf-dist/tex/latex/tools/shellesc.sty))))) (/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex Library (tcolorbox): 'tcbexternal.code.tex' version '4.15' ) (/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex Library (tcolorbox): 'tcbmagazine.code.tex' version '4.15' ) (/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex Library (tcolorbox): 'tcbvignette.code.tex' version '4.15' (/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tik zlibraryfadings.code.tex (/usr/share/texlive/texmf-dist/tex/generic/pgf/libraries/pgflibraryfadings.code .tex))) (/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex Library (tcolorbox): 'tcbposter.code.tex' version '4.15' )) (/usr/share/texlive/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty Style option: `fancyvrb' v3.2a <2019/01/15> (tvz)) (/usr/share/texlive/texmf-dist/tex/latex/upquote/upquote.sty) succeeded to patch: includefullpagegraphics succeeded to patch: oneblankpage succeeded to patch: reviewtitlepagecont (/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.def) [debug] tracing \patchcmd on input line 217 [debug] analyzing '\reviewcolophonpagecont' [debug] ++ control sequence is defined [debug] ++ control sequence is a macro [debug] ++ macro can be retokenized cleanly [debug] ++ search pattern found in replacement text [debug] ++ patching possible [debug] == retokenizing macro now succeeded to patch: reviewcolophonpagecont [debug] tracing \patchcmd on input line 217 [debug] analyzing '\reviewcolophonpagecont' [debug] ++ control sequence is defined [debug] ++ control sequence is a macro [debug] ++ macro can be retokenized cleanly [debug] ++ search pattern found in replacement text [debug] ++ patching possible [debug] == retokenizing macro now succeeded to patch: reviewcolophonpagecont2) (./review-custom.sty)) No file __REVIEW_BOOK__.aux. (I search kanjifont definition file: . . ) (I search font definition file: . . . . . . . . . ) (/usr/share/texmf/tex/latex/lm/t1lmr.fd) Package hyperref Warning: Draft mode on. (/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty)) Package hyperref Warning: Rerun to get /PageLabels entry. ABD: EveryShipout initializing macros (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1phv.fd) (/usr/share/texmf/tex/latex/lm/ot1lmr.fd) (/usr/share/texmf/tex/latex/lm/omllmm.fd) (/usr/share/texmf/tex/latex/lm/omslmsy.fd) (/usr/share/texmf/tex/latex/lm/omxlmex.fd) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd) Overfull \hbox (12.0pt too wide) in paragraph at lines 94--94 [][] [1] [2] (./test.tex 第1章 (/usr/share/texmf/tex/latex/lm/t1lmtt.fd) ./test.tex:4: Package inputenc Error: Invalid UTF-8 byte sequence. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.4 \reviewtt{Edelweiß} Output written on __REVIEW_BOOK__.dvi (2 pages, 13260 bytes). Transcript written on __REVIEW_BOOK__.log.
debug: true にして出力した内容です(文字コードはUTF-8として出力されているようです)
debug: true
\chapter{test} \label{chap:test} \reviewcode{Edelweiß}
他に必要な情報ありましたらおっしゃってください。
The text was updated successfully, but these errors were encountered:
reviewcode, reviewtt は折り返し許容のために breakall というマクロを使っているのですが、これがLatin1補助範囲相手だとうまくいかないようです。 review-custom.styに以下を書いてreviewcode, reviewttのbreakallを無効化する、を回避策として挙げておきます。
\DeclareRobustCommand{\reviewcode}[1]{{\ttfamily #1}} \DeclareRobustCommand{\reviewtt}[1]{{\ttfamily #1}}
breakallはcontributedなコードで私自身もよくわかってないので、ちゃんとした修正は少々気長にお待ちください…。
Sorry, something went wrong.
review-jlreqにしてLuaLaTeXコンパイラを使うと問題が発生しない。 いろいろ調べていったところ、TeX/upTeXの深淵を覗いていますねこれは…。
解析と回避策の提示ありがとうございます。まずは回避策を適用して進めたいと思います。
No branches or pull requests
欧文文字(手元で確かめたところでは
\u00C0
~\u017F
の範囲)が入った@<tt>{...}
があると「Package inputenc Error: Invalid UTF-8 byte sequence.」というエラーになります。なお、
@<code>{...}
インライン命令でも同様にエラーとなり、@<strong>{...}
インライン命令では問題となりません。また、Webmakerでは問題ありません。環境
dockerhubにある
vvakame/review:4.1
とvvakame/review:5.0
を利用させていただいてます。(gibhubに公開されているDockerfile)
入力ファイル
エラーの内容
エラーログのコピー
test.texの内容
debug: true
にして出力した内容です(文字コードはUTF-8として出力されているようです)他に必要な情報ありましたらおっしゃってください。
The text was updated successfully, but these errors were encountered: