[NTG-context] Setuppagenumbering for single page only

2019-12-04 Thread Denis Maier

Hi,
is it possible to change the pagelayout for one page only? Something 
like \thispagestyle{empty} in LaTeX?

Best,
Denis
___
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
___


Re: [NTG-context] Setuppagenumbering for single page only

2019-12-04 Thread Henning Hraban Ramm
Hi Denis,
"page styles" are called "makeup" in ConTeXt,
see
https://wiki.contextgarden.net/Makeup
https://wiki.contextgarden.net/Command/setupmakeup

Also \setuplayout[MyMakeupName][… setups …]

Best, Hraban

> Am 2019-12-04 um 10:19 schrieb Denis Maier :
> 
> Hi,
> is it possible to change the pagelayout for one page only? Something like 
> \thispagestyle{empty} in LaTeX?
> Best,
> Denis
> ___
> 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
___


Re: [NTG-context] Setuppagenumbering for single page only

2019-12-04 Thread Denis Maier

Am 04.12.2019 um 10:30 schrieb Henning Hraban Ramm:

Hi Denis,
"page styles" are called "makeup" in ConTeXt,
see
https://wiki.contextgarden.net/Makeup
https://wiki.contextgarden.net/Command/setupmakeup

Also \setuplayout[MyMakeupName][… setups …]

Best, Hraban


Thanks. That was it.
Best,
Denis
___
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
___


[NTG-context] beta 2019.12.02 18:38 fails to build format

2019-12-04 Thread Thomas A. Schmitz
Hi all,

has this already been reported? On my macOS machine, the latest lmtx beta fails 
to build the format with this error:

tex error   > tex error on line 99 in file hand-ini.mkxl: ! Undefined 
control sequence

 ...ansion :\currentexpansion }{\adjustspacingstep 
  \expansionparameter \c!ste...
\define_expansion ...i \the \everydefineexpansion 
  \let \currentexpansion \sa...
 \syst_helpers_triple_empty_two_nop 
\par 
l.99 
   
I have looked at the file, but couldn’t find the source of the error.

All best

Thomas
___
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
___


Re: [NTG-context] beta 2019.12.02 18:38 fails to build format

2019-12-04 Thread Otared Kavian
Hi,

I can confirm that there is an issue with the script install.sh, since last 
Saturday, I guess. Indeed I keep having version 2019.11.29 21:58, but at some 
point I got a version from 2019.12.02 which did not work and upon updating 
again I got version 2019.11.29 21:58.

Also the error messages which were quite clear before are gone again 
hyper-cryptic, and the error status file « filename-status.html » does not show 
anymore the status of the errors.

Best regards: OK

> On 4 Dec 2019, at 11:41, Thomas A. Schmitz  wrote:
> 
> Hi all,
> 
> has this already been reported? On my macOS machine, the latest lmtx beta 
> fails to build the format with this error:
> 
> tex error   > tex error on line 99 in file hand-ini.mkxl: ! Undefined 
> control sequence
> 
>  ...ansion :\currentexpansion }{\adjustspacingstep 
>  \expansionparameter \c!ste...
> \define_expansion ...i \the \everydefineexpansion 
>  \let \currentexpansion \sa...
>  \syst_helpers_triple_empty_two_nop 
>\par 
> l.99 
> 
> I have looked at the file, but couldn’t find the source of the error.
> 
> All best
> 
> Thomas
> ___
> 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
___


Re: [NTG-context] beta 2019.12.02 18:38 fails to build format

2019-12-04 Thread Hans Hagen

On 12/4/2019 11:41 AM, Thomas A. Schmitz wrote:

Hi all,

has this already been reported? On my macOS machine, the latest lmtx beta fails 
to build the format with this error:

tex error   > tex error on line 99 in file hand-ini.mkxl: ! Undefined 
control sequence

 ...ansion :\currentexpansion }{\adjustspacingstep
it means that your binary doesn't match the tex files (it is a new 
feature, mentioned a few days before at this list)


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
___


Re: [NTG-context] beta 2019.12.02 18:38 fails to build format

2019-12-04 Thread Thomas A. Schmitz


> On 4. Dec 2019, at 15:33, Hans Hagen  wrote:
> 
> it means that your binary doesn't match the tex files (it is a new feature, 
> mentioned a few days before at this list)

OK, I see - after wiping everything and a fresh download, lmtx works again - 
there is a problem with line breaks, I’ll try to come up with an example. But 
shouldn’t install.sh keep binaries and tex file in sync? 

Thomas
___
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
___


Re: [NTG-context] beta 2019.12.02 18:38 fails to build format

2019-12-04 Thread Hans Hagen

On 12/4/2019 4:37 PM, Thomas A. Schmitz wrote:




On 4. Dec 2019, at 15:33, Hans Hagen  wrote:

it means that your binary doesn't match the tex files (it is a new feature, 
mentioned a few days before at this list)


OK, I see - after wiping everything and a fresh download, lmtx works again - 
there is a problem with line breaks, I’ll try to come up with an example. But 
shouldn’t install.sh keep binaries and tex file in sync?

normally yes, unless the old file is locked or so

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
___


Re: [NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-04 Thread Daniel Haid

On 12/3/19 4:24 PM, Hans Hagen wrote:


which version


I just found out that it is too old (2016.05.17 19:20), I will update.

With the one from https://live.contextgarden.net/ it works!

Thank you. With the help of your answers I have been able to implement 
everything except for the references.


To clarify what I want to achieve I have written a smaller example that
gives the correct output (manually). I use

\setupreferencestructureprefix[default][prefixsegments=x:y]\in[foo].

everywhere to get the proper levels x:y.

1) Is there a quicker way to get this instead of writing 
setupreferencestructureprefix everywhere? Something like \in[x:y][foo].


2) Can this somehow be automated? Something like \in[auto][foo] should
automatically choose y as the level of foo and x as the first level 
where foo and the current section differ.


Best wishes,

D.

--

\usemodule[subsub]

\usetypescript[termes]
\setupbodyfont[termes,12pt]

\def\arconv#1{\alphabeticnumerals{#1})}
\defineconversion[ar][\arconv]

\def\aarconv#1{\alphabeticnumerals{#1}\alphabeticnumerals{#1})}
\defineconversion[aar][\aarconv]

\definestructureconversionset[myconvset][,A,I,n,ar,aar]

\setupheads[part,
  chapter,
  section,
  subsection,
  subsubsection,
  subsubsubsection][sectionconversionset=myconvset]

\setuphead[chapter][sectionsegments=chapter,style=bold,
  after={\blank[small]},before={\blank[big]},sectionstopper=.]
\setuphead[section][sectionsegments=section,style=bold,
  after={\blank[small]},before={\blank[big]},sectionstopper=.]
\setuphead[subsection][sectionsegments=subsection]
\setuphead[subsubsection][sectionsegments=subsubsection,sectionstopper=]
\setuphead[subsubsubsection][sectionsegments=subsubsubsection]

\starttext
\startchapter[title={Chapter}]
  \startsection[title={Section}]
\startsubsection[title={Subsection}]
  \startsubsubsection[title={First Subsubsection}]
\startsubsubsubsection[title={Foo}, reference=foo]
\stopsubsubsubsection
\startsubsubsection[title={Second subsubsection}]
  \startsubsubsubsection[title={Bar}, reference=bar]
  \stopsubsubsubsection
\stopsubsubsection
\startsubsubsubsection[title={Baz}, reference=bar]
  Foo is in the current subsection, but a different
  subsubsection, so we refer to it as
\setupreferencestructureprefix[default][prefixsegments=5:6]\in[foo].

  Bar is in the current subsubsection, so we refer to it as
\setupreferencestructureprefix[default][prefixsegments=6:6]\in[bar].

  Of course, we can always also have a full reference like
\setupreferencestructureprefix[default][prefixsegments=2:6]\in[bar].
\stopsubsubsubsection
  \stopsubsection
\stopsection
  \stopchapter
\stoptext
___
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
___


Re: [NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-04 Thread Wolfgang Schuster

Daniel Haid schrieb am 04.12.2019 um 18:55:

On 12/3/19 4:24 PM, Hans Hagen wrote:


which version


I just found out that it is too old (2016.05.17 19:20), I will update.

With the one from https://live.contextgarden.net/ it works!

Thank you. With the help of your answers I have been able to implement 
everything except for the references.


To clarify what I want to achieve I have written a smaller example that
gives the correct output (manually). I use

\setupreferencestructureprefix[default][prefixsegments=x:y]\in[foo].

everywhere to get the proper levels x:y.


\setupreferenceformat [chapter] [default] [prefixsegments=...]
\setupreferenceformat [section] [default] [prefixsegments=...]
...

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
___


Re: [NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-04 Thread Daniel Haid

\setupreferenceformat [chapter] [default] [prefixsegments=...]
\setupreferenceformat [section] [default] [prefixsegments=...]


That seems to define the segmets when refering to a chapter or section,
but I need a dynamic way:

I want to go back to the last common ancestor,for example to refer to 
A.IV.3:


* from inside A.IV.4 it should just print 3,
* from inside A.V.1 it should print IV.3, and
* from inside B.I.1 it should print the full A.IV.3.
___
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
___


[NTG-context] Place externalfigure anywhere on page

2019-12-04 Thread Jon Wong
A real float. Is that possible?
___
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
___


Re: [NTG-context] Place externalfigure anywhere on page

2019-12-04 Thread Wolfgang Schuster

Jon Wong schrieb am 04.12.2019 um 20:19:

A real float. Is that possible?

Can you give more details.

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
___


[NTG-context] Bug: \adjustspacing=1 does not disable expansion

2019-12-04 Thread Henri Menke

Dear devs,

The \adjustspacing register is described in the LuaTeX manual as
follows:

When \adjustspacing has value 2, hz optimization will be applied to glyphs 
and kerns. When
the value is 3, only glyphs will be treated. A value smaller than 2 
disables this feature.

However, setting \adjustspacing=1 will only disable shrink but not
stretch.  Please find a minimal example example, where I have used
exaggerated values for shrink and stretch to emphasize the issue.  It
can be reproduced with both mtxrun --script plain and luatex with
luaotfload.sty.

I have already checked linebreak.c but add_to_widths looks innocuous and
properly checks the adjust_spacing parameter.

Cheers, Henri

---

%\input luaotfload.sty
\directlua{
  fonts.expansions.setups.default.stretch = 2000
  fonts.expansions.setups.default.shrink = 2000
}
\adjustspacing=1
\font\1="file:lmroman10-regular.otf:expansion=default"
\hsize=5em
\1 \input lorem
\bye
___
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
___


Re: [NTG-context] issue with beta from 2019.11.29 21:47 in Windows

2019-12-04 Thread Pablo Rodriguez
On 12/3/19 10:14 PM, Hans Hagen wrote:
> On 12/3/2019 8:37 PM, Pablo Rodriguez wrote:
>> [...]
>> I’m afraid a new font is not an option for me at work.
> But there are better (unicode) versions available on windows, why nmot
> use those then (as wolfgang pointed out).

Many thanks for your reply, Hans.

I would use the Unicode versions at home (if I had a Windows license),
but at work it is problematic even to ask for free fonts.

My company may be to strict with these policies, but I don’t think it is
a total exception in this matter.

I hope we might switch to Windows 10 in the no so near future 😃.

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___
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
___


Re: [NTG-context] issue with beta from 2019.11.29 21:47 in Windows

2019-12-04 Thread Pablo Rodriguez
On 12/2/19 6:01 PM, Wolfgang Schuster wrote:
> [...]
> Limited alternative (no rerun when second.pdf exists and by default the
> resulting PDF is loaded as image).
>
> \typesetfile[second.tex][--arguments="OptionThis={\ThisOption},OptionThat={\ThatOption}"][object=no]

Hi Wolfgang,

is there any way to add more options to the typeset file?

I need to setup "--result", "--purgeall" (and maybe another one [I
cannot remember, I’m not in front of the computer at work]).

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___
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
___


Re: [NTG-context] Bug: \adjustspacing=1 does not disable expansion

2019-12-04 Thread Henri Menke

Possible patch (can be directly used with `git apply')

diff --git a/source/texk/web2c/luatexdir/tex/postlinebreak.c 
b/source/texk/web2c/luatexdir/tex/postlinebreak.c
index cbc77e556..9cd76b5fa 100644
--- a/source/texk/web2c/luatexdir/tex/postlinebreak.c
+++ b/source/texk/web2c/luatexdir/tex/postlinebreak.c
@@ -440,7 +440,7 @@ void ext_post_line_break(int paragraph_dir,
 }
 adjust_tail = adjust_head;
 pre_adjust_tail = pre_adjust_head;
-if (adjust_spacing > 0) {
+if (adjust_spacing > 1) {
 just_box = hpack(q, cur_width, cal_expand_ratio, paragraph_dir);
 } else {
 just_box = hpack(q, cur_width, exactly, paragraph_dir);

On 12/5/19 10:04 AM, Henri Menke wrote:

Dear devs,

The \adjustspacing register is described in the LuaTeX manual as
follows:

  When \adjustspacing has value 2, hz optimization will be applied to 
glyphs and kerns. When
  the value is 3, only glyphs will be treated. A value smaller than 2 
disables this feature.

However, setting \adjustspacing=1 will only disable shrink but not
stretch.  Please find a minimal example example, where I have used
exaggerated values for shrink and stretch to emphasize the issue.  It
can be reproduced with both mtxrun --script plain and luatex with
luaotfload.sty.

I have already checked linebreak.c but add_to_widths looks innocuous and
properly checks the adjust_spacing parameter.

Cheers, Henri

---

%\input luaotfload.sty
\directlua{
fonts.expansions.setups.default.stretch = 2000
fonts.expansions.setups.default.shrink = 2000
}
\adjustspacing=1
\font\1="file:lmroman10-regular.otf:expansion=default"
\hsize=5em
\1 \input lorem
\bye


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


Re: [NTG-context] Bug: \adjustspacing=1 does not disable expansion

2019-12-04 Thread Henri Menke

It actually seems as if the documentation of LuaTeX is wrong here,
because the behaviour of `\adjustspacing=1' is compatible with
`\pdfadjustspacing=1` in pdfTeX.  From the pdfTeX manual:

When \pdfadjustspacing is set to 1, font expansion is applied after
TeX’s normal paragraph breaking routines have broken the paragraph
into lines. In this case, line breaks are identical to standard TeX
behavior.

So maybe just copy this paragraph to the LuaTeX manual.

On 12/5/19 1:34 PM, Henri Menke wrote:

Possible patch (can be directly used with `git apply')

diff --git a/source/texk/web2c/luatexdir/tex/postlinebreak.c 
b/source/texk/web2c/luatexdir/tex/postlinebreak.c
index cbc77e556..9cd76b5fa 100644
--- a/source/texk/web2c/luatexdir/tex/postlinebreak.c
+++ b/source/texk/web2c/luatexdir/tex/postlinebreak.c
@@ -440,7 +440,7 @@ void ext_post_line_break(int paragraph_dir,
   }
   adjust_tail = adjust_head;
   pre_adjust_tail = pre_adjust_head;
-if (adjust_spacing > 0) {
+if (adjust_spacing > 1) {
   just_box = hpack(q, cur_width, cal_expand_ratio, paragraph_dir);
   } else {
   just_box = hpack(q, cur_width, exactly, paragraph_dir);

On 12/5/19 10:04 AM, Henri Menke wrote:

Dear devs,

The \adjustspacing register is described in the LuaTeX manual as
follows:

   When \adjustspacing has value 2, hz optimization will be applied to 
glyphs and kerns. When
   the value is 3, only glyphs will be treated. A value smaller than 2 
disables this feature.

However, setting \adjustspacing=1 will only disable shrink but not
stretch.  Please find a minimal example example, where I have used
exaggerated values for shrink and stretch to emphasize the issue.  It
can be reproduced with both mtxrun --script plain and luatex with
luaotfload.sty.

I have already checked linebreak.c but add_to_widths looks innocuous and
properly checks the adjust_spacing parameter.

Cheers, Henri

---

%\input luaotfload.sty
\directlua{
 fonts.expansions.setups.default.stretch = 2000
 fonts.expansions.setups.default.shrink = 2000
}
\adjustspacing=1
\font\1="file:lmroman10-regular.otf:expansion=default"
\hsize=5em
\1 \input lorem
\bye


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


[NTG-context] Using ConTeXt with LuaTeX variants

2019-12-04 Thread Jairo A. del Rio
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
___
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
___


Re: [NTG-context] Using ConTeXt with LuaTeX variants

2019-12-04 Thread Henri Menke

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
___


[NTG-context] LMTX install issue

2019-12-04 Thread Otared Kavian
Hi all,

I cannot update to the latest lmtx, using the install.sh downloaded from 
http://www.pragma-ade.com/install.htm
more precisely the version for MacOS from
http://lmtx.pragma-ade.nl/install-lmtx/context-osx-64.zip

I keep getting the version from 2019.11.29 21:58.

What is going on?

Best regards and thanks in advance: Otared K.
___
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
___