ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: koch@math.uoregon.edu
Subject: Re: 2 columns: 1 language per column (solved)
Date: Wed, 01 Aug 2012 15:37:55 +0200	[thread overview]
Message-ID: <50193133.5070106@wxs.nl> (raw)
In-Reply-To: <13F88A96-AC72-4308-8A36-26DEA4EDAD7F@emory.edu>

On 1-8-2012 14:44, Rogers, Michael K wrote:
> On Aug 1, 2012, at 2:39 AM, Otared Kavian wrote:
>
> ....
> However adding the line
> %!TEX TS-program = ConTeXt-CLD
> at the top of the file results in an error message saying:
>> tex > error on line 72 in file /context-minimal/tex/texmf-context/tex/context/base/cont-yes.mkiv: LuaTeX error
> (here context-minimal is the directory where I have the latest version of the standalone ConTeXt).......
>
> On 1 août 2012, at 00:41, "Rogers, Michael K" <mroge02@emory.edu<mailto:mroge02@emory.edu>> wrote:
>
> ....
> If you like, add these three lines to the beginning of your .tex file to force TeXShop to use ConTeXt-CLD:
>
> ------------CUT HERE--------------
> --[[
> %!TEX TS-program = ConTeXt-CLD
> ]]--
> ------------CUT HERE--------------
>
> You need all three lines.  The TeX comment has to be enclosed in a Lua comment.  The double hyphen after the "]]" is optional, I think, but I've seen it done that way.  (As a neophyte, I imitate.)
>
> @Hans, the problem with TeXShop is that it seems to refuse to process files whose names do not end in .tex, AFAIK.  (The typeset button is disabled.)  So a straightforward solution seems impossible.  You can always type "context file.cld" in a terminal window.

In that case we just ask Richard Koch if it can be done ...

=================================

Hi Dick,

Context files can have several suffixes: .tex .mkiv .mkii .cld (to 
mention some). Is it possible to let texshop see all of these as source 
that can be processed by the 'context' script?

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2012-08-01 13:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-29 15:57 2 columns: 1 language per column Peter Münster
2012-07-31  9:06 ` Hans Hagen
2012-07-31  9:27   ` Peter Münster
2012-07-31  9:44     ` Hans Hagen
2012-07-31 14:15       ` 2 columns: 1 language per column (solved) Peter Münster
2012-07-31 15:17         ` Otared Kavian
2012-07-31 16:23           ` Peter Münster
2012-07-31 21:46             ` Otared Kavian
2012-07-31 22:29               ` Peter Münster
2012-07-31 22:41               ` Rogers, Michael K
2012-08-01  6:39                 ` Otared Kavian
2012-08-01 12:44                   ` Rogers, Michael K
2012-08-01 13:37                     ` Hans Hagen [this message]
2012-08-01 14:17                     ` Otared Kavian
2012-08-01  7:34               ` Hans Hagen

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=50193133.5070106@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=koch@math.uoregon.edu \
    --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).