Hmm... That did not work for me.  The example on the garden
(https://wiki.contextgarden.net/Command/setupfancybreak) is not working
either.  I get a "tex error       > tex error on line 2 in file ./mwe.tex:
Undefined control sequence" on \setupfancybreak.

\usemodule[fancybreak]
\setupfancybreak[symbol=star]

\starttext
  Paragraph
  \fancybreak
  Paragraph
\stoptext

Thanks,
Clyde


-----Original Message-----
From: Wolfgang Schuster [mailto:wolfgang.schuster.li...@gmail.com] 
Sent: Monday, January 25, 2021 7:22 PM
To: mailing list for ConTeXt users
Cc: Clyde Johnston
Subject: Re: [NTG-context] fancybreak module



Clyde Johnston schrieb am 25.01.2021 um 17:55:
> I just realized that \starbreak was one of my own macros (defined ages 
> ago) so the MWE should be:
> 
> \usemodule[fancybreak]
> 
> \define\starbreak{
>      \fancybreak{
>
\strut\hfill\hfill\symbol[star]\hfill\symbol[star]\hfill\symbol[star]\hfill\
hfill\strut
>      }}

\definesymbol
   [starbreak]
   [\maxaligned\bgroup
      \hfill\hfill
      \strut\symbol{star}\hfill\symbol{star}\hfill\symbol{star}%
      \hfill\hfill
    \egroup]

\definefancybreak [starbreak] [symbol=starbreak]

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

Reply via email to