Skip to content

Commit

Permalink
Define bookmark levels \toclevel@<list type> (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
muzimuzhi committed Nov 4, 2024
1 parent 4499e76 commit 94e4be8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
### Changed

- Defer aliasing of `\contentsline` for better compatibility with `bidi` package (#65)

### Fixed

- Unknown bookmark level needed by `hyperref` and the tagging project (#70)
2 changes: 1 addition & 1 deletion source/VERSION.tex
Original file line number Diff line number Diff line change
@@ -1 +1 @@
\def\VERSION{2024/07/28 v0.77}
\def\VERSION{2024/11/04 v0.78}
5 changes: 5 additions & 0 deletions source/thm-listof.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,18 @@
% similar to \l@figure defined in ams classes
\@tocline{0}{3pt plus2pt}{0pt}{\thmt@listnumwidth}{}%
}%
% for hyperref and the tagging project, see #70
% It's needed/checked when writing toc-like entries to .aux, even
% if the theorem list is not actually typeset.
\@namedef{toclevel@\thmt@envname}{1}%
}
\providecommand*\thmt@listnumwidth{1.5pc}
\else
\def\thmtlo@newentry{%
\@xa\def\csname l@\thmt@envname\endcsname{% CHECK: why p@edef?
\@dottedtocline{1}{1.5em}{\thmt@listnumwidth}%
}%
\@namedef{toclevel@\thmt@envname}{1}%
}
\providecommand*\thmt@listnumwidth{2.3em}
\fi
Expand Down

0 comments on commit 94e4be8

Please sign in to comment.