Re: [NTG-context] Fedora 9 (Linux) Installation

2008-07-11 Thread abbg770
Hi,

Can someone please take a look at this before the thread disappears.

Thanks

On Jul 7 2008, [EMAIL PROTECTED] wrote:

 Ok the test document (first.tex) compiles, great!
 
 But I can't seem to install fonts.  
 
 $ texfont --ve=microsoft --co=consolas --makepath --install
 
 TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004
 
 processing aborted : unknown tex root  
 
 --help : show some more info
 
 
  Does (or rather did) this even work in the old minimal distribution?
  I think that I had to CD to $HOME/tex and source setuptex from there.
 
 I don't quiet understand what you mean.
 
 
 Could someone please just update that wiki page, running into issues like 
 these really does eat up ones time.
 
 Thanks alot
 
 On Jul 7 2008, Mojca Miklavec wrote:
 
  On Sun, Jul 6, 2008 at 9:03 AM, Taco Hoekwater  wrote:
   [EMAIL PROTECTED] wrote:
  
   a.  source ~/.context_env $PWD/tex = results in nothing.
  
   What happens if you run the following command manually?
  
 $ source $(HOME)/tex/setuptex $(HOME)/tex
  
   (assuming you unpacked directly in your home)
  
  Does (or rather did) this even work in the old minimal distribution?
  I think that I had to CD to $HOME/tex and source setuptex from there.
  
  Mojca
  
  PS: these big zips are (or at least used to be) a bit outdated. A
  slightly newer (unofficial) version is here:
  http://minimals.contextgarden.net/pragma/
  http://minimals.contextgarden.net/setup/ 
  ___
   
  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 
  ___
  
 
 

-- 
Thanks
Mohamed Bana

___
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] Fedora 9 (Linux) Installation

2008-07-11 Thread Taco Hoekwater
[EMAIL PROTECTED] wrote:
 Hi,
 
 Can someone please take a look at this before the thread disappears.
 
 Thanks
 
 On Jul 7 2008, [EMAIL PROTECTED] wrote:
 
 Ok the test document (first.tex) compiles, great!

 But I can't seem to install fonts.  

 $ texfont --ve=microsoft --co=consolas --makepath --install

 TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004

 processing aborted : unknown tex root  

 --help : show some more info

You probably gave to add a --fontroot argument as well.

Best wishes,
Taco

___
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] Fedora 9 (Linux) Installation

2008-07-11 Thread Taco Hoekwater
Taco Hoekwater wrote:
 [EMAIL PROTECTED] wrote:
 Hi,

 Can someone please take a look at this before the thread disappears.

 Thanks

 On Jul 7 2008, [EMAIL PROTECTED] wrote:

 Ok the test document (first.tex) compiles, great!

 But I can't seem to install fonts.  

 $ texfont --ve=microsoft --co=consolas --makepath --install

 TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004

 processing aborted : unknown tex root  

 --help : show some more info
 
 You probably gave to add a --fontroot argument as well.

_have_, not _gave_, sorry.

___
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] Fedora 9 (Linux) Installation

2008-07-08 Thread Aditya Mahajan
On Sat, 5 Jul 2008, [EMAIL PROTECTED] wrote:

 Ok now that's out of the way i've got a few questions regarding ConTeXt
 itself.

These got ignored in the heap on installation hints.

 1. Is there an equivalent of the listing package?

No, but read on ...

 Take a look at
 listing-sample.pdf. It's also highly customizable, allowing me to change
 the colour etc. For instance here is my setup.

 \lstset{breaklines=true, showlines=true, % showing line numbers
 numbers=left, % where to show line numbers
 numberstyle=\scriptsize\sffamily\color{gray}, % numbersep=10pt, %
 stepnumber=1, % how often to show the line number on the left
 language=Java, % specifiy the language basicstyle=\scriptsize\ttfamily, %
 print whole listing small keywordstyle=\bfseries\color{eclipsekeyword}, %
 underlined bold black keywords identifierstyle=, % nothing happens
 commentstyle=\color{eclipsecomment}, % white comments, if you use
 commentstyle=\color{white}, it doesn't display the PRODID for the VCALENDAR
 stringstyle=\ttfamily, % typewriter type for strings
 showstringspaces=false, % no special string spaces frame=single, % bottom
 of listing gets a rule, use frame=single if you want awhole frame around it
 backgroundcolor=\color{white}, use frame=b for line a the bottom only
 backgroundcolor=\color{white}, tabsize=4, showspaces=false,
 showstringspaces=false}

 \lstset{morecomment=[s][\color{eclipsejavadoc}]{/**}{*/}}%,
 % morecomment=[s][\color{red}]{/*-}{*/}}

 And including the source code.

 \lstinputlisting[

 caption={CalendarExtractor.java},

 label=lst:CalendarExtractor.java]

 {source/CalendarExtractor.java}

Context does have a pretty printer, which comes for support for C, Java, 
Javascript, pascal, eiffel, metapost and tex. It is not as configurable as 
listings, but has most of the features.

In MKII, writing a module for pretty printing files was a pain. Now, with 
luatex, things are much easier. The new tex and mp pretty printers are 
written in lua, and are much easier to read (and write).

Part of the interface is documented here: 
http://wiki.contextgarden.net/Verbatim_text


 2. Can someone please tell me if a book is being planned, I'd hate to print
 out the documentation and then come to realize that, say, two months down
 the line a book is available.

Don't worry. Print out the doucumentation and get it bound so that it 
lasts :) A book is planned, but the effort is still in the planning stage.

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


Re: [NTG-context] Fedora 9 (Linux) Installation

2008-07-07 Thread Hans Hagen
[EMAIL PROTECTED] wrote:

 (/home/mohamed/context-installation-directory/tex/texmf-local/web2c/natural.tcx)
  
 kpathsea: Running mktexfmt cont-en.fmt /usr/bin/mktexfmt: line 334: 
 /home/mohamed/context-installation-directory/tex/texmf/texconfig/tcfmgr: No 
 such file or directory fmtutil: config file `fmtutil.cnf' not found. I 
 can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.05476

 /home/mohamed/context-installation-directory/tex/texmf-linux-64/web2c/pdftex 

is there a cont-en.fmt file in there

if so, then there is a problem in the variables (no engine path or just 
a wrong definition in texmf.cnf; if so, then the tex installation is 
pretty ancient)

Hans


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Fedora 9 (Linux) Installation

2008-07-07 Thread abbg770
Ok the test document (first.tex) compiles, great!

But I can't seem to install fonts.  

$ texfont --ve=microsoft --co=consolas --makepath --install

TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004

processing aborted : unknown tex root  

--help : show some more info


 Does (or rather did) this even work in the old minimal distribution?
 I think that I had to CD to $HOME/tex and source setuptex from there.

I don't quiet understand what you mean.


Could someone please just update that wiki page, running into issues like 
these really does eat up ones time.

Thanks alot

On Jul 7 2008, Mojca Miklavec wrote:

 On Sun, Jul 6, 2008 at 9:03 AM, Taco Hoekwater  wrote:
  [EMAIL PROTECTED] wrote:
 
  a.  source ~/.context_env $PWD/tex = results in nothing.
 
  What happens if you run the following command manually?
 
$ source $(HOME)/tex/setuptex $(HOME)/tex
 
  (assuming you unpacked directly in your home)
 
 Does (or rather did) this even work in the old minimal distribution?
 I think that I had to CD to $HOME/tex and source setuptex from there.
 
 Mojca
 
 PS: these big zips are (or at least used to be) a bit outdated. A
 slightly newer (unofficial) version is here:
 http://minimals.contextgarden.net/pragma/
 http://minimals.contextgarden.net/setup/ 
 ___
  
 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 
 ___
 

-- 
Thanks
Mohamed Bana

___
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] Fedora 9 (Linux) Installation

2008-07-06 Thread Taco Hoekwater
[EMAIL PROTECTED] wrote:
 Hi,
 
 I can't seem to install ConTeXt manually. I've literally followed this page 
 http://wiki.contextgaraden.net/Linux_User_Installation verbatim and I can't 
 seem to compile even the most basic of documents. I'm running Fedora9 bit, 
 and I do happen to have TeXLive with ConTeXt installed. The thing is I 
 don't want to ruin the current install rather I'd like to have a version of 
 ConTeXt that lives in my ~/. so that I can play about with it, I'm 
 particurarly after the fonts that come with it.
  
 I've attached some files with the outputs of running the commands.

I had to bounce those because they were too large, but I
suspect that this step is the trouble maker already:

 a.  source ~/.context_env $PWD/tex = results in nothing.

What happens if you run the following command manually?

   $ source $(HOME)/tex/setuptex $(HOME)/tex

(assuming you unpacked directly in your home)



Best wishes,
Taco






___
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] Fedora 9 (Linux) Installation

2008-07-06 Thread Patrick Gundlach
Hi,

 What happens if you run the following command manually?

$ source $(HOME)/tex/setuptex $(HOME)/tex

small typo, I'd guess:

$ source ${HOME}/tex/setuptex ${HOME}/tex

($() is command substitution ${} is var-expansion - I know you know it)

Patrick
-- 
ConTeXt wiki and more: 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
___


Re: [NTG-context] Fedora 9 (Linux) Installation

2008-07-06 Thread Arthur Reutenauer
 ($() is command substitution ${} is var-expansion - I know you know it)

  Makefile idiosyncrasy?  ;-)

Arthur
___
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] Fedora 9 (Linux) Installation

2008-07-06 Thread abbg770

Still fails with the same error;

[EMAIL PROTECTED] context-installation-directory]$ texexec first.tex 
TeXExec | processing document 'first.tex'

TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file first.top
TeXExec | using randomseed 1222
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6)
\write18 enabled.
 
(/home/mohamed/context-installation-directory/tex/texmf-local/web2c/natural.tcx) 
kpathsea: Running mktexfmt cont-en.fmt /usr/bin/mktexfmt: line 334: 
/home/mohamed/context-installation-directory/tex/texmf/texconfig/tcfmgr: No 
such file or directory fmtutil: config file `fmtutil.cnf' not found. I 
can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.142191



The exact command I executed was;

$ source ${HOME}/context-installation-directory/tex/setuptex 
${HOME}/context-installation-directory/tex


The link to the installation guide; 
http://wiki.contextgarden.net/Linux_User_Installation---there was a typo on 
the previous link. I've attached the log aswell appending it to the 
message, forgive me, I'm pretty new to mailing lists.



=== ENTIRE LOG ===

source ${HOME}/context-installation-directory/tex/setuptex 
${HOME}/context-installation-directory/tex


[EMAIL PROTECTED] context-installation-directory]$ echo '#!/bin/bash'  
~/.context_env


[EMAIL PROTECTED] context-installation-directory]$ cat tex/setuptex  
~/.context_env


[EMAIL PROTECTED] context-installation-directory]$ chmod 755 ~/.context_env

[EMAIL PROTECTED] context-installation-directory]$ echo source 
~/.context_env $PWD/tex  ~/.bashrc


[EMAIL PROTECTED] context-installation-directory]$ source 
${HOME}/context-installation-directory/tex/setuptex 
${HOME}/context-installation-directory/tex


[EMAIL PROTECTED] context-installation-directory]$ mktexlsr mktexlsr: 
Updating /home/mohamed/context-installation-directory/tex/texmf/ls-R... 
mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf-extra/ls-R... 
mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf-fonts/ls-R... 
mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf-local/ls-R... 
mktexlsr: Done. [EMAIL PROTECTED] context-installation-directory]$ texexec 
--make --alone TeXExec | using search method 'kpsefast' TeXExec | updating 
file database mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf/ls-R... mktexlsr: 
Updating 
/home/mohamed/context-installation-directory/tex/texmf-extra/ls-R... 
mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf-fonts/ls-R... 
mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf-local/ls-R... 
mktexlsr: Done. TeXExec | using tex engine pdftex TeXExec | using tex 
format path 
/home/mohamed/context-installation-directory/tex/texmf-linux-64/web2c/pdftex 
TeXExec | generating tex format cont-en ! I can't read pdftex.pool; bad 
path? TeXExec | generating tex format cont-nl ! I can't read pdftex.pool; 
bad path? TeXExec | generating tex format mptopdf ! I can't read 
pdftex.pool; bad path? TeXExec | using mp engine mpost TeXExec | using mps 
format path 
/home/mohamed/context-installation-directory/tex/texmf-linux-64/web2c 
TeXExec | generating mps format metafun This is MetaPost, Version 0.993 
(Web2C 7.5.6) (INIMP) 
(/home/mohamed/context-installation-directory/tex/texmf-local/web2c/natural.tcx) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/metafun.mp 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-base.mp 
Preloading the plain mem file, version 0.63) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-tool.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-spec.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-core.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-page.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-text.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-txts.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-shap.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-butt.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-char.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-step.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-grph.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-figs.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-grid.mp 

Re: [NTG-context] Fedora 9 (Linux) Installation

2008-07-06 Thread Hans Hagen
[EMAIL PROTECTED] wrote:
 Still fails with the same error;
 
 [EMAIL PROTECTED] context-installation-directory]$ texexec first.tex 
 TeXExec | processing document 'first.tex'
 TeXExec | no ctx file found
 TeXExec | tex processing method: context
 TeXExec | TeX run 1
 TeXExec | writing option file first.top
 TeXExec | using randomseed 1222
 TeXExec | tex engine: pdftex
 TeXExec | tex format: cont-en
 This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6)
 \write18 enabled.
  
 (/home/mohamed/context-installation-directory/tex/texmf-local/web2c/natural.tcx)
  
 kpathsea: Running mktexfmt cont-en.fmt /usr/bin/mktexfmt: line 334: 
 /home/mohamed/context-installation-directory/tex/texmf/texconfig/tcfmgr: 
 No such file or directory fmtutil: config file `fmtutil.cnf' not found. 
 I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.142191

what happens if you run

texexec --make

(makes the formats)

Hans


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Fedora 9 (Linux) Installation

2008-07-06 Thread abbg770
Hi Hans,

It still fails :| with;

[EMAIL PROTECTED] context-installation-directory]$ texexec first.tex 
TeXExec | processing document 'first.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file first.top
TeXExec | using randomseed 265
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6)
 \write18 enabled.
  
(/home/mohamed/context-installation-directory/tex/texmf-local/web2c/natural.tcx)
 
kpathsea: Running mktexfmt cont-en.fmt /usr/bin/mktexfmt: line 334: 
/home/mohamed/context-installation-directory/tex/texmf/texconfig/tcfmgr: No 
such file or directory fmtutil: config file `fmtutil.cnf' not found. I 
can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.05476

The output of running texexec --make

$ texexec --make TeXExec | using search method 'kpsefast' TeXExec | 
updating file database mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf/ls-R... mktexlsr: 
Updating 
/home/mohamed/context-installation-directory/tex/texmf-extra/ls-R... 
mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf-fonts/ls-R... 
mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf-linux-64/ls-R... 
mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf-local/ls-R... 
mktexlsr: Done. TeXExec | using tex engine pdftex TeXExec | using tex 
format path 
/home/mohamed/context-installation-directory/tex/texmf-linux-64/web2c/pdftex 
TeXExec | generating tex format cont-en ! I can't read pdftex.pool; bad 
path? TeXExec | generating tex format cont-nl ! I can't read pdftex.pool; 
bad path? TeXExec | generating tex format mptopdf ! I can't read 
pdftex.pool; bad path? TeXExec | using mp engine mpost TeXExec | using mps 
format path 
/home/mohamed/context-installation-directory/tex/texmf-linux-64/web2c 
TeXExec | generating mps format metafun This is MetaPost, Version 0.993 
(Web2C 7.5.6) (INIMP) 
(/home/mohamed/context-installation-directory/tex/texmf-local/web2c/natural.tcx)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/metafun.mp
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-base.mp
 
Preloading the plain mem file, version 0.63) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-tool.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-spec.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-core.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-page.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-text.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-txts.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-shap.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-butt.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-char.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-step.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-grph.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-figs.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-grid.mp
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-form.mp
 
(/home/mohamed/context-installation-directory/tex/texmf/metapost/base/string.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf/metapost/base/marith.mp 
(/home/mohamed/context-installation-directory/tex/texmf/metapost/base/string.mp
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-func.mp)
 
) Beginning to dump on file metafun.mem
 (mem=metafun 2008.7.7) at most 3039 strings of total length 40264 48346 
memory locations dumped; current usage is 1262235523 1762 symbolic tokens 
Transcript written on metafun.log. TeXExec | TeXExec | tex engine path: 
/home/mohamed/context-installation-directory/tex/texmf-linux-64/web2c/pdftex 
TeXExec | mps engine path: 
/home/mohamed/context-installation-directory/tex/texmf-linux-64/web2c 
TeXExec | TeXExec | mps: 07/07/2008 00:32:13  
/home/mohamed/context-installation-directory/tex/texmf-linux-64/web2c/metafun.mem
 
(481600) TeXExec | TeXExec | runtime: 0.246742

On Jul 6 2008, Hans Hagen wrote:

 [EMAIL PROTECTED] wrote:
  Still fails with the same error;
  
  [EMAIL PROTECTED] context-installation-directory]$ texexec first.tex 
  TeXExec | processing document 'first.tex'
  TeXExec | no ctx file found
  TeXExec | tex processing method: context
  TeXExec | TeX run 1
  

Re: [NTG-context] Fedora 9 (Linux) Installation

2008-07-06 Thread Mojca Miklavec
On Sun, Jul 6, 2008 at 9:03 AM, Taco Hoekwater  wrote:
 [EMAIL PROTECTED] wrote:

 a.  source ~/.context_env $PWD/tex = results in nothing.

 What happens if you run the following command manually?

   $ source $(HOME)/tex/setuptex $(HOME)/tex

 (assuming you unpacked directly in your home)

Does (or rather did) this even work in the old minimal distribution?
I think that I had to CD to $HOME/tex and source setuptex from there.

Mojca

PS: these big zips are (or at least used to be) a bit outdated. A
slightly newer (unofficial) version is here:
http://minimals.contextgarden.net/pragma/
http://minimals.contextgarden.net/setup/
___
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] Fedora 9 (Linux) Installation

2008-07-06 Thread abbg770
Thanks Taco, downloading the new zip seems to have some effect. It seems 
like I've made some progress.

$ source ~/.context_env $PWD/tex
Setting /home/mohamed/context-installation-directory/tex as TEXROOT.

Before I do the rest, should I do 

$ texexec --make --alone
or
$ texexec --make (as per Han's recommendation?)

And

$ mktexlsr mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf/ls-R... mktexlsr: 
Updating 
/home/mohamed/context-installation-directory/tex/texmf-context/ls-R... 
mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf-linux-64/ls-R... 
mktexlsr: Done.



On Jul 7 2008, Mojca Miklavec wrote:

 On Sun, Jul 6, 2008 at 9:03 AM, Taco Hoekwater  wrote:
  [EMAIL PROTECTED] wrote:
 
  a.  source ~/.context_env $PWD/tex = results in nothing.
 
  What happens if you run the following command manually?
 
$ source $(HOME)/tex/setuptex $(HOME)/tex
 
  (assuming you unpacked directly in your home)
 
 Does (or rather did) this even work in the old minimal distribution?
 I think that I had to CD to $HOME/tex and source setuptex from there.
 
 Mojca
 
 PS: these big zips are (or at least used to be) a bit outdated. A
 slightly newer (unofficial) version is here:
 http://minimals.contextgarden.net/pragma/
 http://minimals.contextgarden.net/setup/ 
 ___
  
 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 
 ___
 

-- 
Thanks
Mohamed Bana

___
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] Fedora 9 (Linux) Installation

2008-07-05 Thread abbg770
Hi,

I can't seem to install ConTeXt manually. I've literally followed this page 
http://wiki.contextgaraden.net/Linux_User_Installation verbatim and I can't 
seem to compile even the most basic of documents. I'm running Fedora9 bit, 
and I do happen to have TeXLive with ConTeXt installed. The thing is I 
don't want to ruin the current install rather I'd like to have a version of 
ConTeXt that lives in my ~/. so that I can play about with it, I'm 
particurarly after the fonts that come with it.
 
I've attached some files with the outputs of running the commands.

a.  source ~/.context_env $PWD/tex = results in nothing.
b.  mktexlsr = mktexlsrlog.txt
c.  texexec --version = texexec-version-log.txt
d.  texexec --check = check-texexec-log(copy).txt

 This simply doesn't work on my install it's meant to do what the 
author of the page said --- This will give you a lot of lines of output 
including the versions of various scripts, the version of pdftex and the 
version of ConTeXt. It will also generate a test file and run it through 
ConTeXt. You should get a pdf file called texexec.pdf with the word 
Test.. Didn't get anything :(.

e.  texexec first.tex = texexec-first-log.txt



Ok now that's out of the way i've got a few questions regarding ConTeXt 
itself.

1. Is there an equivalent of the listing package? Take a look at 
listing-sample.pdf. It's also highly customizable, allowing me to change 
the colour etc. For instance here is my setup.

\lstset{breaklines=true, showlines=true, % showing line numbers 
numbers=left, % where to show line numbers 
numberstyle=\scriptsize\sffamily\color{gray}, % numbersep=10pt, % 
stepnumber=1, % how often to show the line number on the left 
language=Java, % specifiy the language basicstyle=\scriptsize\ttfamily, % 
print whole listing small keywordstyle=\bfseries\color{eclipsekeyword}, % 
underlined bold black keywords identifierstyle=, % nothing happens 
commentstyle=\color{eclipsecomment}, % white comments, if you use 
commentstyle=\color{white}, it doesn't display the PRODID for the VCALENDAR 
stringstyle=\ttfamily, % typewriter type for strings 
showstringspaces=false, % no special string spaces frame=single, % bottom 
of listing gets a rule, use frame=single if you want awhole frame around it 
backgroundcolor=\color{white}, use frame=b for line a the bottom only 
backgroundcolor=\color{white}, tabsize=4, showspaces=false, 
showstringspaces=false}

\lstset{morecomment=[s][\color{eclipsejavadoc}]{/**}{*/}}%,
% morecomment=[s][\color{red}]{/*-}{*/}}

And including the source code.

\lstinputlisting[

caption={CalendarExtractor.java},

label=lst:CalendarExtractor.java]

{source/CalendarExtractor.java}

2. Can someone please tell me if a book is being planned, I'd hate to print 
out the documentation and then come to realize that, say, two months down 
the line a book is available.

3. As you probably guessed I'm new to ConTeXt so if somewould could please 
tell me in what situation you would use each of the following files for, 
It'll clarify alot of things for. In particular what is the the main 
CONTEXT distribution.

context/current/cont-tmf.zip the main CONTEXT distribution 
context/current/cont-img.zip a few resources for testing functionality 
context/current/cont-fnt.zip font metrics of public fonts 
context/current/cont-ext.zip third party CONTEXT modules 
context/current/cont-win.zip a binary version of the texmfstart script 
context/current/cont-ppc.zip chemical formulas in TEX: PPCHTEX 
context/current/cont-mpd.zip METAPOST to PDF converter 
context/install/cont-bas.zip base TEX distribution 
context/install/justtex.zip minimal CONTEXT distribution (no binaries) 
context/install/mswintex.zip minimal CONTEXT binaries (windows) 
context/install/linuxtex.zip minimal CONTEXT binaries (linux) 
context/install/macosxtex.zip minimal CONTEXT binaries (macosx) 
context/install/mswincontext.zip stand-alone CONTEXTediting environment 
(windows)


Thank you very much

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