ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: fancybreak module
@ 2021-01-25 16:55 Clyde Johnston
  2021-01-25 17:21 ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Clyde Johnston @ 2021-01-25 16:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 957 bytes --]

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

 

 


[-- Attachment #1.2: Type: text/html, Size: 5789 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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] 9+ messages in thread

* Re: fancybreak module
  2021-01-25 16:55 fancybreak module Clyde Johnston
@ 2021-01-25 17:21 ` Wolfgang Schuster
  2021-01-25 17:44   ` Clyde Johnston
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2021-01-25 17:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users



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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: fancybreak module
  2021-01-25 17:21 ` Wolfgang Schuster
@ 2021-01-25 17:44   ` Clyde Johnston
  2021-01-25 18:27     ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Clyde Johnston @ 2021-01-25 17:44 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

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

___________________________________________________________________________________
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] 9+ messages in thread

* Re: fancybreak module
  2021-01-25 17:44   ` Clyde Johnston
@ 2021-01-25 18:27     ` Wolfgang Schuster
  2021-01-25 18:48       ` Clyde Johnston
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2021-01-25 18:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: fancybreak module
  2021-01-25 18:27     ` Wolfgang Schuster
@ 2021-01-25 18:48       ` Clyde Johnston
  2021-01-25 19:30         ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Clyde Johnston @ 2021-01-25 18:48 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

[-- Attachment #1: Type: text/plain, Size: 1222 bytes --]

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
___________________________________________________________________________________

[-- Attachment #2: mwe.log --]
[-- Type: application/octet-stream, Size: 1254 bytes --]

system          > 
system          > ConTeXt  ver: 2021.01.24 16:07 LMTX  fmt: 2021.1.25  int: english/english
system          > 
system          > 'cont-new.mkxl' loaded
open source     > level 1, order 1, name 'C:/context/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system          > beware: some patches loaded from cont-new.mkiv
close source    > level 1, order 1, name 'C:/context/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system          > files > jobname 'mwe', input './mwe', result 'mwe'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 1, order 2, name './mwe.tex'
modules         > 'fancybreak' is not found

tex error       > tex error on line 2 in file ./mwe.tex: Undefined control sequence


<recently read> \setupfancybreak 
    
<line 3.2> \setupfancybreak
    [symbol=star]


1     \usemodule[fancybreak]
2 >>  \setupfancybreak[symbol=star]
3     
4     \starttext
5       Paragraph
6       \fancybreak
7       Paragraph
8     \stoptext
9     


The control sequence at the end of the top line of your error message was never
\def'ed. You can just continue as I'll forget about whatever was undefined.



[-- Attachment #3: mwe-error.log --]
[-- Type: application/octet-stream, Size: 483 bytes --]

return {
 ["errortype"]=0,
 ["filename"]="./mwe.tex",
 ["lastcontext"]="\n<recently read> \\setupfancybreak \n    \n<line 3.2> \\setupfancybreak\n    [symbol=star]",
 ["lastluaerror"]="",
 ["lasttexerror"]="Undefined control sequence",
 ["lasttexhelp"]="The control sequence at the end of the top line of your error message was never\n\\def'ed. You can just continue as I'll forget about whatever was undefined.",
 ["linenumber"]=2,
 ["offset"]=10,
 ["skiplinenumber"]=2,
}

[-- Attachment #4: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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] 9+ messages in thread

* Re: fancybreak module
  2021-01-25 18:48       ` Clyde Johnston
@ 2021-01-25 19:30         ` Wolfgang Schuster
  2021-01-25 20:12           ` Clyde Johnston
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2021-01-25 19:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

___________________________________________________________________________________
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] 9+ messages in thread

* Re: fancybreak module
  2021-01-25 19:30         ` Wolfgang Schuster
@ 2021-01-25 20:12           ` Clyde Johnston
  2021-01-25 21:06             ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Clyde Johnston @ 2021-01-25 20:12 UTC (permalink / raw)
  To: 'Wolfgang Schuster', 'mailing list for ConTeXt users'

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


___________________________________________________________________________________
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] 9+ messages in thread

* Re: fancybreak module
  2021-01-25 20:12           ` Clyde Johnston
@ 2021-01-25 21:06             ` Wolfgang Schuster
  0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2021-01-25 21:06 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

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
___________________________________________________________________________________
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] 9+ messages in thread

* fancybreak module
@ 2021-01-25 16:45 Clyde Johnston
  0 siblings, 0 replies; 9+ messages in thread
From: Clyde Johnston @ 2021-01-25 16:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 404 bytes --]

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

 

 


[-- Attachment #1.2: Type: text/html, Size: 2899 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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] 9+ messages in thread

end of thread, other threads:[~2021-01-25 21:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-25 16:55 fancybreak module Clyde Johnston
2021-01-25 17:21 ` Wolfgang Schuster
2021-01-25 17:44   ` Clyde Johnston
2021-01-25 18:27     ` Wolfgang Schuster
2021-01-25 18:48       ` Clyde Johnston
2021-01-25 19:30         ` Wolfgang Schuster
2021-01-25 20:12           ` Clyde Johnston
2021-01-25 21:06             ` Wolfgang Schuster
  -- strict thread matches above, loose matches on Subject: below --
2021-01-25 16:45 Clyde Johnston

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).