Re: [NTG-context] Addition of authortitle sorttype for bibliographies

2021-10-04 Thread Joey McCollum via ntg-context
I'm not sure if this thread got lost back when I sent it, but I just wanted
to bump this thread again. The authortitle sort sequence detailed in the
previous e-mail is working as expected, and it may be a helpful addition to
the publ-aut.lua file for general use. In case the last e-mail was lost,
I've repeated the code below:

```
publications.sortmethods.authortitle = {
sequence = {
{ field = "author",default = "",   unknown = "" },
{ field = "title", default = "",   unknown = "" },
{ field = "booktitle", default = "",   unknown = "" }, --
if this is an untitled section (e.g., introduction, foreword, preface) of a
book or a review of a book
{ field = "maintitle", default = "",   unknown = "" }, --
if this is an untitled section or volume in a multivolume collection
{ field = "volume",default = "",   unknown = "" },
{ field = "part",  default = "",   unknown = "" },
{ field = "date",  default = "9998-13-32", unknown =
"-14-33" }, -- some specifications allow date instead of year, month,
day
{ field = "year",  default = "9998",   unknown = "" },
{ field = "month", default = "13", unknown = "14" },
{ field = "day",   default = "32", unknown = "33" },
{ field = "index", default = "",   unknown = "" },
},
}
```

Joey

On Sun, Sep 19, 2021 at 10:57 PM Joey McCollum 
wrote:

> Actually, since some categories (such as @review and @suppbook from
> biblatex) do not necessarily have titles of their own, it may be best to
> include a few other fields in the sort sequence to accommodate them. The
> following sequence may be better:
>
> ```
> publications.sortmethods.authortitle = {
> sequence = {
> { field = "author",default = "",   unknown = "" },
> { field = "title", default = "",   unknown = "" },
> { field = "booktitle", default = "",   unknown = "" }, --
> if this is an untitled section (e.g., introduction, foreword, preface) of a
> book or a review of a book
> { field = "maintitle", default = "",   unknown = "" }, --
> if this is an untitled section or volume in a multivolume collection
> { field = "volume",default = "",   unknown = "" },
> { field = "part",  default = "",   unknown = "" },
> { field = "date",  default = "9998-13-32", unknown =
> "-14-33" }, -- some specifications allow date instead of year, month,
> day
> { field = "year",  default = "9998",   unknown = "" },
> { field = "month", default = "13", unknown = "14" },
> { field = "day",   default = "32", unknown = "33" },
> { field = "index", default = "",   unknown = "" },
> },
> }
> ```
>
> It is also worth noting that in order for the volume field to sort
> properly, its values will have to be padded with leading zeroes; otherwise,
> an entry with volume = {2} will be sorted after one with volume = {10}. To
> accommodate this, specifications would need to remove the leading zeroes
> when they typeset volume and part numbers.
>
> Joey
>
> On Sun, Sep 19, 2021 at 2:02 PM Joey McCollum 
> wrote:
>
>> Hi,
>>
>> I've had to make another update to the general publications support code
>> in order to implement a feature of the SBL rendering. Denis Maier has
>> opened some issues on the context-sbl GitHub repo (
>> https://github.com/jjmccollum/context-sbl) to offer some helpful
>> suggestions about needed features and bug fixes. One issue was that SBL
>> should order list entries by author and title. Thankfully, there is already
>> an authordate sortmethod defined in publ-aut.lua (probably to support the
>> Chicago rendering), so I was able to use it as a template for the
>> following authortitle sort sequence:
>>
>> ```
>> publications.sortmethods.authortitle = {
>> sequence = {
>> { field = "author",  default = "", unknown = "" },
>> { field = "title",   default = "", unknown = "" },
>> { field = "date",  default = "9998-13-32", unknown =
>> "-14-33" }, -- some specifications allow date instead of year, month,
>> day
>> { field = "year",default = "9998", unknown = "" },
>> { field = "month",   default = "13",   unknown = "14" },
>> { field = "day", default = "32",   unknown = "33" },
>> { field = "index",   default = "", unknown = "" },
>> },
>> }
>> ```
>>
>> I added this to publ-aut.lua because publications.sortmethods.authoryear
>> is defined in that file, but if another location is more appropriate, then
>> feel free to let me know, and I can move it! Otherwise, if this looks okay
>> to include in a future update, then feel free to incorporate it!
>>
>> Joey
>>
>

Re: [NTG-context] Metafun's utflen not working in certain contexts

2021-10-04 Thread Hans Hagen via ntg-context

On 10/3/2021 9:28 PM, Jairo A. del Rio via ntg-context wrote:
Hi, list. The following works for MkIV, but not LMTX (adapted from here: 
https://tex.stackexchange.com/questions/617597/how-can-i-use-luas-string-len-inside-a-metapost-function 
):


\startMPinclusions

vardef MotMystere(expr taille, speciale, index) =

save avant,apres,case;

numeric avant,apres;

path case;

case := fullsquare scaled 13;

avant := speciale-1;

%For Unicode, use "utflen" instead

apres := utflen(taille) - speciale;

if avant >= 1:

for j=1 upto avant:

draw (case rotated 180

cutafter point 3 of case rotated 180)

shifted (-13j,-13*index);

endfor;

fi;

label.lft (index,point 3.5 of

case shifted (-13*avant,-13*index));

draw case yshifted (-13*index);

fill case yshifted (-13*index)

withcolor \MPcolor{gray-8};

if apres > 0:

for j=1 upto apres:

draw (case cutafter point 3 of case)

shifted (13j,-13*index);

endfor;

fi;

enddef;

\stopMPinclusions

\starttext

An example with "enigma"


\startMPcode

MotMystere("enigma",4,1)

\stopMPcode

\stoptext

for the moment use ()

apres := (utflen(taille)) - speciale;



-
  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] MkIV missing?

2021-10-04 Thread Marcus Vinicius Mesquita via ntg-context
Thank you, Taco

Your suggestion resolved the issue for me.

Regards

Marcus Vinicius

On Mon, Oct 4, 2021 at 10:50 AM Taco Hoekwater via ntg-context <
ntg-context@ntg.nl> wrote:

> Hi,
>
> Here is what I assume has happened:
>
> Hans gave LMTX its own "luametatex-cache” directory (around August 20).
> Previously, the cache for LMTX still used files under luatex-cache, just
> like MKIV. But since that change, the “context -—generate” call no longer
> updates files in luatex-cache, only in luametatex-cache.
>
>
> That is not a big problem unless something happens to clear any existing
> cache in that folder (like a re-install from scratch, say).
>
> Normally, one runs “context —-generate” to fix the cache and “context
> —-luatex” to run luatex Combined, that would be
>   “context —-generate —-luatex”.
> But the problem is that luatex cannot find “mtx-context.lua” exactly
> because of the missing cache that we are actually trying to create with
> that command line. Missing “mtx-context.lua” is usually fixed by running
> the more basic “mtxrun —generate”.
>
> However, “mtxrun -—generate”  does not currently support a "-—luatex”
> argument, so the only way I know of right now to get the luatex-cache
> restored|updated is to run the command below.
>
> (Incidentally, this sort of issue is why the core command is not “context
> -—generate” but “mtxrun -—generate”. It is unfortunate that that does not
> help in this case).
>
> Best wishes,
> Taco
>
> > On 4 Oct 2021, at 15:33, Taco Hoekwater via ntg-context <
> ntg-context@ntg.nl> wrote:
> >
> > We are busy with this off-list.
> >
> > If it is urgent:
> >
> > luatex --luaonly ~/lmtx/tex/texmf-osx-64/bin/mtxrun.lua --generate
> >
> > fixed it for me (you’ll need to adjust the path, of course)
> >
> > Best wishes,
> > Taco
> >
> >> On 4 Oct 2021, at 15:28, Marcus Vinicius Mesquita via ntg-context <
> ntg-context@ntg.nl> wrote:
> >>
> >> Same problem here, on a linux64, context current version: 2021.09.26
> 17:00
> >>
> >> Greetings
> >>
> >> Marcus Vinicius
> >>
> >> On Mon, Oct 4, 2021 at 8:55 AM Henning Hraban Ramm via ntg-context <
> ntg-context@ntg.nl> wrote:
> >>
> >>> Am 04.10.2021 um 13:06 schrieb Hans Hagen :
> >>>
> >>> On 10/4/2021 12:39 PM, Henning Hraban Ramm via ntg-context wrote:
>  Hi,
>  since a while, I can’t run MkIV any more, even after several runs of
> install.sh (and mtxrun --generate, of course).
>
> —
> Taco Hoekwater  E: t...@bittext.nl
> genderfluid (all pronouns)
>
>
>
>
> ___
> 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
>
> ___
>


-- 
Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o corpo
nem seus membros, por ser descanso da alma, primavera do coração, distração
do aflito, entretenimento do solitário, e viático do viajante.

Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)
___
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] MkIV missing?

2021-10-04 Thread Taco Hoekwater via ntg-context
Hi,

Here is what I assume has happened:

Hans gave LMTX its own "luametatex-cache” directory (around August 20). 
Previously, the cache for LMTX still used files under luatex-cache, just like 
MKIV. But since that change, the “context -—generate” call no longer updates 
files in luatex-cache, only in luametatex-cache. 


That is not a big problem unless something happens to clear any existing cache 
in that folder (like a re-install from scratch, say). 

Normally, one runs “context —-generate” to fix the cache and “context —-luatex” 
to run luatex Combined, that would be 
  “context —-generate —-luatex”. 
But the problem is that luatex cannot find “mtx-context.lua” exactly because of 
the missing cache that we are actually trying to create with that command line. 
Missing “mtx-context.lua” is usually fixed by running the more basic “mtxrun 
—generate”.

However, “mtxrun -—generate”  does not currently support a "-—luatex” argument, 
so the only way I know of right now to get the luatex-cache restored|updated is 
to run the command below.

(Incidentally, this sort of issue is why the core command is not “context 
-—generate” but “mtxrun -—generate”. It is unfortunate that that does not help 
in this case).

Best wishes,
Taco

> On 4 Oct 2021, at 15:33, Taco Hoekwater via ntg-context  
> wrote:
> 
> We are busy with this off-list.
> 
> If it is urgent: 
> 
> luatex --luaonly ~/lmtx/tex/texmf-osx-64/bin/mtxrun.lua --generate
> 
> fixed it for me (you’ll need to adjust the path, of course)
> 
> Best wishes,
> Taco
> 
>> On 4 Oct 2021, at 15:28, Marcus Vinicius Mesquita via ntg-context 
>>  wrote:
>> 
>> Same problem here, on a linux64, context current version: 2021.09.26 17:00
>> 
>> Greetings
>> 
>> Marcus Vinicius
>> 
>> On Mon, Oct 4, 2021 at 8:55 AM Henning Hraban Ramm via ntg-context 
>>  wrote:
>> 
>>> Am 04.10.2021 um 13:06 schrieb Hans Hagen :
>>> 
>>> On 10/4/2021 12:39 PM, Henning Hraban Ramm via ntg-context wrote:
 Hi,
 since a while, I can’t run MkIV any more, even after several runs of 
 install.sh (and mtxrun --generate, of course).

— 
Taco Hoekwater  E: t...@bittext.nl
genderfluid (all pronouns)



___
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] MkIV missing?

2021-10-04 Thread Henning Hraban Ramm via ntg-context

> Am 04.10.2021 um 15:33 schrieb Taco Hoekwater via ntg-context 
> :
> 
> We are busy with this off-list.
> 
> If it is urgent: 
> 
> luatex --luaonly ~/lmtx/tex/texmf-osx-64/bin/mtxrun.lua --generate
> 
> fixed it for me (you’ll need to adjust the path, of course)

For me too, while it didn’t work with an absolute path, i.e.

~/lmtx/tex/...  was ok, while
/Users/hraban/lmtx/tex/... was not!

Strange...

Hraban

___
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] MkIV missing?

2021-10-04 Thread Taco Hoekwater via ntg-context
We are busy with this off-list.

If it is urgent: 

 luatex --luaonly ~/lmtx/tex/texmf-osx-64/bin/mtxrun.lua --generate

fixed it for me (you’ll need to adjust the path, of course)

Best wishes,
Taco

> On 4 Oct 2021, at 15:28, Marcus Vinicius Mesquita via ntg-context 
>  wrote:
> 
> Same problem here, on a linux64, context current version: 2021.09.26 17:00
> 
> Greetings
> 
> Marcus Vinicius
> 
> On Mon, Oct 4, 2021 at 8:55 AM Henning Hraban Ramm via ntg-context 
>  wrote:
> 
> > Am 04.10.2021 um 13:06 schrieb Hans Hagen :
> > 
> > On 10/4/2021 12:39 PM, Henning Hraban Ramm via ntg-context wrote:
> >> Hi,
> >> since a while, I can’t run MkIV any more, even after several runs of 
> >> install.sh (and mtxrun --generate, of course).
> >> It’s the same on my Mac and my Linux laptop (of course the bin dir is 
> >> different on the latter):
> >> $ context --version
> >> mtx-context | ConTeXt Process Management 1.04
> >> mtx-context |
> >> mtx-context | main context file: 
> >> /Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkiv
> >> mtx-context | current version: 2021.09.26 17:00
> >> mtx-context | main context file: 
> >> /Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/context.mkxl
> >> mtx-context | current version: 2021.09.26 17:00
> >> $ context --version --luatex
> >> mtx-context | redirect luametatex -> luatex: luatex --luaonly 
> >> "/Users/hraban/lmtx/tex/texmf-osx-64/bin/mtxrun.lua" --script mtx-context 
> >> --version --luatex --redirected
> >> mtxrun  | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'
> >> $ which context
> >> /Users/hraban/lmtx/tex/texmf-osx-64/bin/context
> >> $ which luatex
> >> /Users/hraban/lmtx/tex/texmf-osx-64/bin/luatex
> >> $ luatex --version
> >> This is LuaTeX, Version 1.13.0 (TeX Live 2021)
> >> ...
> >> $ mtxrun --version
> >> mtxrun  | ConTeXt TDS Runner Tool 1.32
> >> mtxrun  | source path
> >> I thought that was related to the server/provider move, but I guess it 
> >> isn’t.
> >> It’s a bit annoying that install.sh leaves ~/lmtx/bin in the PATH, so that 
> >> a call to mtxrun can’t find any configuration.
> > works here ... maybe a --generate issue?
> 
> I re-ran the install script with a shell ("sh install.sh" instead just ". 
> install.sh"), but that doesn’t change the "unknown script" issue.
> 
> "mtxrun --generate" seems to work without problems; or do you see something 
> suspicious in the attached log?
> 
> Hraban
> 
> ___
> 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
> ___
> 
> 
> -- 
> Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o corpo 
> nem seus membros, por ser descanso da alma, primavera do coração, distração 
> do aflito, entretenimento do solitário, e viático do viajante.
> 
> Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)
> ___
> 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
> ___

— 
Taco Hoekwater  E: t...@bittext.nl
genderfluid (all pronouns)



___
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] MkIV missing?

2021-10-04 Thread Marcus Vinicius Mesquita via ntg-context
Same problem here, on a linux64, context current version: 2021.09.26 17:00

Greetings

Marcus Vinicius

On Mon, Oct 4, 2021 at 8:55 AM Henning Hraban Ramm via ntg-context <
ntg-context@ntg.nl> wrote:

>
> > Am 04.10.2021 um 13:06 schrieb Hans Hagen :
> >
> > On 10/4/2021 12:39 PM, Henning Hraban Ramm via ntg-context wrote:
> >> Hi,
> >> since a while, I can’t run MkIV any more, even after several runs of
> install.sh (and mtxrun --generate, of course).
> >> It’s the same on my Mac and my Linux laptop (of course the bin dir is
> different on the latter):
> >> $ context --version
> >> mtx-context | ConTeXt Process Management 1.04
> >> mtx-context |
> >> mtx-context | main context file:
> /Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkiv
> >> mtx-context | current version: 2021.09.26 17:00
> >> mtx-context | main context file:
> /Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/context.mkxl
> >> mtx-context | current version: 2021.09.26 17:00
> >> $ context --version --luatex
> >> mtx-context | redirect luametatex -> luatex: luatex --luaonly
> "/Users/hraban/lmtx/tex/texmf-osx-64/bin/mtxrun.lua" --script mtx-context
> --version --luatex --redirected
> >> mtxrun  | unknown script 'mtx-context.lua' or
> 'mtx-mtx-context.lua'
> >> $ which context
> >> /Users/hraban/lmtx/tex/texmf-osx-64/bin/context
> >> $ which luatex
> >> /Users/hraban/lmtx/tex/texmf-osx-64/bin/luatex
> >> $ luatex --version
> >> This is LuaTeX, Version 1.13.0 (TeX Live 2021)
> >> ...
> >> $ mtxrun --version
> >> mtxrun  | ConTeXt TDS Runner Tool 1.32
> >> mtxrun  | source path
> >> I thought that was related to the server/provider move, but I guess it
> isn’t.
> >> It’s a bit annoying that install.sh leaves ~/lmtx/bin in the PATH, so
> that a call to mtxrun can’t find any configuration.
> > works here ... maybe a --generate issue?
>
> I re-ran the install script with a shell ("sh install.sh" instead just ".
> install.sh"), but that doesn’t change the "unknown script" issue.
>
> "mtxrun --generate" seems to work without problems; or do you see
> something suspicious in the attached log?
>
> Hraban
>
>
> ___
> 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
>
> ___
>


-- 
Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o corpo
nem seus membros, por ser descanso da alma, primavera do coração, distração
do aflito, entretenimento do solitário, e viático do viajante.

Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)
___
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] MkIV missing?

2021-10-04 Thread Henning Hraban Ramm via ntg-context

> Am 04.10.2021 um 13:06 schrieb Hans Hagen :
> 
> On 10/4/2021 12:39 PM, Henning Hraban Ramm via ntg-context wrote:
>> Hi,
>> since a while, I can’t run MkIV any more, even after several runs of 
>> install.sh (and mtxrun --generate, of course).
>> It’s the same on my Mac and my Linux laptop (of course the bin dir is 
>> different on the latter):
>> $ context --version
>> mtx-context | ConTeXt Process Management 1.04
>> mtx-context |
>> mtx-context | main context file: 
>> /Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkiv
>> mtx-context | current version: 2021.09.26 17:00
>> mtx-context | main context file: 
>> /Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/context.mkxl
>> mtx-context | current version: 2021.09.26 17:00
>> $ context --version --luatex
>> mtx-context | redirect luametatex -> luatex: luatex --luaonly 
>> "/Users/hraban/lmtx/tex/texmf-osx-64/bin/mtxrun.lua" --script mtx-context 
>> --version --luatex --redirected
>> mtxrun  | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'
>> $ which context
>> /Users/hraban/lmtx/tex/texmf-osx-64/bin/context
>> $ which luatex
>> /Users/hraban/lmtx/tex/texmf-osx-64/bin/luatex
>> $ luatex --version
>> This is LuaTeX, Version 1.13.0 (TeX Live 2021)
>> ...
>> $ mtxrun --version
>> mtxrun  | ConTeXt TDS Runner Tool 1.32
>> mtxrun  | source path
>> I thought that was related to the server/provider move, but I guess it isn’t.
>> It’s a bit annoying that install.sh leaves ~/lmtx/bin in the PATH, so that a 
>> call to mtxrun can’t find any configuration.
> works here ... maybe a --generate issue?

I re-ran the install script with a shell ("sh install.sh" instead just ". 
install.sh"), but that doesn’t change the "unknown script" issue.

"mtxrun --generate" seems to work without problems; or do you see something 
suspicious in the attached log?

Hraban



mtxrun-generate.log
Description: Binary data
___
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] MkIV missing?

2021-10-04 Thread Henning Hraban Ramm via ntg-context

> Am 04.10.2021 um 13:20 schrieb Taco Hoekwater :
> 
>> On 4 Oct 2021, at 12:39, Henning Hraban Ramm via ntg-context 
>>  wrote:
>> 
>> I thought that was related to the server/provider move, but I guess it isn’t.
>> 
>> It’s a bit annoying that install.sh leaves ~/lmtx/bin in the PATH, so that a 
>> call to mtxrun can’t find any configuration.
> 
> That is why I always run “sh install.sh” instead of executing the script 
> directly.

I always ran ". install.sh", i.e. "source install.sh"; calling a shell solves 
the PATH issue. Thanks for the hint!


Hraban

___
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] MkIV missing?

2021-10-04 Thread Taco Hoekwater via ntg-context


> On 4 Oct 2021, at 12:39, Henning Hraban Ramm via ntg-context 
>  wrote:
> 
> I thought that was related to the server/provider move, but I guess it isn’t.
> 
> It’s a bit annoying that install.sh leaves ~/lmtx/bin in the PATH, so that a 
> call to mtxrun can’t find any configuration.

That is why I always run “sh install.sh” instead of executing the script 
directly.

Best wishes,
Taco

— 
Taco Hoekwater  E: t...@bittext.nl
genderfluid (all pronouns)



___
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] MkIV missing?

2021-10-04 Thread Hans Hagen via ntg-context

On 10/4/2021 12:39 PM, Henning Hraban Ramm via ntg-context wrote:

Hi,
since a while, I can’t run MkIV any more, even after several runs of install.sh 
(and mtxrun --generate, of course).
It’s the same on my Mac and my Linux laptop (of course the bin dir is different 
on the latter):

$ context --version
mtx-context | ConTeXt Process Management 1.04
mtx-context |
mtx-context | main context file: 
/Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2021.09.26 17:00
mtx-context | main context file: 
/Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/context.mkxl
mtx-context | current version: 2021.09.26 17:00

$ context --version --luatex
mtx-context | redirect luametatex -> luatex: luatex --luaonly 
"/Users/hraban/lmtx/tex/texmf-osx-64/bin/mtxrun.lua" --script mtx-context 
--version --luatex --redirected
mtxrun  | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'

$ which context
/Users/hraban/lmtx/tex/texmf-osx-64/bin/context

$ which luatex
/Users/hraban/lmtx/tex/texmf-osx-64/bin/luatex

$ luatex --version
This is LuaTeX, Version 1.13.0 (TeX Live 2021)
...

$ mtxrun --version
mtxrun  | ConTeXt TDS Runner Tool 1.32
mtxrun  | source path



I thought that was related to the server/provider move, but I guess it isn’t.

It’s a bit annoying that install.sh leaves ~/lmtx/bin in the PATH, so that a 
call to mtxrun can’t find any configuration.

works here ... maybe a --generate issue?

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


[NTG-context] MkIV missing?

2021-10-04 Thread Henning Hraban Ramm via ntg-context
Hi,
since a while, I can’t run MkIV any more, even after several runs of install.sh 
(and mtxrun --generate, of course).
It’s the same on my Mac and my Linux laptop (of course the bin dir is different 
on the latter):

$ context --version
mtx-context | ConTeXt Process Management 1.04
mtx-context |
mtx-context | main context file: 
/Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2021.09.26 17:00
mtx-context | main context file: 
/Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkxl/context.mkxl
mtx-context | current version: 2021.09.26 17:00

$ context --version --luatex
mtx-context | redirect luametatex -> luatex: luatex --luaonly 
"/Users/hraban/lmtx/tex/texmf-osx-64/bin/mtxrun.lua" --script mtx-context 
--version --luatex --redirected
mtxrun  | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'

$ which context
/Users/hraban/lmtx/tex/texmf-osx-64/bin/context

$ which luatex
/Users/hraban/lmtx/tex/texmf-osx-64/bin/luatex

$ luatex --version
This is LuaTeX, Version 1.13.0 (TeX Live 2021)
...

$ mtxrun --version
mtxrun  | ConTeXt TDS Runner Tool 1.32
mtxrun  | source path



I thought that was related to the server/provider move, but I guess it isn’t.

It’s a bit annoying that install.sh leaves ~/lmtx/bin in the PATH, so that a 
call to mtxrun can’t find any configuration.

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