On Wed, 15 Apr 2015, Thangalin wrote:
Pandoc uses thinrule (probably because it spans the page by default)
when generating ConTeXt documents.
Using only thinrule, how would you go about making a totally sweet
(ornamental) horizontal rule, such as those shown at:
Thank you.
Here is an example that changes the \thinrule to something fancier:
\usemodule[fancybreak]
\setupfancybreak[symbol=star]
\define\thinrule\fancybreak
___
If your question is of interest to others as well,
Wikified.
http://wiki.contextgarden.net/Command/setupfancybreak
http://wiki.contextgarden.net/Modules/fancybreak
Might need some corrections and additions.
___
If your question is of interest to others as well,
On Thu, 16 Apr 2015, Thangalin wrote:
\define\thinrule\fancybreak
Or
\definefancybreak[thinrule][symbol=star]
I wish there was a custom context-writer for pandoc, where markdown
elements were mapped to semantic commands rather than visual commands
(pandoc maps **text** to {\bf text},
Hi,
From http://wiki.contextgarden.net/Command/setupthinrules :
\define\BeforeCommand{Before}
\define\AfterCommand{After}
\define\BetweenCommand{Between}
\setupthinrules[
before=\BeforeCommand,
after=\AfterCommand,
inbetween=\BetweenCommand,
color=gray,
height=1em,
]
\starttext
to one another I tried
\setupthinrules[height=2pt,depth=0pt,interlinespace=medium]
\thinrule\godown[1pt]\thinrule
But the natural height of the lines then interfers. Setting \godown
[negative amount] will work, of course, but seems unnatural to me.
At least I feel it condems me