Hi Vladimir,
I do not use Arch Linux repositories to install texlive 2018 packages 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. 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.
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
Regards,
Fabrice
Le mar. 28 août 2018 à 07:57, Vladimir Lomov
Hello, ** Fabrice Couvreur [2018-08-27 15:47:41 +0200]:
Le lun. 27 août 2018 à 11:51, Fabrice Couvreur < fabrice1.couvreur@gmail.com> a écrit :
Hi Vladimir, I just made a new standalone context install and added this to my ~/.profile : source /home/aragorn/context/tex/setuptex It finally seems to work !
I'm glad it works for you though
export PATH=$PATH:/home/aragorn/context/tex/texmf-linux-64/bin source /home/aragorn/context/tex/setuptex export PATH=$PATH:/home/aragorn/texlive/2018/bin/x86_64-linux export PATH=$PATH:/home/aragorn/bin
don't understand how these lines help you. As you said you were able to typeset a sample document in terminal, so all settings in terminal (bash I presume) were fine, especially taking into account that 'setuptex' exports only PATH variable with correct path for Standalone ConTeXt. They might change environment from which Emacs is launched but again, you use full path to run context so they must be irrelevant here.
In one of previous messages (https://www.mail-archive.com/ntg-context@ntg.nl/msg88742.html) you told that you use Archlinux, did you install texlive-* packages? Did you update your system? I use Archlinux and have not only ConTeXt standalone/suite and TeX Live (TUG) installed but also I have installed texlive-* packages from distribution repository and don't have any problem with the example either in terminal or Emacs(+AUCTeX), I suspect that your Emacs configuration might be the cause of the problem.
Hi Vladimir, I just realized that does not work anymore !
(setq ConTeXt-mode-hook (lambda () (setq TeX-command-extra-options "--purgeall")))
Why you insist on using hooks when you specify in full the custom target? Just add this option to the custom target:
(eval-after-load "context" '(setq TeX-command-list (cons '("ConTeXt" "PATH=/usr/local/opt/context/tex/texmf-linux-64/bin:$PATH context --purgeall %s" TeX-run-command nil t :help "Run context (MarkIV)") TeX-command-list)) )
Thanks Fabrice
[...]
--- WBR, Vladimir Lomov
-- It is necessary for the welfare of society that genius should be privileged to utter sedition, to blaspheme, to outrage good taste, to corrupt the youthful mind, and generally to scandalize one's uncles. -- George Bernard Shaw
___________________________________________________________________________________ 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
___________________________________________________________________________________