ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <dwarnold45@cox.net>
Cc: Jacob Prystowsky <jmprystowsky@cox.net>,
	Bruce Wagner <bruce-wagner@redwoods.edu>
Subject: Re: texmfstart newbie
Date: Wed, 28 Jun 2006 10:57:11 -0700	[thread overview]
Message-ID: <DA550E63-865D-486D-9BAD-B9AD1BE99BD4@cox.net> (raw)
In-Reply-To: <44A2800F.8090908@elvenkind.com>

Taco, Mojca,

Thanks, on my Mac OSX 10.4.6 with Gerben's TeX, I:

cd /usr/local/teTeX/share/texmf.local/scripts/context/ruby/
sudo chmod -R a+x *.rb

Then I wrote in .bash_profile:

alias texmfstart='/usr/local/teTeX/share/texmf.local/scripts/context/ 
ruby/texmfstart.rb'

Now I have:

chapter1 $ texmfstart --help
version  : 2.0.0 - 2003/2006 - www.pragma-ade.com

usage    : texmfstart [switches] filename [optional arguments]

switches : --verbose --report --browser --direct --execute --locate -- 
iftouched --ifchanged
            --program --file --page --arguments --batch --edit -- 
report --clear
            --make --lmake --wmake --path --stubpath --indirect -- 
before --after
            --tree --autotree --environment --showenv

example  : texmfstart pstopdf.rb cow.eps
            texmfstart --locate examplex.rb
            texmfstart --execute examplex.rb
            texmfstart --browser examplap.pdf
            texmfstart showcase.pdf
            texmfstart --page=2 --file=showcase.pdf
            texmfstart --program=yourtex yourscript.rb arg-1 arg-2
            texmfstart --direct xsltproc kpse:somefile.xsl somefile.xml
            texmfstart --direct ruby rel:wn-cleanup-1.rb oldfile.xml  
newfile.xml
            texmfstart bin:xsltproc env:somepreset path:somefile.xsl  
somefile.xml
            texmfstart --iftouched=normal,lowres downsample.rb normal  
lowres
            texmfstart --ifchanged=somefile.dat --direct processit  
somefile.dat
            texmfstart bin:scite kpse:texmf.cnf
            texmfstart --exec bin:scite *.tex
            texmfstart --edit texmf.cnf
            texmfstart --edit kpse:texmf.cnf
            texmfstart --serve

            texmfstart --stubpath=/usr/local/bin [--make --remove] -- 
verbose all
            texmfstart --stubpath=auto [--make --remove] all

I can now run:

chapter1 $ texmfstart texexec section1.tex

Is there anything else I should do now?



On Jun 28, 2006, at 6:11 AM, Taco Hoekwater wrote:

>
>
> Mojca Miklavec wrote:
>> with the content
>>     ruby path-to-context-ruby-scripts/texmfstart.rb
>
> What I have is this simple script (and it should work on MacOSX
> just as well). Name it 'texfmstart', make it executable, fill in
> the correct path and put it in a binaries directory.
>
>
>    #!/bin/sh
>    ruby path-to-context-ruby-scripts/texmfstart.rb $@
>
>
> Cheers, taco
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2006-06-28 17:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-27 19:35 David Arnold
2006-06-27 21:07 ` gnwiii
2006-06-28 11:13 ` Mojca Miklavec
2006-06-28 13:11   ` Taco Hoekwater
2006-06-28 17:57     ` David Arnold [this message]
2006-06-28 18:24       ` Mojca Miklavec
2006-06-28 21:46         ` Gerben Wierda
2006-06-28 21:56           ` David Arnold
2006-09-01 10:38           ` Patrick Gundlach

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=DA550E63-865D-486D-9BAD-B9AD1BE99BD4@cox.net \
    --to=dwarnold45@cox.net \
    --cc=bruce-wagner@redwoods.edu \
    --cc=jmprystowsky@cox.net \
    --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).