Re: 目次とルビを用いたhyperref

名前: yam
日時: 2004-03-09 21:42:32
IPアドレス: 222.150.14.*

>>26949 回答ありがとうございます, \texorpdfstringはPDFを作成するときのみに 用いる方法だと思うのですが dviファイルまでのときは, どのように行えばよいのでしょう? > Package hyperref Warning: Token not allowed in a PDFDocEncoded string, > (hyperref) removing `\ruby' on input line 9. > という警告が`ほげほげ'で表示されることを確認してください。 また,以下の例では示された警告が表示されません. ログファイルも記しておきます %例 \documentclass{jsarticle} \usepackage{okumacro} \usepackage{hyperref} \begin{document} \tableofcontents \section{あいうえお} \section{\ruby{カキクケコ}{かきくけこ}} \end{document} %以下ログファイル This is pTeXk, Version 3.141592-p3.1.3 (sjis) (Web2C 7.5.2) (format=platex 2004.2.16) 9 MAR 2004 21:29 Source specials enabled. **test.tex (./test.tex pLaTeX2e <2001/09/04>+0 (based on LaTeX2e <2001/06/01> patch level 0) (c:/usr/local/share/texmf/ptex/platex/js/jsarticle.cls Document Class: jsarticle 2004/02/25 okumura LaTeX Info: Redefining \sffamily on input line 305. LaTeX Info: Redefining \ttfamily on input line 308. \symmincho=\mathgroup4 LaTeX Font Info: Overwriting symbol font `mincho' in version `bold' (Font) JY1/mc/m/n --> JY1/gt/m/n on input line 316. LaTeX Info: Redefining \mathrm on input line 318. LaTeX Info: Redefining \mathbf on input line 319. LaTeX Font Info: Font shape `JY1/mc/m/n' will be (Font) scaled to size 9.60999pt on input line 367. LaTeX Font Info: Font shape `JT1/mc/m/n' will be (Font) scaled to size 9.60999pt on input line 367. \fullwidth=\dimen118 LaTeX Font Info: Font shape `JY1/mc/m/n' will be (Font) scaled to size 7.68799pt on input line 485. LaTeX Font Info: Font shape `JT1/mc/m/n' will be (Font) scaled to size 7.68799pt on input line 485. \c@part=\count81 \c@section=\count82 \c@subsection=\count83 \c@subsubsection=\count84 \c@paragraph=\count85 \c@subparagraph=\count86 \@abstractbox=\box41 \c@figure=\count87 \c@table=\count88 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \@lnumwidth=\dimen119 \bibindent=\dimen120 LaTeX Info: Redefining \TeX on input line 1394. LaTeX Info: Redefining \LaTeX on input line 1416. LaTeX Info: Redefining \LaTeXe on input line 1437. \heisei=\count89 ) (c:/usr/local/share/texmf/ptex/platex/js/okumacro.sty Package: okumacro 2003/11/24 okumura \@scw=\dimen121 \scb@x=\box42 \EXAMPLEWIDTH=\dimen122 \shaderule=\dimen123 ) (c:/usr/local/share/texmf/tex/latex/hyperref/hyperref.sty Package: hyperref 2003/07/27 v6.74h Hypertext links for LaTeX (c:/usr/local/share/texmf/tex/latex/graphics/keyval.sty Package: keyval 1999/03/16 v1.13 key=value parser (DPC) \KV@toks@=\toks15 ) \@linkdim=\dimen124 \Hy@linkcounter=\count90 \Hy@pagecounter=\count91 (c:/usr/local/share/texmf/tex/latex/hyperref/pd1enc.def File: pd1enc.def 2003/07/27 v6.74h Hyperref: PDFDocEncoding definition (HO) ) Package hyperref Info: Hyper figures OFF on input line 1879. Package hyperref Info: Link nesting OFF on input line 1884. Package hyperref Info: Hyper index ON on input line 1887. Package hyperref Info: Plain pages ON on input line 1892. Package hyperref Info: Backreferencing OFF on input line 1899. Implicit mode ON; LaTeX internals redefined Package hyperref Info: Bookmarks ON on input line 2003. (c:/usr/local/share/texmf/tex/latex/misc/url.sty \Urlmuskip=\muskip10 Package: url 1999/03/28 ver 1.5x Verb mode for urls, etc. ) LaTeX Info: Redefining \url on input line 2142. \Fld@menulength=\count92 \Field@Width=\dimen125 \Fld@charsize=\dimen126 \Choice@toks=\toks16 \Field@toks=\toks17 Package hyperref Info: Hyper figures OFF on input line 2617. Package hyperref Info: Link nesting OFF on input line 2622. Package hyperref Info: Hyper index ON on input line 2625. Package hyperref Info: backreferencing OFF on input line 2632. Package hyperref Info: Link coloring OFF on input line 2637. \c@Item=\count93 \c@Hfootnote=\count94 ) *hyperref using default driver hypertex* (c:/usr/local/share/texmf/tex/latex/hyperref/hypertex.def File: hypertex.def 2003/07/27 v6.74h Hyperref driver for HyperTeX specials ) (./test.aux) \openout1 = `test.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for JY1/mc/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for JT1/mc/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. Package hyperref Info: Link coloring OFF on input line 4. (c:/usr/local/share/texmf/tex/latex/hyperref/nameref.sty Package: nameref 2001/01/27 v2.19 Cross-referencing by name of section \c@section@level=\count95 ) LaTeX Info: Redefining \ref on input line 4. LaTeX Info: Redefining \pageref on input line 4. LaTeX Font Info: Font shape `JY1/mc/m/n' will be (Font) scaled to size 13.83836pt on input line 5. LaTeX Font Info: Font shape `JT1/mc/m/n' will be (Font) scaled to size 13.83836pt on input line 5. LaTeX Font Info: Font shape `JY1/gt/m/n' will be (Font) scaled to size 13.83836pt on input line 5. LaTeX Font Info: Font shape `JT1/gt/m/n' will be (Font) scaled to size 13.83836pt on input line 5. (./test.toc LaTeX Font Info: Font shape `JY1/gt/m/n' will be (Font) scaled to size 9.60999pt on input line 1. LaTeX Font Info: Font shape `JT1/gt/m/n' will be (Font) scaled to size 9.60999pt on input line 1. LaTeX Font Info: Font shape `JY1/gt/m/n' will be (Font) scaled to size 4.805pt on input line 2. LaTeX Font Info: Font shape `JT1/gt/m/n' will be (Font) scaled to size 4.805pt on input line 2. ) \tf@toc=\write3 \openout3 = `test.toc'. LaTeX Font Info: Font shape `JY1/gt/m/n' will be (Font) scaled to size 6.91917pt on input line 8. LaTeX Font Info: Font shape `JT1/gt/m/n' will be (Font) scaled to size 6.91917pt on input line 8. [1 ] (./test.aux) ) Here is how much of TeX's memory you used: 2009 strings out of 95597 26365 string characters out of 1191919 74503 words of memory out of 1500001 5157 multiletter control sequences out of 10000+50000 11295 words of font info for 51 fonts, out of 600000 for 2000 19 hyphenation exceptions out of 2000 25i,4n,28p,162b,219s stack positions out of 1500i,500n,5000p,200000b,5000s Output written on test.dvi (1 page, 1032 bytes).

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます)