From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Problem of compiling a file with Emacs
Date: Fri, 20 Jul 2018 01:13:27 +0200 [thread overview]
Message-ID: <CACyK-eo-WyMHCUHKPX6ihk0d-q+Y-nUut056V-tfMTvG5ftTLA@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 2436 bytes --]
Hello,
I'm starting a new discussion about compiling a file with Emacs. I will try
to be clear:
1. Compilation without Emacs in a terminal (Xterm):
/home / aragorn / texlive / 2018 / bin / x86_64-linux / context Test.tex
Ok!
/ home / aragorn / context / tex / linux-64 / bin / context Test.tex Ok!
2. Compiling with a Emacs terminal shell command by having this in my ~ /
.emacs file
(setenv "PATH" "/ home / aragorn / context / tex / texmf-linux-64 / bin: $
PATH" t)
/ home / aragorn / texlive / 2018 / bin / x86_64-linux / context Test.tex
No Ok!
/ home / aragorn / context / tex / tex-linux-64 / bin / context Test.tex No
Ok!
3. Compiling with an Emacs terminal shell command by commenting this in my
~ / .emacs file
;; (setenv "PATH" "/ home / aragorn / context / tex / texmf-linux-64 / bin:
$ PATH" t)
/ home / aragorn / texlive / 2018 / bin / x86_64-linux / context Test.tex
Ok!
/ home / aragorn / context / tex / linux-64 / bin / context Test.tex Ok!
4. Compiling with the C-C C-C command by commenting this in my ~ / .emacs
file
;; (setenv "PATH" "/ home / aragorn / context / tex / texmf-linux-64 / bin:
$ PATH" t)
OK !
5. Coming with the C-c C-c command by having this in my ~ / .emacs file
(setenv "PATH" "/ home / aragorn / context / tex / texmf-linux-64 / bin: $
PATH" t) (that's what I do with all other files)
No OK !
Thanks.
My file Test.tex
% macros=mkvi
\setuppagenumbering[location=footer]
\startusableMPgraphic{NumberHead}
draw outlinetext.f
("\bf\namedheadnumber{chapter}")
(withcolor "lightgray")
ysized 50pt ;
\stopusableMPgraphic
\unexpanded\def\processMPheadnumber#1%
{\useMPgraphic{NumberHead}}
\setuphead
[chapter]
[command=\HeadTitle,
headstyle=\ss,
numbercommand=\processMPheadnumber,
]
\unexpanded\def\HeadTitle#1#2%
{\framed
[frame=off,
bottomframe=on,
width=broad,
align={broad,nothyphenated,left}]
{#1\blank[nowhite]#2}}
\starttext
\starttitle[title={Sommaire}]
\start
\placelist
[chapter,section,subsection]
[criterium=all,
alternative=c]
\stop
\stoptitle
\startchapter[title=Espaces probabilisés]
\startsubsection[title=Expérience aléatoire et univers]
\stopsubsection
\startsubsection[title=Événements]
\stopsubsection
\stopchapter
\stoptext
[-- Attachment #1.2: Type: text/html, Size: 6340 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 reply other threads:[~2018-07-19 23:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-19 23:13 Fabrice Couvreur [this message]
2018-07-30 2:16 ` Lizardo M. Reyna Bowen
[not found] ` <CACyK-eqH_Bjj1y=+eAdLig9sAWcwySVK=v-dKzg9Crzna7wUQA@mail.gmail.com>
[not found] ` <40e9844f-dc59-3253-065d-f35293fe09e2@disroot.org>
[not found] ` <CACyK-ep9q-6rpjOYHUWfc4G68rkddtLOnat0fnct8YZfWRoFFg@mail.gmail.com>
[not found] ` <CACyK-eq+fS7AGwDEi5UiS7d+v89J4Us=uB6mQGWm0oX-afguNg@mail.gmail.com>
2018-07-31 17:04 ` Lizardo M. Reyna Bowen
[not found] ` <CACyK-eo_SFaE3OyuirKqQE8+eUnsHqpy02P0BXoE2McxLgN7oA@mail.gmail.com>
2018-08-01 14:27 ` Lizardo Reyna
[not found] ` <CACyK-eq5WXRRZ8Y3ZH-zzPGtg18mpPRPju=dz13SLU3HECh43w@mail.gmail.com>
2018-08-01 22:13 ` Fwd: " Fabrice Couvreur
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-eo-WyMHCUHKPX6ihk0d-q+Y-nUut056V-tfMTvG5ftTLA@mail.gmail.com \
--to=fabrice1.couvreur@gmail.com \
--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).