From ae5a201447b1cb04ab401b5145d92bf62f4cd1c5 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 10 Mar 2013 22:39:29 +0000
Subject: exsheets (10mar13)

git-svn-id: svn://tug.org/texlive/trunk@29334 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def')

diff --git a/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def b/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def
index f81c8e4344d..66dbffcb590 100644
--- a/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def
+++ b/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def
@@ -259,7 +259,7 @@
       { \tl_use:N \l__exsheets_heading_post_code_tl }
     \coffin_join:NnnNnnnn
       \l__exsheets_heading_main_coffin { l } { t }
-      \l__exsheets_heading_pre_coffin { l } { b } { 0pt } { 0pt }
+      \l__exsheets_heading_pre_coffin  { l } { b } { 0pt } { 0pt }
     \coffin_join:NnnNnnnn
       \l__exsheets_heading_main_coffin { l } { b }
       \l__exsheets_heading_post_coffin { l } { t } { 0pt } { 0pt }
@@ -267,7 +267,6 @@
       {
         \tl_use:N \l__exsheets_heading_title_format_tl
         \strut
-        \exsheets_questions_debug:
         \tl_use:N \l__exsheets_heading_title_pre_code_tl
           { \tl_use:N \l__exsheets_heading_title_user_format_tl #1 }
         \tl_use:N \l__exsheets_heading_title_post_code_tl
@@ -349,7 +348,8 @@
       }
     \__exsheets_join:N \l__exsheets_heading_joined_coffins_seq
     \__exsheets_attach:N \l__exsheets_heading_attached_coffins_seq
-    \bool_if:NF \l__exsheets_heading_inline_bool
+    \bool_if:NTF \l__exsheets_heading_inline_bool
+      { \exsheets_questions_debug: }
       {
         \skip_vertical:N \l__exsheets_heading_above_dim
         \exsheets_needspace:n
@@ -359,6 +359,7 @@
             \l__exsheets_heading_below_dim +
             \baselineskip
           }
+        \exsheets_questions_debug:
         \noindent
       }
     \skip_set:Nn \parfillskip { 0pt plus 1fil }
-- 
cgit v1.2.3

