From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69696 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:21:19 -0400 Organization: Wexford Press Message-ID: <201107021121.19192.john@wexfordpress.com> References: <201107021045.24859.john@wexfordpress.com> <201107021103.37007.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="===============2100947097==" X-Trace: dough.gmane.org 1309620098 28874 80.91.229.12 (2 Jul 2011 15:21:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Jul 2011 15:21:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jul 02 17:21:34 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 1Qd20j-00033m-LH for gctc-ntg-context-518@m.gmane.org; Sat, 02 Jul 2011 17:21:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D90ABCADD1; Sat, 2 Jul 2011 17:21:31 +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 ym+sK1cJld58; Sat, 2 Jul 2011 17:21:28 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9C62BCADA3; Sat, 2 Jul 2011 17:21:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0F426CADA3 for ; Sat, 2 Jul 2011 17:21:27 +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 YwCLiZhV+cd2 for ; Sat, 2 Jul 2011 17:21:24 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id DA33CCAD23 for ; Sat, 2 Jul 2011 17:21:24 +0200 (CEST) Original-Received: from qmta08.westchester.pa.mail.comcast.net (qmta08.westchester.pa.mail.comcast.net [76.96.62.80]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p62FLMRr001327 for ; Sat, 2 Jul 2011 17:21:23 +0200 Original-Received: from omta01.westchester.pa.mail.comcast.net ([76.96.62.11]) by qmta08.westchester.pa.mail.comcast.net with comcast id 33M71h0020EZKEL583MPvW; Sat, 02 Jul 2011 15:21:23 +0000 Original-Received: from darkstar.localnet ([68.50.233.152]) by omta01.westchester.pa.mail.comcast.net with comcast id 33ML1h01K3HwwZ83M3MNBM; Sat, 02 Jul 2011 15:21:23 +0000 User-Agent: KMail/1.13.6 (Linux/2.6.37.6-smp; KDE/4.5.5; i686; ; ) In-Reply-To: <201107021103.37007.john@wexfordpress.com> X-KMail-Markup: true X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=76.96.62.80; 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: 05F33ln43 - 47dd689b6555 - 20110702 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 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:69696 Archived-At: --===============2100947097== Content-Type: multipart/alternative; boundary="Boundary-01=_vdzDOxaz24Rb71A" Content-Transfer-Encoding: 7bit --Boundary-01=_vdzDOxaz24Rb71A Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 `
' > > 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 --Boundary-01=_vdzDOxaz24Rb71A Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit

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

--Boundary-01=_vdzDOxaz24Rb71A-- --===============2100947097== 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 ___________________________________________________________________________________ --===============2100947097==--