On Saturday, July 02, 2011 11:03:36 am John Culleton wrote:
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.
OK instead I ran /home/safe/context/tex/setuptex again, then context template.tex 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. -- John Culleton "Death Wore Black" Police procedural: http://www.deathworeblack.com/ "Create Book Covers with Scribus" http://booklocker.com/books/4055.html