ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
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: Mon, 27 Aug 2018 15:47:41 +0200	[thread overview]
Message-ID: <CACyK-eqZwnx_cKM9OqLt5d0GrVqFiV4K0RHQcyYGScx6Kr7bLg@mail.gmail.com> (raw)
In-Reply-To: <CACyK-eoAe6ty-HSFX-nbdZ_1r+qc-J_mMjdz8h-2ZrsoUcYV0Q@mail.gmail.com>


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

Hi Vladimir,
I just realized that does not work anymore
!

(setq ConTeXt-mode-hook
      (lambda () (setq TeX-command-extra-options "--purgeall")))

Thanks
Fabrice


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 !
>
> 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
>
> Thanks
> Fabrice
>
>
> Le lun. 27 août 2018 à 06:07, Vladimir Lomov <lomov.vl@yandex.ru> a
> écrit :
>
>> Hello,
>> ** Fabrice Couvreur [2018-08-25 01:23:28 +0200]:
>>
>> > Hi Vladimir,
>> > I use ConTeXt Full following this question asked on the forum
>> > https://mailman.ntg.nl/pipermail/ntg-context/2017/089501.html
>> > Then, if I compile with ConTeXt, the problem is not solved and the file
>> > vladimir.log is empty !
>>
>> I don't know what trigger this error, in my configuration (even in
>> minimal one, see below) the sample document is typeset just fine.
>>
>> > This is the buffer vladimir.output with emacs
>> >
>> > -------------------------------- 8<
>> >
>> ----------------------------------------------------------------------------------------------------------------------------------------------
>> > Running `ConTeXt' on `vladimir' with
>> > ``PATH=/home/aragorn/context/tex/texmf-linux-64/bin:$PATH context
>> vladimir''
>> > resolvers       | trees | analyzing 'home:texmf'
>> > mtx-context     | warning: no (local) file './vladimir', proceeding
>> > mtx-context     | run 1: luatex
>> >
>> --fmt="/home/aragorn/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en"
>> > --jobname="vladimir"
>> >
>> --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="./vladimir"
>> > --c:input="./vladimir" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
>> >
>> > This is LuaTeX, Version 1.08.0 (TeX Live 2018)
>> >  system commands enabled.
>> >
>> > resolvers       > trees > analyzing 'home:texmf'
>> > open source     > level 1, order 1, name
>> >
>> '/home/aragorn/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
>> > system          >
>> > system          > ConTeXt  ver: 2018.08.20 17:47 MKIV beta  fmt:
>> 2018.8.20
>> > int: english/english
>> > system          >
>> > system          > 'cont-new.mkiv' loaded
>> > open source     > level 2, order 2, name
>> >
>> '/home/aragorn/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
>> > system          > beware: some patches loaded from cont-new.mkiv
>> > close source    > level 2, order 2, name
>> >
>> '/home/aragorn/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
>> > system          > files > jobname 'vladimir', input './vladimir', result
>> > 'vladimir'
>> > fonts           > latin modern fonts are not preloaded
>> > languages       > language 'en' is active
>> > open source     > level 2, order 3, name '/home/aragorn/vladimir.tex'
>> > system          > synctex functionality is enabled, expect 5-10 pct
>> runtime
>> > overhead!
>> > fonts           > preloading latin modern fonts (second stage)
>> > fonts           > 'fallback modern-designsize rm 12pt' is loaded
>> > structure       > sectioning > chapter @ level 2 : 0.1 -> First chapter
>> > metapost        > initializing instance 'metafun:1' using format
>> 'metafun'
>> > and method 'default'
>> > metapost        > loading 'metafun' as
>> >
>> '/home/aragorn/context/tex/texmf-context/metapost/context/base/mpiv/metafun.mpiv'
>> > using method 'default'
>> > metapost        > initializing number mode 'scaled'
>> >
>> > lua error       > lua error on line 10 in file
>> /home/aragorn/vladimir.tex:
>> >
>> > ...ext/tex/texmf-context/tex/context/base/mkiv/node-nut.lua:190:
>> attempt to
>> > call a nil value (global 'getid')
>> > stack traceback:
>> >     ...ext/tex/texmf-context/tex/context/base/mkiv/node-nut.lua:190: in
>> > upvalue 'getexpansion'
>> >     ...ext/tex/texmf-context/tex/context/base/mkiv/font-mps.lua:343: in
>> > function
>> <...ext/tex/texmf-context/tex/context/base/mkiv/font-mps.lua:338>
>> >     ...ext/tex/texmf-context/tex/context/base/mkiv/font-mps.lua:437: in
>> > local 'boxtomp'
>> >     ...ext/tex/texmf-context/tex/context/base/mkiv/mlib-pps.lua:1894: in
>> > function
>> <...ext/tex/texmf-context/tex/context/base/mkiv/mlib-pps.lua:1891>
>> >     (...tail calls...)
>> >
>> >  1
>> >  2     \setupsynctex[state=start]
>> >  3
>> >  4     \startusableMPgraphic{NumberHead}
>> >  5       draw outlinetext.f
>> >  6       ("\bf\namedheadnumber{chapter}")
>> >  7       (withcolor "red")
>> >  8       ysized 50pt ;
>> >  9     \stopusableMPgraphic
>> > 10 >>
>> > 11     \unexpanded\def\processMPheadnumber#1%
>> > 12       {\useMPgraphic{NumberHead}}
>> > 13
>> > 14     \setuphead%
>> > 15     [chapter]%
>> > 16     [command=\HeadTitle,%
>> > 17      headstyle=\ss,%
>> > 18      numbercommand=\processMPheadnumber]
>> > 19
>> > 20     \unexpanded\def\HeadTitle#1#2%
>> >
>>
>> I didn't see nothing suspicios, only the message with lua error, I
>> didn't see it in terminal and in Emacs.
>>
>> Last try, could you make a backup of your ~/.emacs file and use attached
>> one to test your system (Emacs+AUCTeX). Just
>> 1. make a copy of your original ~/.emacs;
>> 2. change it's context to the provided one;
>> 3. start new Emacs session;
>> 4. open a test file and
>> 5. do C-c C-c on it. Be sure that you choose the "ConTeXt" target.
>>
>> Besides that check the *Messages* buffer, may be you find something
>> unusual there.
>>
>> [...]
>>
>> ---
>> WBR, Vladimir Lomov
>>
>> --
>> Ship it.
>>
>> ___________________________________________________________________________________
>> 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: 11461 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-27 13:47 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 [this message]
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=CACyK-eqZwnx_cKM9OqLt5d0GrVqFiV4K0RHQcyYGScx6Kr7bLg@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).