Re: [NTG-context] Third party modules in LMTX

2020-03-09 Thread Jorge Manuel

Attention: 

I tried to install TiKZ module in my macOS Catalina with this shell script and 
several folders in my system are deleted.  

My Context Folder is located at /Applications folder. 

Is there a safe way to install modules for LMTX.


Thanks.


> On 14 Feb 2020, at 07:48, Henri Menke  wrote:
> 
> On 2/12/20 5:10 PM, jdh wrote:
>> 
>> 
>> I would like to use Wolfgang's t-letter module, but need some help.
>> 
>> I found the following instructions:
>> 
>> "The ConTeXt suite only comes with Taco's t-bib module. If you want to 
>> install a new module, say Wolfgang's t-letter module, you can use
>> 
>> first-setup.sh --modules="t-letter"
>> 
>> 
>> BUT, the LMTX standalone does not have any "first-setup.sh"  shell script.
>> 
>> Is there another way to install the "t-letter" module for use with LMTX?
>> 
> 
> #!/bin/sh
> 
> # Install or update texmf-modules
> # Requires: awk, rsync
> 
> # Check whether LuaMetaTeX is available
> if ! command -v luametatex > /dev/null; then
>echo "luametatex is not in PATH, so there likely won't be the correct 
> mtxrun"
>echo "Aborting..."
>exit 1
> fi
> 
> # Make the texmf-modules directory, just in case
> TEXMFMODULES="$(mtxrun --resolve-path "\$TEXMFMODULES")"
> mkdir -p "${TEXMFMODULES}/"
> 
> # Sync with the Garden
> GARDENRSYNC="contextgarden.net 
> ::minimals/current/modules"
> for module in $(rsync "${GARDENRSYNC}/*" | awk '{print $NF}'); do
>echo "Syncing ${module}"
>rsync -rpztlv --delete "${GARDENRSYNC}/${module}/" "${TEXMFMODULES}/"
> done
> 
>> Any help is appreciated.
>> 
>> Thanks
>>  Darel
>> ___
>> 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 
> ___

___
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] Third party modules in LMTX

2020-03-09 Thread Hans Hagen

On 3/9/2020 4:28 PM, Jorge Manuel wrote:


*Attention: *

I tried to install TiKZ module in my macOS Catalina with this shell 
script and several folders in my system *are deleted*.


you mean, when you update?


My Context Folder is located at /Applications folder.

Is there a safe way to install modules for LMTX.

tex/texmf-fonts

  additional fonts, like those you buy or download, for
  instance under /fonts/data then)

tex/texmf-project

  additional styles, these can go to tex/context/someproject

tex/texmf-local
tex/texmf-modules

  for whatever else

(you need to run mtxrun --generate after adding files)

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
___


[NTG-context] Install Tikz in LMTX tree

2020-03-09 Thread Jorge Manuel

Dear Sirs, 


I download tikz.tds.zip 
 from ctan and 
unzip it in /Applications/Context/context-osx-64/tex/texmf.

Next I run 
mtxrun --generate
context —make

My test  file contains:


\setupcolors[state=start]
\usemodule[tikz]   

\starttext

\starttikzpicture
 [node distance=4cm,
place/.style={circle,draw=blue!50,fill=blue!20,thick,
 inner sep=0pt,minimum size=6mm}]

\node[place] (wat) {};
  \node[place] (wag) [below=of wat] {};

\stoptikzpicture

\stoptext



The log is:

open source > level 1, order 1, name 'cont-yes.mkiv'
system  > 
system  > ConTeXt  ver: 2020.02.17 19:36 MKIV beta  fmt: 2020.3.9  int: 
english/english
system  > 
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name 
'/Applications/Context/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > beware: some patches loaded from cont-new.mkiv
close source> level 2, order 2, name 
'/Applications/Context/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > files > jobname 'Recuperacao', input './Recuperacao', result 
'Recuperacao'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 2, order 3, name './Recuperacao.tex'
modules > 'tikz' is loaded
open source > level 3, order 4, name 
'/Applications/Context/context-osx-64/tex/texmf/tex/context/third/pgf/frontendlayer/t-tikz.tex'
loading > ConTeXt User Module / tikz
open source > level 4, order 5, name 't-pgf.tex'
loading > ConTeXt User Module / pgf
open source > level 5, order 6, name 't-pgfcor.tex'
loading > ConTeXt User Module / pgfcor
open source > level 6, order 7, name 't-pgfsys.tex'
loading > ConTeXt User Module / pgfsys
open source > level 7, order 8, name 't-pgfrcs.tex'
loading > ConTeXt User Module / pgfrcs
open source > level 8, order 9, name 't-pgfmod.tex'
loading > ConTeXt User Module / pgfmodules
system  > module wrapping error in 'tikz'
close source> level 8, order 9, name 't-pgfmod.tex'
open source > level 8, order 10, name 'pgfutil-common.tex'
open source > level 9, order 11, name 'pgfutil-common-lists.tex'
close source> level 9, order 11, name 'pgfutil-common-lists.tex'
close source> level 8, order 11, name 'pgfutil-common.tex'
open source > level 8, order 12, name 'pgfutil-context.def'
close source> level 8, order 12, name 'pgfutil-context.def'
open source > level 8, order 13, name 'pgfrcs.code.tex'

tex error   > tex error on line 11 in file pgfrcs.code.tex: ! Package PGF 
Error: PGF requires etex in extended mode


\pgfutil@packageerror #1#2#3->\errhelp {#3}\errmessage {Package #1 Error: #2}
 
l.11   \pgfutil@packageerror{PGF}{PGF requires etex in extended mode}{}
 %




This error message was generated by an \errmessage command, so I can't give any
explicit help. Pretend that you're Hercule Poirot: Examine all clues, and deduce
the truth by order and method.


Anybody has a clue how to fix this?

Thanks to all.


___
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] MathML (mkiv) accent shifted to the left

2020-03-09 Thread Duncan Hothersall
Hi all.

I am reasonably sure that in mkii this overbar accent was placed correctly,
but in mkiv it is shifted to the left. Any ideas on how to fix it?

MWE:

\usemodule[mathml]
\starttext
This \xmlprocessdata{}{p‾}{} isn't
right.
\stoptext

Many thanks,

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