Re: [NTG-context] Table "modules"

2018-10-29 Thread Aditya Mahajan

On Mon, 29 Oct 2018, Joseph Wright wrote:

Hans: Thanks for the quick reply. I'll suggest to the LaTeX team that we 
treat table modules as ConTeXt-specific/reserved, and will think of a 
different name.


How about `package`?

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] \framed regression

2018-10-29 Thread Herbert Voss

Am 29.10.18 um 16:13 schrieb Henning Hraban Ramm:


But it doesn’t help with my labels.


you have a

\setupinterlinespace[2ex]

so \offinterlinespace has no real meaning here. Try it without and

\setupinterlinespace[0.1pt]


And why did it work without \offinterlineskip before?


No idea ...

Herbert, hope that I understand your problem well
___
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] \framed regression

2018-10-29 Thread Henning Hraban Ramm
Am 2018-10-28 um 20:49 schrieb Herbert Voss :

> Am 28.10.18 um 20:37 schrieb Henning Hraban Ramm:
>> If I just typeset frames, they get 1pt of space inbetween:
>> \starttext
> 
> \offinterlineskip
> 
>> \dorecurse{20}{%
>>   %\vskip-1pt% to avoid space
>>   \framed[width=10cm,height=1cm]{\ConTeXt}%
>> }
>> \stoptext
> 
> Herbert

Thank you, that works in this case.

But it doesn’t help with my labels.

And why did it work without \offinterlineskip before?

See attachment - it’s right if the labels fit one page. At the moment I need a 
negative vskip of 5pt.

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


aufkleber.pdf
Description: Adobe PDF document


aufkleber.tex
Description: Binary data
___
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] Table "modules"

2018-10-29 Thread Joseph Wright

On 28/10/2018 16:06, Joseph Wright wrote:

Hello all,

Looking at management of global Lua tables (for the obvious cases ...), 
I notice that all of the core Mk IV files use the construct


     if not modules then modules = { } end
     modules[" From a ConTeXt point-of-view, is it acceptable for third-parties to use 
this construct, or is it 'ConTeXt maintainers only'? I'm wondering for 
code used generically: it would be good to use the same approach, but I 
don't want to tread on any reserved namespaces.


Joseph


Somehow I've managed to loose Hans' reply, but I've seen it in the 
archive :)


Hans: Thanks for the quick reply. I'll suggest to the LaTeX team that we 
treat table modules as ConTeXt-specific/reserved, and will think of a 
different name.


Joseph
___
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] columnset regression

2018-10-29 Thread Henning Hraban Ramm
Am 2018-10-28 um 22:07 schrieb Wolfgang Schuster 
:

> Henning Hraban Ramm schrieb am 28.10.18 um 20:49:
>> If a columnset starts below something else (text, image, frame), the second 
>> and further columns start at the top of the type area instead of below the 
>> upper object.
>> 
>> \definecolumnset[drei][n=3]
>> \usemodule[visual]
> 
> \usemodule[old-columnsets]
> 
>> \starttext
>> 
>> \framed[width=\textwidth,height=.3\textheight]{\ConTeXt}
>> 
>> %\input knuth
>> 
>> \startcolumnset[drei]
>> \fakewords{30}{50}
>> \column
>> \fakewords{30}{50}
>> \column
>> \fakewords{30}{50}
>> \stopcolumnset
>> 
>> \stoptext

Thank you, but it doesn’t help:

tex error   > tex error on line 12 in file context-tests/columnsettest.tex: 
! Missing number, treated as zero

 
\def 
\syst_helpers_recurse_indeed ...ed_nop \else \def 
  \recurselevel {#1}\innerre...
\OTRSETassignwidths ...recurselevel }\c!distance }
  \ifcase \scratchcounter \e...
\OTRSETinitializecolumns ...i \OTRSETassignwidths 
  \global \mofcolumns \pluso...
\OTRSETrestart ...sttext \OTRSETinitializecolumns 
  \OTRSETcheckinsert \OTRSET...
\dostartcolumnset ...st {#1}}\OTRSETstartnextpage 
  \OTRSETassignwidths \page_...
...
l.12 
   

 2 \definecolumnset[drei][n=3]
 3 \usemodule[old-columnsets]
 4 \usemodule[visual]
 5 
 6 \starttext
 7 
 8 %\framed[width=\textwidth,height=.3\textheight]{\fakeword}
 9 \input tufte
10 
11 \startcolumnset[drei]
12 >>  
13 \fakewords{30}{50}
14 
15 \column
16 
17 \fakewords{30}{50}
18 
19 \column
20 
21 \fakewords{30}{50}
22 




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
___