[NTG-context] Fwd: Problem of compiling a file with Emacs

2018-08-01 Thread Fabrice Couvreur
-- Forwarded message --
From: Fabrice Couvreur 
Date: 2018-08-02 0:07 GMT+02:00
Subject: Re: [NTG-context] Problem of compiling a file with Emacs
To: Lizardo Reyna 


Hello,
I tried this :

\starttext

\startMPcode
 draw outlinetext.f
 ("\bf 1")
 (withcolor "lightgray")
 ysized 50pt ;
\stopMPcode

\startMPcode
 pickup pencircle scaled 1mm ;
path p ; p := fullcircle scaled 3cm ;
draw p withcolor .625yellow ;
vardef do (expr str) =
  save currentpicture ; picture currentpicture ;
  currentpicture := thelabel(str,origin) ;
  draw boundingbox currentpicture withpen pencircle scaled .5pt ;
  currentpicture
enddef ;
\stopMPcode

\stoptext

The first code does not compile; I get a small rectangle instead of the
number 1.
The second code compiles correctly.
We will have tried, thank you !
Fabrice

2018-08-01 16:27 GMT+02:00 Lizardo Reyna :

> The issue is very strange, the log file shows no errors. However, the
> metapost code is not showed in the pdf file when is complied from emacs
> (only in your computer).
>
> This happen with any metapost code?
>
> I can't find what is not working well.
>
>
>
> On 31/07/18 16:51, Fabrice Couvreur wrote:
> > Hi,
> > I do not think the installation is incorrect (I have nevertheless
> > reinstalled the latest version) because the compilation works perfectly
> > with this :
> >
> > [aragorn@fab ~]$ /home/aragorn/context/tex/texmf-linux-64/bin/context
> > Test.tex
> >
> > I compiled with Emacs using the standalone version by putting  (setenv
> > "PATH" "/home/aragorn/context/tex/texmf-linux-64/bin:$PATH" t) in my
> > ~/.emacs but still without success, it's still strange.
> >
> >
> > Running `ConTeXt' on `Test' with ``context --once --texutil  --nonstop
> > Test.tex''
> > resolvers   | trees | analyzing 'home:texmf'
> > mtx-context | run 1: luatex
> > --fmt="/home/aragorn/context/tex/texmf-cache/luatex-cache/co
> ntext/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en"
> > --interaction="nonstopmode" --jobname="Test"
> > --lua="/home/aragorn/context/tex/texmf-cache/luatex-cache/co
> ntext/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui"
> > --no-parse-first-line --c:currentrun=1 --c:fulljobname="./Test.tex"
> > --c:input="./Test.tex" --c:kindofrun=3 --c:maxnofruns=1 --c:nonstopmode
> > --c:once --c:texutil "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.07.27 19:12 MKIV beta  fmt:
> > 2018.7.30  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 'Test', input './Test', result 'Test'
> > fonts   > latin modern fonts are not preloaded
> > languages   > language 'en' is active
> > open source > level 2, order 3, name '/home/aragorn/Test.tex'
> > fonts   > preloading latin modern fonts (second stage)
> > fonts   > 'fallback modern-designsize rm 12pt' is loaded
> > structure   > sectioning > title @ level 2 : 0.0 -> Sommaire
> > 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
> > structure   > sectioning > chapter @ level 2 : 0.1 -> Espaces
> > probabilisés
> > 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'
> > structure   > sectioning > subsection @ level 4 : 0.1.0.1 ->
> > Expérience aléatoire et univers
> > structure   > sectioning > subsection @ level 4 : 0.1.0.2 ->
> Événements
> > pages   > flushing realpage 2, userpage 2
> > close source> level 2, order 3, name '/home/aragorn/Test.tex'
> > close source> level 1, order 3, name
> > '/home/aragorn/context/tex/texmf-context/tex/context/base/
> mkiv/cont-yes.mkiv'
> >
> > mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/te
> xmfcnf.lua
> > mkiv lua stats  > used cache path:
> > /home/aragorn/context/tex/texmf-cache/luatex-cache/context/5
> fe67e0bfe781ce0dde776fb1556f32e
> > mkiv lua stats  > resource resolver: loadtime 0.007 seconds, 1 scans
> > with scantime 0.000 seconds, 0 shared scans, 29 

Re: [NTG-context] Problem with an enumeration

2018-08-01 Thread Fabrice Couvreur
Hi Wolfgang,
Thank you very much !
Fabrice

2018-08-01 21:21 GMT+02:00 Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com>:

> Hi Fabrice,
>
> I found the following example in my mail archive.
>
> %%
> \define\ItemCommand
>   {\hskip\zeropoint\relax\autoinsertnextspace}
>
> \setupitemgroup
>   [itemize]
>   [color=darkred,
>distance=0pt]
>
> \setupitemgroup
>   [itemize:1]
>   [option={n,packed,fit,intext},
>command=\ItemCommand]
>
> \setupitemgroup
>   [itemize:2]
>   [lefttext=,
>righttext=,
>option={a,text}]
>
> \starttext
>
> \startitemize
>
> \item We thrive in \unknown
>
> \item \startitemize
> \item \input tufte\par
> \item \input tufte
> \stopitemize
>
> \stopitemize
>
> \stoptext
> %%
>
> PS. If you want an answer from me you should add me to cc because I have
> problems getting mails from the list.
>
> Wolfgang
>
>
> Fabrice Couvreur schrieb am 31.07.18 um 23:58:
>
> Hi Pablo,
> That's not what I'm looking for but rather this:
>
> *1.a.* blablablabla
> blablablabla
> *b.* blablablabla
> blablablabla
> *c.* blablablabla
> blablablabla
>
> Which explains the use of the key intext
> Fabrice
>
> 2018-07-31 13:31 GMT+02:00 Pablo Rodriguez :
>
>> On 07/31/2018 12:18 PM, Fabrice Couvreur wrote:
>> > Hello,
>> > Wolfgang helped me to get this:
>> >
>> > 1.a.
>> > b.
>> > c.
>> > 2.a
>> > b.
>> > c.
>> >
>> > I have unfortunately lost the code he had proposed to me. I get this:
>> >
>> > 1.a.
>> > 1b
>> > 1 C
>> > 2.a
>> > 2.b
>> > 2.c
>>
>> Hi Fabrice,
>>
>> I don’t get your output. I had to remove the "intext" option and I guess
>> I got what you intend:
>>
>> \setupitemgroup
>>[itemize][1]
>>[color=darkred,
>> distance=\spaceamount,
>> option={packed,fit,n}]
>>
>> \setupitemgroup
>>[itemize][2]
>>[color=darkred,
>> distance=\spaceamount,
>> option={packed,fit,a}]
>>
>> \starttext
>> \startitemize
>> \item \startitemize
>> \item \input zapf
>>
>> \item \input knuth
>>
>> \item \input montgomery
>> \stopitemize
>> \item \startitemize
>> \item \input zapf
>>
>> \item \input knuth
>>
>> \item \input montgomery
>> \stopitemize
>> \stopitemize
>> \stoptext
>>
>> I hope it helps,
>>
>> 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/list
>> info/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] columns unexpected (odd) results

2018-08-01 Thread Floris van Manen
Not sure as how to tell why it is misusing the line environment.
But the suggested \par solution does not work.

.F


> On 1 Aug 2018, at 21:28, Wolfgang Schuster 
>  wrote:
> 
> Ending each line in a proper (e.g. by adding \par to finish the paragraph)
> without the misuse the lines environment fixes the problem as well.
> 
> \starttext
> 
> Testing 1971-04-26
> 
> \startcolumns[n=3]
> \dorecurse{200}{+ 17271 \rightarrow\  2018-08-08\par}
> \stopcolumns
> 
> \stoptext
> 
> Wolfgang
> 
> 
> Taco Hoekwater schrieb am 01.08.18 um 13:04:
>> Hi,
>> 
>> Same problem I had.
>> 
>> As a workaround,
>> 
>> \setuplayout[grid=yes]
>> 
>> helps.
>> 
>>> On 1 Aug 2018, at 12:37, Pablo Rodriguez  wrote:
>>> 
>>> On 08/01/2018 11:48 AM, Henri Menke wrote:
 Cannot reproduce with TL2018 or latest beta.
>>> Hi Henri,
>>> 
>>> I’m afraid that Floris is right. With latest beta and a simple
>>> improvement to your file, I get wrong output:
>>> 
>>>\starttext
>>>\startlines
>>>   Testing 1971-04-26
>>>   \startcolumns[n=3]
>>> \dorecurse{200}{+ 17271 \rightarrow\  2018-08-08
>>> }
>>>   \stopcolumns
>>>\stoplines
>>>\stoptext
>>> 
>>> If the closing parenthesis is on the same line, the plus sign is
>>> misplaced in the last item.
>>> 
>>> With the previous sample, the second page gets a wrong interline space
>>> (between the third and the fourth item from the first column).
>>> 
>>> 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
>>> ___
>> 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
>> ___
> 
> ___
> 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
> ___



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] columns unexpected (odd) results

2018-08-01 Thread Wolfgang Schuster

Ending each line in a proper (e.g. by adding \par to finish the paragraph)
without the misuse the lines environment fixes the problem as well.

\starttext

Testing 1971-04-26

\startcolumns[n=3]
\dorecurse{200}{+ 17271 \rightarrow\  2018-08-08\par}
\stopcolumns

\stoptext

Wolfgang


Taco Hoekwater schrieb am 01.08.18 um 13:04:

Hi,

Same problem I had.

As a workaround,

\setuplayout[grid=yes]

helps.


On 1 Aug 2018, at 12:37, Pablo Rodriguez  wrote:

On 08/01/2018 11:48 AM, Henri Menke wrote:

Cannot reproduce with TL2018 or latest beta.

Hi Henri,

I’m afraid that Floris is right. With latest beta and a simple
improvement to your file, I get wrong output:

\starttext
\startlines
   Testing 1971-04-26
   \startcolumns[n=3]
 \dorecurse{200}{+ 17271 \rightarrow\  2018-08-08
 }
   \stopcolumns
\stoplines
\stoptext

If the closing parenthesis is on the same line, the plus sign is
misplaced in the last item.

With the previous sample, the second page gets a wrong interline space
(between the third and the fourth item from the first column).

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
___

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
___


___
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] Problem with an enumeration

2018-08-01 Thread Wolfgang Schuster

Hi Fabrice,

I found the following example in my mail archive.

%%
\define\ItemCommand
  {\hskip\zeropoint\relax\autoinsertnextspace}

\setupitemgroup
  [itemize]
  [color=darkred,
   distance=0pt]

\setupitemgroup
  [itemize:1]
  [option={n,packed,fit,intext},
   command=\ItemCommand]

\setupitemgroup
  [itemize:2]
  [lefttext=,
   righttext=,
   option={a,text}]

\starttext

\startitemize

\item We thrive in \unknown

\item \startitemize
\item \input tufte\par
\item \input tufte
\stopitemize

\stopitemize

\stoptext
%%

PS. If you want an answer from me you should add me to cc because I have 
problems getting mails from the list.


Wolfgang


Fabrice Couvreur schrieb am 31.07.18 um 23:58:

Hi Pablo,
That's not what I'm looking for but rather this:

*1.a.* blablablabla
blablablabla
*b.* blablablabla
blablablabla
*c.* blablablabla
blablablabla

Which explains the use of the key intext
Fabrice

2018-07-31 13:31 GMT+02:00 Pablo Rodriguez >:


On 07/31/2018 12:18 PM, Fabrice Couvreur wrote:
> Hello,
> Wolfgang helped me to get this:
> 
> 1.a.

> b.
> c.
> 2.a
> b.
> c.
> 
> I have unfortunately lost the code he had proposed to me. I get this:
> 
> 1.a.

> 1b
> 1 C
> 2.a
> 2.b
> 2.c

Hi Fabrice,

I don’t get your output. I had to remove the "intext" option and I
guess
I got what you intend:

\setupitemgroup
   [itemize][1]
   [color=darkred,
distance=\spaceamount,
option={packed,fit,n}]

\setupitemgroup
   [itemize][2]
   [color=darkred,
distance=\spaceamount,
option={packed,fit,a}]

\starttext
\startitemize
\item \startitemize
\item \input zapf

\item \input knuth

\item \input montgomery
\stopitemize
\item \startitemize
\item \input zapf

\item \input knuth

\item \input montgomery
\stopitemize
\stopitemize
\stoptext

I hope it helps,

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

___


___
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] Problem of compiling a file with Emacs

2018-08-01 Thread Lizardo Reyna
The issue is very strange, the log file shows no errors. However, the
metapost code is not showed in the pdf file when is complied from emacs
(only in your computer).

This happen with any metapost code?

I can't find what is not working well.



On 31/07/18 16:51, Fabrice Couvreur wrote:
> Hi,
> I do not think the installation is incorrect (I have nevertheless
> reinstalled the latest version) because the compilation works perfectly
> with this :
> 
> [aragorn@fab ~]$ /home/aragorn/context/tex/texmf-linux-64/bin/context
> Test.tex
> 
> I compiled with Emacs using the standalone version by putting  (setenv
> "PATH" "/home/aragorn/context/tex/texmf-linux-64/bin:$PATH" t) in my
> ~/.emacs but still without success, it's still strange.
> 
> 
> Running `ConTeXt' on `Test' with ``context --once --texutil  --nonstop
> Test.tex''
> resolvers   | trees | analyzing 'home:texmf'
> mtx-context | run 1: luatex
> --fmt="/home/aragorn/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en"
> --interaction="nonstopmode" --jobname="Test"
> --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="./Test.tex"
> --c:input="./Test.tex" --c:kindofrun=3 --c:maxnofruns=1 --c:nonstopmode
> --c:once --c:texutil "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.07.27 19:12 MKIV beta  fmt:
> 2018.7.30  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 'Test', input './Test', result 'Test'
> fonts   > latin modern fonts are not preloaded
> languages   > language 'en' is active
> open source > level 2, order 3, name '/home/aragorn/Test.tex'
> fonts   > preloading latin modern fonts (second stage)
> fonts   > 'fallback modern-designsize rm 12pt' is loaded
> structure   > sectioning > title @ level 2 : 0.0 -> Sommaire
> 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
> structure   > sectioning > chapter @ level 2 : 0.1 -> Espaces
> probabilisés
> 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'
> structure   > sectioning > subsection @ level 4 : 0.1.0.1 ->
> Expérience aléatoire et univers
> structure   > sectioning > subsection @ level 4 : 0.1.0.2 -> Événements
> pages   > flushing realpage 2, userpage 2
> close source    > level 2, order 3, name '/home/aragorn/Test.tex'
> close source    > level 1, order 3, 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, 29 found files, scanned
> paths: /home/aragorn/texmf
> mkiv lua stats  > stored bytecode data: 429 modules (0.228 sec), 93
> tables (0.014 sec), 522 chunks (0.242 sec)
> mkiv lua stats  > traced context: maxstack: 1325, freed: 4, unreachable:
> 1321
> mkiv lua stats  > cleaned up reserved nodes: 58 nodes, 9 lists of 455
> mkiv lua stats  > node memory usage: 2 glue, 2 kern, 3 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, 114 calls
> 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: 332, file: 200, direct: 2, late:
> 4, function 577, total: 1115 (1115 per page)
> mkiv lua stats  > loaded patterns: en::2, load time: 0.000
> mkiv lua stats  > result saved in file: Test.pdf, compresslevel 3,
> objectcompresslevel 3
> mkiv lua stats  > loaded fonts: 3 files: latinmodern-math.otf,
> 

Re: [NTG-context] columns unexpected (odd) results

2018-08-01 Thread Floris van Manen
that works indeed.
thank you

.F


> On 1 Aug 2018, at 13:04, Taco Hoekwater  wrote:
> 
> Hi,
> 
> Same problem I had.
> 
> As a workaround,
> 
> \setuplayout[grid=yes]
> 
> helps.
> 
>> On 1 Aug 2018, at 12:37, Pablo Rodriguez  wrote:
>> 
>> On 08/01/2018 11:48 AM, Henri Menke wrote:
>>> Cannot reproduce with TL2018 or latest beta.
>> 
>> Hi Henri,
>> 
>> I’m afraid that Floris is right. With latest beta and a simple
>> improvement to your file, I get wrong output:
>> 
>>   \starttext
>>   \startlines
>>  Testing 1971-04-26
>>  \startcolumns[n=3]
>>\dorecurse{200}{+ 17271 \rightarrow\  2018-08-08
>>}
>>  \stopcolumns
>>   \stoplines
>>   \stoptext
>> 
>> If the closing parenthesis is on the same line, the plus sign is
>> misplaced in the last item.
>> 
>> With the previous sample, the second page gets a wrong interline space
>> (between the third and the fourth item from the first column).
>> 
>> 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
>> ___
> 
> 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
> ___



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] column-spanning floats

2018-08-01 Thread Dr. Thomas Möbius
On Tue, 31 Jul 2018 14:06:43 +0200
Taco Hoekwater  wrote:

> 
> 
> > On 31 Jul 2018, at 13:57, Taco Hoekwater  wrote:
> > 
> > Hi all,
> > 
> > It used to be that in an example like the one attached where you
> > were using \startcolumns and used an \externalfigure that was wider
> > than the column width, the figure would automatically be moved to
> > the top of _both_ columns on the next page. 
> > 
> > That was a bit tricky sometimes, but worked fine. However, when I
> > run with the current mkiv beta, the figure is simply overlapping
> > the next column, and it does not auto-migrate. 
> > 
> > Also \startpostponing does not work here because it will indeed
> > move to the next page, but still only occupies the left column,
> > thus overlapping any text in the second column.
> > 
> > Is that functionality gone, or do I need to do something special?
> > 
> > Best wishes,
> > Taco
> > 
> > PS On top of that, the column balancing creates bad inter-paragraph
> > spacing in the left column. No idea where that comes from! :(
> 
> 
> Also, I just tried \definecolumnset, but a) the balance=yes key does
> not work, and b) I still get awful inter-par spacing on the left
> column, except with \setuplayout[grid=yes] (but that should not be
> needed to just get a reasonable placing, I think).
> 
> Taco

I would also love to see a solution to this. I also tried to play with
the \definecolumnset instead of the \startcolumns but when there are is
a lot of inline math, \definecolumnset produces just horrible inter-par
spacing.

Thomas
___
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] columns unexpected (odd) results

2018-08-01 Thread Taco Hoekwater
Hi,

Same problem I had. 

As a workaround,

\setuplayout[grid=yes]

helps.

> On 1 Aug 2018, at 12:37, Pablo Rodriguez  wrote:
> 
> On 08/01/2018 11:48 AM, Henri Menke wrote:
>> Cannot reproduce with TL2018 or latest beta.
> 
> Hi Henri,
> 
> I’m afraid that Floris is right. With latest beta and a simple
> improvement to your file, I get wrong output:
> 
>\starttext
>\startlines
>   Testing 1971-04-26
>   \startcolumns[n=3]
> \dorecurse{200}{+ 17271 \rightarrow\  2018-08-08
> }
>   \stopcolumns
>\stoplines
>\stoptext
> 
> If the closing parenthesis is on the same line, the plus sign is
> misplaced in the last item.
> 
> With the previous sample, the second page gets a wrong interline space
> (between the third and the fourth item from the first column).
> 
> 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
> ___

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
___

Re: [NTG-context] columns unexpected (odd) results

2018-08-01 Thread Pablo Rodriguez
On 08/01/2018 11:48 AM, Henri Menke wrote:
> Cannot reproduce with TL2018 or latest beta.

Hi Henri,

I’m afraid that Floris is right. With latest beta and a simple
improvement to your file, I get wrong output:

\starttext
\startlines
   Testing 1971-04-26
   \startcolumns[n=3]
 \dorecurse{200}{+ 17271 \rightarrow\  2018-08-08
 }
   \stopcolumns
\stoplines
\stoptext

If the closing parenthesis is on the same line, the plus sign is
misplaced in the last item.

With the previous sample, the second page gets a wrong interline space
(between the third and the fourth item from the first column).

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] columns unexpected (odd) results

2018-08-01 Thread Henri Menke

Cannot reproduce with TL2018 or latest beta.  MWE below:

\starttext
\startlines
  Testing 1971-04-26
  \startcolumns[n=3]
\dorecurse{200}{+ 17271 \rightarrow\  2018-08-08 }
  \stopcolumns
\stoplines
\stoptext

On 01/08/18 21:34, Floris van Manen wrote:
Has anyone a solution / hint as how to get the linespacing correct when 
using columns ?


The first page works as expected,
but all the following pages have an unexpected mis-alignment  in the 
first column






The document itself is plain vanilla:


\starttext
\startlines
Testing 1971-04-26
\startcolumns[n=3]

+ 17271 \rightarrow\  2018-08-08
+ 17300 \rightarrow\  2018-09-06
+ 17371 \rightarrow\  2018-11-16

…


+ 39900 \rightarrow\  2080-07-22
+ 39993 \rightarrow\  2080-10-23
+ 4 \rightarrow\  2080-10-30
\stopcolumns
\stoplines
\stoptext


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

[NTG-context] columns unexpected (odd) results

2018-08-01 Thread Floris van Manen
Has anyone a solution / hint as how to get the linespacing correct when using 
columns ?

The first page works as expected,
but all the following pages have an unexpected mis-alignment  in the first 
column





The document itself is plain vanilla:


\starttext
\startlines
Testing 1971-04-26
\startcolumns[n=3]

+ 17271 \rightarrow\  2018-08-08
+ 17300 \rightarrow\  2018-09-06
+ 17371 \rightarrow\  2018-11-16

…


+ 39900 \rightarrow\  2080-07-22
+ 39993 \rightarrow\  2080-10-23
+ 4 \rightarrow\  2080-10-30
\stopcolumns
\stoplines
\stoptext


signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] Problem with an enumeration

2018-08-01 Thread Pablo Rodriguez
On 07/31/2018 11:58 PM, Fabrice Couvreur wrote:
> Hi Pablo,
> That's not what I'm looking for but rather this:
> 
> *1.a.* blablablabla
> blablablabla
> *b.* blablablabla
> blablablabla
> *c.* blablablabla
> blablablabla
> 
> Which explains the use of the key intext

Hi Fabrice,

this is the best I get:

\setupitemgroup
   [itemize][1]
   [color=darkred,
option={packed,fit,paragraph,n}]

\setupitemgroup
   [itemize][2]
   [color=darkred,
distance=\spaceamount,
option={packed,fit,intext,a}]

Otherwise, deploying the option "intext" seems to handle the width of
first itemization level as zero.

Just in case it helps,

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
___