From kimkim19642004 @ yahoo.co.jp Thu Oct 27 14:50:35 2016 From: kimkim19642004 @ yahoo.co.jp (kimura katsunari) Date: Thu, 27 Oct 2016 14:50:35 +0900 (JST) Subject: [issue:1] =?utf-8?b?anNjbGFzc2VzIOOBp+S9v+eUqOOBp+OBjeOCiyBzZWN0c3R5IA==?= =?utf-8?b?5Luj5pu/44OR44OD44Kx44O844K444Gv44GC44KK44G+44GZ44Gn44GX44KH?= =?utf-8?b?44GG44GL77yf?= Message-ID: はじめまして kim と申します。 ------------------------------------------------------------ 以下の内容の refman.tex ファイルを作成してコンパイルしたところ \documentclass[uplatex,twoside]{jsbook} \usepackage{sectsty} \begin{document} \end{document} ------------------------------------------------------------ 以下のエラーが出ました。 [kim @ localhost latex]$ uplatex refman.tex This is e-upTeX, Version 3.14159265-p3.6-u1.20-150702-2.6 (utf8.uptex) (TeX Live 2016/dev) (preloaded format=uplatex) ?restricted \write18 enabled. entering extended mode (./refman.tex pLaTeX2e <2011/05/07u00>+0 (based on LaTeX2e <2015/01/01> patch level 2) Babel <3.9m> and hyphenation patterns for 2 languages loaded. (/usr/share/texlive/texmf-dist/tex/platex/jsclasses/jsbook.cls Document Class: jsbook 2014/02/07 okumura ) (/usr/share/texlive/texmf-dist/tex/latex/sectsty/sectsty.sty ! Package sectsty Error: The sectsty package doesn't work with (sectsty)??????????????? this document class. See the sectsty package documentation for explanation. Type? H ? for immediate help. ?...????????????????????????????????????????????? ????????????????????????????????????????????????? l.296???? scrartcl, scrbook, and scrreprt.} ?????????????????????????????????????????? ? ------------------------------------------------------------/usr/share/texlive/texmf-dist/tex/latex/sectsty/sectsty.sty の 296 行目付近のソースを見ると \allsectionsfont{\relax} \@tempswafalse \@ifclassloaded{article} {\@tempswatrue\SS @ oclto{1}{article detected}} {} \@ifclassloaded{report}? {\@tempswatrue\SS @ oclto{1}{report? detected}} {} \@ifclassloaded{book}??? {\@tempswatrue\SS @ oclto{1}{book??? detected}} {} \@ifclassloaded{letter}? {}??????????????????????????????????????????? {} \@ifclassloaded{slides}? {}??????????????????????????????????????????? {} \@ifclassloaded{scrartcl}{\@tempswatrue\SS @ oclto{1}{scrartcl detected}} {} \@ifclassloaded{scrreprt}{\@tempswatrue\SS @ oclto{1}{scrreprt detected}} {} \@ifclassloaded{scrbook} {\@tempswatrue\SS @ oclto{1}{scrbook? detected}} {} \if @ tempswa\else ??? \PackageError{sectsty}% ??? {The sectsty package doesn't work with\MessageBreak ??? this document class}% ??? {The sectsty package only works with the following classes: ??? \MessageBreak ??? the standard LaTeX document classes\MessageBreak ??? article, report, and book; and\MessageBreak ??? the KOMA-Script classes\MessageBreak ??? scrartcl, scrbook, and scrreprt.} <= 296 行目はここです! \fi ------------------------------------------------------------ 上のソースの \allsectionsfont に jsclasses パッケージのクラスに関するコードとエラーメッセージを追加してどうなるか 試すのも一案ですが、sectsty 代替パッケージが既に存在しているかも知れないので投稿しました。 ------------------------------------------------------------ jsclasses で使用できる sectsty 代替パッケージについてご存知の方教えてください。 -------------- next part -------------- HTMLの添付ファイルを保管しました... URL: