Re: [NTG-context] \thinrule in \margintext doesn't work

2013-01-24 Thread Hans Hagen

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \thinrule in \margintext doesn't work

2013-01-24 Thread Hans Hagen

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \thinrule in \margintext doesn't work

2013-01-24 Thread Devendra Ghate
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...
 \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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Bug? thinrule in natural table & MKIV

2009-02-05 Thread Wolfgang Schuster


Am 05.02.2009 um 15:52 schrieb Bart C. Wise:


I put a thinrule in a table as follows:

\starttext
\bTABLE
\bTR\bTD\thinrule\eTD\eTR
\eTABLE
\stoptext

It worked fine under MKII. However, when I switched to MKIV (both  
current and beta) I got the following error message:


[...]


Is this a bug?


Yes, a better example is:

\starttext
\bTABLE
\bTR\bTD \bgroup\carryoverpar\egroup \eTD\eTR
\eTABLE
\stoptext

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Bug? thinrule in natural table & MKIV

2009-02-05 Thread Bart C. Wise
I put a thinrule in a table as follows:

\starttext
\bTABLE
\bTR\bTD\thinrule\eTD\eTR
\eTABLE
\stoptext

It worked fine under MKII.  However, when I switched to MKIV (both current and 
beta) I got the following error message:

! Missing { inserted.

{

   &
 ...blrow \makeTBL 1 1 \nexttblcol
  \endtblrow
\flushtbltoks ->\begintbl \the \tbltoks
\endtbl
\endTBL ...x {\trialtypesettingtrue \flushtbltoks
  }\lettbldis \maximumcol 
\z...
\eTABLE ...}}\eTBL }\removeunwantedspaces \endTBL
  \stopTBLprocessing \fi \eg...
l.4 \eTABLE


Is this a bug?
Is there a workaround?

Thanks,
Bart
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Underline the headertext with a thinrule

2007-05-14 Thread luigi scarso

Sorry, but i'm a bit busy .
Some hints are at
http://wiki.contextgarden.net/Titles


--
luigi

If your question is of interest to others as well, please add an entry to
the Wiki!

maillist : ntg-context@ntg.nl /
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Underline the headertext with a thinrule

2007-05-13 Thread Bert TrĂ¼ger

Hi again,

luigi, thanks for your tips. I simply want to put a \thinrule
underneath the headertext in textwidth. My setup is:

\setupheadertexts[chapter][\pagenumber][section][\pagenumber]
\setupheader[after=\thinrule]
\setuphead[subsubsection][number=no,alternative=text,indenttext=yes,textstyle=bold]
\definetext[chapter][footer][pagenumber]
\setuphead[chapter][header=high,footer=chapter,page=yes]
\setuphead[blank][state=empty]

This way I get a \thinrule starting in the left margin in textwidth
under an odd page. I would like the headertext with chapter and
pagenumber underlined with \thinrule on every odd page, except it
is blank or the beginning of a new chapter, and the same with
section and pagenumber in the header for every even page, except it
is blank or the beginning of a new chapter -- a simple underlined
headtext like in many books.

Thanks for your help

Bert
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___