ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem of compiling a file with Emacs
@ 2018-07-19 23:13 Fabrice Couvreur
  2018-07-30  2:16 ` Lizardo M. Reyna Bowen
  0 siblings, 1 reply; 5+ messages in thread
From: Fabrice Couvreur @ 2018-07-19 23:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-08-01 22:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-19 23:13 Problem of compiling a file with Emacs Fabrice Couvreur
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

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).