problem between textrule and setupindenting ?
Hello, In the following code, the second ruleis indented. How to remove this indentation ? %code% \setuppapersize[A5] \setupindenting[small,yes] \setuptextrules[inbetween=\noindentation] \starttext \starttextrule{introduction} Once upon a time \unknown \stoptextrule \stoptext %code% Many thanks, Bertrand
On 5/3/2014 9:34 AM, Bertrand Masson wrote:
Hello, In the following code, the second ruleis indented. How to remove this indentation ?
%code% \setuppapersize[A5] \setupindenting[small,yes] \setuptextrules[inbetween=\noindentation] \starttext \starttextrule{introduction} Once upon a time \unknown \stoptextrule \stoptext %code%
it's a buglet ... add this to cont-new.mkiv: \unprotect \def\pack_textrule_following#1% {\doifelsenothing{#1} {\ifhmode \endgraf \fi \doifelse{\directtextrulesparameter\c!depthcorrection}\v!on\pack_textrule_correct_depth_yes\pack_textrule_correct_depth_nop \nointerlineskip \noindent\vbox {\color[\directtextrulesparameter\c!rulecolor] {\hrule\s!depth\directtextrulesparameter\c!rulethickness\s!height\zeropoint\s!width\availablehsize}}} {\pack_textrule_with_text{#1}}% \ifvmode \prevdepth\zeropoint \fi} \protect fixed in next beta ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Bertrand Masson
-
Hans Hagen