Re: [NTG-context] fancybreak module
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 }} \starttext \input ward \starbreak \input ward \stoptext Sorry for the confusion. Clyde From: Clyde Johnston [mailto:clyde@johnston.name] Sent: Monday, January 25, 2021 6:46 PM To: mailing list for ConTeXt users (ntg-context@ntg.nl) Subject: fancybreak module I have finally gotten around to upgrading my ConTeXt installation to LTMX and found that the \starbreak command in the "fancybreak" module no longer works. \usemodule[fancybreak] \starttext \input ward \starbreak \input ward \stoptext Have I missed something about the LTMX changes? I was working in version 2018.07.02 14:39 but not in 2021.01.24 16:07. Regards, Clyde
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
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.lists@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
Clyde Johnston schrieb am 25.01.2021 um 18:44:
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.
Can you show your log-file because the fancybreak module on the wiki provides the \setupfancybreak command. Wolfgang
Yes, thanks for taking a look. Clyde -----Original Message----- From: ntg-context [mailto:ntg-context-bounces@ntg.nl] On Behalf Of Wolfgang Schuster Sent: Monday, January 25, 2021 8:27 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] fancybreak module Clyde Johnston schrieb am 25.01.2021 um 18:44:
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.
Can you show your log-file because the fancybreak module on the wiki provides the \setupfancybreak command. 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 ___________________________________________________________________________________
Clyde Johnston schrieb am 25.01.2021 um 19:48:
Yes, thanks for taking a look.
The following message in the log file (line12) modules > 'fancybreak' is not found tells us ConTeXt isn't able to load/find a module with the requested name. Are you sure the module is installed on your system? Is it possible your previous example works because the module is in the same folder as the file for the document. Wolfgang
Thank you. It has been a few years since I have done an installation. I think the old installation instructions either installed the modules by default or guided me to do so (as I do not remember installing them) whereas the new one does not. I followed the Module installation instructions of LTMX (https://wiki.contextgarden.net/Modules) and it is now working. The only difficulty I had is that Windows does not come with "rsync" so I had to run it from Linux and then copy it across manually to my PC before running install.bat. Thanks, Clyde PS: I have a few other backward-compatibility issues but I need to take a closer look and build MWE for them. -----Original Message----- From: Wolfgang Schuster [mailto:wolfgang.schuster.lists@gmail.com] Sent: Monday, January 25, 2021 9:31 PM To: mailing list for ConTeXt users Cc: Clyde Johnston Subject: Re: [NTG-context] fancybreak module Clyde Johnston schrieb am 25.01.2021 um 19:48:
Yes, thanks for taking a look.
The following message in the log file (line12) modules > 'fancybreak' is not found tells us ConTeXt isn't able to load/find a module with the requested name. Are you sure the module is installed on your system? Is it possible your previous example works because the module is in the same folder as the file for the document. Wolfgang
Clyde Johnston schrieb am 25.01.2021 um 21:12:
Thank you. It has been a few years since I have done an installation. I think the old installation instructions either installed the modules by default or guided me to do so (as I do not remember installing them) whereas the new one does not.
I followed the Module installation instructions of LTMX (https://wiki.contextgarden.net/Modules) and it is now working. The only difficulty I had is that Windows does not come with "rsync" so I had to run it from Linux and then copy it across manually to my PC before running install.bat.
When you need only a very small number of third party modules you can just download the zip file and unpack the content in the texmf-modules folder. Wolfgang
participants (2)
-
Clyde Johnston
-
Wolfgang Schuster