ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* BASH script for installing minimals
@ 2011-03-14 19:56 Cecil Westerhof
  2011-03-14 20:04 ` Mojca Miklavec
  2011-03-14 20:41 ` Cecil Westerhof
  0 siblings, 2 replies; 3+ messages in thread
From: Cecil Westerhof @ 2011-03-14 19:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 652 bytes --]

Installing minimals is sometimes a problem. Because of this I wrote a BASH
script to automate it. Attached is the script I wrote to easily install the
minimals.

It installs in ${HOME}/ConTeXt but because I work with DRY it is easily
changed.

It generate almost no output:
    20:47:01: fetch script
    20:47:02: first setup
    20:53:23: generate MKII
    20:54:07: generate XeTeX
    20:54:49: generate MKIV
    20:55:18: Installing/updating ConTeXt took 497 seconds
    20:55:18: before using ConTeXt you have to run: '.
/home/cecil/ConTeXt/tex/setuptex'

But the output can be found in ${HOME}/ConTeXt/install.log if needed.

-- 
Cecil Westerhof

[-- Attachment #1.2: Type: text/html, Size: 729 bytes --]

[-- Attachment #2: updateConTeXt.sh --]
[-- Type: application/x-sh, Size: 1175 bytes --]

[-- Attachment #3: Type: text/plain, Size: 486 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: BASH script for installing minimals
  2011-03-14 19:56 BASH script for installing minimals Cecil Westerhof
@ 2011-03-14 20:04 ` Mojca Miklavec
  2011-03-14 20:41 ` Cecil Westerhof
  1 sibling, 0 replies; 3+ messages in thread
From: Mojca Miklavec @ 2011-03-14 20:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Mar 14, 2011 at 20:56, Cecil Westerhof wrote:
> Installing minimals is sometimes a problem. Because of this I wrote a BASH
> script to automate it. Attached is the script I wrote to easily install the
> minimals.

Hmmm ... maybe we should add a --silent switch to installer.

Thank for the idea.

Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: BASH script for installing minimals
  2011-03-14 19:56 BASH script for installing minimals Cecil Westerhof
  2011-03-14 20:04 ` Mojca Miklavec
@ 2011-03-14 20:41 ` Cecil Westerhof
  1 sibling, 0 replies; 3+ messages in thread
From: Cecil Westerhof @ 2011-03-14 20:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 873 bytes --]

2011/3/14 Cecil Westerhof <cldwesterhof@gmail.com>

> Installing minimals is sometimes a problem. Because of this I wrote a BASH
> script to automate it. Attached is the script I wrote to easily install the
> minimals.
>
> It installs in ${HOME}/ConTeXt but because I work with DRY it is easily
> changed.
>
> It generate almost no output:
>     20:47:01: fetch script
>     20:47:02: first setup
>     20:53:23: generate MKII
>     20:54:07: generate XeTeX
>     20:54:49: generate MKIV
>     20:55:18: Installing/updating ConTeXt took 497 seconds
>     20:55:18: before using ConTeXt you have to run: '.
> /home/cecil/ConTeXt/tex/setuptex'
>
> But the output can be found in ${HOME}/ConTeXt/install.log if needed.
>

The last line of the script should read:
    giveMessage "before using ConTeXt you have to run: '${ACTIVATE_CONTEXT}
~/ConTeXt/tex'"

-- 
Cecil Westerhof

[-- Attachment #1.2: Type: text/html, Size: 1211 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-14 20:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-14 19:56 BASH script for installing minimals Cecil Westerhof
2011-03-14 20:04 ` Mojca Miklavec
2011-03-14 20:41 ` Cecil Westerhof

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).