Hello.

I'm trying to compile Context to use it on NetBSD.
For now, I'm using FreeBSD to try to compile.

I use information from
https://wiki.contextgarden.net/Manual_Compilation


Just a different git link because the wiki link is old.
I also saw that fonts are in the context of the depository.


mkdir -p  ~/tex
cd ~/tex
git clone https://github.com/contextgarden/context.git texmf-context
cp texmf-context/web2c/contextcnf.lua texmf-context/web2c/texmfcnf.lua

cd texmf-context/source/luametatex
sh build.sh --native
cd -

mkdir -p texmf-freebsd-amd64/bin
cp texmf-context/source/luametatex/build/native/luametatex
texmf-freebsd-amd64/bin

cd tex/texmf-freebsd-amd64/bin
ln -s luametatex mtxrun
ln -s luametatex context
cd -

cp texmf-context/scripts/context/lua/mtxrun.lua texmf-freebsd-amd64/bin
cp texmf-context/scripts/context/lua/context.lua texmf-freebsd-amd64/bin



setenv PATH $HOME/tex/texmf-freebsd-amd64/bin:$PATH

mtxrun --generate

ls -1 tex/
texmf-cache
texmf-context
texmf-freebsd-amd64


When I compile a test document, I see errors

fonts           > preloading latin modern fonts (second stage)
fonts           > defining > font with asked name 'lmroman10-regular'
is not found using lookup 'file'
fonts           > defining > unable to define 'lmroman10-regular' as
'modern-12pt-rm-tf-'
fonts           > defining > forced type 'otf' of 'latinmodern-math' not found
fonts           > defining > unable to define 'latinmodern-math.otf'
as 'modern-12pt-mm-mr-'
fonts           > defining > unable to define 'latinmodern-math.otf'
as 'modern-12pt-mm-mb-'
fonts           > 'fallback modern rm 12pt' is loaded
fonts           > checking > char H (U+00048) in font '' with id 0: missing
fonts           > checking > char e (U+00065) in font '' with id 0: missing
fonts           > checking > char l (U+0006C) in font '' with id 0: missing
fonts           > checking > char o (U+0006F) in font '' with id 0: missing
pages           > flushing realpage 1, userpage 1, subpage 1


Please tell me what else needs to be done.

Thanks.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to