ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Memo module not working with lmtx
@ 2021-10-15 20:48 Jason Ross via ntg-context
  2021-10-16  4:10 ` Jason Ross via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Jason Ross via ntg-context @ 2021-10-15 20:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jason Ross

Hello,

The Letter module seems to also include a module for memos.
The following MWE fails with version 2021.10.10 23:43:

\usemodule[memo]

\setupmemo[
opening={People of Earth},
closing={Thanks for all the Fish,},
signature={The Dolphins}]
\startmemo
\startletter
   We are writing to let you know that we are all leaving
\stopmemo
\stoptext



The following error is thrown by ConTeXt:

tex error       > tex error on line 197 in file 
/home/jason/.local/context/tex/texmf-modules/tex/context/third/letter/base/s-cor-02.mkvi: 
Undefined control sequence \???memosectionrenderings

<argument>
     \???memosectionrenderings
     \v!head :\v!memo
<macro> \syst_setups_start_tex_two
     #1#2#+\stopsetups ->\endgroup \dodoglobal \instance \defcsname 
\??setup #1:#2
     \endcsname #1{#3}
<line 5.197>
     \stopsetups

187     \stopsetups
188
189     \startsetups[\???memosectionrenderings\v!head:\v!memo]
190       \def\\{\correspondencesectionparameter\c!separator}
191       \startpacked
192 
\doifsomething{\correspondenceparameter\c!fromname}{\memotext\c!fromname 
\correspondenceparameter\c!fromname \par}
193       \doifsomething{\correspondenceparameter\c!date 
}{\memotext\c!date     \correspondenceparameter\c!date     \par}
194       \doifsomething{\correspondenceparameter\c!toname 
}{\memotext\c!toname   \correspondenceparameter\c!toname   \par}
195       \doifsomething{\correspondenceparameter\c!subject 
}{\memotext\c!subject  \correspondenceparameter\c!subject  \par}
196       \stoppacked
197 >>  \stopsetups
198
199     \unexpanded\def\correspondence_memo_head_table#element%
200       {\doifsomething{\correspondenceparameter#element}
201          {\NC % label
202             \def\currentcorrespondencestyle{\v!memo:#element}%
203 
\usecorrespondencestylestyleandcolor\c!titlestyle\c!titlecolor
204             \memotext#element
205           \EQ % text
206             \def\currentcorrespondencestyle{\v!memo:#element}%
207             \usecorrespondencestylestyleandcolor\c!textstyle\c!textcolor
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.
mtx-context     | fatal error: return code: 256
___________________________________________________________________________________
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] 4+ messages in thread

* Re: Memo module not working with lmtx
  2021-10-15 20:48 Memo module not working with lmtx Jason Ross via ntg-context
@ 2021-10-16  4:10 ` Jason Ross via ntg-context
  2021-10-16  7:57   ` Wolfgang Schuster via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Jason Ross via ntg-context @ 2021-10-16  4:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jason Ross

I made a mistake with the MWE for the mailing list, however, corrected 
MWE gives same error:

\usemodule[memo]

\setupmemo[
name={Jason Ross},
opening={People of Earth},
closing={Thanks for all the Fish,},
signature={The Dolphins}]
\starttext
\startmemo
   We are writing to let you know that we are all leaving
\stopmemo
\stoptext



tex error       > tex error on line 197 in file 
/home/jason/.local/context/tex/texmf-modules/tex/context/third/letter/base/s-cor-02.mkvi: 
Undefined control sequence \???memosectionrenderings

<argument>
     \???memosectionrenderings
     \v!head :\v!memo
<macro> \syst_setups_start_tex_two
     #1#2#+\stopsetups ->\endgroup \dodoglobal \instance \defcsname 
\??setup #1:#2
     \endcsname #1{#3}
<line 5.197>
     \stopsetups

187     \stopsetups
188
189     \startsetups[\???memosectionrenderings\v!head:\v!memo]
190       \def\\{\correspondencesectionparameter\c!separator}
191       \startpacked
192 
\doifsomething{\correspondenceparameter\c!fromname}{\memotext\c!fromname 
\correspondenceparameter\c!fromname \par}
193       \doifsomething{\correspondenceparameter\c!date 
}{\memotext\c!date     \correspondenceparameter\c!date     \par}
194       \doifsomething{\correspondenceparameter\c!toname 
}{\memotext\c!toname   \correspondenceparameter\c!toname   \par}
195       \doifsomething{\correspondenceparameter\c!subject 
}{\memotext\c!subject  \correspondenceparameter\c!subject  \par}
196       \stoppacked
197 >>  \stopsetups
198
199     \unexpanded\def\correspondence_memo_head_table#element%
200       {\doifsomething{\correspondenceparameter#element}
201          {\NC % label
202             \def\currentcorrespondencestyle{\v!memo:#element}%
203 
\usecorrespondencestylestyleandcolor\c!titlestyle\c!titlecolor
204             \memotext#element
205           \EQ % text
206             \def\currentcorrespondencestyle{\v!memo:#element}%
207             \usecorrespondencestylestyleandcolor\c!textstyle\c!textcolor
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.
mtx-context     | fatal error: return code: 256
___________________________________________________________________________________
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] 4+ messages in thread

* Re: Memo module not working with lmtx
  2021-10-16  4:10 ` Jason Ross via ntg-context
@ 2021-10-16  7:57   ` Wolfgang Schuster via ntg-context
  2021-10-16  8:08     ` Floris van Manen via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2021-10-16  7:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Jason Ross via ntg-context
  Cc: Wolfgang Schuster

Jason Ross via ntg-context schrieb am 16.10.2021 um 06:10:
> I made a mistake with the MWE for the mailing list, however, corrected 
> MWE gives same error:
>
> \usemodule[memo]
>
> \setupmemo[
> name={Jason Ross},
> opening={People of Earth},
> closing={Thanks for all the Fish,},
> signature={The Dolphins}]
> \starttext
> \startmemo
>   We are writing to let you know that we are all leaving
> \stopmemo
> \stoptext

There is a new version of the module online which fixes the bug.

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

* Re: Memo module not working with lmtx
  2021-10-16  7:57   ` Wolfgang Schuster via ntg-context
@ 2021-10-16  8:08     ` Floris van Manen via ntg-context
  0 siblings, 0 replies; 4+ messages in thread
From: Floris van Manen via ntg-context @ 2021-10-16  8:08 UTC (permalink / raw)
  To: ntg-context; +Cc: Floris van Manen



On 16/10/2021 09:57, Wolfgang Schuster via ntg-context wrote:
>>
> 
> There is a new version of the module online which fixes the bug.

But is it not part of de LMTX distribution?
___________________________________________________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2021-10-16  8:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-15 20:48 Memo module not working with lmtx Jason Ross via ntg-context
2021-10-16  4:10 ` Jason Ross via ntg-context
2021-10-16  7:57   ` Wolfgang Schuster via ntg-context
2021-10-16  8:08     ` Floris van Manen via ntg-context

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