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
___________________________________________________________________________________

Reply via email to