Re: [NTG-context] Emacs + latest beta

2018-08-27 Thread Vladimir Lomov
Hello,
** Fabrice Couvreur [2018-08-27 15:47:41 +0200]:

> Le lun. 27 août 2018 à 11:51, Fabrice Couvreur 
> 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


signature.asc
Description: PGP signature
___
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
___

[NTG-context] definefallbackfamily stopped working for text fonts

2018-08-27 Thread Henri Menke
Dear list,

In the latest beta the font fallback using a text font in math mode does
not work anymore.  The log contains messages like

char 푐 (U+1D450) in font 'MinionPro-It' with id 8: missing
char 푎 (U+1D44E) in font 'MinionPro-It' with id 8: missing
char 푏 (U+1D44F) in font 'MinionPro-It' with id 8: missing

which is not surprising because a text font does not have math italics.
How can I get this to work again?  MWE below.

Cheers, Henri

---

\definefontfamily [mainface] [rm] [Minion Pro]

\definefallbackfamily [mainface] [math] [Minion Pro]
[math:lowercaseitalic] [force=yes]
\definefallbackfamily [mainface] [math] [Minion Pro] [math:digitsnormal]
   [force=yes]
\definefontfamily [mainface] [math] [TeX Gyre Pagella Math]

\setupbodyfont[mainface]

\starttext
\input ward

\startformula
  c^2 = a^2 + b^2
\stopformula

\stoptext


pEpkey.asc
Description: application/pgp-keys
___
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
___

Re: [NTG-context] Question on enabling/disabling modes

2018-08-27 Thread Henning Hraban Ramm
Am 2018-08-27 um 16:37 schrieb Mikael P. Sundqvist :

> > On 27 Aug 2018, at 14:14, Mikael P. Sundqvist  wrote:
> > 
> > Hi!
> > 
> > I am writing notes for my teaching and would like to do the following with 
> > modes:
> > 
> > * If the file is compiled with context file.tex then everything (i.e. the 
> > content in all modes) is typeset.
> > * If the file is compiled with context --mode=test1 file.tex then only mode 
> > test1 is typeset.
> > 
> > I do not see how to do this easily.
> 
> 
> This is what I would do if the list of modes is small:
> 
> \doifnotmode{test1}{\enablemode[test1,test2]}
> 
> (and don’t use the \definemode lines)
> 
> But if you need many of them, that could get problematic with
> many nested \doifmodeelse statements. 
> 
> In that case, I would use a separate ‘all’ mode, and call the
> context script with that as argument in the generic case.
> 
> 
> %%% file.tex
> \starttext
> \startmode[test1,all]
> We are in mode test1.
> \stopmode
> \startmode[test2,all]
> We are in mode test2.
> \stopmode
> \stoptext
> %%%
> 
> ___
> 
> Thank you, Taco!
> 
> I have around 25 of them, and your solution with "all" works indeed well for 
> me.


There’s also

\startnotmode[some]
This is not typeset in "some" mode.
\stopnotmode


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___
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
___

Re: [NTG-context] Emacs + latest beta

2018-08-27 Thread Fabrice Couvreur
Hello,
I installed texlive 2018 and context standalone in my home directory. It
seems to me that I must therefore indicate the path where texlive is
located 2018, but maybe I'm wrong.

You can check this by running `which context` in a terminal.
>

 Setting "/home/aragorn/context/tex" as ConTeXt root.
[aragorn@fab ~]$ which context
/home/aragorn/context/tex/texmf-linux-64/bin/context
[aragorn@fab ~]$

Fabrice

Le lun. 27 août 2018 à 16:36, Aditya Mahajan  a écrit :

> On Mon, 27 Aug 2018, Fabrice Couvreur wrote:
>
> > 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
>
> I haven't read the whole thread, but why are you adding BOTH
> context-minimal
> and texlive to path. The whole idea of `source ...setuptex` is to set the
> PATH
> so that `context` resolves to the script provided by context-minimals
> rather
> than texlive.
>
> You can check this by running `which context` in a terminal.
>
> Aditya
>
> ___
> 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
>
> ___
___
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
___

Re: [NTG-context] closesymbol on same line as displayed formula

2018-08-27 Thread Aditya Mahajan

On Mon, 27 Aug 2018, Jeong Dal wrote:



Hi,

The same thing happens after the itemization as in the following MWE.

\defineenumeration[proof][text=Proof.]

\setupenumeration[proof]
[number=no,
closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi]


\starttext
\startproof
This is a simple proof.
\stopproof

\startproof
This is another simple proof that ends with a formula
\startformula
1+1=2.
\stopformula
\stopproof
\startproof
\startitemize[n]
\item first line.
\item second line


Add: \placeclosesymbol here


\stopitemize
\stopproof

\stoptext


For display equations, there is not easy solution. (What should happen if 
there is an equation number; what should happen if the display equation 
overflows hsize, etc.). The latex package `ntheorem` implements a two pass 
solution (measures where the equation number box gets placed, and then add 
the close symbol below it). I am not sure how easy it is to implement such 
an approach in ConTeXt.


Aditya
___
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
___

Re: [NTG-context] Question on enabling/disabling modes

2018-08-27 Thread Mikael P. Sundqvist
On Mon, Aug 27, 2018 at 3:17 PM Taco Hoekwater  wrote:

>
>
> > On 27 Aug 2018, at 14:14, Mikael P. Sundqvist  wrote:
> >
> > Hi!
> >
> > I am writing notes for my teaching and would like to do the following
> with modes:
> >
> > * If the file is compiled with context file.tex then everything (i.e.
> the content in all modes) is typeset.
> > * If the file is compiled with context --mode=test1 file.tex then only
> mode test1 is typeset.
> >
> > I do not see how to do this easily.
>
>
> This is what I would do if the list of modes is small:
>
> \doifnotmode{test1}{\enablemode[test1,test2]}
>
> (and don’t use the \definemode lines)
>
> But if you need many of them, that could get problematic with
> many nested \doifmodeelse statements.
>
> In that case, I would use a separate ‘all’ mode, and call the
> context script with that as argument in the generic case.
>
>
> %%% file.tex
> \starttext
> \startmode[test1,all]
> We are in mode test1.
> \stopmode
> \startmode[test2,all]
> We are in mode test2.
> \stopmode
> \stoptext
> %%%
>
>
> Best wishes,
> Taco
>
> Taco Hoekwater
> Elvenkind BV
>
>
>
>
>
> ___
> 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
>
> ___


Thank you, Taco!

I have around 25 of them, and your solution with "all" works indeed well
for me.

/Mikael
___
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
___

Re: [NTG-context] Emacs + latest beta

2018-08-27 Thread Aditya Mahajan

On Mon, 27 Aug 2018, Fabrice Couvreur wrote:


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


I haven't read the whole thread, but why are you adding BOTH context-minimal
and texlive to path. The whole idea of `source ...setuptex` is to set the PATH
so that `context` resolves to the script provided by context-minimals rather
than texlive.

You can check this by running `which context` in a terminal.

Aditya
___
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
___

Re: [NTG-context] Emacs + latest beta

2018-08-27 Thread Fabrice Couvreur
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 
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  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 

Re: [NTG-context] Question on enabling/disabling modes

2018-08-27 Thread Taco Hoekwater


> On 27 Aug 2018, at 14:14, Mikael P. Sundqvist  wrote:
> 
> Hi!
> 
> I am writing notes for my teaching and would like to do the following with 
> modes:
> 
> * If the file is compiled with context file.tex then everything (i.e. the 
> content in all modes) is typeset.
> * If the file is compiled with context --mode=test1 file.tex then only mode 
> test1 is typeset.
> 
> I do not see how to do this easily.


This is what I would do if the list of modes is small:

\doifnotmode{test1}{\enablemode[test1,test2]}

(and don’t use the \definemode lines)

But if you need many of them, that could get problematic with
many nested \doifmodeelse statements. 

In that case, I would use a separate ‘all’ mode, and call the
context script with that as argument in the generic case.


%%% file.tex
\starttext
\startmode[test1,all]
We are in mode test1.
\stopmode
\startmode[test2,all]
We are in mode test2.
\stopmode
\stoptext
%%%


Best wishes,
Taco

Taco Hoekwater
Elvenkind BV




___
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
___

[NTG-context] Question on enabling/disabling modes

2018-08-27 Thread Mikael P. Sundqvist
Hi!

I am writing notes for my teaching and would like to do the following with
modes:

* If the file is compiled with context file.tex then everything (i.e. the
content in all modes) is typeset.
* If the file is compiled with context --mode=test1 file.tex then only mode
test1 is typeset.

I do not see how to do this easily. The example I am working on looks like
this:

%%% file.tex
\definemode[test1][keep]
\definemode[test2][keep]
\starttext
\startmode[test1]
We are in mode test1.
\stopmode
\startmode[test2]
We are in mode test2.
\stopmode
\stoptext
%%%

This, however, naturally gives not output, since the modes test1 and test2
are not activated. If I compile with context --mode=test1 file.tex I get
the content in mode test1, as I want.

I have tried to change "keep" to "yes" in the setup of the modes, but then
the material in both modes are typeset no matter what command flag I use.

Do I miss something?

/Mikael

PS In reality I have about 25 lectures, so using this method there will be
about 25 modes in total.
___
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
___

Re: [NTG-context] Emacs + latest beta

2018-08-27 Thread Fabrice Couvreur
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  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 

[NTG-context] xtables multipage horizontally

2018-08-27 Thread be ba
Hi,

the wiki says for xtables and multipage "yes, even horizontally". How
can I do that?

Doing this:

\setupxtable[split=yes]

is not enough since this only gives vertically splitting. Both
http://www.pragma-ade.com/general/manuals/xtables-mkiv.pdf and
http://wiki.contextgarden.net/xtables do not talk about this.

  be ba

___
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
___