Skip to content

Commit

Permalink
Fix page numbers in PDF bookmark (Fix #293)
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed Apr 21, 2021
1 parent a7ca947 commit 39eb7c0
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/install-texlive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ HYPERREF_PKGS="bitset letltxmacro pdfescape pdflscape";
NOMENCL_PKGS="nomencl koma-script xkeyval";

BIN_PKGS="latexmk l3build";
REQUIRED_PKGS="$XETEX_PKGS $CTEX_PKGS caption footmisc filehook notoccite \
REQUIRED_PKGS="$XETEX_PKGS $CTEX_PKGS caption footmisc filehook \
titlesec unicode-math";
FONT_PKGS="fandol tex-gyre xits";
EXTRA_PKGS="$ALGORITHM2E_PKGS $HYPERREF_PKGS $NOMENCL_PKGS siunitx";
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Fixed

- 修正了与 `chapterbib` 宏包的兼容性。
- 去掉 `notoccite` 宏包,防止造成 PDF 书签中页码的错误(#293)。

## [v3.3.0] - 2021-03-18

Expand Down
1 change: 0 additions & 1 deletion ustcthesis-doc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ \subsection{依赖宏包}
\pkg{footmisc},
\pkg{geometry},
\pkg{graphicx},
\pkg{notoccite},
\pkg{titletoc},
\pkg{url},
\pkg{unicode-math}。
Expand Down
1 change: 0 additions & 1 deletion ustcthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,6 @@
\RequirePackage[perpage]{footmisc}
\RequirePackage{url}
\RequirePackage{calc}
\RequirePackage{notoccite}

% 如果用户在导言区未调用 \pkg{biblatex},则自动调用 \pkg{natbib}。
\AtEndPreamble{
Expand Down

0 comments on commit 39eb7c0

Please sign in to comment.