Re: [NTG-context] First baby steps with MKIV

2011-07-12 Thread John Culleton
On Saturday, July 02, 2011 10:47:20 am yoraxe wrote:
 Am 02.07.2011 16:45, schrieb John Culleton:
  Followed this wiki,
  http://wiki.contextgarden.net/ConTeXt_Minimals
  
   installed in my personal directory.
  
  Now for the most elementary quetsion: Given the file
  foo.tex how do I actually run mkiv context on it?
 
 context foo

Not quite. First I have to issue a special command to put 
the context installation in play. So I created a script 
Context like this:
--
source /home/safe/context/tex/setuptex
context $1

-- 
John Culleton

Death Wore Black Police procedural: 
http://www.deathworeblack.com/

Create Book Covers with Scribus
http://booklocker.com/books/4055.html
___
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] First baby steps with MKIV

2011-07-12 Thread luigi scarso
On Tue, Jul 12, 2011 at 6:00 PM, John Culleton j...@wexfordpress.com wrote:
 --

 source /home/safe/context/tex/setuptex

 context $1

 
better

source /home/safe/context/tex/setuptex /home/safe/context/tex
context $1
-- 
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] First baby steps with MKIV

2011-07-12 Thread John Haltiwanger
On Tue, Jul 12, 2011 at 9:03 AM, luigi scarso luigi.sca...@gmail.comwrote:

 On Tue, Jul 12, 2011 at 6:00 PM, John Culleton j...@wexfordpress.com
 wrote:
  --
 
  source /home/safe/context/tex/setuptex
 
  context $1
 
  
 better

 source /home/safe/context/tex/setuptex /home/safe/context/tex
 context $1
 --


I haven't seen this before. What is the advantage of the second argument to
source ?
___
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
___

[NTG-context] First baby steps with MKIV

2011-07-02 Thread John Culleton
Followed this wiki,
http://wiki.contextgarden.net/ConTeXt_Minimals
 installed in my personal directory.

Now for the most elementary quetsion: Given the file 
foo.tex how do I actually run mkiv context on it?
I tried 
mtxrun template.tex
and I get the error:
./template.tex:1: unexpected symbol near '\'

template.tex is an outline of a Context file:
---

-- 
John Culleton

Death Wore Black Police procedural: 
http://www.deathworeblack.com/

Create Book Covers with Scribus
http://booklocker.com/books/4055.html
___
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] First baby steps with MKIV

2011-07-02 Thread yoraxe
Am 02.07.2011 16:45, schrieb John Culleton:
 Followed this wiki,
 http://wiki.contextgarden.net/ConTeXt_Minimals
  installed in my personal directory.
 
 Now for the most elementary quetsion: Given the file 
 foo.tex how do I actually run mkiv context on it?

context foo
___
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] First baby steps with MKIV

2011-07-02 Thread John Culleton
On Saturday, July 02, 2011 10:45:24 am John Culleton wrote:
 Followed this wiki,
 http://wiki.contextgarden.net/ConTeXt_Minimals
  installed in my personal directory.
 
 Now for the most elementary quetsion: Given the file
 foo.tex how do I actually run mkiv context on it?
 I tried
 mtxrun template.tex
 and I get the error:
 ./template.tex:1: unexpected symbol near '\'
 
 template.tex is an outline of a Context file:
 ---

And here is template.tex:
\starttext
\startfrontmatter
\startstandardmakeup
%\input title.tex
\stopstandardmakeup
\completecontent
%\input preface.tex
\stopfrontmatter
\startbodymatter
Hello world.
%\input body.tex
\stopbodymatter
\startbackmatter
\completeindex
\stopbackmatter
\stoptext

Tried running it as a plain texexec (MKII) file and got 
this message:

bash-4.1$ texexec template.tex
MTXrun | kpse fallback with progname 'context' initialized 
in 0.09 seconds
/usr/local/texlive/2010/../texmf-
local/scripts/context/ruby/texexec.rb:8:in `require': no 
such file to load -- ftools (LoadError)
from /usr/local/texlive/2010/../texmf-
local/scripts/context/ruby/texexec.rb:8:in `main'

I have a standard texlive 2010 installation. I have been 
able to run ordinary tex, pdftex etc. files before today.
I also was able to run Context files without a problem.

I will switch to an old partition that has no minimals 
installation and see if that will fly on the same file. 


-- 
John Culleton

Death Wore Black Police procedural: 
http://www.deathworeblack.com/

Create Book Covers with Scribus
http://booklocker.com/books/4055.html
___
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] First baby steps with MKIV

2011-07-02 Thread Khaled Hosny
On Sat, Jul 02, 2011 at 11:21:19AM -0400, John Culleton wrote:
 and it worked as a user. The setuptex must be run in each console I use. I'll
 create a script to simplify things in case I forget again.

If you only have minimals (no texlive for example), then you can simply
prepend minimals/tex/texmf-linux/bin to your PATH.

Regards,
 Khaled

-- 
 Khaled Hosny
 Egyptian
 Arab
___
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
___