ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* minimum working example plus (output)
@ 2021-11-13 23:26 skyhorse--- via ntg-context
  2021-11-14 13:28 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: skyhorse--- via ntg-context @ 2021-11-13 23:26 UTC (permalink / raw)
  To: ntg-context; +Cc: skyhorse


Here is the minium not-working example which I took from the Wikigarden a few minutes ago.


\def\T#1{%
  \startitemize[#1,joinedup]
    \item This is a bullet of type #1.
  \stopitemize
}

\starttext
  \dorecurse{9}{\T\recurselevel}
\stoptext



Compiling this into a pdf file with context produces an error.
I've pasted the complete context typesetting run to show the error, in hopes that it will shed some light on what's wrong with my setup.   I have a feeling that the stand along install is missing some vital part of the installation regarding fonts, and that it's not noticed by the majority of you since those items are still on your system from legacy versions.

Regards

---------

* OS: ubuntu 20.04.3 LTS

* Context current version: 2021.11.13 20:36

  	  $ context bullet-style-example-iteration.lmtx

----------------
resolvers       | formats | executing runner 'run luametatex format': /opt/context-lmtx/tex/texmf-linux-64/bin/luametatex --jobname="./bullet-style-example-iteration.lmtx" --fmt=/opt/context-lmtx/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/opt/context-lmtx/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui  --c:currentrun=1 --c:fulljobname="./bullet-style-example-iteration.lmtx" --c:input="./bullet-style-example-iteration.lmtx" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/opt/context-lmtx/tex/texmf-linux-64/bin"

system          > callbacks > not registering frozen 'local_box_filter'
system          >
system          > ConTeXt  ver: 2021.11.13 20:36 LMTX  fmt: 2021.11.13  int: english/english
system          >
system          > 'cont-new.mkxl' loaded
open source     > level 1, order 1, name '/opt/context-lmtx/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 '/opt/context-lmtx/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system          > files > jobname './bullet-style-example-iteration', input './bullet-style-example-iteration.lmtx', result './bullet-style-example-iteration'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 1, order 2, name './bullet-style-example-iteration.lmtx'
fonts           > preloading latin modern fonts (second stage)
fonts           > defining > font with asked name 'lmroman12-regular' is not found using lookup 'file'
fonts           > defining > unable to define 'lmroman12-regular' as 'modern-designsize-12pt-rm-tf-0--0'
fonts           > defining > forced type 'otf' of 'latinmodern-math-regular' not found
fonts           > defining > unable to define 'latinmodern-math-regular.otf' as 'modern-designsize-12pt-mm-mr--3'
fonts           > defining > unable to define 'latinmodern-math-regular.otf' as 'modern-designsize-12pt-mm-mr--2'
fonts           > defining > unable to define 'latinmodern-math-regular.otf' as 'modern-designsize-12pt-mm-mr--1'
fonts           > defining > unable to define 'latinmodern-math-regular.otf' as 'modern-designsize-12pt-mm-mb--3'
fonts           > defining > unable to define 'latinmodern-math-regular.otf' as 'modern-designsize-12pt-mm-mb--2'
fonts           > defining > unable to define 'latinmodern-math-regular.otf' as 'modern-designsize-12pt-mm-mb--1'
fonts           > 'fallback modern-designsize rm 12pt' is loaded
tex error       > tex error on line 9 in file ./bullet-style-example-iteration.lmtx: \textfont0 is undefined in (text) char, font id 0, character 63)

<macro> \textormathchar
    ...ar \scratchcounter \else \ifconditional \prefermathovertextchar \setfontid \fontid \textfont \c_font_fam_mr \fi \iffontchar \font \scratchcounter \char \scratchcounter \else \normalstartimath \char \scratchcounter \normalstopimath
    \fi \fi \endg ...
<macro> \symb_place_indeed
    #1->\settrue \c_symb_found \begingroup \the \everysymbol \csname \??symbol #1\endcsname
    \relax \endgroup
<macro> \symb_place_retry
    #1->\ifcsname \??symbol :#1\endcsname \symb_place_indeed {:#1}
    \else #1\fi
<macro> \currentsymbol
    \setfalse \c_symb_found \the \t_symb_setups \ifconditional \c_symb_found \else \symb_place_retry \currentsymbol
    \fi
<macro> \symb_place_argument
    #1->\dontleavehmode \edef \currentsymbol {#1}\ifcsname \??symbol \currentsymbolset :#1\endcsname \symb_place_indeed {\currentsymbolset :#1}\else \symb_place_normal
    \fi
<macro> \symb_place_indeed
    #1->\settrue \c_symb_found \begingroup \the \everysymbol \csname \??symbol #1\endcsname
    \relax \endgroup
 ...

<line 3.9>
      \dorecurse{9}{\T\recurselevel}

 1
 2     \def\T#1{%
 3       \startitemize[#1,joinedup]
 4         \item This is a bullet of type #1.
 5       \stopitemize
 6     }
 7
 8     \starttext
 9 >>    \dorecurse{9}{\T\recurselevel}
10     \stoptext


"Somewhere in the math formula just ended, you used the stated character from an
 undefined font family. For example, plain TeX doesn't allow \it or \sl in
 subscripts. Proceed, and I'll try to forget that I needed that character.
 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: minimum working example plus (output)
  2021-11-13 23:26 minimum working example plus (output) skyhorse--- via ntg-context
@ 2021-11-14 13:28 ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen via ntg-context @ 2021-11-14 13:28 UTC (permalink / raw)
  To: skyhorse--- via ntg-context; +Cc: Hans Hagen

On 11/14/2021 12:26 AM, skyhorse--- via ntg-context wrote:
> 
> Here is the minium not-working example which I took from the Wikigarden a few minutes ago.
> 
> 
> \def\T#1{%
>    \startitemize[#1,joinedup]
>      \item This is a bullet of type #1.
>    \stopitemize
> }
> 
> \starttext
>    \dorecurse{9}{\T\recurselevel}
> \stoptext
> 
> 
> 
> Compiling this into a pdf file with context produces an error.
> I've pasted the complete context typesetting run to show the error, in hopes that it will shed some light on what's wrong with my setup.   I have a feeling that the stand along install is missing some vital part of the installation regarding fonts, and that it's not noticed by the majority of you since those items are still on your system from legacy versions.
nornally it means that you have no math font loaded (i.e. you do 
something before \starttext

Hans



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

* Re: minimum working example plus (output)
  2021-11-14 20:13 skyhorse--- via ntg-context
@ 2021-11-14 20:46 ` Wolfgang Schuster via ntg-context
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2021-11-14 20:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users, skyhorse--- via ntg-context
  Cc: Wolfgang Schuster

skyhorse--- via ntg-context schrieb am 14.11.2021 um 21:13:
> Hans Hagen via ntg-context <ntg-context@ntg.nl> wrote:
>
>> On 11/14/2021 12:26 AM, skyhorse--- via ntg-context wrote:
>>> Here is the minium example which I took from the
>>> Wikigarden a few minutes ago.
>>>
>>> \def\T#1{%
>>>     \startitemize[#1,joinedup]
>>>       \item This is a bullet of type #1.
>>>     \stopitemize
>>> }
>>> \starttext
>>>     \dorecurse{9}{\T\recurselevel}
>>> \stoptext
>>>
>>> Compiling this into a pdf file with context produces an error.
>>> I've pasted the complete context typesetting run to show the error, in hopes that it will shed some light on what's wrong with my setup.   I have a feeling that the stand along install is missing some vital part of the installation regarding fonts, and that it's not noticed by the majority of you since those items are still on your system from legacy versions.
>> nornally it means that you have no math font loaded (i.e. you do
>> something before \starttext
>>
>> Hans
> Nothing is done before the sample shown above.    That is all that is in the .lmtx source file.
>
>  From looking at the errors, I agree, it looks like there are no math fonts or, they are not visiable to context.
>
> I need advice on how I can remedy that.
> What do I need and what do I need to do to install them if I don't have them already on disk.
> I assume that they are not distributed with the  <install.sh> shelll script.

Can you delete the tex folder in your installation and try to download 
the files again.

When the script runs take a look at the terminal if you can see the 
following lines where the two zip files texmf.zip and texmf-context.zip 
are loaded. The first zip files contains all font files which are needed 
for your document.

sh install.sh
[...]
mtx-install     | server   : lmtx.pragma-ade.com
mtx-install     | instance : install-lmtx
mtx-install     | platform : linux-64
mtx-install     | system   : unix
mtx-install     | fetching 
'http://lmtx.pragma-ade.com/install-lmtx//texmf.zip'
mtx-install     | unzipping 'texmf.zip'
[...]
mtx-install     | fetching 
'http://lmtx.pragma-ade.com/install-lmtx//texmf-context.zip'
mtx-install     | unzipping 'texmf-context.zip'

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: minimum working example plus (output)
@ 2021-11-14 20:13 skyhorse--- via ntg-context
  2021-11-14 20:46 ` Wolfgang Schuster via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: skyhorse--- via ntg-context @ 2021-11-14 20:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: skyhorse

Hans Hagen via ntg-context <ntg-context@ntg.nl> wrote:

> On 11/14/2021 12:26 AM, skyhorse--- via ntg-context wrote:
> > Here is the minium example which I took from the
> > Wikigarden a few minutes ago.
> >
> > \def\T#1{%
> >    \startitemize[#1,joinedup]
> >      \item This is a bullet of type #1.
> >    \stopitemize
> > }
> > \starttext
> >    \dorecurse{9}{\T\recurselevel}
> > \stoptext
> >
> > Compiling this into a pdf file with context produces an error.
> > I've pasted the complete context typesetting run to show the error, in hopes that it will shed some light on what's wrong with my setup.   I have a feeling that the stand along install is missing some vital part of the installation regarding fonts, and that it's not noticed by the majority of you since those items are still on your system from legacy versions.
>
> nornally it means that you have no math font loaded (i.e. you do
> something before \starttext
>
> Hans

Nothing is done before the sample shown above.    That is all that is in the .lmtx source file.

From looking at the errors, I agree, it looks like there are no math fonts or, they are not visiable to context.

I need advice on how I can remedy that.
What do I need and what do I need to do to install them if I don't have them already on disk.
I assume that they are not distributed with the  <install.sh> shelll script.


Thanks
___________________________________________________________________________________
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-11-14 20:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-13 23:26 minimum working example plus (output) skyhorse--- via ntg-context
2021-11-14 13:28 ` Hans Hagen via ntg-context
2021-11-14 20:13 skyhorse--- via ntg-context
2021-11-14 20:46 ` Wolfgang Schuster 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).