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)
On Tue, Apr 24, 2012 at 8:41 PM, Henning Hraban Ramm
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
Am 2012-04-24 um 21:00 schrieb luigi scarso:
On Tue, Apr 24, 2012 at 8:41 PM, Henning Hraban Ramm
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?
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)
On Tue, Apr 24, 2012 at 11:00 PM, Henning Hraban Ramm
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
On 2012-04-24 luigi scarso
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_insta... 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
Am 2012-04-24 um 23:57 schrieb luigi scarso:
On Tue, Apr 24, 2012 at 11:00 PM, Henning Hraban Ramm
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
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)
On Wed, Apr 25, 2012 at 9:55 PM, Henning Hraban Ramm
Am 2012-04-24 um 23:57 schrieb luigi scarso:
On Tue, Apr 24, 2012 at 11:00 PM, Henning Hraban Ramm
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
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
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)
On Wed, Apr 25, 2012 at 10:37 PM, Henning Hraban Ramm
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
participants (4)
-
Henning Hraban Ramm
-
Henning Hraban Ramm
-
luigi scarso
-
Marco