summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-23 22:10:13 +0000
committerKarl Berry <karl@freefriends.org>2013-04-23 22:10:13 +0000
commit1d2a6fd2512cbd4325e55f9607aa3ba191515ff7 (patch)
tree7d8ade1189f5a31eea1f0104cd94252deb716d2a /Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def
parentd28917f9c5b9050df841e1879d918a6082d0f29f (diff)
exsheets (23apr13)
git-svn-id: svn://tug.org/texlive/trunk@30075 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.def7
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def b/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def
index 66dbffcb590..c9f80403371 100644
--- a/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def
+++ b/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def
@@ -72,6 +72,7 @@
\tl_new:N \l__exsheets_heading_points_format_tl
\tl_new:N \l__exsheets_heading_points_pre_code_tl
\tl_new:N \l__exsheets_heading_points_post_code_tl
+\tl_new:N \l__exsheets_heading_points_post_hook_tl
\tl_new:N \l__exsheets_heading_joined_coffins_tl
\tl_new:N \l__exsheets_heading_attached_coffins_tl
@@ -281,6 +282,9 @@
{ \tl_use:N \l__exsheets_heading_title_user_format_tl #2 }
\tl_use:N \l__exsheets_heading_number_post_code_tl
}
+ % TODO: if questions are included via \includequestions
+ % \g__exsheets_questions_current_id_tl doesn't hold the current ID any
+ % more when the questions are typeset
\hcoffin_set:Nn \l__exsheets_heading_meta_coffin
{
\prop_get:NoNT \g__exsheets_questions_meta_prop
@@ -336,6 +340,9 @@
\tl_use:N \l__exsheets_heading_points_post_code_tl
}
}
+ % this allows users to provide their own point system while also using
+ % exsheets' positioning mechanism:
+ \tl_use:N \l__exsheets_heading_points_post_hook_tl
\bool_if:nT
{ !\l__exsheets_heading_runin_bool && !\l__exsheets_heading_inline_bool }
{