ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alex Lubberts <alex@lubberts.org>
To: ntg-context@ntg.nl
Subject: texworks with context on linux
Date: Wed, 5 Aug 2009 08:46:38 +0200	[thread overview]
Message-ID: <96b16f4d0908042346u5c532902m239e7b0892d05147@mail.gmail.com> (raw)

Hi,

Yesterday I wanted to try out texworks for editing and typesetting my
context documents. I installed texworks from the ubuntu launchpad ppa
since '--goodies=texworks' doesn't work on linux-64, yet.

Then I ran into a few problems:

* The script mtx-texworks.lua wasn't able to start texworks because
"unable to locate texworks". In the loop that's searching all the
binpaths I put in 'logs.simple("%s",p)' and found out that binpaths
only consists of one element: the complete PATH variable. I guess it
means that there's something wrong with the function file.split_path,
but I don't understand what's happening there. When I replaced the
loop with 'p="/usr/bin/texworks"' texworks started as expected.

* However the typesetting engines were not correctly set up. Texworks
(at least on linux) seems to be looking for a file TeXworks.ini. The
one in the minimals distribution is called texworks.ini. Renaming this
solved it...

* ... almost. In the TeXworks.ini file I also had to replace all
occurunces of 'mtxrun.cmd' (doesn't work on linux, is this correct for
Windows?) with 'mtxrun'.

I wish I could help solve these points, but since I'm not much of a
programmer I cannot solve the first issue, and the other are just a
matter of renaming/replacing??

Regards,
Alex

-- 
Alex Lubberts <alex@lubberts.org>
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2009-08-05  6:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-05  6:46 Alex Lubberts [this message]
2009-08-06 21:02 ` Hans Hagen
2009-08-07  7:41   ` Alex Lubberts

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=96b16f4d0908042346u5c532902m239e7b0892d05147@mail.gmail.com \
    --to=alex@lubberts.org \
    --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).