From: Henri Menke <henrimenke@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Using ConTeXt with LuaTeX variants
Date: Thu, 5 Dec 2019 15:01:56 +1300 [thread overview]
Message-ID: <4748d653-cb18-36db-54fa-4ffb338df8b4@gmail.com> (raw)
In-Reply-To: <CAKyqqaYSMfq2GAjhM=fzo+3b-q-tLHNo6=-GujGUqkM6taMJmw@mail.gmail.com>
On 12/5/19 2:10 PM, Jairo A. del Rio wrote:
> I want to know if it's possible use HarfTeX/LuaHBTeX with ConTeXt (MKIV),
> mainly for what can be done with them (the "mode=harf" feature and Lua
> language features).
> Although this is pretty easy with LaTeX:
>
> \usepackage{harfload}
> \setmainfont{font}[RawFeature={mode=harf}]
>
> I have no idea of how to make it work with context. I've tried the
> following with a test file (a simple \starttext .. \stoptext document):
>
> context tests.tex --engine=luahbtex
>
> And this happens:
>
> mtx-context | run 1: luahbtex
> --fmt="/home/coragyps/.texlive2019/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en"
> --jobname="tests"
> --lua="/home/coragyps/.texlive2019/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui"
> --c:currentrun=1 --c:engine="luahbtex" --c:fulljobname="./tests.tex"
> --c:input="./tests.tex" --c:kindofrun=1 --c:maxnofruns=9
> --c:texmfbinpath="/usr/local/texlive/2019/bin/x86_64-linux" "cont-yes.mkiv"
>
> This is LuaHBTeX, Version 1.11.2 (TeX Live 2020/dev)
> system commands enabled.
>
> (Fatal format file error; I'm stymied)mtx-context | fatal error: return
> code: 256
>
> What should I do? Thank you in advance
First of all you should rebuild the format with the new engine.
context --make
Then you will have to write backend code that exposes the mode=harf
to the ConTeXt font loader.
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2019-12-05 2:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-05 1:10 Jairo A. del Rio
2019-12-05 2:01 ` Henri Menke [this message]
2019-12-06 14:26 ` Ulrike Fischer
2019-12-05 12:17 Jairo A. del Rio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4748d653-cb18-36db-54fa-4ffb338df8b4@gmail.com \
--to=henrimenke@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).