* First baby steps with MKIV
@ 2011-07-02 14:45 John Culleton
2011-07-02 14:47 ` yoraxe
2011-07-02 15:03 ` John Culleton
0 siblings, 2 replies; 8+ messages in thread
From: John Culleton @ 2011-07-02 14:45 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 542 bytes --]
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:
---------------------------
--
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: 3834 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: First baby steps with MKIV
2011-07-02 14:45 First baby steps with MKIV John Culleton
@ 2011-07-02 14:47 ` yoraxe
2011-07-12 16:00 ` John Culleton
2011-07-02 15:03 ` John Culleton
1 sibling, 1 reply; 8+ messages in thread
From: yoraxe @ 2011-07-02 14:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 02.07.2011 16:45, schrieb John Culleton:
> 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?
context foo
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: First baby steps with MKIV
2011-07-02 14:45 First baby steps with MKIV John Culleton
2011-07-02 14:47 ` yoraxe
@ 2011-07-02 15:03 ` John Culleton
2011-07-02 15:21 ` John Culleton
1 sibling, 1 reply; 8+ messages in thread
From: John Culleton @ 2011-07-02 15:03 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1615 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 9699 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: First baby steps with MKIV
2011-07-02 15:03 ` John Culleton
@ 2011-07-02 15:21 ` John Culleton
2011-07-02 16:26 ` Khaled Hosny
0 siblings, 1 reply; 8+ messages in thread
From: John Culleton @ 2011-07-02 15:21 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: First baby steps with MKIV
2011-07-02 15:21 ` John Culleton
@ 2011-07-02 16:26 ` Khaled Hosny
0 siblings, 0 replies; 8+ messages in thread
From: Khaled Hosny @ 2011-07-02 16:26 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sat, Jul 02, 2011 at 11:21:19AM -0400, John Culleton wrote:
> 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.
If you only have minimals (no texlive for example), then you can simply
prepend <minimals>/tex/texmf-linux/bin to your PATH.
Regards,
Khaled
--
Khaled Hosny
Egyptian
Arab
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: First baby steps with MKIV
2011-07-02 14:47 ` yoraxe
@ 2011-07-12 16:00 ` John Culleton
2011-07-12 16:03 ` luigi scarso
0 siblings, 1 reply; 8+ messages in thread
From: John Culleton @ 2011-07-12 16:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 775 bytes --]
On Saturday, July 02, 2011 10:47:20 am yoraxe wrote:
> Am 02.07.2011 16:45, schrieb John Culleton:
> > 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?
>
> context foo
Not quite. First I have to issue a special command to put
the context installation in play. So I created a script
"Context" like this:
--------------------------------------
source /home/safe/context/tex/setuptex
context $1
--------------------------------
--
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: 4641 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: First baby steps with MKIV
2011-07-12 16:00 ` John Culleton
@ 2011-07-12 16:03 ` luigi scarso
2011-07-12 17:08 ` John Haltiwanger
0 siblings, 1 reply; 8+ messages in thread
From: luigi scarso @ 2011-07-12 16:03 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Tue, Jul 12, 2011 at 6:00 PM, John Culleton <john@wexfordpress.com> wrote:
> --------------------------------------
>
> source /home/safe/context/tex/setuptex
>
> context $1
>
> --------------------------------
better
source /home/safe/context/tex/setuptex /home/safe/context/tex
context $1
--
luigi
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: First baby steps with MKIV
2011-07-12 16:03 ` luigi scarso
@ 2011-07-12 17:08 ` John Haltiwanger
0 siblings, 0 replies; 8+ messages in thread
From: John Haltiwanger @ 2011-07-12 17:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 491 bytes --]
On Tue, Jul 12, 2011 at 9:03 AM, luigi scarso <luigi.scarso@gmail.com>wrote:
> On Tue, Jul 12, 2011 at 6:00 PM, John Culleton <john@wexfordpress.com>
> wrote:
> > --------------------------------------
> >
> > source /home/safe/context/tex/setuptex
> >
> > context $1
> >
> > --------------------------------
> better
>
> source /home/safe/context/tex/setuptex /home/safe/context/tex
> context $1
> --
>
I haven't seen this before. What is the advantage of the second argument to
source ?
[-- Attachment #1.2: Type: text/html, Size: 906 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-07-12 17:08 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-02 14:45 First baby steps with MKIV 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
2011-07-02 16:26 ` Khaled Hosny
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).