Re: jsbook+hyperref、\include命令でエラー

名前: にい
日時: 2007-01-08 11:24:31
IPアドレス: 157.82.13.*

>>46451 ご回答ありがとうございます。 はじめFAQ過去ログを調べ、\protectや\texorpdfstringで解決する問題に近いかと思いましたが、 \chapter{}には\LaTeXなどの命令は含まれていません。 \includeをやめて\chapterを直接書いてみた時のメッセージとソースは以下の通りでした。 This is pTeX, Version 3.14159-p3.1.5 (euc) (Web2C 7.4.5) (./hyperref-test.tex pLaTeX2e <2005/01/04>+0 (based on LaTeX2e <2001/06/01> patch level 0) (/usr/share/texmf/ptex/platex/misc/jsbook.cls Document Class: jsbook 2005/03/19 okumura ) (/usr/share/texmf/tex/latex/hyperref/hyperref.sty (/usr/share/texmf/tex/latex/graphics/keyval.sty) (/usr/share/texmf/tex/latex/hyperref/pd1enc.def) (/usr/share/texmf/tex/latex/config/hyperref.cfg) Implicit mode ON; LaTeX internals redefined (/usr/share/texmf/tex/latex/misc/url.sty)) *hyperref using default driver hdvips* (/usr/share/texmf/tex/latex/hyperref/hdvips.def (/usr/share/texmf/tex/latex/hyperref/pdfmark.def)) (./hyperref-test.aux) (/usr/share/texmf/tex/latex/hyperref/nameref.sty) (./hyperref-test.out) (./hyperref-test.out) [1] [2] (./hyperref-test.toc) [1] [2] (./hyperref-test.lof) [3] [4] (./hyperref-test.lot) [5] [6] 1 ! Extra \else. \Hy@org@chapter ...ne {toc}{chapter}{#1}\fi \else \addcontentsline {toc}{cha... l.26 \chapter{^^bd^^f8^^cf^^c0} ? ! Extra \fi. \Hy@org@chapter ...entsline {toc}{chapter}{#1}\fi \chaptermark {#1}\addtocon... l.26 \chapter{^^bd^^f8^^cf^^c0} ? [1] [2] 2 ! Extra \else. \Hy@org@chapter ...ne {toc}{chapter}{#1}\fi \else \addcontentsline {toc}{cha... l.34 \chapter{} ? ! Extra \fi. \Hy@org@chapter ...entsline {toc}{chapter}{#1}\fi \chaptermark {#1}\addtocon... l.34 \chapter{} ? [3] [4] (./hyperref-test.aux) ) Output written on hyperref-test.dvi (12 pages, 11936 bytes). Transcript written on hyperref-test.log. typeset exited abnormally with code 1 at Mon Jan 8 11:22:10 hyperref-test.tex: \documentclass[a4paper,12pt]{jsbook} \usepackage{hyperref} \begin{document} \title{あいうえお} \date{平成18年度} \author{ほげ} % 表紙と概要 (ページ番号なし) \maketitle %\include{abstract} % 前付け (章番号なし,ページ番号はローマ数字 i,ii,iii,iv...) \frontmatter \tableofcontents \listoffigures \listoftables \setcounter{chapter}{0} % 本文 (章番号をつけ,以下ページ番号は算用数字 1,2,3...) \mainmatter \chapter{序論} \section{はじめに} あいうえお \section{目的と方法} かきくけこ \chapter{} \section{構成} さしすせそ %\include{hyperref-intro} % 付録 (章番号がアルファベット) \appendix % 後付け (章番号なし) \backmatter %\include{hyperref-acknowledgment} \end{document} 以上、お手数おかけして申し訳ありませんが、よろしくお願い致します。

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます。適宜改行を入れてください)