\thinrule in \margintext doesn't work
If \thinrule is used in \margintext, context gives error. \hairline works fine. *Details:* ConTeXt ver: 2013.01.10 01:04 MKIV fmt: 2013.1.13 *Error Message:* ! Undefined control sequence. system > tex > error on line 2 in file a.tex: Undefined control sequence ... 1 \starttext 2 >> \margintext{\thinrule A margintext with thinrule.} 3 %\margintext{\hairline A margintext with hairline.} 4 \stoptext 5 \thinrule ->\strut \bgroup \edef \p_height {\directthinrulesparameter \c!hei... <argument> \thinrule A margintext with thinrule. \doifelsenothing #1->\edef \m_syst_string_one {#1 }\ifx \m_syst_string_one \e... \typo_margins_data_yes_indeed ...felsenothing {#3} \donefalse \donetrue \ifdo... l.2 ...text{\thinrule A margintext with thinrule.} **MWE** \starttext %\margintext{\thinrule A margintext with thinrule.} \margintext{\hairline A margintext with hairline.} \stoptext
On 1/24/2013 10:26 AM, Devendra Ghate wrote:
If \thinrule is used in \margintext, context gives error. \hairline works fine.
You can add an \unexpanded in pack-mrl.mkiv and remake the format: \unexpanded\def\thinrule ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On 1/24/2013 10:26 AM, Devendra Ghate wrote:
**MWE**
\starttext %\margintext{\thinrule A margintext with thinrule.} \margintext{\hairline A margintext with hairline.} \stoptext
btw, after fixing it this becomes a MNWE as a \margintext without anything following it will never show up. ----------------------------------------------------------------- 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)
-
Devendra Ghate
-
Hans Hagen