summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2013-05-27 01:40:40 +0000
committerNorbert Preining <preining@logic.at>2013-05-27 01:40:40 +0000
commiteadd78d6ef924f2410ccc83392717f1d87ee9d67 (patch)
tree2f29f6283c3c2eb8323cc55338837441eb5df9bd /Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def
parent26cee9889d3a6331007204329d7af30c0fc70429 (diff)
excheets update 5/27
git-svn-id: svn://tug.org/texlive/trunk@30703 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def')
-rw-r--r--Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def46
1 files changed, 23 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def b/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def
index 7c320340b2c..637cde2cfd0 100644
--- a/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def
+++ b/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def
@@ -207,28 +207,6 @@
\AssignTemplateKeys
\bool_if:NT \l__exsheets_heading_inline_bool
{ \cs_set_eq:NN \exsheets_par: \scan_stop: }
- \bool_if:nT
- { \l__exsheets_questions_totoc_bool && \l__exsheets_inside_question_bool }
- {
- \phantomsection
- \addcontentsline { toc } { \l__exsheets_questions_toclevel_tl }
- {
- \bool_if:NTF \l__exsheets_heading_toc_reversed_bool
- { #2 \ #1 }
- { #1 \ #2 }
- }
- }
- \bool_if:nT
- { \l__exsheets_solutions_totoc_bool && !\l__exsheets_inside_question_bool }
- {
- \phantomsection
- \addcontentsline { toc } { \l__exsheets_solutions_toclevel_tl }
- {
- \bool_if:NTF \l__exsheets_heading_toc_reversed_bool
- { #2 \ #1 }
- { #1 \ #2 }
- }
- }
\seq_set_split:NnV \l__exsheets_heading_joined_coffins_seq { ; }
\l__exsheets_heading_joined_coffins_tl
\seq_set_split:NnV \l__exsheets_heading_attached_coffins_seq { ; }
@@ -382,6 +360,28 @@
\noindent
}
\skip_set:Nn \parfillskip { 0pt plus 1fil }
+ \bool_if:nT
+ { \l__exsheets_questions_totoc_bool && \l__exsheets_inside_question_bool }
+ {
+ \phantomsection
+ \addcontentsline { toc } { \l__exsheets_questions_toclevel_tl }
+ {
+ \bool_if:NTF \l__exsheets_heading_toc_reversed_bool
+ { #2 \ #1 }
+ { #1 \ #2 }
+ }
+ }
+ \bool_if:nT
+ { \l__exsheets_solutions_totoc_bool && !\l__exsheets_inside_question_bool }
+ {
+ \phantomsection
+ \addcontentsline { toc } { \l__exsheets_solutions_toclevel_tl }
+ {
+ \bool_if:NTF \l__exsheets_heading_toc_reversed_bool
+ { #2 \ #1 }
+ { #1 \ #2 }
+ }
+ }
\coffin_typeset:Nnnnn \l__exsheets_heading_main_coffin
{ H } { l } { 0pt }{ 0pt }
\bool_if:nT
@@ -422,4 +422,4 @@
}
}
-\tex_endinput:D \ No newline at end of file
+\tex_endinput:D