ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vladimir Lomov <lomov.vl@yandex.ru>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Emacs + latest beta
Date: Wed, 22 Aug 2018 20:30:00 +0800	[thread overview]
Message-ID: <20180822123000.GA762@smoon.vl-lomov.ru> (raw)
In-Reply-To: <CACyK-epJoim60dqoY6ySu4PVFe66nnKz-JO+qK3hJT7Qf4RtBA@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1950 bytes --]

Hello,
** Fabrice Couvreur [2018-08-22 13:05:31 +0200]:

> Hello,
> Sorry to insist, but could anyone help me understand the problem I'm having
> in using Emacs with standalone context ?

Check environment variables both in terminal and Emacs.

> The following file compiles perfectly from a terminal :
> 
> /home/aragorn/texlive/2018/bin/x86_64-linux/context  test.tex
> 
> /home/aragorn/context/tex/texmf-linux-64/bin/context  test.tex (latest beta)
> 
> With Emacs, it compiles perfectly if you use the 2018 texlive context
> binary.
> 
> If I want to use the latest beta context binary, I need to add this to my
> ~/.emacs file :
> 
> (setenv "PATH" "/home/aragorn/context/tex/texmf-linux-64/bin/:$PATH" t)

Instead of this I use this (in my ~/.emacs):

(eval-after-load "context"
  '(setq TeX-command-list
     (cons '("ConTeXt" "PATH=/usr/local/opt/context/tex/texmf-linux-64/bin:$PATH context %s"
       TeX-run-command nil t :help "Run context (MarkIV)") TeX-command-list))
)

> And there, I encounter a compilation problem :

and I don't see any errors (note, that in my case the "target" in
"ConTeXt", not "ConTeXt Full").

> Running `ConTeXt Full' on `pouf' with ``context --purgeall --nonstop
> pouf.tex''resolvers       | trees | analyzing 'home:texmf'
> mtx-context     | run 1: luatex
> --fmt="/home/aragorn/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en"
> --interaction="nonstopmode" --jobname="pouf"
> --lua="/home/aragorn/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui"
> --no-parse-first-line --c:currentrun=1 --c:fulljobname="./pouf.tex"
> --c:input="./pouf.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:nonstopmode
> --c:purgeall "cont-yes.mkiv"
[...]

---
WBR, Vladimir Lomov

-- 
Old timer, n.:
	One who remembers when charity was a virtue and not an organization.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2018-08-22 12:30 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-22 11:05 Fabrice Couvreur
2018-08-22 12:30 ` Vladimir Lomov [this message]
2018-08-23  8:48   ` Fabrice Couvreur
2018-08-24  2:20     ` Vladimir Lomov
2018-08-24 10:31       ` Fabrice Couvreur
2018-08-24 13:48         ` Vladimir Lomov
2018-08-24 14:39           ` Hans Hagen
2018-08-27  3:57             ` Vladimir Lomov
2018-08-24 23:23           ` Fabrice Couvreur
2018-08-27  4:07             ` Vladimir Lomov
2018-08-27  9:51               ` Fabrice Couvreur
2018-08-27 13:47                 ` Fabrice Couvreur
2018-08-28  5:57                   ` Vladimir Lomov
2018-08-28  9:18                     ` Fabrice Couvreur
2018-08-29  2:58                       ` Vladimir Lomov
2018-08-29  9:39                         ` Fabrice Couvreur
2018-08-29 10:01                           ` Fabrice Couvreur
2018-08-29 14:12                             ` Vladimir Lomov
2018-08-30 17:13                               ` Fabrice Couvreur
2018-08-29 14:01                           ` Vladimir Lomov
2018-08-27 14:35                 ` Aditya Mahajan
2018-08-27 15:13                   ` Fabrice Couvreur
2018-08-23 18:58 ` Wolfgang Schuster
2018-08-24  1:29   ` Vladimir Lomov

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=20180822123000.GA762@smoon.vl-lomov.ru \
    --to=lomov.vl@yandex.ru \
    --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).