ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: John Culleton <john@wexfordpress.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: First baby steps with MKIV
Date: Sat, 2 Jul 2011 11:21:19 -0400	[thread overview]
Message-ID: <201107021121.19192.john@wexfordpress.com> (raw)
In-Reply-To: <201107021103.37007.john@wexfordpress.com>


[-- Attachment #1.1: Type: text/plain, Size: 2000 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 11929 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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	other threads:[~2011-07-02 15:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-02 14:45 John Culleton
2011-07-02 14:47 ` yoraxe
2011-07-12 16:00   ` John Culleton
2011-07-12 16:03     ` luigi scarso
2011-07-12 17:08       ` John Haltiwanger
2011-07-02 15:03 ` John Culleton
2011-07-02 15:21   ` John Culleton [this message]
2011-07-02 16:26     ` Khaled Hosny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201107021121.19192.john@wexfordpress.com \
    --to=john@wexfordpress.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).