ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* install older beta
@ 2012-04-24 18:41 Henning Hraban Ramm
  2012-04-24 19:00 ` luigi scarso
  0 siblings, 1 reply; 9+ messages in thread
From: Henning Hraban Ramm @ 2012-04-24 18:41 UTC (permalink / raw)
  To: mailing ConTeXt users list for

While the current issues (footnotes, imposition) are open, I'd like to  
roll back to a working beta.
Unfortately the latest listed at http://minimals.contextgarden.net/current/context/ 
  is from 2011; is this really the list of available versions?

Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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] 9+ messages in thread

* Re: install older beta
  2012-04-24 18:41 install older beta Henning Hraban Ramm
@ 2012-04-24 19:00 ` luigi scarso
  2012-04-24 21:00   ` Henning Hraban Ramm
  0 siblings, 1 reply; 9+ messages in thread
From: luigi scarso @ 2012-04-24 19:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Apr 24, 2012 at 8:41 PM, Henning Hraban Ramm <hraban@fiee.net> wrote:
> While the current issues (footnotes, imposition) are open, I'd like to roll
> back to a working beta.
> Unfortately the latest listed at
> http://minimals.contextgarden.net/current/context/ is from 2011; is this
> really the list of available versions?

http://gitorious.org/context


-- 
luigi
___________________________________________________________________________________
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] 9+ messages in thread

* Re: install older beta
  2012-04-24 19:00 ` luigi scarso
@ 2012-04-24 21:00   ` Henning Hraban Ramm
  2012-04-24 21:57     ` luigi scarso
  0 siblings, 1 reply; 9+ messages in thread
From: Henning Hraban Ramm @ 2012-04-24 21:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 2012-04-24 um 21:00 schrieb luigi scarso:

> On Tue, Apr 24, 2012 at 8:41 PM, Henning Hraban Ramm  
> <hraban@fiee.net> wrote:
>> While the current issues (footnotes, imposition) are open, I'd like  
>> to roll
>> back to a working beta.
>> Unfortately the latest listed at
>> http://minimals.contextgarden.net/current/context/ is from 2011; is  
>> this
>> really the list of available versions?
>
> http://gitorious.org/context

Thank you, but I don't seem to get that working...

- cloned the repo to ~/workspace/texmf-context and checked out some  
older commit
- set TEXROOT to ~/workspace/texmf-context
- created a symlink TEXROOT/texmf to TEXROOT, since setuptex looks for  
that
- created empty tex/plain/base/plain.tex, since setuptex looks for  
that (why plain??)
- symlinked "suite" binaries (~/Library/texmf/tex/texmf-osx-intel to  
TEXROOT/texmf-osx-intel)

$ . ~/Library/texmf/tex/setuptex $TEXROOT
Setting "/Users/hraban/workspace/texmf-context" as ConTeXt root.
$ which context
/Users/hraban/workspace/texmf-context/texmf-osx-intel/bin/context
$ echo $TEXROOT
/Users/hraban/workspace/texmf-context

But ConTeXt still uses the suite tree:

$ context --version
mtx-context     | ConTeXt Process Management 0.52
mtx-context     |
mtx-context     | main context file: /Users/hraban/Library/texmf/tex/ 
texmf-context/tex/context/base/context.mkiv
mtx-context     | current version: 2012.04.23 15:58

$ context --arrange arrange
mtx-context     | run 1: luatex --fmt="/Users/hraban/Library/texmf/tex/ 
texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/ 
formats/cont-en" --lua="/Users/hraban/Library/texmf/tex/texmf-cache/ 
luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont- 
en.lui" --backend="pdf" "./arrange" \stoptext
This is LuaTeX, Version beta-0.70.1-2011051908 (rev 4277)
  \write18 enabled.
(arrange.tex
ConTeXt  ver: 2012.04.23 15:58 MKIV  fmt: 2012.4.23  int: english/ 
english


Any hints?



Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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] 9+ messages in thread

* Re: install older beta
  2012-04-24 21:00   ` Henning Hraban Ramm
@ 2012-04-24 21:57     ` luigi scarso
  2012-04-25  8:53       ` Marco
  2012-04-25 19:55       ` Henning Hraban Ramm
  0 siblings, 2 replies; 9+ messages in thread
From: luigi scarso @ 2012-04-24 21:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Apr 24, 2012 at 11:00 PM, Henning Hraban Ramm <hraban@fiee.net> wrote:

> Any hints?

1) start with a new standalone on folder
~/workspace/context/standalone
Don't run
#> . setuptex
ie
#> source setuptex

2) put the repo under
~/workspace/context/git

3) search the commit  you need with git log
#> git log
e.g
commit 47864ebdfe2d9916e365c2f278585a94879c813d
Author: Marius <mariausol@gmail.com>
Date:   Mon Jan 2 18:40:26 2012 +0200

    beta 2012.01.02 17:18

4) build a zip
#> git archive --format=zip -v -o 'beta_2012_01_02_17_18.zip'
47864ebdfe2d9916e365c2f278585a94879c813d

5) replace all the files under
~/workspace/context/standalone/tex/texmf-context
with the content of beta_2012_01_02_17_18.zip

6) now run setuptex:
#> cd ~/workspace/context/standalone/tex
#> . setuptex
or
#> source setuptex

7>) rebuild the format and the font cache
#>context --generate
#># mtxrun --script fonts --reload

Update the repo with git pull, maybe with a  daily cron.

-- 
luigi
___________________________________________________________________________________
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] 9+ messages in thread

* Re: install older beta
  2012-04-24 21:57     ` luigi scarso
@ 2012-04-25  8:53       ` Marco
  2012-04-25 19:55       ` Henning Hraban Ramm
  1 sibling, 0 replies; 9+ messages in thread
From: Marco @ 2012-04-25  8:53 UTC (permalink / raw)
  To: ntg-context

On 2012-04-24 luigi scarso <luigi.scarso@gmail.com> wrote:

> 4) build a zip
> #> git archive --format=zip -v -o 'beta_2012_01_02_17_18.zip'
> 47864ebdfe2d9916e365c2f278585a94879c813d
> 
> 5) replace all the files under
> ~/workspace/context/standalone/tex/texmf-context
> with the content of beta_2012_01_02_17_18.zip

Why? Just do:

git archive <hash> | (cd ~/workspace/context/standalone/tex/texmf-context/;tar xf -)

Very nice instructions, would be nice to put them under

http://wiki.contextgarden.net/ConTeXt_Standalone#Reverting_to_an_older_installation

One issue:

I think it's also necessary to also revert texmf-modules to the old
state. Is there a repository for the third party modules?

Marco


___________________________________________________________________________________
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] 9+ messages in thread

* Re: install older beta
  2012-04-24 21:57     ` luigi scarso
  2012-04-25  8:53       ` Marco
@ 2012-04-25 19:55       ` Henning Hraban Ramm
  2012-04-25 20:15         ` luigi scarso
  1 sibling, 1 reply; 9+ messages in thread
From: Henning Hraban Ramm @ 2012-04-25 19:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 2012-04-24 um 23:57 schrieb luigi scarso:

> On Tue, Apr 24, 2012 at 11:00 PM, Henning Hraban Ramm  
> <hraban@fiee.net> wrote:
>
>> Any hints?
>
> 1) start with a new standalone on folder
> ~/workspace/context/standalone
> Don't run
> #> . setuptex
> ie
> #> source setuptex
>
> 2) put the repo under
> ~/workspace/context/git
>
> 3) search the commit  you need with git log
> #> git log
> e.g
> commit 47864ebdfe2d9916e365c2f278585a94879c813d
> Author: Marius <mariausol@gmail.com>
> Date:   Mon Jan 2 18:40:26 2012 +0200
>
>    beta 2012.01.02 17:18
>
> 4) build a zip
> #> git archive --format=zip -v -o 'beta_2012_01_02_17_18.zip'
> 47864ebdfe2d9916e365c2f278585a94879c813d

--format zip (without =)

>
> 5) replace all the files under
> ~/workspace/context/standalone/tex/texmf-context
> with the content of beta_2012_01_02_17_18.zip
>
> 6) now run setuptex:
> #> cd ~/workspace/context/standalone/tex
> #> . setuptex
> or
> #> source setuptex
>
> 7>) rebuild the format and the font cache
> #>context --generate
> #># mtxrun --script fonts --reload
>
> Update the repo with git pull, maybe with a  daily cron.

Thank you very much!

Of course a made a little script for that; parsing of the log to get  
the beta of a specified date is still missing; browsing GitX is easier.

Up to now I didn’t find a working version, though. :-(


Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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] 9+ messages in thread

* Re: install older beta
  2012-04-25 19:55       ` Henning Hraban Ramm
@ 2012-04-25 20:15         ` luigi scarso
  2012-04-25 20:37           ` Henning Hraban Ramm
  0 siblings, 1 reply; 9+ messages in thread
From: luigi scarso @ 2012-04-25 20:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Apr 25, 2012 at 9:55 PM, Henning Hraban Ramm
<fiee.visuelle@gmail.com> wrote:
>
> Am 2012-04-24 um 23:57 schrieb luigi scarso:
>
>
>> On Tue, Apr 24, 2012 at 11:00 PM, Henning Hraban Ramm <hraban@fiee.net>
>> wrote:
>>
>>> Any hints?
>>
>>
>> 1) start with a new standalone on folder
>> ~/workspace/context/standalone
>> Don't run
>> #> . setuptex
>> ie
>> #> source setuptex
>>
>> 2) put the repo under
>> ~/workspace/context/git
>>
>> 3) search the commit  you need with git log
>> #> git log
>> e.g
>> commit 47864ebdfe2d9916e365c2f278585a94879c813d
>> Author: Marius <mariausol@gmail.com>
>> Date:   Mon Jan 2 18:40:26 2012 +0200
>>
>>   beta 2012.01.02 17:18
>>
>> 4) build a zip
>> #> git archive --format=zip -v -o 'beta_2012_01_02_17_18.zip'
>> 47864ebdfe2d9916e365c2f278585a94879c813d
>
>
> --format zip (without =)

All  commands  was tested and they work on my Linux box; my man git archive says

OPTIONS
       --format=<fmt>
           Format of the resulting archive: tar or zip. If this option
is not given, and the output file is specified, the format is inferred
from the filename if possible (e.g. writing to "foo.zip" makes the
output to be in the
           zip format). Otherwise the output format is tar.

       -l, --list
           Show all available formats.

       -v, --verbose
           Report progress to stderr.

       --prefix=<prefix>/
           Prepend <prefix>/ to each filename in the archive.

       -o <file>, --output=<file>
           Write the archive to <file> instead of stdout.


> Up to now I didn’t find a working version, though. :-(
binary try from 2010-05-24 13:10 to the last one broken

-- 
luigi
___________________________________________________________________________________
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] 9+ messages in thread

* Re: install older beta
  2012-04-25 20:15         ` luigi scarso
@ 2012-04-25 20:37           ` Henning Hraban Ramm
  2012-04-25 20:46             ` luigi scarso
  0 siblings, 1 reply; 9+ messages in thread
From: Henning Hraban Ramm @ 2012-04-25 20:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2012-04-25 um 22:15 schrieb luigi scarso:

>>> #> git archive --format=zip -v -o 'beta_2012_01_02_17_18.zip'
>>> 47864ebdfe2d9916e365c2f278585a94879c813d
>> --format zip (without =)
>
> All  commands  was tested and they work on my Linux box; my man git  
> archive says
>
> OPTIONS
>       --format=<fmt>

True, but
$ git archive
usage: git archive [options] <tree-ish> [<path>...]
    or: git archive --list
    or: git archive --remote <repo> [--exec <cmd>] [options] <tree- 
ish> [<path>...]
    or: git archive --remote <repo> [--exec <cmd>] --list

     --format <fmt>        archive format
     --prefix <prefix>     prepend prefix to each pathname in the  
archive
     -o, --output <file>   write the archive to this file
     --worktree-attributes
                           read .gitattributes in working directory
     -v, --verbose         report archived files on stderr
     -0                    store only
     -1                    compress faster
     -9                    compress better

     -l, --list            list supported archive formats

     --remote <repo>       retrieve the archive from remote repository  
<repo>
     --exec <cmd>          path to the remote git-upload-archive command


>> Up to now I didn’t find a working version, though. :-(
> binary try from 2010-05-24 13:10 to the last one broken

I accidentally used the -u option of unzip, so never really got older  
files. :-(

The version from 2011-11-29 now works for me - I knew it did in begin  
of november, so I started trying there.

I still have to try newer versions; 2011-12-23 is already broken WRT  
imposition.

Of course I had to revert my setup changes (-> \setupnotation was  
\setupfootnotes, alternative was location in some places).



Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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] 9+ messages in thread

* Re: install older beta
  2012-04-25 20:37           ` Henning Hraban Ramm
@ 2012-04-25 20:46             ` luigi scarso
  0 siblings, 0 replies; 9+ messages in thread
From: luigi scarso @ 2012-04-25 20:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Apr 25, 2012 at 10:37 PM, Henning Hraban Ramm <hraban@fiee.net> wrote:
> Am 2012-04-25 um 22:15 schrieb luigi scarso:
>
>
>>>> #> git archive --format=zip -v -o 'beta_2012_01_02_17_18.zip'
>>>> 47864ebdfe2d9916e365c2f278585a94879c813d
>>>
>>> --format zip (without =)
>>
>>
>> All  commands  was tested and they work on my Linux box; my man git
>> archive says
>>
>> OPTIONS
>>      --format=<fmt>
>
>
> True, but
> $ git archive
> usage: git archive [options] <tree-ish> [<path>...]
>   or: git archive --list
>   or: git archive --remote <repo> [--exec <cmd>] [options] <tree-ish>
> [<path>...]
>   or: git archive --remote <repo> [--exec <cmd>] --list
>
>    --format <fmt>        archive format
>    --prefix <prefix>     prepend prefix to each pathname in the archive
>    -o, --output <file>   write the archive to this file
>    --worktree-attributes
>                          read .gitattributes in working directory
>    -v, --verbose         report archived files on stderr
>    -0                    store only
>    -1                    compress faster
>    -9                    compress better
>
>    -l, --list            list supported archive formats
>
>    --remote <repo>       retrieve the archive from remote repository <repo>
>    --exec <cmd>          path to the remote git-upload-archive command
>
>
yes, but traditionally is
--long_option=value
-option value
http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html
Given that both work, I prefer this style.

-- 
luigi
___________________________________________________________________________________
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] 9+ messages in thread

end of thread, other threads:[~2012-04-25 20:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-24 18:41 install older beta Henning Hraban Ramm
2012-04-24 19:00 ` luigi scarso
2012-04-24 21:00   ` Henning Hraban Ramm
2012-04-24 21:57     ` luigi scarso
2012-04-25  8:53       ` Marco
2012-04-25 19:55       ` Henning Hraban Ramm
2012-04-25 20:15         ` luigi scarso
2012-04-25 20:37           ` Henning Hraban Ramm
2012-04-25 20:46             ` luigi scarso

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