Re: [NTG-context] Small pages and large framed texts

2019-03-20 Thread Wolfgang Schuster

Willi Egger schrieb am 20.03.19 um 22:11:

It’s me again…

I appears that I was not clear enough, though I am happy about the possibility 
of using textbackground.

What I must do is to prepare a list of ConTeXt commands on a very small page. 
So the specific question is, how I can influence the 
\placelistofsorts[texcommand] in such a way, that the framed pieces break over 
the page.


\usemodule [setups]

\setuppapersize [A6] [A6]

\setupbodyfont [pagella,9pt]

\definetextbackground
  [SetupsParameter]
  [before=\blank,
   after=\blank,
   topoffset=10pt,
   leftoffset=10pt,
   location=paragraph,
   frame=on]

\startsetups [xml:setups:start]
  \starttextbackground [SetupsParameter]
\stopsetups

\startsetups [xml:setups:stop]
  \stoptextbackground
\stopsetups

\starttext

\startsection[title={Short Version of the Command}]

  \cmdshortsetup [setupframed]
  \cmdshortsetup [setupinteraction]

\stopsection

\startsection[title={\TEX-commands}]

  \placesetup

\stopsection

\stoptext

Wolfgang

___
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] Small pages and large framed texts

2019-03-20 Thread Willi Egger
It’s me again…

I appears that I was not clear enough, though I am happy about the possibility 
of using textbackground.

What I must do is to prepare a list of ConTeXt commands on a very small page. 
So the specific question is, how I can influence the 
\placelistofsorts[texcommand] in such a way, that the framed pieces break over 
the page.

\usemodule[x][set-11]
\loadsetups[i-context]

\setuppapersize[A6][A6]

\setupbodyfont[pagella,rm,10pt]


\starttext

\startsection[title=hSort Version of the Command]

\shortsetup{setupframed}
\shortsetup{setupinteraction}

\stopsection

\startsection[title=\TEX -commands]

\placelistofsorts[texcommand]

\stopsection

\stoptext


Willi

> On 20 Mar 2019, at 20:48, Willi Egger  wrote:
> 
> Thank you Wolfgang, I will try this!
> 
> Willi
> 
>> On 20 Mar 2019, at 18:26, Willi Egger  wrote:
>> 
>> Hi,
>> 
>> I deal with a small project, in which I should be able to make a framed text 
>> break over the page. — Does anyone have an idea how to achieve this?
>> 
>> \setuppapersize[A6][A6]
>> 
>> \setupbodyfont[pagella,rm,10pt]
>> 
>> 
>> \starttext
>>  \framedtext
>>  {\dorecurse{3}{\input ward\blank}}
>> \stoptext
>> 
>> 
>> Any hints would be welcome
>> 
>> Willi
>> ___
>> 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
> ___

___
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] inmargin for only Roman-numbered items

2019-03-20 Thread Pablo Rodriguez
On 3/20/19 8:50 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 20.03.19 um 20:43:
>> [...]
>> Is there a way with a \setupitemize (or \setupitemgroup) to configure
>> only one kind of numbered (or unnumbered, for that matter) item groups?
>
> You have to create a new itemgroup environment/instance.
>
> \defineitemgroup [romanitemize]
> \setupitemgroup  [romanitemize] [R,inmargin]

Many thanks for your help, Wolfgang.

This is exactly what I needed.

Pablo
--
http://www.ousia.tk
___
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] inmargin for only Roman-numbered items

2019-03-20 Thread Wolfgang Schuster

Pablo Rodriguez schrieb am 20.03.19 um 20:43:

On 3/20/19 8:09 PM, Wolfgang Schuster wrote:

Pablo Rodriguez schrieb am 20.03.19 um 20:03:

[...]
Is there a way to get only [option=inmargin] for the items that are
Roman-numbered?


\startitemize[I,inmargin]


Many thanks for your reply, Wolfgang.

I need a \setup... command, since I’m going to use it in an environment
file to typeset XML sources.

Is there a way with a \setupitemize (or \setupitemgroup) to configure
only one kind of numbered (or unnumbered, for that matter) item groups?


You have to create a new itemgroup environment/instance.

\defineitemgroup [romanitemize]
\setupitemgroup  [romanitemize] [R,inmargin]

\starttext

\startromanitemize
\dorecurse{5}{\item item}
\stopromanitemize

\startitemgroup [romanitemize]
\dorecurse{5}{\item item}
\stopitemgroup

\stoptext

Wolfgang

___
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] Small pages and large framed texts

2019-03-20 Thread Willi Egger
Thank you Wolfgang, I will try this!

Willi

> On 20 Mar 2019, at 18:26, Willi Egger  wrote:
> 
> Hi,
> 
> I deal with a small project, in which I should be able to make a framed text 
> break over the page. — Does anyone have an idea how to achieve this?
> 
> \setuppapersize[A6][A6]
> 
> \setupbodyfont[pagella,rm,10pt]
> 
> 
> \starttext
>   \framedtext
>   {\dorecurse{3}{\input ward\blank}}
> \stoptext
> 
> 
> Any hints would be welcome
> 
> Willi
> ___
> 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] inmargin for only Roman-numbered items

2019-03-20 Thread Pablo Rodriguez
On 3/20/19 8:09 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 20.03.19 um 20:03:
>> [...]
>> Is there a way to get only [option=inmargin] for the items that are
>> Roman-numbered?
>
> \startitemize[I,inmargin]

Many thanks for your reply, Wolfgang.

I need a \setup... command, since I’m going to use it in an environment
file to typeset XML sources.

Is there a way with a \setupitemize (or \setupitemgroup) to configure
only one kind of numbered (or unnumbered, for that matter) item groups?

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___
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] inmargin for only Roman-numbered items

2019-03-20 Thread Wolfgang Schuster

Pablo Rodriguez schrieb am 20.03.19 um 20:03:

Dear list,

I have the following sample:

 \showframe
 \setupitemize[each][option=inmargin]
 \starttext
 \startitemize[n]
 \dorecurse{5}{\item item}
 \stopitemize

 \startitemize
 \dorecurse{5}{\item item}
 \stopitemize

 \startitemize[I]
 \dorecurse{5}{\item item}
 \stopitemize
 \stoptext

Is there a way to get only [option=inmargin] for the items that are
Roman-numbered?


\startitemize[I,inmargin]

Wolfgang

___
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] inmargin for only Roman-numbered items

2019-03-20 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\showframe
\setupitemize[each][option=inmargin]
\starttext
\startitemize[n]
\dorecurse{5}{\item item}
\stopitemize

\startitemize
\dorecurse{5}{\item item}
\stopitemize

\startitemize[I]
\dorecurse{5}{\item item}
\stopitemize
\stoptext

Is there a way to get only [option=inmargin] for the items that are
Roman-numbered?

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___
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] Small pages and large framed texts

2019-03-20 Thread Wolfgang Schuster

Willi Egger schrieb am 20.03.19 um 18:26:

Hi,

I deal with a small project, in which I should be able to make a framed text 
break over the page. — Does anyone have an idea how to achieve this?

\setuppapersize[A6][A6]

\setupbodyfont[pagella,rm,10pt]


\starttext
\framedtext
{\dorecurse{3}{\input ward\blank}}
\stoptext


Any hints would be welcome


Use the textbackground environment.

Wolfgang

___
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] LuaJitTeX doesn’t work any more

2019-03-20 Thread Wolfgang Schuster

Hans van der Meer schrieb am 20.03.19 um 18:20:

Last login: Wed Mar 20 08:23:38 on ttys000
Wed Mar 20 18:17:51 CET 2019
21 ~: cdg
22 Genealogie: contexjit family-note.tex
-bash: contexjit: command not found
23 Genealogie:

mmm... contextjit doesn't come with the beta install? Or do I miss 
something?


You forgot the t at the end of context.

Wolfgang

___
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] Small pages and large framed texts

2019-03-20 Thread Willi Egger
Hi,

I deal with a small project, in which I should be able to make a framed text 
break over the page. — Does anyone have an idea how to achieve this?

\setuppapersize[A6][A6]

\setupbodyfont[pagella,rm,10pt]


\starttext
\framedtext
{\dorecurse{3}{\input ward\blank}}
\stoptext


Any hints would be welcome

Willi
___
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] LuaJitTeX doesn’t work any more

2019-03-20 Thread Hans van der Meer
Last login: Wed Mar 20 08:23:38 on ttys000
Wed Mar 20 18:17:51 CET 2019
21 ~: cdg
22 Genealogie: contexjit family-note.tex
-bash: contexjit: command not found
23 Genealogie: 

mmm... contextjit doesn't come with the beta install? Or do I miss something?

dr. Hans van der Meer


> On 20 Mar 2019, at 18:03, Wolfgang Schuster 
>  wrote:
> 
> Henning Hraban Ramm schrieb am 20.03.19 um 17:27:
>> With the latest beta, context --jit stopped working on my Mac (OSX 10.9.5):
>> 
>> 
>> This is LuajitTeX, Version 1.09.2 (TeX Live 2019/dev)
>>  system commands enabled.
>> 
>> ---! 
>> /Users/hraban/Library/texmf/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.fmt
>>  was written by luatex
>> (Fatal format file error; I'm stymied)mtx-context | fatal error: return 
>> code: 1
>> 
>> 
>> I can simply not use JIT, but maybe there’s something to fix?
> 
> contextjit 
> 
> Wolfgang
> 
> ___
> 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] LuaJitTeX doesn’t work any more

2019-03-20 Thread Henning Hraban Ramm
Am 2019-03-20 um 18:03 schrieb Wolfgang Schuster 
:

> Henning Hraban Ramm schrieb am 20.03.19 um 17:27:
>> With the latest beta, context --jit stopped working on my Mac (OSX 10.9.5):
> 
> contextjit 

Ah, thank you. I feel I should know that already.
Why doesn’t context --jit map to the same call?
It shows the same version LuajitTeX 1.09.2

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] LuaJitTeX doesn’t work any more

2019-03-20 Thread Wolfgang Schuster

Henning Hraban Ramm schrieb am 20.03.19 um 17:27:

With the latest beta, context --jit stopped working on my Mac (OSX 10.9.5):


This is LuajitTeX, Version 1.09.2 (TeX Live 2019/dev)
  system commands enabled.

---! 
/Users/hraban/Library/texmf/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.fmt
 was written by luatex
(Fatal format file error; I'm stymied)mtx-context | fatal error: return 
code: 1


I can simply not use JIT, but maybe there’s something to fix?


contextjit 

Wolfgang

___
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] stacking of marginals stopped working

2019-03-20 Thread Henning Hraban Ramm
With the current beta, stacking of margin notes doesn’t work any more.
(It was never perfect, but good enough.)

MWE:

\setuplayout[
  backspace=60mm,
  width=100mm,
  margin=50mm,
]
\setupmargindata[inmargin][stack=yes,style=\tfx] % or stack=continue

\starttext

%\showlayout

\input tufte
\inmargin{
\input knuth
}
\input zapf
\inmargin{
\input knuth
}

\stoptext



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
___


[NTG-context] context --autopdf

2019-03-20 Thread Henning Hraban Ramm
Ahoi,

usually I call context with "&& open myfile.pdf" on OSX, but only today I 
discovered the --autopdf option.

Unfortunately it tries to call sumatra with wine, which doesn’t make a lot of 
sense for me  (it’s very slow, and while I have wine installed, not sumatra).

The options seem to be "auto default okular pdfxcview sumatra".

--autopdf=auto calls "open" (i.e. open with the default application, which is 
Acrobat). Same as my usual solution, which is nice enough.

--autopdf=default calls "pdfopen" which is installed with the other TeX 
binaries (didn’t know that either), but that tries to call acrobat via X11, 
which doesn’t make sense.

Where is this configurable, and can I add other options like Preview.app?


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
___


[NTG-context] LuaJitTeX doesn’t work any more

2019-03-20 Thread Henning Hraban Ramm
With the latest beta, context --jit stopped working on my Mac (OSX 10.9.5):


This is LuajitTeX, Version 1.09.2 (TeX Live 2019/dev) 
 system commands enabled.

---! 
/Users/hraban/Library/texmf/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.fmt
 was written by luatex
(Fatal format file error; I'm stymied)mtx-context | fatal error: return 
code: 1


I can simply not use JIT, but maybe there’s something to fix?

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
___