Re: [NTG-context] Newbie Problem With ConTeXt/MacTeX-2008 Distribution

2008-09-28 Thread Mojca Miklavec
On Sat, Sep 27, 2008 at 6:42 PM, George N. White III wrote:
 On Sat, Sep 27, 2008 at 12:51 PM, Stanley Hudson wrote:
 Trying out ConTeXt on a Macbook with the MacTeX -2008 Distribution.
 The following compiles on ConTeXt live at the Garden, but does not
 work locally.

 \usemodule[pre-05]

 \starttext
  \TitlePage{A Sample Presentation}
  \Topics{Informative Talk}
  \Topic{First item}
 Some information goes here
 \Topic{Second Item}
 More information goes here
 \stoptext

 Any suggestions on what is wrong?

 I get the same error using TL2008 on linux, so it looks like a bug in
 context.  All is not lost, however, as your file does work using MKiV
 with the context minimal distro:

It also seems to work with MacTeX 2008 with (slightly) newer ConTeXt and mkii.

(ConTeXt  ver: 2008.07.31 16:30 MKII  fmt: 2008.8.4  int: english/english)

Maybe it was just a bug in TL version of ConTeXt. (There are some
notes about updating on http://wiki.contextgarden.net/Running_Mark_IV,
but there are some mkiv-related problems with updating that are
currently being resolved. So you would also need to update luatools
and mtxrun binaries manually.)

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Newbie Problem With ConTeXt/MacTeX-2008 Distribution

2008-09-27 Thread Stanley Hudson
Trying out ConTeXt on a Macbook with the MacTeX -2008 Distribution.  
The following compiles on ConTeXt live at the Garden, but does not  
work locally.

\usemodule[pre-05]

\starttext
  \TitlePage{A Sample Presentation}
  \Topics{Informative Talk}
  \Topic{First item}
Some information goes here
\Topic{Second Item}
More information goes here
\stoptext

This is what I get:

TeXExec | processing document '/Users/tom/Desktop/stuff/razzle/ 
firstfile.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file firstfile.top
TeXExec | using randomseed 1382
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
  %-line parsing enabled.
  (/usr/local/texlive/2008/texmf/web2c/natural.tcx)
entering extended mode
(/Users/tom/Desktop/stuff/razzle/firstfile.tex

ConTeXt  ver: 2008.05.21 15:21 MKII  fmt: 2008.9.27  int: english/ 
english

language: language en is active
system  : cont-new loaded
(/usr/local/texlive/2008/texmf-dist/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/usr/local/texlive/2008/texmf-dist/tex/context/base/cont-new.mkii)
(/usr/local/texlive/2008/texmf-dist/tex/context/base/cont-mtx.tex))
system  : cont-old loaded
(/usr/local/texlive/2008/texmf-dist/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/usr/local/texlive/2008/texmf-dist/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys loaded
(/usr/local/texlive/2008/texmf-config/tex/context/user/cont-sys.tex
(/usr/local/texlive/2008/texmf-dist/tex/context/base/type-tmf.tex)
(/usr/local/texlive/2008/texmf-dist/tex/context/base/type-siz.tex)
(/usr/local/texlive/2008/texmf-dist/tex/context/base/type-one.tex)
(/usr/local/texlive/2008/texmf-dist/tex/context/base/type-akb.tex))
bodyfont: 12pt rm is loaded
language: patterns nl-texnansi:texnansi-1-2:3 nl-ec:ec-2- 
 2:3 fr-
texnansi:texnansi-3-2:3 fr-ec:ec-4-2:3 de-texnansi:texnansi-5- 
 2:3 de-e
c:ec-6-2:3 it-texnansi:texnansi-7-2:3 it-ec:ec-8-2:3 pt- 
 texnansi:texna
nsi-9-2:3 pt-ec:ec-10-2:3 hr-ec:ec-11-2:3 pl-pl0:pl0-12-2:3  
pl-ec:e
c-13-2:3 pl-qx:qx-14-2:3 cz-il2:il2-15-2:3 cz-ec:ec-16-2:3  
sk-il2:i
l2-17-2:3 sk-ec:ec-18-2:3 sl-ec:ec-19-2:3 ru-t2a:t2a-21-2:3  
en-ec:e
c-22-2:3 uk-ec:ec-23-2:3 us-ec:ec-24-2:3 agr-agr:agr-25-2:3  
da-ec:e
c-26-2:3 sv-ec:ec-27-2:3 af-ec:ec-28-2:3 no-ec:ec-29-2:3  
deo-ec:ec-
 30-2:3 es-ec:ec-34-2:3 ca-ec:ec-35-2:3 la-ec:ec-36-2:3 ro- 
 ec:ec-37
-2:3 tr-ec:ec-38-2:3 fi-ec:ec-40-2:3 hu-ec:ec-41-2:3 loaded
specials: tex,postscript,rokicki loaded
system  : firstfile.top loaded
(./firstfile.top
specials: loading definition file tpd
(/usr/local/texlive/2008/texmf-dist/tex/context/base/spec-tpd.tex
specials: loading definition file fdf
(/usr/local/texlive/2008/texmf-dist/tex/context/base/spec-fdf.tex
(/usr/local/texlive/2008/texmf-dist/tex/context/base/spec-fdf.mkii))
specials: fdf loaded
)
specials: fdf,tpd loaded
)
systems : system commands are disabled
system  : module pre-05 loaded
(/usr/local/texlive/2008/texmf-dist/tex/context/base/s-pre-05.tex
system  : module pre-general loaded
(/usr/local/texlive/2008/texmf-dist/tex/context/base/s-pre-00.tex)
color   : mpcmyk color space is supported
color   : mpspot color space is supported
color   : system rgb is global activated
interaction : active
system  : mark Topic defined [chapter]
system  : mark Topicnumber defined [chapternumber]
system  : mark Nopic defined [title]
system  : mark Nopicnumber defined [titlenumber]
system  : mark Subject defined [section]
system  : mark Subjectnumber defined [sectionnumber]
) (/usr/local/texlive/2008/texmf-dist/tex/context/base/pdfr-def.tex)
systems : begin file firstfile at line 3
fonts   : resetting map file list
{/usr/local/texlive/2008/texmf-dist/fonts/map/pdftex/context/original- 
empty.map
}
fonts   : using map file: original-base
{/usr/local/texlive/2008/texmf-dist/fonts/map/pdftex/context/original- 
base.map}
fonts   : using map file: original-ams-base
{/usr/local/texlive/2008/texmf-dist/fonts/map/pdftex/context/original- 
ams-base.
map}
fonts   : using map file: original-public-lm
{/usr/local/texlive/2008/texmf-dist/fonts/map/pdftex/context/original- 
public-lm
.map}
fonts   : using map file: lm-ec
{/usr/local/texlive/2008/texmf-dist/fonts/map/dvips/lm/lm-ec.map}
fonts   : using map file: lm-math
{/usr/local/texlive/2008/texmf-dist/fonts/map/dvips/lm/lm-math.map}
fonts   : using map file: lm-rm
{/usr/local/texlive/2008/texmf-dist/fonts/map/dvips/lm/lm-rm.map}
fonts   : using map file: 8r-base
{/usr/local/texlive/2008/texmf-dist/fonts/map/pdftex/context/8r- 

Re: [NTG-context] Newbie Problem With ConTeXt/MacTeX-2008 Distribution

2008-09-27 Thread George N. White III
On Sat, Sep 27, 2008 at 12:51 PM, Stanley Hudson
[EMAIL PROTECTED] wrote:
 Trying out ConTeXt on a Macbook with the MacTeX -2008 Distribution.
 The following compiles on ConTeXt live at the Garden, but does not
 work locally.

 \usemodule[pre-05]

 \starttext
  \TitlePage{A Sample Presentation}
  \Topics{Informative Talk}
  \Topic{First item}
 Some information goes here
 \Topic{Second Item}
 More information goes here
 \stoptext

 This is what I get:

 TeXExec | processing document '/Users/tom/Desktop/stuff/razzle/
 firstfile.tex'
 TeXExec | no ctx file found
 TeXExec | tex processing method: context
 TeXExec | TeX run 1
 TeXExec | writing option file firstfile.top
 TeXExec | using randomseed 1382
 TeXExec | tex engine: pdftex
 TeXExec | tex format: cont-en
 This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
  %-line parsing enabled.
  (/usr/local/texlive/2008/texmf/web2c/natural.tcx)
 entering extended mode
 (/Users/tom/Desktop/stuff/razzle/firstfile.tex

 ConTeXt  ver: 2008.05.21 15:21 MKII  fmt: 2008.9.27  int: english/
 english

 [...]
 systems : system commands are disabled
 [...]
 Topic   : - First item
 system  : Topic not found/processed
 [MP firstfile-mpgraph.3999]
 ! Missing number, treated as zero.
 to be read again
\endcsname
 \@@amvbox ... -\pagebackgroundvoffset +\endcsname
   \c!topoffset \relax
 \box \...
 argument ...ght\c!left }\interactionmenu [right]
   \getvalue {\??am
 right\c!r...

 \firstofoneargument #1-#1

 \next2 #1,-\docommand {#1}
\doprocesscommaitem
 \doprocesscommalist ...item \gobbleoneargument #1,
   ]\relax \global
 \advance \...
 ...
 l.8 \Topic{Second Item}

 ?

 Any suggestions on what is wrong?

I get the same error using TL2008 on linux, so it looks like a bug in
context.  All is not lost, however, as your file does work using MKiV
with the context minimal distro:

$ context t
[...]
MtxRun | run 2: luatex
--fmt=/Data/opt/tex/context/linuxtex/texmf-cache/luatex-cache/context/e94a94633d1c5da1888b5ba67f423e84/formats/cont-en
--lua=/Data/opt/tex/context/linuxtex/texmf-cache/luatex-cache/context/e94a94633d1c5da1888b5ba67f423e84/formats/cont-en.lua
./t
(t.tex

ConTeXt  ver: 2008.08.15 09:41 MKIV  fmt: 2008.9.27  int: english/english

[...]

mkiv lua stats : runtime   - 8.756 seconds, 3
processed pages, 3 shipped pages, 0.343 pages/second
-

So the solution lies somewhere between 2008.05 MkII and 2008.08 MkIV.
Simpler documents do work using 2008.05 MkII in TL2008, but if you are
starting out you may do better to focus on MkIV.

-- 
George N. White III [EMAIL PROTECTED]
Head of St. Margarets Bay, Nova Scotia
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Newbie Problem With ConTeXt/MacTeX-2008 Distribution

2008-09-27 Thread Stanley Hudson
Well, I installed Context Minimals and used MKIV and it worked. Thanks  
for the help.

Stan
On Sep 27, 2008, at 11:42 AM, George N. White III wrote:

 On Sat, Sep 27, 2008 at 12:51 PM, Stanley Hudson
 [EMAIL PROTECTED] wrote:
 Trying out ConTeXt on a Macbook with the MacTeX -2008 Distribution.
 The following compiles on ConTeXt live at the Garden, but does not
 work locally.

 \usemodule[pre-05]

 \starttext
 \TitlePage{A Sample Presentation}
 \Topics{Informative Talk}
 \Topic{First item}
 Some information goes here
 \Topic{Second Item}
 More information goes here
 \stoptext

 This is what I get:

 TeXExec | processing document '/Users/tom/Desktop/stuff/razzle/
 firstfile.tex'
 TeXExec | no ctx file found
 TeXExec | tex processing method: context
 TeXExec | TeX run 1
 TeXExec | writing option file firstfile.top
 TeXExec | using randomseed 1382
 TeXExec | tex engine: pdftex
 TeXExec | tex format: cont-en
 This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
 %-line parsing enabled.
 (/usr/local/texlive/2008/texmf/web2c/natural.tcx)
 entering extended mode
 (/Users/tom/Desktop/stuff/razzle/firstfile.tex

 ConTeXt  ver: 2008.05.21 15:21 MKII  fmt: 2008.9.27  int: english/
 english

 [...]
 systems : system commands are disabled
 [...]
 Topic   : - First item
 system  : Topic not found/processed
 [MP firstfile-mpgraph.3999]
 ! Missing number, treated as zero.
 to be read again
   \endcsname
 \@@amvbox ... -\pagebackgroundvoffset +\endcsname
  \c!topoffset \relax
 \box \...
 argument ...ght\c!left }\interactionmenu [right]
  \getvalue {\??am
 right\c!r...

 \firstofoneargument #1-#1

 \next2 #1,-\docommand {#1}
   \doprocesscommaitem
 \doprocesscommalist ...item \gobbleoneargument #1,
  ]\relax \global
 \advance \...
 ...
 l.8 \Topic{Second Item}

 ?

 Any suggestions on what is wrong?

 I get the same error using TL2008 on linux, so it looks like a bug in
 context.  All is not lost, however, as your file does work using MKiV
 with the context minimal distro:

 $ context t
 [...]
 MtxRun | run 2: luatex
 --fmt=/Data/opt/tex/context/linuxtex/texmf-cache/luatex-cache/ 
 context/e94a94633d1c5da1888b5ba67f423e84/formats/cont-en
 --lua=/Data/opt/tex/context/linuxtex/texmf-cache/luatex-cache/ 
 context/e94a94633d1c5da1888b5ba67f423e84/formats/cont-en.lua
 ./t
 (t.tex

 ConTeXt  ver: 2008.08.15 09:41 MKIV  fmt: 2008.9.27  int: english/ 
 english

 [...]

 mkiv lua stats : runtime   - 8.756 seconds, 3
 processed pages, 3 shipped pages, 0.343 pages/second
 
 -

 So the solution lies somewhere between 2008.05 MkII and 2008.08 MkIV.
 Simpler documents do work using 2008.05 MkII in TL2008, but if you are
 starting out you may do better to focus on MkIV.

 -- 
 George N. White III [EMAIL PROTECTED]
 Head of St. Margarets Bay, Nova Scotia
 ___
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___