From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69695 Path: news.gmane.org!not-for-mail From: John Culleton Newsgroups: gmane.comp.tex.context Subject: Re: First baby steps with MKIV Date: Sat, 2 Jul 2011 11:03:36 -0400 Organization: Wexford Press Message-ID: <201107021103.37007.john@wexfordpress.com> References: <201107021045.24859.john@wexfordpress.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2139413636==" X-Trace: dough.gmane.org 1309619033 23441 80.91.229.12 (2 Jul 2011 15:03:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Jul 2011 15:03:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jul 02 17:03:49 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qd1jY-0005P9-6B for gctc-ntg-context-518@m.gmane.org; Sat, 02 Jul 2011 17:03:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CF6C8CAD23; Sat, 2 Jul 2011 17:03:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id w2n0npL3pWyp; Sat, 2 Jul 2011 17:03:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D6213CAD68; Sat, 2 Jul 2011 17:03:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ADEE1CAD68 for ; Sat, 2 Jul 2011 17:03:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id U8xY-ySD2cV4 for ; Sat, 2 Jul 2011 17:03:40 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id A2A4ECAD23 for ; Sat, 2 Jul 2011 17:03:40 +0200 (CEST) Original-Received: from qmta05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p62F3ciP022127 for ; Sat, 2 Jul 2011 17:03:39 +0200 Original-Received: from omta05.westchester.pa.mail.comcast.net ([76.96.62.43]) by qmta05.westchester.pa.mail.comcast.net with comcast id 330n1h0060vyq2s5533fra; Sat, 02 Jul 2011 15:03:39 +0000 Original-Received: from darkstar.localnet ([68.50.233.152]) by omta05.westchester.pa.mail.comcast.net with comcast id 333e1h0043HwwZ83R33e4r; Sat, 02 Jul 2011 15:03:39 +0000 User-Agent: KMail/1.13.6 (Linux/2.6.37.6-smp; KDE/4.5.5; i686; ; ) In-Reply-To: <201107021045.24859.john@wexfordpress.com> X-KMail-Markup: true X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=76.96.62.48; country=US; latitude=38.0000; longitude=-97.0000; http://maps.google.com/maps?q=38.0000,-97.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0cF333DXV - 9ec8c98c5b68 - 20110702 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:69695 Archived-At: --===============2139413636== Content-Type: multipart/alternative; boundary="Boundary-01=_INzDOeUbG8eD3yy" Content-Transfer-Encoding: 7bit --Boundary-01=_INzDOeUbG8eD3yy Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 `
' 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 --Boundary-01=_INzDOeUbG8eD3yy Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit

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

--Boundary-01=_INzDOeUbG8eD3yy-- --===============2139413636== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============2139413636==--