ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* thinrules width
@ 2020-12-15  2:08 Rik Kabel
  0 siblings, 0 replies; only message in thread
From: Rik Kabel @ 2020-12-15  2:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-15  2:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-15  2:08 thinrules width Rik Kabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).