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: Thu, 30 Aug 2018 19:13:52 +0200 [thread overview]
Message-ID: <CACyK-eo8MED7W7JqFoidYuN8SG80Xvyj0w_E9OTVR6_+t5oj3g@mail.gmail.com> (raw)
In-Reply-To: <20180829141200.GJ762@smoon.vl-lomov.ru>
[-- Attachment #1.1: Type: text/plain, Size: 24303 bytes --]
Hello Vladimir,
I suppose this is from within Emacs.
>
File compiled with Emacs
.
I assumed that you installed auctex package, like
>
> $ sudo pacman -S auctex
>
> and do
>
> (load "auctex")
>
No with MELPA.
P.S. Why you install auctex as MELPA and don't use Archlinux package ?
>
I do not know !
What is the difference between both ?
If it's better to do it with Arch Linux, I do it !
Is it necessary to add this at the end of each file ?
%%% Local Variables:
%%% mode: context
%%% TeX-master: t
%%% End:
Thanks,
Fabrice
Le mer. 29 août 2018 à 16:12, Vladimir Lomov <lomov.vl@yandex.ru> a écrit :
> Hello,
> ** Fabrice Couvreur [2018-08-29 12:01:46 +0200]:
>
> > Hello,
> > Here is the content of my file ~/.profile :
> >
> > export PATH=$HOME/context/tex/texmf-linux-64/bin:$PATH
> > export PATH=$HOME/texlive/2018/bin/x86_64-linux:$PATH
> > export PATH=$HOME/bin:$PATH
> >
> >> $ command -v context
> >
> > [aragorn@fab ~]$ command -v context
> > /home/aragorn/texlive/2018/bin/x86_64-linux/context
> > [aragorn@fab ~]$
>
> And this means that when you run 'context' in shell (terminal) the
> context from TeX Live will be used. Note the above 'export' commands.
> The first prepend the path to ConTeXt Standalone binaries, the next on
> prepends TeX Live binaries, so TeX Live binaries will be used if you run
> 'context' in terminal/shell.
>
> > I then tested the vladimir.tex file
> >
> > \setupsynctex[state=start]
> >
> > \startusableMPgraphic{NumberHead}
> > draw outlinetext.f
> > ("\bf\namedheadnumber{chapter}")
> > (withcolor "blue")
> > 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
> > \startchapter[title=First chapter]
> > \input ward
> > \stopchapter
> > \stoptext
> > ~/
> >
> > % Local Variables:
> > % mode: context
> > % TeX-master: t
> > % End:
> >
> > Here is the output vladimir output
>
> I suppose this is from within Emacs.
>
> >
> > Running `ConTeXt' on `vladimir' with
> > ``PATH=/home/aragorn/context/tex/texmf-linux-64/bin:$PATH context
> > --purgeall 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 --c:purgeall
> > "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.25 10:04 MKIV beta fmt:
> 2018.8.25
> > 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'
> > open source > level 3, order 4, name
> >
> '/home/aragorn/context/tex/texmf-context/tex/context/sample/common/ward.tex'
> > close source > level 3, order 4, name
> >
> '/home/aragorn/context/tex/texmf-context/tex/context/sample/common/ward.tex'
> > backend > xmp > using file
> >
> '/home/aragorn/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
> > pages > flushing realpage 1, userpage 1, subpage 1
> > close source > level 2, order 4, name '/home/aragorn/vladimir.tex'
> > close source > level 1, order 4, name
> >
> '/home/aragorn/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
> >
> > mkiv lua stats > used config file:
> selfautoparent:/texmf/web2c/texmfcnf.lua
> > mkiv lua stats > used cache path:
> >
> /home/aragorn/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
> > mkiv lua stats > resource resolver: loadtime 0.008 seconds, 1 scans with
> > scantime 0.000 seconds, 0 shared scans, 31 found files, scanned paths:
> > /home/aragorn/texmf
> > mkiv lua stats > stored bytecode data: 437 modules (0.227 sec), 93
> tables
> > (0.015 sec), 530 chunks (0.241 sec)
> > mkiv lua stats > traced context: maxstack: 1328, freed: 5, unreachable:
> > 1323
> > mkiv lua stats > cleaned up reserved nodes: 58 nodes, 9 lists of 455
> > mkiv lua stats > node memory usage: 2 glue, 2 kern, 2 penalty, 14
> > attribute, 50 glue_spec, 4 attribute_list, 2 temp, 2 user_defined
> > mkiv lua stats > node list callback tasks: 8 unique task lists, 6
> > instances (re)created, 55 calls
> > mkiv lua stats > synctex tracing: 2 referenced files, 5 files ignored, 3
> > objects flushed, logfile: vladimir.synctex
> > mkiv lua stats > used backend: pdf (backend for directly generating pdf
> > output)
> > mkiv lua stats > jobdata time: 0.001 seconds saving, 0.000 seconds
> loading
> > mkiv lua stats > callbacks: internal: 177, file: 180, direct: 2, late:
> 2,
> > function 534, total: 895
> > mkiv lua stats > loaded patterns: en::2, load time: 0.000
> > mkiv lua stats > result saved in file: vladimir.pdf, compresslevel 3,
> > objectcompresslevel 3
> > mkiv lua stats > loaded fonts: 4 files: latinmodern-math.otf,
> > lmroman10-bold.otf, lmroman10-regular.otf, lmroman12-regular.otf
> > mkiv lua stats > font engine: otf 3.104, afm 1.513, tfm 1.000, 9
> > instances, 3 shared in backend, 3 common vectors, 0 common hashes, load
> > time 0.216 seconds
> > mkiv lua stats > metapost: 0.001 seconds, loading: 0.017, execution:
> > 0.001, n: 1, average: 0.019, instances: 1, luacalls: 8, memory: 2.635 M
> > mkiv lua stats > used platform: linux-64, type: unix, binary subtree:
> > texmf-linux-64
> > mkiv lua stats > used engine: luatex version 1.08 with functionality
> level
> > 6731, banner: this is luatex, version 1.08.0 (tex live 2018)
> > mkiv lua stats > control sequences: 46537 of 65536 + 100000
> > mkiv lua stats > lua properties: engine: lua 5.3, used memory: 81 MB
> (ctx:
> > 81 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
> > mkiv lua stats > runtime: 0.538 seconds, 1 processed pages, 1 shipped
> > pages, 1.859 pages/second
> > mtx-context | run 2: 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=2 --c:fulljobname="./vladimir"
> > --c:input="./vladimir" --c:kindofrun=2 --c:maxnofruns=9 --c:purgeall
> > "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.25 10:04 MKIV beta fmt:
> 2018.8.25
> > 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'
> > open source > level 3, order 4, name
> >
> '/home/aragorn/context/tex/texmf-context/tex/context/sample/common/ward.tex'
> > close source > level 3, order 4, name
> >
> '/home/aragorn/context/tex/texmf-context/tex/context/sample/common/ward.tex'
> > backend > xmp > using file
> >
> '/home/aragorn/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
> > pages > flushing realpage 1, userpage 1, subpage 1
> > close source > level 2, order 4, name '/home/aragorn/vladimir.tex'
> > close source > level 1, order 4, name
> >
> '/home/aragorn/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
> >
> > mkiv lua stats > used config file:
> selfautoparent:/texmf/web2c/texmfcnf.lua
> > mkiv lua stats > used cache path:
> >
> /home/aragorn/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
> > mkiv lua stats > resource resolver: loadtime 0.008 seconds, 1 scans with
> > scantime 0.001 seconds, 0 shared scans, 31 found files, scanned paths:
> > /home/aragorn/texmf
> > mkiv lua stats > stored bytecode data: 437 modules (0.238 sec), 93
> tables
> > (0.015 sec), 530 chunks (0.253 sec)
> > mkiv lua stats > traced context: maxstack: 1328, freed: 5, unreachable:
> > 1323
> > mkiv lua stats > cleaned up reserved nodes: 58 nodes, 9 lists of 455
> > mkiv lua stats > node memory usage: 2 glue, 2 kern, 2 penalty, 14
> > attribute, 50 glue_spec, 4 attribute_list, 2 temp, 2 user_defined
> > mkiv lua stats > node list callback tasks: 8 unique task lists, 6
> > instances (re)created, 55 calls
> > mkiv lua stats > synctex tracing: 2 referenced files, 5 files ignored, 3
> > objects flushed, logfile: vladimir.synctex
> > mkiv lua stats > used backend: pdf (backend for directly generating pdf
> > output)
> > mkiv lua stats > jobdata time: 0.001 seconds saving, 0.000 seconds
> loading
> > mkiv lua stats > callbacks: internal: 177, file: 180, direct: 2, late:
> 2,
> > function 534, total: 895
> > mkiv lua stats > randomizer: initialized with value 0.55005725985393
> > mkiv lua stats > loaded patterns: en::2, load time: 0.000
> > mkiv lua stats > result saved in file: vladimir.pdf, compresslevel 3,
> > objectcompresslevel 3
> > mkiv lua stats > loaded fonts: 4 files: latinmodern-math.otf,
> > lmroman10-bold.otf, lmroman10-regular.otf, lmroman12-regular.otf
> > mkiv lua stats > font engine: otf 3.104, afm 1.513, tfm 1.000, 9
> > instances, 3 shared in backend, 3 common vectors, 0 common hashes, load
> > time 0.227 seconds
> > mkiv lua stats > metapost: 0.001 seconds, loading: 0.017, execution:
> > 0.001, n: 1, average: 0.019, instances: 1, luacalls: 8, memory: 2.635 M
> > mkiv lua stats > used platform: linux-64, type: unix, binary subtree:
> > texmf-linux-64
> > mkiv lua stats > used engine: luatex version 1.08 with functionality
> level
> > 6731, banner: this is luatex, version 1.08.0 (tex live 2018)
> > mkiv lua stats > control sequences: 46536 of 65536 + 100000
> > mkiv lua stats > lua properties: engine: lua 5.3, used memory: 81 MB
> (ctx:
> > 81 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
> > mkiv lua stats > runtime: 0.562 seconds, 1 processed pages, 1 shipped
> > pages, 1.779 pages/second
> > mtx-context | run 3: 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=3 --c:fulljobname="./vladimir"
> > --c:input="./vladimir" --c:kindofrun=2 --c:maxnofruns=9 --c:purgeall
> > "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.25 10:04 MKIV beta fmt:
> 2018.8.25
> > 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'
> > open source > level 3, order 4, name
> >
> '/home/aragorn/context/tex/texmf-context/tex/context/sample/common/ward.tex'
> > close source > level 3, order 4, name
> >
> '/home/aragorn/context/tex/texmf-context/tex/context/sample/common/ward.tex'
> > backend > xmp > using file
> >
> '/home/aragorn/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
> > pages > flushing realpage 1, userpage 1, subpage 1
> > close source > level 2, order 4, name '/home/aragorn/vladimir.tex'
> > close source > level 1, order 4, name
> >
> '/home/aragorn/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
> >
> > mkiv lua stats > used config file:
> selfautoparent:/texmf/web2c/texmfcnf.lua
> > mkiv lua stats > used cache path:
> >
> /home/aragorn/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
> > mkiv lua stats > resource resolver: loadtime 0.007 seconds, 1 scans with
> > scantime 0.000 seconds, 0 shared scans, 31 found files, scanned paths:
> > /home/aragorn/texmf
> > mkiv lua stats > stored bytecode data: 437 modules (0.217 sec), 93
> tables
> > (0.015 sec), 530 chunks (0.232 sec)
> > mkiv lua stats > traced context: maxstack: 1328, freed: 5, unreachable:
> > 1323
> > mkiv lua stats > cleaned up reserved nodes: 58 nodes, 9 lists of 455
> > mkiv lua stats > node memory usage: 2 glue, 2 kern, 2 penalty, 14
> > attribute, 50 glue_spec, 4 attribute_list, 2 temp, 2 user_defined
> > mkiv lua stats > node list callback tasks: 8 unique task lists, 6
> > instances (re)created, 55 calls
> > mkiv lua stats > synctex tracing: 2 referenced files, 5 files ignored, 3
> > objects flushed, logfile: vladimir.synctex
> > mkiv lua stats > used backend: pdf (backend for directly generating pdf
> > output)
> > mkiv lua stats > jobdata time: 0.001 seconds saving, 0.000 seconds
> loading
> > mkiv lua stats > callbacks: internal: 177, file: 180, direct: 2, late:
> 2,
> > function 534, total: 895
> > mkiv lua stats > randomizer: resumed with value 0.55005725985393
> > mkiv lua stats > loaded patterns: en::2, load time: 0.000
> > mkiv lua stats > result saved in file: vladimir.pdf, compresslevel 3,
> > objectcompresslevel 3
> > mkiv lua stats > loaded fonts: 4 files: latinmodern-math.otf,
> > lmroman10-bold.otf, lmroman10-regular.otf, lmroman12-regular.otf
> > mkiv lua stats > font engine: otf 3.104, afm 1.513, tfm 1.000, 9
> > instances, 3 shared in backend, 3 common vectors, 0 common hashes, load
> > time 0.221 seconds
> > mkiv lua stats > metapost: 0.001 seconds, loading: 0.018, execution:
> > 0.001, n: 1, average: 0.019, instances: 1, luacalls: 8, memory: 2.635 M
> > mkiv lua stats > used platform: linux-64, type: unix, binary subtree:
> > texmf-linux-64
> > mkiv lua stats > used engine: luatex version 1.08 with functionality
> level
> > 6731, banner: this is luatex, version 1.08.0 (tex live 2018)
> > mkiv lua stats > control sequences: 46536 of 65536 + 100000
> > mkiv lua stats > lua properties: engine: lua 5.3, used memory: 86 MB
> (ctx:
> > 85 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
> > mkiv lua stats > runtime: 0.536 seconds, 1 processed pages, 1 shipped
> > pages, 1.866 pages/second
> > mtx-context | purged files: vladimir.log, vladimir.tuc
> > system | total runtime: 2.525 seconds
> >
> >
> > TeX Output finished at Wed Aug 29 11:54:03
>
> So no error this time, how about the resulted PDF file?
>
> >> Could you show in full your ~/.emacs file? Do you use AUCTeX or bare
> >> Emacs ?
>
> > I use AUCTEX but I d not know bare Emacs
>
> I assumed that you installed auctex package, like
>
> $ sudo pacman -S auctex
>
> and do
>
> (load "auctex")
>
> in your ~/.emacs file. If you do not use auctex or not load it the Emacs
> will use it's own (builtin) support for LaTeX and ConTeXt file (a
> limited one).
>
> > (custom-set-variables
> > ;; custom-set-variables was added by Custom.
> > ;; If you edit it by hand, you could mess it up, so be careful.
> > ;; Your init file should contain only one such instance.
> > ;; If there is more than one, they won't work right.
> > '(ConTeXt-Mark-version "IV")
> > '(ConTeXt-engine "luatex")
> > '(TeX-command-extra-options "-shell-escape")
> > '(ansi-color-faces-vector
> > [default default default italic underline success warning error])
> > '(ansi-color-names-vector
> > ["#242424" "#e5786d" "#95e454" "#cae682" "#8ac6f2" "#333366" "#ccaa8f"
> > "#f6f3e8"])
> > '(custom-enabled-themes (quote (leuven)))
> > '(package-selected-packages
> > (quote
> > (yasnippet-snippets auto-complete-auctex context-coloring nova-theme
> > auctex)))
> > '(tab-width 4))
> > (custom-set-faces
> > ;; custom-set-faces was added by Custom.
> > ;; If you edit it by hand, you could mess it up, so be careful.
> > ;; Your init file should contain only one such instance.
> > ;; If there is more than one, they won't work right.
> > )
> >
> > ;; SERVER Download (MELPA):
> >
> > (when (>= emacs-major-version 24)
> > (require 'package)
> > (add-to-list
> > 'package-archives
> > '("melpa" . "http://melpa.org/packages/")
> > t))
> >
> >
> > (eval-after-load "context"
> > '(setq TeX-command-list
> > (cons '("ConTeXt"
> > "PATH=/home/aragorn/context/tex/texmf-linux-64/bin:$PATH context
> --purgeall
> > %s"
> > TeX-run-command nil t :help "Run context (MarkIV)")
> > TeX-command-list))
> > )
> >
> >
> > ;;(add-hook 'ConTeXt-mode-hook
> > ;;(lambda()
> > ;; (setq TeX-command-default "ConTeXt Full")))
> >
> > (setq-default cursor-type 'bar)
> >
> > (set-cursor-color "#ff0000")
> >
> >
> > (setq TeX-view-program-list '(("Evince" "evince %o"))
> > TeX-view-program-selection '((output-pdf "Evince")))
> >
> > (setq make-backup-files nil) ; stop creating backup~ files
> > (setq auto-save-default nil) ; stop creating #autosave# files
> >
> > ;; auto close bracket insertion. New in emacs 24
> > (electric-pair-mode 1)
> >
> > ;; turn on highlight matching brackets when cursor is on one
> > (show-paren-mode 1)
> >
> >
> > (setq inhibit-startup-screen t)
> >
> >
> > (add-to-list 'load-path
> "/home/aragorn/texlive/2018/texmf-dist/asymptote")
> > (autoload 'asy-mode "asy-mode.el" "Asymptote major mode." t)
> > (autoload 'lasy-mode "asy-mode.el" "hybrid Asymptote/Latex major mode."
> t)
> > (autoload 'asy-insinuate-latex "asy-mode.el" "Asymptote insinuate
> LaTeX." t)
> > (add-to-list 'auto-mode-alist '("\\.asy$" . asy-mode))
> >
> > (setq column-number-mode t)
> >
> > (setq line-number-mode t)
> >
> >
> > (setq py-install-directory "~/.emacs.d/site-lisp/python-mode.el-6.1.1")
> >
> > (add-to-list 'load-path py-install-directory)
> >
> > (require 'python-mode)
> >
> > ;;(add-hook 'ConTeXt-mode-hook
> > ;;(lambda ()
> > ;; (setq indent-tabs-mode t
> > ;; indent-line-function 'indent-relative)))
> >
> > (add-hook 'LaTeX-mode-hook
> > (lambda()
> > (add-to-list 'TeX-command-list '("LuaTeX"
> "%`lualatex%(mode)%'
> > %t" TeX-run-TeX nil t))
> > (setq TeX-command-default "LuaTeX")
> > (setq TeX-save-query nil)
> > (setq TeX-show-compilation t)))
> >
> >
> > (setq-default TeX-engine 'luatex
> > TeX-PDF-mode t)
>
> These settings looks good. Hope you resolved your problem.
>
> P.S. Why you install auctex as MELPA and don't use Archlinux package?
>
> > Thanks
> > Fabrice
>
> [...]
>
> ---
> WBR, Vladimir Lomov
>
> --
> A memorandum is written not to inform the reader, but to protect the
> writer.
> -- Dean Acheson
>
> ___________________________________________________________________________________
> 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: 33567 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-30 17:13 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
2018-08-29 10:01 ` Fabrice Couvreur
2018-08-29 14:12 ` Vladimir Lomov
2018-08-30 17:13 ` Fabrice Couvreur [this message]
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-eo8MED7W7JqFoidYuN8SG80Xvyj0w_E9OTVR6_+t5oj3g@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).