立て続けに質問して恐縮です.
現在 jsbook や bxjsbook を使って参考文献と索引を含む文章を書いているのですが,つい最近奇妙なことに気づきました.目次や PDF のしおりから索引のページへジャンプしようとすると,索引ではなく参考文献にジャンプしてしまいます.以前はこのようなこと無かったと思います.どの時点でどのパッケージに不具合が入り込んだのかわからずに困っています.以下再現ソースと生成した PDF を添付します.怪しいのは hyperref でしょうか?
uplatex, upmendex, dvipdfmx を使ってコンパイルしています.
% ----------
\RequirePackage{plautopatch}
\documentclass[uplatex,dvipdfmx,ja=standard,b5paper,11pt,openany]{bxjsbook}
%\documentclass[uplatex,dvipdfmx,b5paper,11pt,openany]{jsbook}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{makeidx}
\usepackage[dvipdfmx, colorlinks=true, bookmarks=true, bookmarksnumbered=true,%
bookmarkstype=toc, filecolor=blue, urlcolor=blue, linkcolor=blue,%
linktocpage=true, citecolor=red, menucolor=black,%
pdfnewwindow=true, breaklinks=false]{hyperref}
%\usepackage{pxjahyper}
\title{本の題名}
\author{著者名}
\date{\today}
\makeindex
\begin{document}
\maketitle
\tableofcontents
\chapter{序論}
\section{各種変数,定数の定義}
本書では以下の規則に従って変数名\index{へんすうめい@変数名}や定数名\index{ていすうめい@定数名}を使用する.なお,この規則はガイドライン\cite{foo:Guideline of naming convention}に従ったものである.
\begin{thebibliography}{99}
\bibitem{foo:Guideline of naming convention} Bar, F.\ (2024). \emph{Naming Convention of Variables and Constants}. South Pacific Publishing, Nouméa
\end{thebibliography}
\clearpage
\printindex
\end{document}
% ----------
索引へのリンクが正しくない
- Toshio Otaguro の投稿