ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Rolf <indiego@gmx.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Ctx goes into infinite loop?
Date: Fri, 23 May 2014 18:01:25 +0200	[thread overview]
Message-ID: <537F70D5.8060607@gmx.net> (raw)
In-Reply-To: <537F58B9.3070005@gmx.net>

Am 23.05.2014 16:18, schrieb Peter Rolf:
> Am 23.05.2014 13:50, schrieb Hans Hagen:
>> On 5/23/2014 1:30 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
>>> Hello,
>>>
>>>>> \input \HOME/Common/_Defs_.ctx
>>>>
>>>> at least put { } around the input name
>>>
>>> -- 
>>> \startluacode
>>>    local home = (os.getenv("HOME.ORG") or os.getenv("HOME") or
>>> "?"):gsub("\\", "/")
>>>
>>>    context.setvalue("HOME", home)
>>> \stopluacode
>>>
>>> \input{\HOME/Common/_Defs_.ctx}
>>>
>>> \starttext
>>>    Test
>>> \stoptext
>>>
>>> -- 
>>>
>>> similar failure:
>>
>> no loop, just a missing file ... i have no clue
>>
>>
> 
> The environment variables "HOME" and "HOME.ORG" are not predefined in a
> windows shell. Just enter "env" and see what is available.
> 
> You can easily add "HOME" with this tool. A restart is required on older
> Windows OS (XP)!
> 
> http://redmondlab.reachby.com/g2gz5/redmond-path-v-1-0
> 
>
Sorry, wrong tool. This one is only for "PATH", not for arbitrary variables.



> Peter
> ___________________________________________________________________________________
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2014-05-23 16:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-23 10:40 Procházka Lukáš Ing. - Pontex s. r. o.
2014-05-23 11:15 ` Hans Hagen
2014-05-23 11:30   ` Procházka Lukáš Ing. - Pontex s. r. o.
2014-05-23 11:50     ` Hans Hagen
2014-05-23 14:18       ` Peter Rolf
2014-05-23 16:01         ` Peter Rolf [this message]
2014-05-25 11:33         ` Lukáš Procházka
2014-05-25 16:33           ` Hans Hagen
2014-05-28  9:26             ` Ctx & Lua 5.3 (was: Ctx goes into infinite loop?) Procházka Lukáš Ing. - Pontex s. r. o.
2014-05-28 11:47               ` Ctx & Lua 5.3 Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=537F70D5.8060607@gmx.net \
    --to=indiego@gmx.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).