ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Compilation error with the new version of lmtx
@ 2021-10-16 17:34 Fabrice Couvreur via ntg-context
  2021-10-17 22:44 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Couvreur via ntg-context @ 2021-10-16 17:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Fabrice Couvreur


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

Hi,
The latest version of lmtx does not allow me to compile the following file
although there was no problem before.
Thank you
Fabrice

\startproduct[expertes-manual]

  \startfrontmatter

    \setuppagenumbering
       [location=]

    \definefont
      [ChapterTextStyle]
      [SansBold*default sa 2.2]

    \setuphead
      [title]
      [style=ChapterTextStyle,
       align=flushright]

    \setuplist
       [chapter]
       [style=bold,
        alternative=b,
        width=1em]

    \setuplist
       [section]
       [margin=1em,
        width=1.75em]

    \setuplist
       [subsection]
       [margin=2.75em,
        width=2em,
        distance=\spaceamount]


    \starttitle[title=Table des matières]

         \placelist
           [chapter,section,subsection]
           [criterium=all,
           interaction=all,
            alternative=c]

      \stoptitle

    \stopfrontmatter

    \startbodymatter
        \component[chapter_1]
        \component[chapter_2]
    \stopbodymatter


\stopproduct

##########################################################################
tex error       > tex error on line 1 in file ./expertes.tex: Undefined
control sequence \undefined

<lua output>
<to be read again>

    \relax
<macro> \p_maxwidth
    \dostarttagged \t!listcontent \empty \clf_listtitle {\currentlist
}\currentlistindex \relax
    \dostoptagged
<macro> \strc_lists_limitated_text
    #1->\edef \p_maxwidth {\listparameter \c!maxwidth }\ifempty \p_maxwidth
\listparameter \c!textcommand {#1}
    \else \listparameter \c!textcommand {\limitatetext {#1}\p_maxwidth
{\splitsymbol {\listparameter \c!limittext }}}\fi
<macro> \22>:140>:abc
    ...rence_attribute \v!text \strc_lists_set_style_color \c!textstyle
\c!textcolor \v!text \the \t_lists_every_renderingtext \the
\t_lists_every_renderingsynchronize \setstrut \begstrut
\strc_lists_limitated_text \currentlistentrytitle
    \endstrut \en ...
<macro> \currentlistextra
    ...\begingroup \ifempty \m_strc_list_alternative \edef
\currentlistalternative {\listparameter \c!alternative }\else \let
\currentlistalternative \m_strc_list_alternative \fi \directsetup
{\listalternativeparameter \c!renderingsetup }
    \relax \endgr ...
 ...

<line 3.41>
                alternative=c]

 1 >>  \startproduct[expertes-manual]
 2
 3       \startfrontmatter
 4
 5         \setuppagenumbering
 6            [location=]
 7
 8         \definefont
 9           [ChapterTextStyle]
10           [SansBold*default sa 2.2]
11
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

TeX Output exited abnormally with code 1 at Sat Oct 16 19:28:21

[-- Attachment #1.2: Type: text/html, Size: 4021 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] 2+ messages in thread

* Re: Compilation error with the new version of lmtx
  2021-10-16 17:34 Compilation error with the new version of lmtx Fabrice Couvreur via ntg-context
@ 2021-10-17 22:44 ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen via ntg-context @ 2021-10-17 22:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 10/16/2021 7:34 PM, Fabrice Couvreur via ntg-context wrote:
> Hi,
> The latest version of lmtx does not allow me to compile the following 
> file although there was no problem before.
> Thank you
> Fabrice
> 
> \startproduct[expertes-manual]
> 
>    \startfrontmatter
> 
>      \setuppagenumbering
>         [location=]
> 
>      \definefont
>        [ChapterTextStyle]
>        [SansBold*default sa 2.2]
> 
>      \setuphead
>        [title]
>        [style=ChapterTextStyle,
>         align=flushright]
> 
>      \setuplist
>         [chapter]
>         [style=bold,
>          alternative=b,
>          width=1em]
> 
>      \setuplist
>         [section]
>         [margin=1em,
>          width=1.75em]
> 
>      \setuplist
>         [subsection]
>         [margin=2.75em,
>          width=2em,
>          distance=\spaceamount]
> 
> 
>      \starttitle[title=Table des matières]
> 
>           \placelist
>             [chapter,section,subsection]
>             [criterium=all,
>             interaction=all,
>              alternative=c]
> 
>        \stoptitle
> 
>      \stopfrontmatter
> 
>      \startbodymatter
>          \component[chapter_1]
>          \component[chapter_2]
>      \stopbodymatter
> 
> 
> \stopproduct
> 
> ##########################################################################
> tex error       > tex error on line 1 in file ./expertes.tex: Undefined 
> control sequence \undefined

i need a better example

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2021-10-17 22:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-16 17:34 Compilation error with the new version of lmtx Fabrice Couvreur via ntg-context
2021-10-17 22:44 ` Hans Hagen 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).