[NTG-context] thinrules width

2020-12-14 Thread Rik Kabel

Hello list, and developers in particular,

I note that thinrules (and its setup, setupthinrules, and relatives 
thinrule and hairline) does not have a width setting, and always sets a 
rule (or rules) the full width of the text area (less any text set on 
the same line.


No problem, but I do see (non-authoratative) references in the mailing 
list to such a parameter, and more problematically, I note that the 
default ConTeXt template for Pandoc includes the line:


\setupthinrules[width=15em] % width of horizontal rules

Before reporting an issue to the Pandoc team, I just want to confirm 
that this is, in fact, both the case (as reading the source and my 
testing indicate) and the intent (which I cannot attest).


I would further suggest that Pandoc should be using setupblackrule with 
appropriate height, depth, rulethickness, and width. I suspect that 
Pandoc typography is not sensitive to control of the actual placement 
relative to the baseline, as ConTeXt supports, but a pointer to a clear 
explanation of the interaction of height, depth, and rulethickness would 
be welcome.


--
Rik

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] thinrules

2012-05-17 Thread Meer, H. van der
Macro \thinrules places vertical whitespace before the first of its lines. I 
would like to get rid of that one, but have no success in doint that.
Usage is: \par\thinrules[..]\par

Howto?

H van der Meer



___
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] thinrules

2012-05-17 Thread Wolfgang Schuster

Am 17.05.2012 um 17:46 schrieb Meer, H. van der:

 Macro \thinrules places vertical whitespace before the first of its lines. I 
 would like to get rid of that one, but have no success in doint that.
 Usage is: \par\thinrules[..]\par
 
 Howto?

\starttext

a
\hrule
b

\strut a
\hrule
\strut b

\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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] thinrules

2012-05-17 Thread Wolfgang Schuster

Am 17.05.2012 um 18:09 schrieb Meer, H. van der:

 Thanks,
 
 From your answer I understand that collapsing the preceding vertical space is 
 impossible with \thinrules.

\thinrule adds \strut at the begin of the rule which results in vertical space 
above and below.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] thinrules

2010-04-16 Thread Hans van der Meer
\thinrules disappear when then are the lone item and I can make them  
appear only by typeing somthing behind/before.
However, I would to force a thin rule anyway, even if there is no  
surrounding text.

How?

Hans van der Meer




___
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] thinrules

2010-04-16 Thread Hans Hagen

On 16-4-2010 10:57, Hans van der Meer wrote:

\thinrules disappear when then are the lone item and I can make them
appear only by typeing somthing behind/before.
However, I would to force a thin rule anyway, even if there is no
surrounding text.
How?


put something invisible in front, \strut or so

-
  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
___