Skip to content

Commit

Permalink
The #18 due to borrowed \@starttoc hooks incompatible with figure
Browse files Browse the repository at this point in the history
  • Loading branch information
jfbu committed Jan 14, 2024
1 parent ad2f33e commit 7b77ab8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
16 changes: 2 additions & 14 deletions test_snippets/errorsummary
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!!!! PROBLÈMES AVEC 9/18 TESTS:
!!!! PROBLÈMES AVEC 8/18 TESTS:
testsnippet-01.tex

! Package tagpdf Error: Parent-Child 'TOC/' --> 'enumerate/user'.
Expand Down Expand Up @@ -32,17 +32,6 @@ Type <return> to continue.

l.5 \chapter{Test chapter one}

testsnippet-11.tex

! Package tagpdf Error: Parent-Child 'Note/' --> 'TOC/pdf'.
(tagpdf) Relation is not allowed (struct 4, /float --> struct
(tagpdf) 5) on line 81

Type <return> to continue.
...

l.81 \end
{figure}
testsnippet-12.tex

! Package tagpdf Error: Parent-Child 'TOC/' --> 'footnotemark/user'.
Expand Down Expand Up @@ -98,11 +87,10 @@ Type <return> to continue.

l.6 ...ed\MyQuasiStandardTOC\MyQuasiStandardTOC{1}
\else
FAIL=9, PASS=9, TOTAL=18
FAIL=8, PASS=10, TOTAL=18
fail: testsnippet-01.tex
fail: testsnippet-02.tex
fail: testsnippet-04.tex
fail: testsnippet-11.tex
fail: testsnippet-12.tex
fail: testsnippet-14.tex
fail: testsnippet-19.tex
Expand Down
11 changes: 8 additions & 3 deletions test_snippets/etocsnippet-11.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
%% LaTeX2e file `etocsnippet-11.tex'
%% generated by the `filecontentshere' environment
%% from source `etoc' on 2024/01/12.
%% EDITED (\ref)
\begin{figure}[htbp!]\centering
%% EDITED (\ref) removed figure env

%%%%%%%%\begin{figure}[htbp!]
\begingroup
\centering
\colorlet{subsecnum}{black}
\colorlet{secbackground}{green!30}
\colorlet{tocbackground}{red!20!green!20}
Expand Down Expand Up @@ -78,5 +81,7 @@
%%%%%%%%\vspace{-\baselineskip}
%%%%%%%%\centeredline{|\tableofcontents \ref{toc:part:styling}|
%%%%%%%%(\emph{cf.} \hyperref[toc:clone]{this other toc})}
\end{figure}
%%%%%%%%\end{figure}

\endgroup
\endinput

0 comments on commit 7b77ab8

Please sign in to comment.