Hi,
\define\BeforeCommand{Before} \define\AfterCommand{After} \define\BetweenCommand{Between} \setupthinrules[ before=\BeforeCommand, after=\AfterCommand, inbetween=\BetweenCommand, color=gray, height=1em, ] \starttext \input knuth \thinrule \input knuth \stoptext This does not produce the expected output; it appears as though the before/after/inbetween commands, as documented on the wiki, have no behaviour. 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: http://tex.stackexchange.com/a/76555/2148 Thank you!
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: http://tex.stackexchange.com/a/76555/2148
Have a look at the fancybreak module. Aditya
Thank you. Here is an example that changes the \thinrule to something fancier: \usemodule[fancybreak] \setupfancybreak[symbol=star] \define\thinrule\fancybreak
Wikified. http://wiki.contextgarden.net/Command/setupfancybreak http://wiki.contextgarden.net/Modules/fancybreak Might need some corrections and additions.
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}, which is worse). Aditya
participants (2)
-
Aditya Mahajan
-
Thangalin