[NTG-context] Problems with Mark IV (MacTeX 2009)

2010-06-25 Thread David Abdurachmanov

Hi,
After finding out that line numbering works different in Mark IV I tried using 
this version on Mac OS X via MacTeX 2009. I modified TeXworks to use texexec 
--lua $filename as for ConTeXt. I have updated MacTeX to latest version and 
actually I still cant' make it work. I tried following this guide: 
http://wiki.contextgarden.net/Install_Mark_IV Except I didn't set any 
environment variables and ctxtools fails: CtxTools | unable to fetch 
cont-tmf.zip
When updating MacTeX I got multiple failed messages in log regarding luatex, 
pdftext and etc. Overall all update failed in MacTex re-configuration.
I will can make standard ConTeXt document (don't know how to call them), but 
not the new ones with Lua support (Mark IV, I think it's called).
It looks like Mark IV does not work by default?
Thanks,david  
_
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969___
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] Problems with Mark IV (MacTeX 2009)

2010-06-25 Thread Hans Hagen

On 25-6-2010 9:06, David Abdurachmanov wrote:


After finding out that line numbering works different in Mark IV I tried using this 
version on Mac OS X via MacTeX 2009. I modified TeXworks to use texexec --lua 
$filename as for ConTeXt. I have updated MacTeX to latest version and actually I 
still cant' make it work. I tried following this guide: 
http://wiki.contextgarden.net/Install_Mark_IV Except I didn't set any environment 
variables and ctxtools fails: CtxTools | unable to fetch cont-tmf.zip
When updating MacTeX I got multiple failed messages in log regarding luatex, 
pdftext and etc. Overall all update failed in MacTex re-configuration.
I will can make standard ConTeXt document (don't know how to call them), but 
not the new ones with Lua support (Mark IV, I think it's called).
It looks like Mark IV does not work by default?


First this:

- the right command to run mkiv is 'context' and in an editor you can 
best use:


  mtxrun --script context --autogenerate .

  or just

  context --autogenerate .

- formats are generated automatically (also after an update) so that 
should be no problem


- the same is true for the font database

- you can still process mkii documents if you add

  % engine=pdtfex

at the top of your file (eventually i'll do the bit that mkii needs in 
lua as wel so that we no longer need ruby)


Now concerning texworks. The problem is that (at least last time i 
looked into it which is quite a while ago) much is hard coded and that 
configurations files are auto generated. And, as it's mostly a latex 
oriented editor, it's hard to make it context friendly.


There is mtxrun --script texworks --start that (at least on windows) 
should start up texworks in 'context only' mode. There are configuration 
files in the distribution under root/context/data that you can give a 
try.


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] Problems with Mark IV (MacTeX 2009)

2010-06-25 Thread Mojca Miklavec
2010/6/25 David Abdurachmanov wrote:
 Hi,
 After finding out that line numbering works different in Mark IV I tried
 using this version on Mac OS X via MacTeX 2009.

Don't. MacTeX 2009 doesn't work with Mark IV, and even if it would,
it's way too old.

If you want to install and use MacTeX, download it from one of the
servers mentioned in
http://tug.org/texlive/pretest.html

For example this one:
http://ftp.cstug.cz/pub/tex/local/tlpretest/

But it's probably better to also try to install ConTeXt minimals (you
can easily switch between both - you just need to set PATH in
.bash_profile or on the fly).

I didn't install MacTeX this time, but rather a normal TeX Live with
ConTeXt scheme (2GB was a lot).

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] Problems with Mark IV (MacTeX 2009)

2010-06-25 Thread David Abdurachmanov

I had earlier problems with line numbering, after cleaning MacTeX from my Mac 
and fully reinstalling and updating (I even updated ConTeXt to the latest 
version as described in wiki and regenerated everything) and again have 
problems. The good sign is that ConTeXt works without problems, but behavior is 
different. All my line numberings are gone.
Looks like \startlinenumbering only numbers that lines that are longer and does 
not fit to the page. If the line is shorter it's not numbered. Mostly all lines 
at the end of paragraph are not numbered and source code examples too.
Is that default behavior in latest version?
I am still new in TeX world, but ConTeXt looks quite good compared to LaTeX, 
but I keep bumping into problems.
That ConTeXt minimals give full support of ConTeXt?
BTW, any good syntax highlighters for ConTeXt (C#, F#, etc.)? Looks at 
http://www.pragma-ade.com/general/manuals/cont-enp.pdf 100th page I see, that 
you have minimal support for some languages. 
david

 Date: Fri, 25 Jun 2010 11:38:55 +0200
 From: mojca.miklavec.li...@gmail.com
 To: ntg-context@ntg.nl
 Subject: Re: [NTG-context] Problems with Mark IV (MacTeX 2009)
 
 2010/6/25 David Abdurachmanov wrote:
  Hi,
  After finding out that line numbering works different in Mark IV I tried
  using this version on Mac OS X via MacTeX 2009.
 
 Don't. MacTeX 2009 doesn't work with Mark IV, and even if it would,
 it's way too old.
 
 If you want to install and use MacTeX, download it from one of the
 servers mentioned in
 http://tug.org/texlive/pretest.html
 
 For example this one:
 http://ftp.cstug.cz/pub/tex/local/tlpretest/
 
 But it's probably better to also try to install ConTeXt minimals (you
 can easily switch between both - you just need to set PATH in
 .bash_profile or on the fly).
 
 I didn't install MacTeX this time, but rather a normal TeX Live with
 ConTeXt scheme (2GB was a lot).
 
 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
 ___
  
_
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969___
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] Problems with Mark IV (MacTeX 2009)

2010-06-25 Thread Hans Hagen

On 25-6-2010 12:09, David Abdurachmanov wrote:


I had earlier problems with line numbering, after cleaning MacTeX from my Mac 
and fully reinstalling and updating (I even updated ConTeXt to the latest 
version as described in wiki and regenerated everything) and again have 
problems. The good sign is that ConTeXt works without problems, but behavior is 
different. All my line numberings are gone.
Looks like \startlinenumbering only numbers that lines that are longer and does 
not fit to the page. If the line is shorter it's not numbered. Mostly all lines 
at the end of paragraph are not numbered and source code examples too.
Is that default behavior in latest version?
I am still new in TeX world, but ConTeXt looks quite good compared to LaTeX, 
but I keep bumping into problems.
That ConTeXt minimals give full support of ConTeXt?


example code needed

-
  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] Problems with Mark IV (MacTeX 2009)

2010-06-25 Thread David Abdurachmanov

No more needed. I removed MacTeX 2009 completely again and installed ConTeXt 
minimal distribution. Installation was flawless and it worked fine again. Maybe 
updating ConTeXt under MacTeX 2009 using this guide 
http://wiki.contextgarden.net/Running_Mark_IV (Update ConTeXt section) did 
something wrong?
 Date: Fri, 25 Jun 2010 12:55:21 +0200
 From: pra...@wxs.nl
 To: ntg-context@ntg.nl
 CC: cyba...@hotmail.com
 Subject: Re: [NTG-context] Problems with Mark IV (MacTeX 2009)
 
 On 25-6-2010 12:09, David Abdurachmanov wrote:
 
  I had earlier problems with line numbering, after cleaning MacTeX from my 
  Mac and fully reinstalling and updating (I even updated ConTeXt to the 
  latest version as described in wiki and regenerated everything) and again 
  have problems. The good sign is that ConTeXt works without problems, but 
  behavior is different. All my line numberings are gone.
  Looks like \startlinenumbering only numbers that lines that are longer and 
  does not fit to the page. If the line is shorter it's not numbered. Mostly 
  all lines at the end of paragraph are not numbered and source code examples 
  too.
  Is that default behavior in latest version?
  I am still new in TeX world, but ConTeXt looks quite good compared to 
  LaTeX, but I keep bumping into problems.
  That ConTeXt minimals give full support of ConTeXt?
 
 example code needed
 
 -
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
 -
  
_
Hotmail: Free, trusted and rich email service.
https://signup.live.com/signup.aspx?id=60969___
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
___