Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-06 Thread Florian Wobbe
On Oct 6, 2010, at 04:02 , R (Chandra) Chandrasekhar wrote:

 On Tuesday 05 October 2010 11:15 PM, Florian Wobbe wrote:
 
 I used to update TeXLive 2009 successfully with this method, however
 I ran into the same error when updating TeXLive 2010. As I did not
 succeed and could not figure out what caused the error I installed
 minimals without problems. I suggest you install minimals and point
 the environment variable OSFONTDIR to your TeXLive tree. This adds
 only about 200MiB to your disk which is rather neglectable compared
 to the 2.7GiB of a full TeXLive.
 
 I trust that minimals is what I was updating using with rsync and that it is 
 a cut-down version of the ConTeXt distribution that came with TeXLive 2010.

No, you clobbered your TeXLive distro with the current context beta.

 Can I put minimals in $TEXMFHOME which is ~/texmf on my system? That seems to 
 be the place where I can keep stuff newer than TeXLive 2010 without conflict. 
 Can minimals function standalone, though, or will I run into mismatches with 
 TeXLive 2010 again?

I wouldn't try and mix minimals with TeXLive. Let TeXLive and minimals live 
side by side and they don't hurt each other. Make sure you set your PATH 
environment and put context/tex/texmf-linux-64/bin before the TeXLive binary 
path. This way the executables from minimals get preference over those from 
TeXLive and you'd still be able to run latex without changing your environment.

 Also, should OSFONTDIR then point to /usr/local/texlive/2010/texmf/ or to 
 something else?

You would want to point it at /usr/local/texlive/2010/texmf-dist/fonts// so that

  mtxrun --script fonts --reload

finds the fonts that come with your TeXLive. Mine looks like this: 
OSFONTDIR=/usr/local/texlive/2010/texmf-dist/fonts//:/Library/Fonts//:/System/Library/Fonts//

Florian

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


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-06 Thread Hans Hagen

On 6-10-2010 4:02, R (Chandra) Chandrasekhar wrote:

On Tuesday 05 October 2010 11:15 PM, Florian Wobbe wrote:


I used to update TeXLive 2009 successfully with this method, however
I ran into the same error when updating TeXLive 2010. As I did not
succeed and could not figure out what caused the error I installed
minimals without problems. I suggest you install minimals and point
the environment variable OSFONTDIR to your TeXLive tree. This adds
only about 200MiB to your disk which is rather neglectable compared
to the 2.7GiB of a full TeXLive.


I trust that minimals is what I was updating using with rsync and that
it is a cut-down version of the ConTeXt distribution that came with
TeXLive 2010.


The word minimal refers to a minimal tex distribution and it started as 
a small subset of tex live: only context, some fonts and a few binaries. 
They were zips at our website till Mojca cum suis turned it into a 
nicely syncable whole. So, there is overlap between the minimals and tex 
live but normally the minimals have newer files (tex, fonts, binaries).


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-06 Thread Hans Hagen

On 6-10-2010 9:32, Florian Wobbe wrote:


No, you clobbered your TeXLive distro with the current context beta.


normally that would work out ok given that you delete the old base path 
and also update luatex binaries, but in 2010 it also demands installing 
texmfcnf.lua as we no longer use texmf.cnf


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-06 Thread Mojca Miklavec
On Wed, Oct 6, 2010 at 04:07, R (Chandra) Chandrasekhar wrote:

 If I wanted to fix my broken TeXLive, should I just re-install ConTeXt from
 the TeXLive 2010 DVD or should I do a full re-install of the full scheme?

You have two options:
a) finish what you started
b) reinstall

In case of reinstall, it should be enough if you reinstall context and
luatex, I guess that can be done with:
tlmgr install --reinstall context luatex

You will have some leftovers (extra files), but that should in general
not be a problem. (You can try to delete (= first move to some other
place) texmf-dist/tex/context before reinstalling if tmlgr won't
complain too much about missing files that cannot be removed.)

If something goes very bad, you can of course always reinstall
everything, but if the above works, there's no reason to worry.

If you want to finish what you have just started, you need to also
sync mtxrun and fetch texmfcnf.lua from minimals and fix it according
to TL structure. (That's slightly more non-trivial.) I almost forgot
about that file when I said that one should also update mtxrun.

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
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-06 Thread Mojca Miklavec
On Wed, Oct 6, 2010 at 04:02, R (Chandra) Chandrasekhar wrote:

 Can I put minimals in $TEXMFHOME which is ~/texmf on my system? That seems
 to be the place where I can keep stuff newer than TeXLive 2010 without
 conflict. Can minimals function standalone, though, or will I run into
 mismatches with TeXLive 2010 again?

That would be a bad idea. First of all - it's much better to install
minimals in parallel. If nothing else, if the latest beta breaks, you
will still have a working ConTeXt somewhere. But the main reason is
that even if you put the latest ConTeXt into TEXMFHOME, you will still
experience problems because:
- you need the latest luatex
- you need the latest mtxrun script
- you need to fix texmfcnf.lua (you could do this without breaking the
rest of TL though, but you need to do it manually)

 Also, should OSFONTDIR then point to /usr/local/texlive/2010/texmf/ or to
 something else?

This is usually the folder where your system stores fonts. LuaTeX can
already find all the fonts in TEXMF tree, you probably want to tell
LuaTeX where all the other fonts are. If you don't need any other
fonts but those that are shipped with TL, you may leave this variable
empty.

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
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-06 Thread R (Chandra) Chandrasekhar

On Wednesday 06 October 2010 03:33 PM, Mojca Miklavec wrote:

On Wed, Oct 6, 2010 at 04:07, R (Chandra) Chandrasekhar wrote:


If I wanted to fix my broken TeXLive, should I just re-install ConTeXt from
the TeXLive 2010 DVD or should I do a full re-install of the full scheme?


You have two options:
a) finish what you started
b) reinstall

In case of reinstall, it should be enough if you reinstall context and
luatex, I guess that can be done with:
 tlmgr install --reinstall context luatex



You will have some leftovers (extra files), but that should in general
not be a problem. (You can try to delete (= first move to some other
place) texmf-dist/tex/context before reinstalling if tmlgr won't
complain too much about missing files that cannot be removed.)


Before I saw your reply I did the following:

1. mv /usr/local/texlive/2010/texmf-dist/tex/context /tmp

2. Installed the ConteXt scheme from the TeXLive 2010 DVD along with the 
following further customizations, just in case they had been altered:


Extra Fonts
Recommended Fonts
TeX and Outline Fonts
Extra Formats
LuaTeX packages

3. tlmgr update --self --all

4. luatools --generate
   context --make

The context from TeXLive 2010 works fine but texexec fails with this 
message:


---
ConTeXt  ver: 2010.07.30 11:35 MKII  fmt: 2010.10.5  int: english/english

system  : cont-new loaded
(/localhost/texlive/2010/texmf-dist/tex/context/base/cont-new.tex

FatalError  : Your format does not match the base files!
--


If something goes very bad, you can of course always reinstall
everything, but if the above works, there's no reason to worry.


It looks like that :-(


If you want to finish what you have just started, you need to also
sync mtxrun and fetch texmfcnf.lua from minimals and fix it according
to TL structure. (That's slightly more non-trivial.) I almost forgot
about that file when I said that one should also update mtxrun.


Wanting to have both context minimals and TeXLive 2010--modified only by 
tlmgr--coexisting, I tried to install the minimals in a directory called


~/local-context

using the following commands:

rsync -av rsync://contextgarden.net/minimals/current/context/current/ \
 ~/local-context/

rsync -av --include 'mtxrun' --include 'luatools' \
  rsync://contextgarden.net/minimals/current/bin/context/linux-64/bin/ \
~/local-context/bin/

I then set the following environment variables:

PATH=~/local-context/bin:$PATH; export PATH
OSFONTDIR=/usr/local/share/fonts:/usr/local/texlive/2010/texmf/fonts:$HOME/.fonts; 
export OSFONTDIR


Finally, I ran

luatools --generate
context --make
context --make cont-en
mtxrun --script fonts --reload

But I got errors about some files not being resolved and context was 
broken. So, I unset the environment variables, and just to be doubly 
sure, repeated steps 1 to 4 above, to get a working context (but not 
texexec) from TeXLive 2010.


If there is a complete error-free algorithm/script in future for making 
TeXLive 2010 and the context-minmals coexist independently I will 
appreciate knowing about it.


Meanwhile, it looks like I need to reinstall TeXLive 2010 afresh.

Thanks to everyone for all the explanations and help.

Chandra
___
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
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-06 Thread Mojca Miklavec
On Wed, Oct 6, 2010 at 19:19, R (Chandra) Chandrasekhar
chyav...@gmail.com wrote:

 ConTeXt  ver: 2010.07.30 11:35 MKII  fmt: 2010.10.5  int: english/english

 system          : cont-new loaded
 (/localhost/texlive/2010/texmf-dist/tex/context/base/cont-new.tex

 FatalError      : Your format does not match the base files!

Usually running
(for the whole system)
sudo fmtutil-sys --all
or
fmtutil-sys --all
or
texexec --make en
should help. If not, try to figure out where an additional copy of
cont-en.fmt resides, delete it and run any of commands above.

You don't need to reinstall anything.

 Wanting to have both context minimals and TeXLive 2010--modified only by
 tlmgr--coexisting, I tried to install the minimals in a directory called

 ~/local-context

 using the following commands:

 rsync -av rsync://contextgarden.net/minimals/current/context/current/ \
  ~/local-context/

 rsync -av --include 'mtxrun' --include 'luatools' \
  rsync://contextgarden.net/minimals/current/bin/context/linux-64/bin/ \
        ~/local-context/bin/

No, no, no. You could go to http://minimals.contextgarden.net/setup/
and follow those instructions.

You can do:
  cd ~/local-context
  rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh .
  ./first-setup.sh
and then use
. ~/local-context/tex/setuptex
when you want to switch. The method you use won't simply work for
various reasons.

 If there is a complete error-free algorithm/script in future for making
 TeXLive 2010 and the context-minmals coexist independently I will appreciate
 knowing about it.

The are able to coexist independently as long as you don't clone the
instructions from wiki (now already removed fro wiki).

 Meanwhile, it looks like I need to reinstall TeXLive 2010 afresh.

No, you just need to remake the formats.

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
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-06 Thread Hans Hagen

On 6-10-2010 8:09, Mojca Miklavec wrote:


Meanwhile, it looks like I need to reinstall TeXLive 2010 afresh.


No, you just need to remake the formats.


context mkiv will make formats automatically (only mtxrun --generate is 
needed if files were added/removed)


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-06 Thread R (Chandra) Chandrasekhar

On Wednesday 06 October 2010 11:39 PM, Mojca Miklavec wrote:

On Wed, Oct 6, 2010 at 19:19, R (Chandra) Chandrasekhar
chyav...@gmail.com  wrote:


ConTeXt  ver: 2010.07.30 11:35 MKII  fmt: 2010.10.5  int: english/english

system  : cont-new loaded
(/localhost/texlive/2010/texmf-dist/tex/context/base/cont-new.tex

FatalError  : Your format does not match the base files!


Usually running
 (for the whole system)
 sudo fmtutil-sys --all
or
 fmtutil-sys --all
or
 texexec --make en
should help. If not, try to figure out where an additional copy of
cont-en.fmt resides, delete it and run any of commands above.

You don't need to reinstall anything.


Thank you very much. I did the following:

1. Deleted

/localhost/texlive/2010/texmf-var/web2c/xetex/cont-en.fmt
./localhost/texlive/2010/texmf-var/web2c/pdftex/cont-en.fmt

2. Ran

fmtutil-sys --all

3. Ran

texexec --make en

All three steps were needed to get both texexec and context working 
under TeXLive 2010, and now they do. I have verified by looking at 
generator field of the PDF file properties.



Wanting to have both context minimals and TeXLive 2010--modified only by
tlmgr--coexisting, I tried to install the minimals in a directory called

~/local-context

using the following commands:

rsync -av rsync://contextgarden.net/minimals/current/context/current/ \
  ~/local-context/

rsync -av --include 'mtxrun' --include 'luatools' \
  rsync://contextgarden.net/minimals/current/bin/context/linux-64/bin/ \
~/local-context/bin/


No, no, no. You could go to http://minimals.contextgarden.net/setup/
and follow those instructions.


Thanks for the link.


You can do:
   cd ~/local-context
   rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh .
   ./first-setup.sh
and then use
 . ~/local-context/tex/setuptex
when you want to switch. The method you use won't simply work for
various reasons.


If there is a complete error-free algorithm/script in future for making
TeXLive 2010 and the context-minmals coexist independently I will appreciate
knowing about it.


The are able to coexist independently as long as you don't clone the
instructions from wiki (now already removed fro wiki).


Meanwhile, it looks like I need to reinstall TeXLive 2010 afresh.


No, you just need to remake the formats.

Mojca


Thank you.

Chandra
___
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
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-05 Thread David Rogers

* R (Chandra) Chandrasekhar chyav...@gmail.com [2010-10-05 22:33]:


Dear Folks,
When I compiled a trivial file called first.tex using

texexec first

I got in the output, inter alia,
---
ConTeXt  ver: 2010.07.30 11:35 MKII  fmt: 2010.10.5  int:
english/english
---

Why am I not seeing Mk-IV yet?


texexec gives MkII; context gives MkIV. I think this may need to be
documented somewhere easier to find for those new to ConTeXt.

--
David
___
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
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-05 Thread Florian Wobbe
On Oct 5, 2010, at 19:03 , R (Chandra) Chandrasekhar wrote:

 Dear Folks,
 
 I am a LaTeX user trying out ConTeXt for the first time. I am running TeXLive 
 2010 (full scheme) on a x86_64-linux platform. I have visited
 
 http://wiki.contextgarden.net/Running_Mark_IV
 
 and put the instructions there into an executable file:
 
 ---
 #! /bin/bash
 #
 # Manual update for ConTeXt in TeXLive 2010 as suggested at
 #
 # http://wiki.contextgarden.net/Running_Mark_IV
 #
 
 # Update ConTeXt
 
 rsync -av rsync://contextgarden.net/minimals/current/context/current/ 
 /usr/local/texlive/2010/texmf-dist/
 
 # Update LuaTeX
 
 rsync -av 
 rsync://contextgarden.net/minimals/current/bin/luatex/linux-64/bin/luatex 
 /usr/local/texlive/2010/bin/x86_64-linux/
 
 # Run equivalent mktexlsr
 
 luatools --generate
 context --make
 context --make cont-en
 ---
 
 The last output lines after running this file are:
 
 ---
 LuaTools | runtime: 1.610 seconds
 .../2010/texmf-dist/scripts/context/lua/mtx-context.lua:985: attempt to call 
 upvalue 'make_mkiv_format' (a nil value)
 .../2010/texmf-dist/scripts/context/lua/mtx-context.lua:985: attempt to call 
 upvalue 'make_mkiv_format' (a nil value)
 ---

I used to update TeXLive 2009 successfully with this method, however I ran into 
the same error when updating TeXLive 2010. As I did not succeed and could not 
figure out what caused the error I installed minimals without problems. I 
suggest you install minimals and point the environment variable OSFONTDIR to 
your TeXLive tree. This adds only about 200MiB to your disk which is rather 
neglectable compared to the 2.7GiB of a full TeXLive.

 When I compiled a trivial file called first.tex using
 
 texexec first
 
 I got in the output, inter alia,
 ---
 ConTeXt  ver: 2010.07.30 11:35 MKII  fmt: 2010.10.5  int:
 english/english
 ---
 
 Why am I not seeing Mk-IV yet?

see http://archive.contextgarden.net/message/20101003.061025.ee87f16c.en.html

Cheers
Florian


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


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-05 Thread Tom Maynard

 On 10/5/2010 12:32 PM, David Rogers wrote:


texexec gives MkII; context gives MkIV. I think this may need to be
documented somewhere easier to find for those new to ConTeXt.

I fell into this trap because either the Beginner's manual or some other 
specifically says to run TeXexec instead of ConTeXt -- since (it says) 
TeXexec will run automatically as many times as needed.  The implication 
is that TeXexec is smarter than ConTeXt.


I am brand new to ConTeXt and wanted to learn the new stuff and not 
spend any time with MkII, and I was surprised to see the difference 
between the two tools.


[Update: the First Document tutorial suggests using TeXexec ... and 
that's probably where I first went wrong.]


Tom.

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


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-05 Thread R (Chandra) Chandrasekhar

On Tuesday 05 October 2010 11:02 PM, David Rogers wrote:


texexec gives MkII; context gives MkIV. I think this may need to be
documented somewhere easier to find for those new to ConTeXt.


Thank you for that.

When I do

context first

I get, again among other output, the following at the head and tail of 
output respectively:


---
MTXrun | warning: engine mismatch (luv:This is LuaTeX, Version 
beta-0.60.2-2010071218 (TeX Live 2010) (rev 3736)  bin:This is LuaTeX, 
Version beta-0.63.0-2010090921), forcing remake

---snip---
.../2010/texmf-dist/scripts/context/lua/mtx-context.lua:985: attempt to 
call upvalue 'make_mkiv_format' (a nil value)

---

Moreover,

context first | grep -i Mk

again gives the tail-end output:
---
.../2010/texmf-dist/scripts/context/lua/mtx-context.lua:985: attempt to 
call upvalue 'make_mkiv_format' (a nil value)

---

Can this be ignored or is it a cause for concern? If the latter, how can 
it be fixed?


Thank you.

Chandra
___
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
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-05 Thread Florian Wobbe
On Oct 5, 2010, at 19:54 , R (Chandra) Chandrasekhar wrote:

 On Tuesday 05 October 2010 11:02 PM, David Rogers wrote:
 
 When I do
 
 context first
 
 I get, again among other output, the following at the head and tail of output 
 respectively:
 
 ---
 MTXrun | warning: engine mismatch (luv:This is LuaTeX, Version 
 beta-0.60.2-2010071218 (TeX Live 2010) (rev 3736)  bin:This is LuaTeX, 
 Version beta-0.63.0-2010090921), forcing remake
 ---snip---
 .../2010/texmf-dist/scripts/context/lua/mtx-context.lua:985: attempt to call 
 upvalue 'make_mkiv_format' (a nil value)
 ---
 
 [...]
 Can this be ignored or is it a cause for concern? If the latter, how can it 
 be fixed?

This is the result of the broken TeXLive 2010 installation. It should have 
worked out of the box before your failed update attempt. Try again with a clean 
TeXLive 2010 or install minimals.

Florian

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


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-05 Thread Tom Maynard

 On 10/5/2010 1:07 PM, Florian Wobbe wrote:
This is the result of the broken TeXLive 2010 installation. It should 
have worked out of the box before your failed update attempt. Try 
again with a clean TeXLive 2010 or install minimals.


This is the second trap I fell into by following the instructions in the 
manuals: all that rsync stuff jazzed up my TeXLive 2010 installation and 
I had to reinstall.  This bad advice is found on the Running Mark IV 
page on the wiki.  Of course, I wanted to run MkIV and ended up spending 
another hour reinstalling TeXLive to get it back.


On my desktop machine I have both TeXLive (for Cygwin) and ConTeXt 
minimals (for Windows) installed, my notebook has only TeXLive.  I am no 
longer tempted to update any of these, even if I prefer to stay current.


As a newbie, I wanted to try out the Concrete Roman font ... but 
abandoned that quest when it looked like I was going to have to tinker 
with the internals again.  I am now staying firmly on the end user 
side of the ConTeXt fence.


Tom.


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


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-05 Thread Mojca Miklavec
On Tue, Oct 5, 2010 at 19:03, R (Chandra) Chandrasekhar wrote:
 Dear Folks,

 I am a LaTeX user trying out ConTeXt for the first time. I am running
 TeXLive 2010 (full scheme) on a x86_64-linux platform. I have visited

 http://wiki.contextgarden.net/Running_Mark_IV

 and put the instructions there into an executable file:

Thank you. I was searching for that piece of information on the wiki,
but wasn't able to find the right page. I have removed it now to avoid
any further confusion. The instructions were necessary back in 2009
since ConTeXt was seriously broken in TL, but now that ConTeXt at
least runs, even if outdated, it might be better to have a parallel
installation of minimals, or to update it via tlmgr.

In the meantime, since you probably need to fix the installation at
least, you may try to run
rsync -av --include 'mtxrun' --include 'luatools' \
rsync://contextgarden.net/minimals/current/bin/context/linux-64/bin/ \
/usr/local/texlive/2010/bin/x86-64-linux/
in order to at least get the two scripts back in a working condition.

In a very short time (probably at the first current release of
ConTeXt) one should be able to update it in TeX Live in a clean way.

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
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-05 Thread Aditya Mahajan

Does mtxrun --selfupdate help?

On Tue, 5 Oct 2010, Tom Maynard wrote:


On 10/5/2010 1:07 PM, Florian Wobbe wrote:
This is the result of the broken TeXLive 2010 installation. It should have 
worked out of the box before your failed update attempt. Try again with a 
clean TeXLive 2010 or install minimals.


This is the second trap I fell into by following the instructions in the 
manuals: all that rsync stuff jazzed up my TeXLive 2010 installation and I 
had to reinstall.  This bad advice is found on the Running Mark IV page on 
the wiki.  Of course, I wanted to run MkIV and ended up spending another hour 
reinstalling TeXLive to get it back.


The last time I tried, context runs sucessfully out of the box in TL. You 
only need to do the rsync stuff if you want the latest beta.


On my desktop machine I have both TeXLive (for Cygwin) and ConTeXt minimals 
(for Windows) installed, my notebook has only TeXLive.  I am no longer 
tempted to update any of these, even if I prefer to stay current.


You should not have any troubles updating the minimals. You can consider 
installing minimals on your notebook also (the install size is around 
200MB).


As a newbie, I wanted to try out the Concrete Roman font ... but abandoned 
that quest when it looked like I was going to have to tinker with the 
internals again.  I am now staying firmly on the end user side of the 
ConTeXt fence.


Using the font should be as easy as

\usemodule[simplefonts]
\setupmainfont[Concrete Roman]

Aditya
___
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
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-05 Thread Hans Hagen

On 5-10-2010 7:03, R (Chandra) Chandrasekhar wrote:


I have used LuaLaTeX with fontspec quite successfully and would like to
try ConTeXt with LuaTeX support in Mk-IV to compare ease of
customization and use.

I am happy to furnish more information if necessary.

Sorry if my query sounds elementary, but I am new to ConTeXt.


keep in mind that luatex dev is closely related to context mkiv and that 
often they need to be updated / installed in sync; the minimals deal 
with that; tex live is a yearly snapshot


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-05 Thread Tom Maynard

 On 10/5/2010 2:06 PM, Aditya Mahajan wrote:


Using the font should be as easy as

\usemodule[simplefonts]
\setupmainfont[Concrete Roman]


! Undefined control sequence.
recently read \setupmainfront

l.3 \setupmainfont
  [Concrete Roman]
?

I spent quite some time yesterday trying to find out (A) if the font is 
actually installed (I think it is), and (B) what its name might be (I 
thought it might be cmuconcrete -- it isn't).  But the same manuals 
that proved helpful before advised me as a beginner to stay away from 
fonts or I could get into trouble.  I was and am ... and now I'm 
sticking with all the defaults.


Tom.

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


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-05 Thread luigi scarso
On Tue, Oct 5, 2010 at 9:20 PM, Tom Maynard t...@maynard.com wrote:
 On 10/5/2010 2:06 PM, Aditya Mahajan wrote:

 Using the font should be as easy as

 \usemodule[simplefonts]
 \setupmainfont[Concrete Roman]

 ! Undefined control sequence.
 recently read \setupmainfront

 l.3 \setupmainfont
   [Concrete Roman]
 ?
I remember  \setmainfont
and not \setupmainfont
-- 
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
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-05 Thread Tom Maynard

 On 10/5/2010 2:30 PM, luigi scarso wrote:


I remember  \setmainfont
and not \setupmainfont

That seems to work.  Thank you very much.  I appreciate your help.

Tom.

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


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-05 Thread R (Chandra) Chandrasekhar

On Tuesday 05 October 2010 11:15 PM, Florian Wobbe wrote:


I used to update TeXLive 2009 successfully with this method, however
I ran into the same error when updating TeXLive 2010. As I did not
succeed and could not figure out what caused the error I installed
minimals without problems. I suggest you install minimals and point
the environment variable OSFONTDIR to your TeXLive tree. This adds
only about 200MiB to your disk which is rather neglectable compared
to the 2.7GiB of a full TeXLive.


I trust that minimals is what I was updating using with rsync and that 
it is a cut-down version of the ConTeXt distribution that came with 
TeXLive 2010.


Can I put minimals in $TEXMFHOME which is ~/texmf on my system? That 
seems to be the place where I can keep stuff newer than TeXLive 2010 
without conflict. Can minimals function standalone, though, or will I 
run into mismatches with TeXLive 2010 again?


Also, should OSFONTDIR then point to /usr/local/texlive/2010/texmf/ or 
to something else?



see
http://archive.contextgarden.net/message/20101003.061025.ee87f16c.en.html


Thank you. That email was very helpful.

Chandra
___
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
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-05 Thread R (Chandra) Chandrasekhar

On Wednesday 06 October 2010 12:36 AM, Aditya Mahajan wrote:

Does mtxrun --selfupdate help?


No, it did not for me.
I got the same error after running it.


The last time I tried, context runs sucessfully out of the box in TL.
You only need to do the rsync stuff if you want the latest beta.


If I wanted to fix my broken TeXLive, should I just re-install ConTeXt 
from the TeXLive 2010 DVD or should I do a full re-install of the full 
scheme?


Chandra
___
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
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-05 Thread R (Chandra) Chandrasekhar

On Wednesday 06 October 2010 12:33 AM, Mojca Miklavec wrote:


Thank you. I was searching for that piece of information on the wiki,
but wasn't able to find the right page. I have removed it now to avoid
any further confusion. The instructions were necessary back in 2009
since ConTeXt was seriously broken in TL, but now that ConTeXt at
least runs, even if outdated, it might be better to have a parallel
installation of minimals, or to update it via tlmgr.


Are you saying that re-installing ConTeXt from the TeXLive 2010 DVD and 
periodically running


tlmgr update --self --all

should take care of any context updates?

In any case, if I wished to use the minimals installation, can I set it 
up in my TEXMFHOME directory at ~/texmf by modifying the rsync target so:


rsync -av rsync://contextgarden.net/minimals/current/context/current/
 ~/texmf/

rsync -av 
rsync://contextgarden.net/minimals/current/bin/luatex/linux-64/bin/luatex ~/texmf


Or would I be better advised to stay with what TeXLive 2010 provides for 
now?



In the meantime, since you probably need to fix the installation at
least, you may try to run
 rsync -av --include 'mtxrun' --include 'luatools' \
 rsync://contextgarden.net/minimals/current/bin/context/linux-64/bin/ \
 /usr/local/texlive/2010/bin/x86-64-linux/
in order to at least get the two scripts back in a working condition.


I did that and got the same error as reported previously.


In a very short time (probably at the first current release of
ConTeXt) one should be able to update it in TeX Live in a clean way.


This seems the most convenient solution for me. When is this likely to 
happen and will a tlmgr update be all that I need then?


Thank you.

Chandra
___
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
___