[NTG-context] follow up

Otared Kavian otared at gmail.com
Mon Apr 8 10:32:00 CEST 2019


Dear Dalyoung,

Actually when you have added 

	export PATH=/context-osx-64/tex/texmf-osx-64/bin:/context-osx-64/bin:/context-osx-64/tex/texmf-osx-64/bin

either in your engine file (using TeXShop), or when typesetting from the Terminal, then you don't need to use mtxrun --autogenerate in order to typeset a file with LuaMetaTeX: you can just have

	/context-osx-64/tex/texmf-osx-64/bin/context myfile.tex

in this way you can use any mode you wish.

Or have I misunderstood the issue you are asking about?

Best regards: OK

> On 5 Apr 2019, at 16:30, Jeong Dal <haksan at me.com> wrote:
> 
> 
> Dear Hans and Otared,
> 
> Thank you for your help.
> It is OK to use ConTeXt-LMTX in TeXShop and in Atom.
> 
> I’d like to compile it in LMTX mode or in MKIV mode without running "mtxrun —geneate” when I change mode.
> Set path to absolute path of mtxrun in the setting doesn’t help.
> 
> Actually, it is not a problem of ConTeXt.
> 
> I’ll try it once more.
> 
> Thank you.
> 
> Best regards,
> 
> Dalyoung
> 
> 
>> 2019. 4. 5. 오후 7:00, ntg-context-request at ntg.nl 작성:
>> 
>> Send ntg-context mailing list submissions to
>> 	ntg-context at ntg.nl
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	https://mailman.ntg.nl/mailman/listinfo/ntg-context
>> or, via email, send a message with subject or body 'help' to
>> 	ntg-context-request at ntg.nl
>> 
>> You can reach the person managing the list at
>> 	ntg-context-owner at ntg.nl
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of ntg-context digest..."
>> 
>> 
>> Today's Topics:
>> 
>>  1. Re: How to update LMTX? (Hans Hagen)
>>  2. Re: follow up (Hans Hagen)
>>  3. Re: (no subject) (Hans Hagen)
>>  4. Re: follow up (Otared Kavian)
>> 
>> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Fri, 5 Apr 2019 00:20:32 +0200
>> From: Hans Hagen <j.hagen at xs4all.nl>
>> To: mailing list for ConTeXt users <ntg-context at ntg.nl>
>> Subject: Re: [NTG-context] How to update LMTX?
>> Message-ID: <4ab6b1ec-62cd-90c8-0f54-b303f025c2b6 at xs4all.nl>
>> Content-Type: text/plain; charset=utf-8; format=flowed
>> 
>> On 4/5/2019 12:09 AM, Alan Braslau wrote:
>>> On Thu, 4 Apr 2019 23:11:42 +0200
>>> Hans Hagen <j.hagen at xs4all.nl> wrote:
>>> 
>>>> (we just don't use rsync)
>>> 
>>> As rsync can be problematic for some locations
>>> (TCP port 873 blocked) without the ability to
>>> tunnel.
>> 
>> indeed, especially in schools
>> 
>>> http is most often open.
>> right and rsync is also very unix centric so on windows one has to use 
>> cygwin (bah) or a mingw version (hard to get); also the rsync protocol 
>> is sometimes updated so then you need matching versions
>> 
>> 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
>> -----------------------------------------------------------------
>> 
>> 
>> ------------------------------
>> 
>> Message: 2
>> Date: Fri, 5 Apr 2019 00:28:19 +0200
>> From: Hans Hagen <j.hagen at xs4all.nl>
>> To: mailing list for ConTeXt users <ntg-context at ntg.nl>
>> Subject: Re: [NTG-context] follow up
>> Message-ID: <8f908232-5516-b2a7-df76-51eba0c5140e at xs4all.nl>
>> Content-Type: text/plain; charset=utf-8; format=flowed
>> 
>> On 4/5/2019 12:17 AM, Jeong Dal wrote:
>>> Dear Hans,
>>> 
>>> I have installed both ConTeXt LMTX and ConTeXt MKIV side by side.
>>> But I have a problem to run it.
>>> 
>>> If it is OK to run a file in LMTX environment, then I got a following 
>>> error when I run it in MKIV environment.
>>> “I can’t fine a file …../defFonts.tex” even though it is there.
>>> To resolve it, I run “mtxrun —generate” in MKIV.
>>> But it invoke the same type error in LMTX.
>>> Here are the command in Atom editor which I use to run it.
>>> 
>>> LMTX:
>>> source /Users/graph/ConTeXtLMTX/tex/setuptex;
>>> context {filePath}
>>> MKIV:
>>> source /Users/graph/ConTeXt/tex/setuptex;
>>> context {filePath}
>>> 
>>> I may avoid it by adding “mtxrun —generate” before compiling it.
>>> But it isn’t a good solution.
>>> I think that there is a better way to do this.
>>> Would you please tell me how to fix it or what is a better way?
>> Does
>> 
>> <path to>/mtxrun --autogenerate --script context --autopdf {filePath}
>> 
>> work in your editor?
>> 
>> 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
>> -----------------------------------------------------------------
>> 
>> 
>> ------------------------------
>> 
>> Message: 3
>> Date: Fri, 5 Apr 2019 00:37:27 +0200
>> From: Hans Hagen <j.hagen at xs4all.nl>
>> To: mailing list for ConTeXt users <ntg-context at ntg.nl>, Dmitry
>> 	Starostin <starostin.dmitry at gmail.com>
>> Subject: Re: [NTG-context] (no subject)
>> Message-ID: <2a626d5a-4378-e1f9-2278-d1496f62f810 at xs4all.nl>
>> Content-Type: text/plain; charset=utf-8; format=flowed
>> 
>> On 4/4/2019 9:30 PM, Dmitry Starostin wrote:
>>> In terminal:
>>> 
>>> mtxrun --autogenerate --script context --autopdf Test.tex
>>> 
>>> ->
>>> 
>>> resolvers       | initialization | fatal error: kpse library is accessed 
>>> (key: default_texmfcnf)
>> this normally means that there is no file database ... context mkiv nor 
>> lmtx doesn't use kpse
>> 
>> 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
>> -----------------------------------------------------------------
>> 
>> 
>> ------------------------------
>> 
>> Message: 4
>> Date: Fri, 5 Apr 2019 08:49:00 +0200
>> From: Otared Kavian <otared at gmail.com>
>> To: mailing list for ConTeXt users <ntg-context at ntg.nl>
>> Subject: Re: [NTG-context] follow up
>> Message-ID: <84D8FE1D-E7F7-418F-B10F-A141DD6D8CEC at gmail.com>
>> Content-Type: text/plain;	charset=utf-8
>> 
>> Hi Dalyoung,
>> 
>> If this can be of any help, here is what I did in order to install LuaMetaTeX on MacOS in order to use it with TeXShop:
>> 
>> 1) I downloaded from 
>> 	http://www.pragma-ade.nl/install.htm
>> the version of the installer for MacOS and installed a folder named context-osx-64 at an appropriate place (actually at /context-osx-64)
>> 
>> 2) Then I did
>> 	sh install.sh
>> in that folder, and once the download was finished I replaced the directory texmf-local with a symbolic link to my texmf-local directory (which sits somewhere else)
>> 
>> 3) In the directory
>> 	~/Library/TeXShop/Engines
>> I created a new file named LuaMetaTeX.engine containing the following three lines:
>> 
>> #!/bin/bash
>> 
>> export PATH=/context-osx-64/tex/texmf-osx-64/bin:/context-osx-64/bin:/context-osx-64/tex/texmf-osx-64/bin
>> 
>> /context-osx-64/tex/texmf-osx-64/bin/mtxrun --autogenerate --script context --autopdf "$1" --purgeall 
>> 
>> 4) Then when opening TeXShop, I can choose from the scroll menu which shows up on the top left of each a tex file, the engine LuaMetaTeX (or I can set it as default in the Preferences) in order to typeset with LuaMetaTeX engine.
>> 
>> 5) When I need to update the installation I just run again
>> 	sh install.sh
>> from within the directory /context-osx-64
>> (The symlink to my texmf-local is not destroyed).
>> 
>> 6) If I need to typeset a file from a command line in Terminal, then I need to say
>> 
>> 	export PATH=/context-osx-64/tex/texmf-osx-64/bin:/context-osx-64/bin:/context-osx-64/tex/texmf-osx-64/bin
>> 
>> before typesetting myfile.tex by saying
>> 
>> 	/context-osx-64/tex/texmf-osx-64/bin/mtxrun --autogenerate --script context --autopdf myfile.tex
>> 
>> (Note that the above command should be issued when one is already in the directory containing myfile.tex, beacuse otherwise the corresponding pdf file will be created in the wrong place…).
>> 
>> Best regards: OK
>> 
>>> On 5 Apr 2019, at 00:17, Jeong Dal <haksan at me.com> wrote:
>>> 
>>> Dear Hans,
>>> 
>>> I have installed both ConTeXt LMTX and ConTeXt MKIV side by side.
>>> But I have a problem to run it.
>>> 
>>> If it is OK to run a file in LMTX environment, then I got a following error when I run it in MKIV environment.
>>> 	“I can’t fine a file …../defFonts.tex” even though it is there.
>>> To resolve it, I run “mtxrun —generate” in MKIV.
>>> But it invoke the same type error in LMTX.
>>> Here are the command in Atom editor which I use to run it.
>>> 
>>> LMTX:
>>> 	source /Users/graph/ConTeXtLMTX/tex/setuptex; 
>>> 	context {filePath} 
>>> MKIV:
>>> 	source /Users/graph/ConTeXt/tex/setuptex; 
>>> 	context {filePath} 
>>> 
>>> I may avoid it by adding “mtxrun —generate” before compiling it.
>>> But it isn’t a good solution.
>>> I think that there is a better way to do this.
>>> Would you please tell me how to fix it or what is a better way?
>>> 
>>> Thank you for reading.
>>> 
>>> Best regards,
>>> 
>>> Dalyoung
>>> 
>>> 
>>>> 
>>>> Hi,
>>>> 
>>>> We have worked furiously all day kicking-out extra code, and are pleased 
>>>> to present a lean-and-mean version of luatex with your favorite ConTeXt. 
>>>> Same good taste but only half the calories and a new name: luametatex 
>>>> and ConTeXt LMTX. No more Mk-whatever, no more dependencies for we can 
>>>> now stand on our own. Of course, good-old luatex and MkIV (as well as 
>>>> MkII) will continue to coexist and be maintained. However, now you will 
>>>> be able to run ConTeXt lmtx on your smart thermostat or on your 
>>>> refrigerator for the Internet of Things - the dawn of a new era!
>>>> 
>>>> Stay tuned,
>>>> 
>>>> Alan and Hans
>>> 
>>> ___________________________________________________________________________________
>>> If your question is of interest to others as well, please add an entry to the Wiki!
>>> 
>>> maillist : ntg-context at 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
>>> ___________________________________________________________________________________
>> 
>> 
>> 
>> ------------------------------
>> 
>> Subject: Digest Footer
>> 
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to the Wiki!
>> 
>> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
>> archive  : https://foundry.supelec.fr/projects/contextrev/
>> wiki     : http://contextgarden.net
>> ___________________________________________________________________________________
>> 
>> 
>> ------------------------------
>> 
>> End of ntg-context Digest, Vol 178, Issue 19
>> ********************************************
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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 part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190408/b2261fb7/attachment-0001.html>


More information about the ntg-context mailing list