Hi Kostirya,

On Tue, 2025-12-30 at 11:03 +0200, Kostirya wrote:
> I'm trying to compile Context to use it on NetBSD.

Marc Baudoin has been recompiling the NetBSD x86_64 binaries in TeX Live
for every new ConTeXt release, so installing TeX Live might be easier
than trying to recompile the binaries yourself:

    https://tug.org/texlive/quickinstall.html

If you install "scheme-context" instead of the default "scheme-full",
you should get more or less exactly the same result as you'd get by
installing the Standalone Distribution---installing via TeX Live will
also give you Plain LuaTeX, but not pdfTeX or LaTeX, so the install size
should be at most 10% larger. There are a couple other minor
differences, but nothing that is likely to cause any problems:

    https://github.com/gucci-on-fleek/context-packaging#goals

> Just a different git link because the wiki link is old.

If you want just the binary (C + cmake) source, you can download it from
CTAN:

    
https://mirrors.ctan.org/macros/context/base/archives/luametatex-20251213.src.zip

You can also download the entire texmf source using the same link that
the official installer does

    http://lmtx.pragma-ade.com/install-lmtx/texmf-context.zip

This should be identical to the GitHub link that you used, so it doesn't
matter which one you use.

> 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-'

The fonts are available in the separate (and rather poorly-named)
"texmf.zip" file

    http://lmtx.pragma-ade.com/install-lmtx/texmf.zip

Or if you prefer to use a Git repository:

    https://codeberg.org/contextgarden/context-distribution-fonts

On Tue, 2025-12-30 at 13:38 +0200, Kostirya wrote:
> But the installer is not available for NetBSD...
>
> вт, 30 груд. 2025 р. о 11:19 Wolfgang Schuster
> <[email protected]> пише:
> >
> > Am 30.12.2025 um 10:03 schrieb Kostirya:
> > You can use the installer from the pragma site which downloads all
> > required files, afterwards you can compile the binaries yourself because
> > the download includes the source files.
> >
> > https://www.pragma-ade.nl/install.htm

I think that the installer might just be a shell script, so the exact
platform shouldn't matter as long as it's Unix-ish. But if the installer
_does_ depend on the binaries, you should just need to place a compiled
"luametatex" in the "bin/" folder beside the installer shell script.
I've written some semi-related documentation at

    
https://github.com/gucci-on-fleek/context-packaging/blob/master/files/INSTALLING.md

    
https://github.com/gucci-on-fleek/context-packaging/blob/master/files/README-BINARIES.md

Thanks,
-- Max
___________________________________________________________________________________
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