From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>, lomov.vl@yandex.ru
Subject: Re: Emacs + latest beta
Date: Wed, 29 Aug 2018 11:39:07 +0200 [thread overview]
Message-ID: <CACyK-epQLr6cqbfYx1bzObGF8pBCYTDQP_kO8sW464VfN7NJNA@mail.gmail.com> (raw)
In-Reply-To: <20180829025817.GH762@smoon.vl-lomov.ru>
[-- Attachment #1.1: Type: text/plain, Size: 4381 bytes --]
Hello,
Before considering modifications, here's what I get when I do which context
:
Setting "/home/aragorn/context/tex" as ConTeXt root.
[aragorn@fab ~]$ which context
/home/aragorn/context/tex/texmf-linux-64/bin/context
[aragorn@fab ~]$
$ pacman -Qs texlive
>
[root@fab aragorn]# pacman -Qs texlive
[root@fab aragorn]#
$ pacman -Qs emacs
>
[root@fab aragorn]# pacman -Qs emacs
local/emacs 26.1-2
The extensible, customizable, self-documenting real-time display editor
local/emacs-python-mode 6.2.3-1
Python mode for Emacs
[root@fab aragorn]#
you mentioned that commands run in terminal worked fine, but you
> invoked them by full path;
>
To be able to test with the
texlive context binary and context standalone context binary
.
The next in the next message after restarting my PC ...
Fabrice
Le mer. 29 août 2018 à 04:58, Vladimir Lomov <lomov.vl@yandex.ru> a écrit :
> Hello,
> ** Fabrice Couvreur [2018-08-28 11:18:58 +0200]:
>
> > Hi Vladimir,
>
> > I do not use Arch Linux repositories to install texlive 2018 packages
>
> Some texlive-* packages could be installed as dependencies of other
> packages. You may check if your system has any texlive package:
>
> $ pacman -Qs texlive
>
> > but I installed texlive 2018 "scheme-full" with tlmgr -gui in
> > /home/aragorn /texlive/2018. I then make regular updates in the same
> > way. No texlive traces in the \usr\share\ directory or elsewhere.
>
> I prefer to rely on package manager.
>
> > Standalone Context is also installed in my home directory. However,
> > Emacs is installed from the Arch Linux repositories and is located in
> > /usr/share/emacs.
>
> $ pacman -Qs emacs
>
> > So I have to add the path of texlive 2018 ?
> > Maybe you do not need to add the Context Standalone path ?
> > My ~/.profile file would be this :
> >
> > source /home/aragorn/context/tex/setuptex
> > export PATH = $ PATH: /home/aragorn/texlive/2018/bin/x86_64-linux
> > export PATH = $ PATH: /home/aragorn /bin
>
> This part is a bit strange:
> - in message
> https://mailman.ntg.nl/pipermail/ntg-context/2018/092418.html
> you mentioned that commands run in terminal worked fine, but you
> invoked them by full path;
>
> - in the same message you set PATH in emacs as
>
> (setenv "PATH" "/home/aragorn/context/tex/texmf-linux-64/bin/:$PATH" t)
>
> (I have to admit that I didn't know it is possible to use '$PATH' in
> setenv), so it prepends path to context binary to PATH list. The above
> lines do opposite: they append path to context binary to the end of
> PATH list.
>
> The first line, 'source ...', helps here because 'setuptex' in turns
> prepend path to context binary to PATH.
>
> When you invoke 'context' in terminal (I assume it is bash shell) the
> shell searches program in current directory (depends on configuration)
> and then in PATH, the first wins. So to use context from ConTeXt
> standalone you may simply do
>
> $ export PATH=$HOME/context/tex/texmf-linux-64/bin:$PATH
>
> either in terminal or in ~/.profile. You may always check if this is
> true by runnig
>
> $ command -v context
>
> (for bash shell) or
>
> $ which context
>
> Returning to your problem. I looked closely again in messages with
> output from context and I don't understand what may cause the error.
> Seems that Emacs uses correct context (according to loading files).
> Could you show in full your ~/.emacs file? Do you use AUCTeX or bare
> Emacs?
>
> > Regards,
> > Fabrice
> >
>
> [...]
>
> ---
> WBR, Vladimir Lomov
>
>
> --
> Uncontrolled power will turn even saints into savages. And we can all
> be counted on to live down to our lowest impulses.
> -- Parmen, "Plato's Stepchildren", stardate 5784.3
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 8815 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
___________________________________________________________________________________
next prev parent reply other threads:[~2018-08-29 9:39 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
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 [this message]
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=CACyK-epQLr6cqbfYx1bzObGF8pBCYTDQP_kO8sW464VfN7NJNA@mail.gmail.com \
--to=fabrice1.couvreur@gmail.com \
--cc=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).