Re: [NTG-context] frac font feature doesn't work as expected

2017-04-05 Thread Ulrike Fischer
Am Wed, 5 Apr 2017 13:00:29 +0200 schrieb luigi scarso:


> if you see
> fonts   > otf chain > feature 'frac', type
> 'gsub_contextchain', chain lookup 's_s_7':  is not yet supported (1)
> then ... it need to be supported.

Yes, that's what I see ;-(.
-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

___
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] Strange behaviour with spacing in itemization using "columns" vs "horizontal".

2017-04-05 Thread cryo shock
Thank you very much for fixing it. It looks good.

2017-03-29 21:37 GMT+02:00 cryo shock :

> Thanks Hans,
>
> one could also \blank[medium] after the first (columns) variant but then
> again the items seem not to sit on the grid which you can check with
> \showgrid:
>
> \showgrid
>
> \startitemize[packed, joinedup, columns, two]
>   \startitem
> top left item
>   \stopitem
>   \startitem
> bottom left item
>   \stopitem
>   \startitem
> top right item
>   \stopitem
>   \startitem
> bottom right item
>   \stopitem
> \stopitemize
> \blank[medium]
> Notice the size of the blank space?
>
> \startitemize[packed, joinedup, horizontal, two]
>   \startitem
> top left item
>   \stopitem
>   \startitem
> top right item
>   \stopitem
>   \startitem
> bottom left item
>   \stopitem
>   \startitem
> bottom right item
>   \stopitem
> \stopitemize
> Notice the size of the blank space?
>
> \stoptext
>
> I'm just trying to make sure that you are aware of that
>
> Cheers, Sebastian
>
> 2017-03-29 19:31 GMT+02:00 Hans Hagen :
>
>> On 3/29/2017 1:34 AM, cryo shock wrote:
>>
>>> Hi folks,
>>>
>>> I noticed a difference in how spacing is set after an itemization.
>>> I have the following example:
>>>
>>> -
>>> \starttext
>>>
>>> \startitemize[packed, joinedup, columns, two]
>>>   \startitem
>>> top left item
>>>   \stopitem
>>>   \startitem
>>> bottom left item
>>>   \stopitem
>>>   \startitem
>>> top right item
>>>   \stopitem
>>>   \startitem
>>> bottom right item
>>>   \stopitem
>>> \stopitemize
>>> Notice the size of the blank space?
>>>
>>
>> btw, you get better vertical spacing with:
>>
>> \setupitemgroup[grid=yes]
>>
>> i'll fix that
>>
>> \startitemize[packed, joinedup, horizontal, two]
>>>   \startitem
>>> top left item
>>>   \stopitem
>>>   \startitem
>>> top right item
>>>   \stopitem
>>>   \startitem
>>> bottom left item
>>>   \stopitem
>>>   \startitem
>>> bottom right item
>>>   \stopitem
>>> \stopitemize
>>> Notice the size of the blank space?
>>>
>>> \stoptext
>>> -
>>>
>>> Both itemizations are the same except item order and using "columns" in
>>> the first one and "horizontal" in the second. Yet the spacing after the
>>> first itemization seems not right. Or do I oversee something?
>>>
>>> Greetings, Sebastian
>>>
>>>
>>> 
>>> ___
>>> 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
>>> 
>>> ___
>>>
>>>
>>
>> --
>>
>> -
>>   Hans Hagen | PRAGMA ADE
>>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
>> -
>> 
>> ___
>> 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
___

[NTG-context] Problem loading a DLL with the latest Ctx beta

2017-04-05 Thread Akira Kakuto

I encountered problem loading WinCon.dll
(a module that I wrote and I've been using for several years)


In the new lua(jit)tex, one cannot use DLL modules.
See my mail in
http://tug.org/pipermail/luatex/2017-March/006410.html
http://tug.org/pipermail/luatex/2017-March/006413.html

Reason:
I could not build usable binaries for the new sources by
linking dynamically lua-5.2.4 or luajit.
Thus I changed to link lua-5.2.4 etc. statically.

Best,
Akira

___
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 loading a DLL with the latest Ctx beta

2017-04-05 Thread Hans Hagen

On 4/5/2017 5:49 PM, Procházka Lukáš Ing. wrote:

Hello,

On Wed, 05 Apr 2017 17:02:01 +0200, Hans Hagen  wrote:


On 4/5/2017 4:12 PM, Procházka Lukáš Ing. wrote:


Just to ensure that I'm not trying to use 32b WinCon.dll with 64b
Ctx/LuaTeX...


os.platform


will it retrieve OS platform or LuaTeX (= executable) platform?


Which compiler is used to build LuaTeX for Windows?


probably the regular microsoft one


OK, probably VS, but which version?


i don't know ... probably recent .. compilation of native windows 
binaries is done by akira kakuto as part of the cjk windows 
distribuition cq. tex live and the garden takes his binaries


why don't you just try to recompile?

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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] notes in the margin

2017-04-05 Thread Pablo Rodriguez
On 04/04/2017 10:27 AM, Henning Hraban Ramm wrote:
> Bump. I’d really appreciate answers, since my next project depends on it. 
> Thank you.
> 
> Am 2017-03-30 um 10:30 schrieb Henning Hraban Ramm :
> 
>> While I’m still waiting for answers to my other questions, I got some more:
>>
>> In my layout, left margin width is zero, but \inmargin always uses left 
>> margin.
> 
> Ok, I can use \inouter.

Hi Hraban,

doesn’t \setupmargindata[inmargin][location=right] do the trick?

>> I didn’t find a setup to change that – should 
>> \setupmargindata[location=right] do the trick? (it doesn’t, also not with 
>> left)
>>
>> Further I’d like to place "foot"notes into the margin.
>> It works like this:
> 
> "it works" means: The footnotes are placed in the margin, but collected at 
> the bottom, like normal footnotes.
> I’d like numbered marginals.

Sorry, my ConTeXt ignorance cannot deal with that.

But I guess that this may be implemented (if Hans agrees) with
\setupnote[location=margin].

I thought something similar about notes, but I didn’t dare to mention
it, since I had other issues first and Hans seems to be especially busy
these days.


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] Problem loading a DLL with the latest Ctx beta

2017-04-05 Thread Procházka Lukáš Ing .

Hello,

On Wed, 05 Apr 2017 17:02:01 +0200, Hans Hagen  wrote:


On 4/5/2017 4:12 PM, Procházka Lukáš Ing. wrote:


Just to ensure that I'm not trying to use 32b WinCon.dll with 64b
Ctx/LuaTeX...


os.platform


will it retrieve OS platform or LuaTeX (= executable) platform?


Which compiler is used to build LuaTeX for Windows?


probably the regular microsoft one


OK, probably VS, but which version?

Lukas


Hans



--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz | 
IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751 (+420 720 951 172)
Fax: +420 244 461 038

___
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 loading a DLL with the latest Ctx beta

2017-04-05 Thread Hans Hagen

On 4/5/2017 4:12 PM, Procházka Lukáš Ing. wrote:


Just to ensure that I'm not trying to use 32b WinCon.dll with 64b
Ctx/LuaTeX...


os.platform


Which compiler is used to build LuaTeX for Windows?


probably the regular microsoft one

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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 loading a DLL with the latest Ctx beta

2017-04-05 Thread Procházka Lukáš Ing .

Hello,

On Wed, 05 Apr 2017 15:06:08 +0200, Hans Hagen  wrote:


On 4/5/2017 2:29 PM, Procházka Lukáš Ing. wrote:


Strange thing is that WonCon.dll with Ctx used to work for several
years... What is the problem now?


Probably an updated compiler ... after all, vs 2008 is 8 years old which
is real old in computer times). Maybe you miss another ancient dll (can
be checked with dll checkers).


Maybe... But I've VS 2008 installed again on the comp I'm using now, so - at 
least for me - all DLLs should exist on my comp (for other comps, there is free 
VS 2008 Redistributable Package), so that shouldn't be a problem.

Would Ctx and LuaTeX write info about its binary architecture, so that '--version' shows 
"x86" or "64b", too?

Just to ensure that I'm not trying to use 32b WinCon.dll with 64b Ctx/LuaTeX...


I attached also the WinCon.dll (built with VS 2008 - Release version;
zipped and ZIP renamed to PIZ).


I'm surprised that this passed the mail server.


Do I have to rebuild the WinCon.dll source?


Why not just try that?


Which compiler is used to build LuaTeX for Windows?

Best regards,

Lukas



Hans

ps. Version 1.0.5 is not official i.e. it's the ctx meeting version.
We're at 1.0.4 now.

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___



--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz | 
IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751 (+420 720 951 172)
Fax: +420 244 461 038

___
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 loading a DLL with the latest Ctx beta

2017-04-05 Thread Hans Hagen

On 4/5/2017 2:29 PM, Procházka Lukáš Ing. wrote:


Strange thing is that WonCon.dll with Ctx used to work for several
years... What is the problem now?


Probably an updated compiler ... after all, vs 2008 is 8 years old which 
is real old in computer times). Maybe you miss another ancient dll (can 
be checked with dll checkers).



I attached also the WinCon.dll (built with VS 2008 - Release version;
zipped and ZIP renamed to PIZ).


I'm surprised that this passed the mail server.


Do I have to rebuild the WinCon.dll source?


Why not just try that?

Hans

ps. Version 1.0.5 is not official i.e. it's the ctx meeting version. 
We're at 1.0.4 now.


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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] Problem loading a DLL with the latest Ctx beta

2017-04-05 Thread Procházka Lukáš Ing .

Hello,

I encountered problem loading WinCon.dll (a module that I wrote and I've been 
using for several years):


lua error   > lua error on line 3 in file 
d:/Lukas/Jobs/D10-036/10-037.SO/Geom.Smo/~/WinTest.mkiv:

error loading module 'WinCon' from file 'd:\Lukas\Lua\52\WinCon.dll':
Uvedenř modul nebyl nalezen.

stack traceback:
[C]: in ?
[C]: in function 'cpath specification'
...ta/tex/texmf-context/tex/context/base/mkiv/l-package.lua:291: in 
function '?'
...ta/tex/texmf-context/tex/context/base/mkiv/l-package.lua:318: in function 
<...ta/tex/texmf-context/tex/context/base/mkiv/l-package.lua:310>
[C]: in function 'requiem'
...ta/tex/texmf-context/tex/context/base/mkiv/l-sandbox.lua:180: in function 
<...ta/tex/texmf-context/tex/context/base/mkiv/l-sandbox.lua:165>
(...tail calls...)
[ctxlua]:2: in main chunk


My sample "pure" run looks:

"
d:\Lukas\Jobs\D10-036\10-037.SO\Geom.Smo\~>set 
PATH=d:\Ctx-Beta\tex\texmf-mswin\bin

d:\Lukas\Jobs\D10-036\10-037.SO\Geom.Smo\~>set LUA_CPATH=d:\Lukas\Lua\52\?.dll

d:\Lukas\Jobs\D10-036\10-037.SO\Geom.Smo\~>context.exe WinTest.mkiv --batchmode

mtx-context | run 1: luatex 
--fmt="d:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" 
--interaction="batchmode" --jobname="WinTest" 
--lua="d:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line 
--c:batchmode --c:currentrun=1 --c:fulljobname="./WinTest.mkiv" --c:input="./WinTest.mkiv" --c:kindofrun=1 --c:maxnofruns=9 
"cont-yes.mkiv"
This is LuaTeX, Version 1.0.5 (TeX Live 2017/W32TeX)
 system commands enabled.
open source > level 1, order 1, name 
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system  >
system  > ConTeXt  ver: 2017.04.02 19:51 MKIV beta  fmt: 2017.4.5  int: 
english/english
system  >
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name 
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
close source> level 2, order 2, name 
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > files > jobname 'WinTest', input './WinTest.mkiv', result 
'WinTest'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 2, order 3, name 
'd:/Lukas/Jobs/D10-036/10-037.SO/Geom.Smo/~/WinTest.mkiv'

lua error   > lua error on line 3 in file 
d:/Lukas/Jobs/D10-036/10-037.SO/Geom.Smo/~/WinTest.mkiv:

error loading module 'WinCon' from file 'd:\Lukas\Lua\52\WinCon.dll':
Uvedenř modul nebyl nalezen.

stack traceback:
[C]: in ?
[C]: in function 'cpath specification'
...ta/tex/texmf-context/tex/context/base/mkiv/l-package.lua:291: in 
function '?'
...ta/tex/texmf-context/tex/context/base/mkiv/l-package.lua:318: in function 
<...ta/tex/texmf-context/tex/context/base/mkiv/l-package.lua:310>
[C]: in function 'requiem'
...ta/tex/texmf-context/tex/context/base/mkiv/l-sandbox.lua:180: in function 
<...ta/tex/texmf-context/tex/context/base/mkiv/l-sandbox.lua:165>
(...tail calls...)
[ctxlua]:2: in main chunk

1 \startluacode
2   require "WinCon"
3 >>  \stopluacode
4
5 \starttext
6   A
7 \stoptext
8

fonts   > preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
backend > xmp > using file 
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages   > flushing realpage 1, userpage 1, subpage 1
close source> level 2, order 3, name 
'd:/Lukas/Jobs/D10-036/10-037.SO/Geom.Smo/~/WinTest.mkiv'
close source> level 1, order 3, name 
'd:/Ctx-Beta/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: 
d:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.000 seconds, 0 scans with scantime 
0.000 seconds, 0 shared scans, 9 found files, scanned paths: 
mkiv lua stats  > stored bytecode data: 402 modules (0.206 sec), 91 tables 
(0.012 sec), 493 chunks (0.218 sec)
mkiv lua stats  > traced context: maxstack: 1227, freed: 0, unreachable: 1227
mkiv lua stats  > cleaned up reserved nodes: 49 nodes, 9 lists of 447
mkiv lua stats  > node memory usage: 2 glue, 2 penalty, 9 attribute, 49 
glue_spec, 3 attribute_list, 2 temp, 2 user_defined
mkiv lua stats  > node list callback tasks: 7 unique task lists, 6 instances 
(re)created, 32 calls
mkiv lua stats  > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.000 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: 139 direct, 248 indirect, 387 total
mkiv lua stats  > 

Re: [NTG-context] frac font feature doesn't work as expected

2017-04-05 Thread luigi scarso
On Wed, Apr 5, 2017 at 10:15 AM, Ulrike Fischer  wrote:
> \starttext
>
> \font\test={file:linlibertine_r.otf:+frac}
> \test 1/2 3/4 5/6 7/8 9/10 11/12 31415/27182 1000/100
> \stoptext
>
> gives as output
>
> ½ 3¾ 5⅚ 7⅜ 9/10 1⅟12 31415/27182 1000/100


\usetypescriptfile[libertine]
\setupbodyfont[libertine,12pt]
\definefontfeature[frac][frac=yes]

\starttext

{\addff{frac}  1/2 3/4 5/6 7/8 9/10 11/12 31415/27182 1000/100}
\stoptext

if you see
fonts   > otf chain > feature 'frac', type
'gsub_contextchain', chain lookup 's_s_7':  is not yet supported (1)
then ... it need to be supported.

( I have a local patch (by Hnas) that gives
¹⁄₂ ³⁄₄ ⁵⁄₆ ⁷⁄₈ ⁹⁄₁₀ ¹¹⁄₁₂ ³¹⁴¹⁵⁄₂₇₁₈₂ ¹⁰⁰⁰⁄₁₀₀
with the otf fonts from
http://www.ctan.org/tex-archive/fonts/libertine
)

-- 
luigi
___
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] float pages again

2017-04-05 Thread Florian Grammel
Back in 2007 there was a discussion here on the list about whether context 
could do something like LaTeX’s float pages. 
http://www.mail-archive.com/search?l=ntg-context%40ntg.nl&q=subject%3A%22%5C%5BNTG%5C-context%5C%5D+LaTeX+float+pages+in+ConTeXt%22&x=0&y=0

In short these are designated pages that LeTeX puts in to collect abundant top- 
and here-floats. There can -- in contrast to contex’s default=page -- be more 
than one float on such a page and there is no running text.

In a LaTeX-setup correcponding to:

%\setupfloats[nlines=15]
\setupfloat[figure][default={here,top,bottom,page}]

\starttext

\section{First Section}

\input zapf

\placefigure {Blah} {\externalfigure[figurename][width=5.0in, height=3.0in]}
\placefigure {Blah} {\externalfigure[figurename][width=5.0in, height=3.5in]}
\placefigure {Blah} {\externalfigure[figurename][width=5.0in, height=3.5in]}
\placefigure {Blah} {\externalfigure[figurename][width=5.0in, height=3.3in]}
\placefigure {Blah} {\externalfigure[figurename][width=5.0in, height=3.3in]}

\section{Second Section}
\input zapf
\input zapf
\input zapf

\stoptext


pages 2 and 3 wouldn’t have body text on them.

Is there a possibility to have context remove body text from pages with floats 
when the space falls short of a certain number of lines?

Hans mentioned nlines in the old thread, but commenting it in doesn’t seem to 
have any effect.


Best regards,
Florian.




Florian Grammel

Copenhagen, Denmark

___
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] frac font feature doesn't work as expected

2017-04-05 Thread Ulrike Fischer
\starttext

\font\test={file:linlibertine_r.otf:+frac}
\test 1/2 3/4 5/6 7/8 9/10 11/12 31415/27182 1000/100
\stoptext

gives as output

½ 3¾ 5⅚ 7⅜ 9/10 1⅟12 31415/27182 1000/100


(I couldn't build an example without the primitive command. After
\definefontfeature[frac][frac=yes]
\definefontfamily[default][rm][linuslibertineo][features=frac]
context always falls back to latin modern)

A similar plaintex example for xetex

\font\test="[linlibertine_r.otf]:+frac"
\test 1/2 3/4 5/6 7/8 9/10 11/12 31415/27182 1000/100
\bye

gives the correct result:

¹⁄₂ ³⁄₄ ⁵⁄₆ ⁷⁄₈ ⁹⁄₁₀ ¹¹⁄₁₂ ³¹⁴¹⁵⁄₂₇₁₈₂ ¹⁰⁰⁰⁄₁₀₀

A plain tex example for luatex is broken too but differently to the
context version, one gets at least the correct numbers:

\input luaotfload.sty
\font\test={file:linlibertine_r.otf:+frac}
\test 1/2 3/4 5/6 7/8 9/10 11/12 31415/27182 1000/100
\bye


½ ¾ ⅚ ⅞ 9/10 1⅟12 31415/27182 1000/100




-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

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