[NTG-context] contextgarden.net seems to be down

2021-05-24 Thread Vladimir Lomov
Hello.

According to page https://wiki.contextgarden.net/ConTeXt_Standalone to install
ConTeXt standalone (I assume MkIV) one has to download first-setup.sh script
(Linux,Mac,*BSD) from contextgarden.net (minimals.contextgarden.net) but this
host seems to be down.

On linux I have
$ host contextgarden.net
contextgarden.net has address 193.2.4.200
contextgarden.net has IPv6 address 2001:1470:ff80:88::80:c
contextgarden.net mail is handled by 10 mail.ijs.si.

$ host minimals.contextgarden.net
minimals.contextgarden.net is an alias for server-si.contextgarden.net.
server-si.contextgarden.net has address 193.2.4.200
server-si.contextgarden.net has IPv6 address 2001:1470:ff80:88::80:c

$ ping -c 3 contextgarden.net
PING contextgarden.net(context.ijs.si (2001:1470:ff80:88::80:c)) 56 data bytes
From cmigw.ijs.si (2001:1470:ff80:1::1:26) icmp_seq=1 Destination unreachable: 
Address unreachable
From cmigw.ijs.si (2001:1470:ff80:1::1:26) icmp_seq=2 Destination unreachable: 
Address unreachable
From cmigw.ijs.si (2001:1470:ff80:1::1:26) icmp_seq=3 Destination unreachable: 
Address unreachable

--- contextgarden.net ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2073ms

$ ping -c 3 minimals.contextgarden.net
PING minimals.contextgarden.net(context.ijs.si (2001:1470:ff80:88::80:c)) 56 
data bytes
From cmigw.ijs.si (2001:1470:ff80:1::1:26) icmp_seq=1 Destination unreachable: 
Address unreachable
From cmigw.ijs.si (2001:1470:ff80:1::1:26) icmp_seq=2 Destination unreachable: 
Address unreachable
From cmigw.ijs.si (2001:1470:ff80:1::1:26) icmp_seq=3 Destination unreachable: 
Address unreachable

--- minimals.contextgarden.net ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2014ms

P.S. Nowadays I use mostly lmtx but I keep MkIV in case of troubles with lmtx.

---
Vladimir Lomov

-- 
It is better to wear out than to rust out.


signature.asc
Description: PGP signature
___
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] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-24 Thread Rik Kabel


On 5/24/2021 22:12, Alan Braslau wrote:

On Mon, 24 May 2021 17:53:49 -0400
Rik Kabel  wrote:


This is intended. Or rather, it is a side-effect of the intended
behavior.

If you add an editor ("editor={Baz, Bar}") you will get something
like:

 Foo, B. (1983). Title of the paper. In B. Baz (Ed.), /Booktitle/.
 Author.

And if you then add a publisher ("publisher={Paymefirst}") you will
get:

 Foo, B. (1983). Title of the paper. In B. Bar (Ed.), Booktitle.
 Paymefirst.

The APA presumes that you have both an editor and a publisher for
pieces contained in other works. It calls for the use of the author
as publisher if no publisher is present. It is silent about what to
do if you have no editor.

It looks like a missing editor field should be caught. What should the
rule be?

Actually, @inproceedings should not be used without an editor - makes
no sense. If the author of the paper happens to be the editor, then the
.bib data file should define this with an editor= field.

We can change the behavior if a clear case can be made as to what
fallback would make sense. Keep in mind the dictum: "garbage in/garbage
out"...

Alan


For the case of works within works (inproceedings, inbook, incollection, 
perhaps conference) I would think that the simplest solution is to 
simply drop it, so that in the example above one would simply get:


   Foo, B. (1983). Title of the paper. In /Booktitle/. Paymefirst.

Although I do think that, at least for inproceedings, lack of an editor 
should at least be flagged. A simple compilation of works may have no 
named editor, of I see no reason to require it for inbook or 
incollection. Cheap publishers regularly put out such collections of 
out-of-copyright works.


The implicit assumption that a work with no documented publisher is a 
self-published work is not especially to my liking -- publishers may 
have good reason to not identify themselves (think of the publishers of 
the works of Spinoza and, in part, Voltaire) -- but I understand that 
the APA thinks it important. Of course, if you cannot document the 
publisher for an entry, you can explicitly list it as unknown or /sine 
nomine/, as appropriate, to avoid the infelicity of having the author's 
name just stuck in there.


--
Rik

___
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] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-24 Thread Alan Braslau
On Mon, 24 May 2021 17:53:49 -0400
Rik Kabel  wrote:

> This is intended. Or rather, it is a side-effect of the intended
> behavior.
> 
> If you add an editor ("editor={Baz, Bar}") you will get something
> like:
> 
> Foo, B. (1983). Title of the paper. In B. Baz (Ed.), /Booktitle/.
> Author.
> 
> And if you then add a publisher ("publisher={Paymefirst}") you will
> get:
> 
> Foo, B. (1983). Title of the paper. In B. Bar (Ed.), Booktitle.
> Paymefirst.
> 
> The APA presumes that you have both an editor and a publisher for
> pieces contained in other works. It calls for the use of the author
> as publisher if no publisher is present. It is silent about what to
> do if you have no editor.

It looks like a missing editor field should be caught. What should the
rule be?

Actually, @inproceedings should not be used without an editor - makes
no sense. If the author of the paper happens to be the editor, then the
.bib data file should define this with an editor= field.

We can change the behavior if a clear case can be made as to what
fallback would make sense. Keep in mind the dictum: "garbage in/garbage
out"...

Alan
___
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 and defined placeinitial color

2021-05-24 Thread jbf
If I run the following in lmtx, the defined color is not recognized and 
I get black instead. If I run it as mkiv with --luatex, I get the 
darkgray I defined. Is there something else I need to do for lmtx?


\definecolor[darkgray][s=.4]

\setupinitial[color=darkgray,font=adellesemibold at 46pt,distance=3pt,n=3]

\starttext

\placeinitial{M}{\sc aking sense of the world} at any time is a fraught 
exercise...


\stoptext

Julian

___
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] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-24 Thread Rik Kabel


On 5/24/2021 16:28, Nicola wrote:

I don't know if this is restricted to inproceedings entries, but
consider the following test.bib:

 @inproceedings{Foo:1983,
   author = {Foo, Bar},
   booktitle = {Booktitle},
   pages = {34--39},
   title = {Title of the paper},
   year = {1983}
 }

When this is typeset:

 \usebtxdataset[test.bib]
 \usebtxdefinitions[apa]
 \starttext
   \cite[Foo:1983]
   \placelistofpublications
 \stoptext

the result is:

(Foo, 1983)
Foo, B. (1983). Title of the paper. In Title of the paper., Booktitle. Author.

I would expect:

(Foo, 1983)
Foo, B. (1983). Title of the paper. In Booktitle, p. 34–39.

or something similar.

I can reproduce it with ConTeXt from TeX Live 2021 and the current LMTX.
Is it a bug?

Nicola


This is intended. Or rather, it is a side-effect of the intended behavior.

If you add an editor ("editor={Baz, Bar}") you will get something like:

   Foo, B. (1983). Title of the paper. In B. Baz (Ed.), /Booktitle/.
   Author.

And if you then add a publisher ("publisher={Paymefirst}") you will get:

   Foo, B. (1983). Title of the paper. In B. Bar (Ed.), Booktitle.
   Paymefirst.

The APA presumes that you have both an editor and a publisher for pieces 
contained in other works. It calls for the use of the author as 
publisher if no publisher is present. It is silent about what to do if 
you have no editor.


The editor and publisher fields are described as required in 
mkiv-publications.pdf (page 85), however, you should be able to define 
your own customized btx handling (see chapter 6) to override this, 
removing both the editor and the publisher as requirements. Just a 
little coding.


(I have previously suggested that repeating the title in the case of a 
missing editor should not be done. The behavior has not been changed in 
last the two years.)


You should take careful note of the following from page 29 of that manual:

   /A note on the APA style: /We get the strong impression that the APA
   bibliography style standard was made with the implicit assumption
   that manual intervention would be involved in the editing and
   production process; It has been an arduous task to create a system
   capable of fully conforming to these specifications.

I will add that there is still quite a bit of work to do for APA and 
pretty much any other published style. Manual tuning (or editorial 
leniency) is required to conform in all but the most basic cases.


___
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] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-24 Thread Nicola
I don't know if this is restricted to inproceedings entries, but
consider the following test.bib:

@inproceedings{Foo:1983,
  author = {Foo, Bar},
  booktitle = {Booktitle},
  pages = {34--39},
  title = {Title of the paper},
  year = {1983}
}

When this is typeset:

\usebtxdataset[test.bib]
\usebtxdefinitions[apa]
\starttext
  \cite[Foo:1983]
  \placelistofpublications
\stoptext

the result is:

(Foo, 1983)
Foo, B. (1983). Title of the paper. In Title of the paper., Booktitle. Author.

I would expect:

(Foo, 1983)
Foo, B. (1983). Title of the paper. In Booktitle, p. 34–39.

or something similar.

I can reproduce it with ConTeXt from TeX Live 2021 and the current LMTX.
Is it a bug?

Nicola


___
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] Define new symbol by stitching two symbols together

2021-05-24 Thread Nicola
On 2021-05-24, Aditya Mahajan  wrote:
> On Sun, 23 May 2021, Hans Hagen wrote:
>
>> On 5/22/2021 8:23 PM, Nicola wrote:
>> > I would like to define new symbols by stitching together existing
>> > glyphs. This is what I have come up so far:
>> >
>> >  \define[1]\Transition{-\!\![#1]\!\!\rightarrow}
>> >  \starttext
>> >  \m{L\Transition{A}R}
>> >  \stoptext
>> >
>> > This should render as -[ ]->, ideally with no space between the dash or
>> > the arrow and the brackets, i.e., -[ should appear like a single glyph;
>> > ditto for ]-->. With the definition above, however, the space is
>> > variable, and in some circumstances the gliphs overlap.
>> >
>> > How can I improve the above definition?
>> don't use these funny \! skips ... use some font related metric:
>>
>>  \define[1]\Transition{-\kern-1ex[#1]\kern-1.1ex\rightarrow}
>
> This is how we used to define arrows in the old days ...
>
> \define[1]\Transition{\relbar\joinrel\mathrel{[}#1\mathrel{]}\joinrel\rightarrow}
> \define[1]\BigTransition{\relbar\joinrel\relbar\joinrel\mathrel{[}#1\mathrel{]}\joinrel\relbar\joinrel\rightarrow}
>
> \starttext
> \m{L\Transition{A}R}
>
> \m{L\BigTransition{A}R}
> \stoptext

Thanks Hans, Aditya,

combining your ideas (\joinrel plus \kern) seems to work best for my use
case.

Nicola

___
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] Define new symbol by stitching two symbols together

2021-05-24 Thread Aditya Mahajan
On Sun, 23 May 2021, Hans Hagen wrote:

> On 5/22/2021 8:23 PM, Nicola wrote:
> > I would like to define new symbols by stitching together existing
> > glyphs. This is what I have come up so far:
> > 
> >  \define[1]\Transition{-\!\![#1]\!\!\rightarrow}
> >  \starttext
> >  \m{L\Transition{A}R}
> >  \stoptext
> > 
> > This should render as -[ ]->, ideally with no space between the dash or
> > the arrow and the brackets, i.e., -[ should appear like a single glyph;
> > ditto for ]-->. With the definition above, however, the space is
> > variable, and in some circumstances the gliphs overlap.
> > 
> > How can I improve the above definition?
> don't use these funny \! skips ... use some font related metric:
> 
>  \define[1]\Transition{-\kern-1ex[#1]\kern-1.1ex\rightarrow}

This is how we used to define arrows in the old days ...

\define[1]\Transition{\relbar\joinrel\mathrel{[}#1\mathrel{]}\joinrel\rightarrow}
\define[1]\BigTransition{\relbar\joinrel\relbar\joinrel\mathrel{[}#1\mathrel{]}\joinrel\relbar\joinrel\rightarrow}

\starttext
\m{L\Transition{A}R}

\m{L\BigTransition{A}R}
\stoptext

Aditya



___
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] t-vim module: no highlighting for custom filetypes

2021-05-24 Thread Aditya Mahajan
On Fri, 21 May 2021, Nicola wrote:

> I have only a minor annoyance: I have just noticed that -- is typeset as
> an en-dash in LMTX (but not in MKIV, as documented). Could you look into
> that?

Fixed in the new release.

Aditya
___
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] specify a directory for tex files

2021-05-24 Thread Wolfgang Schuster

Jeroen schrieb am 24.05.2021 um 20:44:

similar to this for figures

\setupexternalfigures
[directory={./myfigures}]

is there a way to specify a directory for tex files so with

\input{myfile.tex}

the file myfile.tex can be placed in a subdirectory for example 
./mytexfiles?


\usepath[...]

and

\usesubpath[...]

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] specify a directory for tex files

2021-05-24 Thread Jeroen
similar to this for figures

\setupexternalfigures
  [directory={./myfigures}]

is there a way to specify a directory for tex files so with

\input{myfile.tex}

the file myfile.tex can be placed in a subdirectory for example
./mytexfiles?
___
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] Special layouts don't recognise placeinitial

2021-05-24 Thread Eduardo Bohoyo

Ah, I got it. Thanks for the clarification, Hans.

It's clear that this makes sense.

Eduardo Bohoyo

El 24/5/21 a las 14:22, Hans Hagen escribió:

On 5/24/2021 12:41 PM, Eduardo Bohoyo wrote:

Thank you, Hans. This tweak works perfectly on a provisional basis.

However, from my relative ignorance of ConTeXt and LMTX, I have a 
question: Why is it better at the moment to include this code in 
cont-new.mkxl instead on the preamble of my document?


I insist, I do not question this detail. I speak from the lack of 
knowledge of a user who wants to learn a little more.
cont-new will be replaced at he next uipload so then you use the built 
in .. no need to add to a preamble


-
  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] Special layouts don't recognise placeinitial

2021-05-24 Thread Eduardo Bohoyo

Thank you, Hans. This tweak works perfectly on a provisional basis.

However, from my relative ignorance of ConTeXt and LMTX, I have a 
question: Why is it better at the moment to include this code in 
cont-new.mkxl instead on the preamble of my document?


I insist, I do not question this detail. I speak from the lack of 
knowledge of a user who wants to learn a little more.


Eduardo Bohoyo

El 23/5/21 a las 13:07, Hans Hagen escribió:

On 5/23/2021 2:41 AM, Eduardo Bohoyo wrote:
My question will be very simple: Is there a trick to make 
\placeinitial command work within makeup pages?


One of my pages inside the /frontmater/ is a quote page within an 
special layout. Before using LMTX, when I could use the Lettrine 
module, that quote started with a capital letter. But now that I use 
\placeinitial, the first letter no longer changes: it remains a 
simple initial capital letter.
On the other hand, when I use \placeinitial for each first paragraph 
in the chapters of my book, the result is as expected. That is, the 
command works fine as long as it stays within the general layout.

This is the code I'm referring to:

\startmakeup[standard][doublesided=yes]

\setuplayout[backspace=176pt,width=194pt]
\setupinterlinespace[line=22pt]
\style[tfa]

\startalignment[hanging,flushleft,nothyphenated]
\placeinitial Ahora, vosotros que amáis, dejadme que os formule una 
pregunta: ¿quién sufre más por  ello,  Arcite  o  Palamón? ¿El  que  
ve  a  su  dama  diariamente,  pero  está  encerrado para  siempre,  
o  el  que  es  libre  de  ir  donde  le plazca, pero  no  verá  
nunca  más  a  su  dama?  Aquellos  de vosotros que  podáis,  elegid  
entre  las  dos  situaciones  a voluntad; yo,  por  mi  parte, 
continuaré como he empezado.

\stopalignment

\startalignment[hanging,flushright,nothyphenated]
\blank[0.8cm,force]{\tfa\sc  Geofrey Chaucer,\hspace[big]}
\blank[0.1cm,force]{\tfa\em The Canterbury Tales \hspace[big]}
\stopalignment

\stopmakeup

You can add this to cont-new.mkxl (assuming lmtx)

\unprotect

\permanent\tolerant\protected\def\flushinitial
  {\typo_initial_handle}

\protect

and then

    \placeinitial  \flushinitial Ahora, ...

will work. More clever automated solutions are likely to interfere and 
have side effects for embedded cases so this is the best I can come up 
with now.


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] Unwanted upright math in MkIV

2021-05-24 Thread Gavin
On May 23, 2021, at 3:36 PM, Hans Hagen  wrote:
> On 5/23/2021 6:26 PM, Gavin wrote:
>> Aditya,
>>> On Sun, 23 May 2021, Gavin wrote:
>>> 
 Hello,
 
 I’m using ConTeXt with MacOS. The current version of MkIV produces upright 
 math rather than italic. MWE:
 
 \starttext
\m{f = \beta}
 \stoptext
>>> 
>>> Works correctly here. What does context --version say?
>> My log file has this near the beginning:
>> ...
>> This is LuaTeX, Version 1.13.0 (TeX Live 2021)
>> …
>> system  > ConTeXt  ver: 2021.05.21 15:07 MKIV  fmt: 2021.5.23  int: 
>> english/english
>  ^^
> math should work ok in fridays version 

It looks like I have Friday’s version. Just to be sure, I reinstalled from 
scratch by downloading the MacOS X86 file from the install page and running 
install.sh. I still get upright math, but only with MkIV.

I also added \setupbodyfont […] to try different fonts, thinking that maybe a 
font was messed up, but I get upright math in every font I try.

Finally, I went to the command line, used

context --luatex GlyphExp.tex

and opened in a different previewer (Apple Preview) in case TexShop was 
misbehaving. Still upright math.

Any other ideas? This isn’t urgent. I can just wait for the next update if that 
might help.

Gavin
___
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] Special layouts don't recognise placeinitial

2021-05-24 Thread Hans Hagen

On 5/24/2021 12:41 PM, Eduardo Bohoyo wrote:

Thank you, Hans. This tweak works perfectly on a provisional basis.

However, from my relative ignorance of ConTeXt and LMTX, I have a 
question: Why is it better at the moment to include this code in 
cont-new.mkxl instead on the preamble of my document?


I insist, I do not question this detail. I speak from the lack of 
knowledge of a user who wants to learn a little more.
cont-new will be replaced at he next uipload so then you use the built 
in .. no need to add to a preamble


-
  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] Luatex format error

2021-05-24 Thread Hans Åberg

> On 23 May 2021, at 23:41, Hans Hagen  wrote:
> 
> On 5/23/2021 9:28 PM, Hans Åberg wrote:
>> Using TexLive 2021, I got the error below. How to fix it? What input file 
>> should one give?
>> % context math_style.tex
>> resolvers   | formats | executing runner 'run luatex format': 
>> /usr/local/texlive/2021/bin/universal-darwin/luatex --jobname="math_style" 
>> --fmt=/Users//Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.fmt
>>  
>> --lua=/Users//Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui
>>   --c:currentrun=1 --c:fulljobname="./math_style.tex" 
>> --c:input="./math_style.tex" --c:kindofrun=1 --c:maxnofruns=9 
>> --c:texmfbinpath="/usr/local/texlive/2021/bin/universal-darwin"
>> This is LuaTeX, Version 1.13.2 (TeX Live 2021)
>>  system commands enabled.
>> **
>> Please type the name of your input file.
>> **
> So this is not lmtx (which also has luatex) but the regular installation 
> right?

% context --version
mtx-context | ConTeXt Process Management 1.04
mtx-context |
mtx-context | main context file: 
/usr/local/texlive/2021/texmf-dist/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2021.03.05 19:11
mtx-context | main context file: 
/usr/local/texlive/2021/texmf-dist/tex/context/base/mkxl/context.mkxl
mtx-context | current version: 2021.03.05 19:11

% which context
/usr/local/texlive/2021/bin/universal-darwin/context

> Does that file have \starttext ... \stoptext ?

Yes, the example from another thread on math style.

\starttext
   \m{f = \beta}
\stoptext

> 
> There is something missing:
> 
>   ..cont-en.lui cont-yes.mkiv --c:currentrun=1
> 
> in mkiv the input is loaded indirectly (via cont-yes.mkiv) but in lmtx we 
> don't pass that one (not needed as we start up a bit different)

Should one use anything else than just 'context'?


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