Re: [NTG-context] beta vs current

2020-01-30 Thread Hans Hagen

On 1/30/2020 9:56 PM, Henri Menke wrote:

On 1/31/20 8:37 AM, Aditya Mahajan wrote:

On Thu, 30 Jan 2020, Hans Hagen wrote:


Hi,

Already for quite some years the 'current' context release is the one
that ends up on texlive. The rest of the year we talk about betas and
very rarely an alpha release. This distinction no longer makes sense.

 From now on there will be no alpha, beta or current (with latest begin
the most recent of the three, when present): we only will have latest.
Most users follow the latest anyway and keeping a copy of some tree is
cheap.

There will of course be the yearly tex live snapshots and these will
have the year attached to them.

So, effectively nothing changes, apart from the fact that we no longer
use the labels (and distinction on the website).


I like this change.


A more fundamental distinction is between the versions:

pdftex|xetex : mkii (probaly not used that much any longer)
luatex|luajittex : mkiv (also the test for luatex dev)
luametatex   : lmtx (the (upcoming) real deal)

Mojca and I are diuscussing / working on an upgrade of the context
garden installations and repositories but more about that later,


Will lmtx be available on the next texlive?


Probably not, LuaMetaTeX sources are not public yet, so TeX Live can't
build it and I don't think they are going to just pull binaries into the
tree.  They are also very cautious with licensing, so unless something
is truly open source they won't pull it (e.g. https://ctan.org/pkg/pgf-pie).
the original idea was to have it ready (source code and binaries and so) 
but tl is already too far into freezing code etc so it would not be 
integrated anyway (testing, installation etc) and therefore our schedule 
could be delayed and we now take our time to properly organize the new 
infrastructure on the garden as well as make sure it compiles nicely on 
all platforms that we want (using the buildbot infrastructure) which in 
turn triggers other things


regarding luametatex being open source .. it will (as already announced) 
end up as part of the distribution but i don't want to push all that 
intermediate stuff in there (we have some quality standards, whatever 
one might think of that) and we're not in that hurry anyway


so, tex live will ship the luatex/mkiv combination and mojca, alan and i 
i will think of a good moment to release the rest


(and maybe next year we will make lmtx the default for tex live .. who 
knows; there is no reason to complicate installation by adding choices)


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] beta vs current

2020-01-30 Thread Henri Menke
On 1/31/20 8:37 AM, Aditya Mahajan wrote:
> On Thu, 30 Jan 2020, Hans Hagen wrote:
> 
>> Hi,
>>
>> Already for quite some years the 'current' context release is the one 
>> that ends up on texlive. The rest of the year we talk about betas and 
>> very rarely an alpha release. This distinction no longer makes sense.
>>
>> From now on there will be no alpha, beta or current (with latest begin 
>> the most recent of the three, when present): we only will have latest. 
>> Most users follow the latest anyway and keeping a copy of some tree is 
>> cheap.
>>
>> There will of course be the yearly tex live snapshots and these will 
>> have the year attached to them.
>>
>> So, effectively nothing changes, apart from the fact that we no longer 
>> use the labels (and distinction on the website).
> 
> I like this change.
> 
>> A more fundamental distinction is between the versions:
>>
>> pdftex|xetex : mkii (probaly not used that much any longer)
>> luatex|luajittex : mkiv (also the test for luatex dev)
>> luametatex   : lmtx (the (upcoming) real deal)
>>
>> Mojca and I are diuscussing / working on an upgrade of the context 
>> garden installations and repositories but more about that later,
> 
> Will lmtx be available on the next texlive?

Probably not, LuaMetaTeX sources are not public yet, so TeX Live can't
build it and I don't think they are going to just pull binaries into the
tree.  They are also very cautious with licensing, so unless something
is truly open source they won't pull it (e.g. https://ctan.org/pkg/pgf-pie).

Cheers, Henri

> 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] beta vs current

2020-01-30 Thread Aditya Mahajan

On Thu, 30 Jan 2020, Hans Hagen wrote:


Hi,

Already for quite some years the 'current' context release is the one 
that ends up on texlive. The rest of the year we talk about betas and 
very rarely an alpha release. This distinction no longer makes sense.


From now on there will be no alpha, beta or current (with latest begin 
the most recent of the three, when present): we only will have latest. 
Most users follow the latest anyway and keeping a copy of some tree is 
cheap.


There will of course be the yearly tex live snapshots and these will 
have the year attached to them.


So, effectively nothing changes, apart from the fact that we no longer 
use the labels (and distinction on the website).


I like this change.


A more fundamental distinction is between the versions:

pdftex|xetex : mkii (probaly not used that much any longer)
luatex|luajittex : mkiv (also the test for luatex dev)
luametatex   : lmtx (the (upcoming) real deal)

Mojca and I are diuscussing / working on an upgrade of the context 
garden installations and repositories but more about that later,


Will lmtx be available on the next texlive?

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
___


[NTG-context] beta vs current

2020-01-30 Thread Hans Hagen

Hi,

Already for quite some years the 'current' context release is the one 
that ends up on texlive. The rest of the year we talk about betas and 
very rarely an alpha release. This distinction no longer makes sense.


From now on there will be no alpha, beta or current (with latest begin 
the most recent of the three, when present): we only will have latest. 
Most users follow the latest anyway and keeping a copy of some tree is 
cheap.


There will of course be the yearly tex live snapshots and these will 
have the year attached to them.


So, effectively nothing changes, apart from the fact that we no longer 
use the labels (and distinction on the website).


A more fundamental distinction is between the versions:

pdftex|xetex : mkii (probaly not used that much any longer)
luatex|luajittex : mkiv (also the test for luatex dev)
luametatex   : lmtx (the (upcoming) real deal)

Mojca and I are diuscussing / working on an upgrade of the context 
garden installations and repositories but more about that later,


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] beta 2019.12.02 18:38 fails to build format

2019-12-04 Thread Hans Hagen

On 12/4/2019 4:37 PM, Thomas A. Schmitz wrote:




On 4. Dec 2019, at 15:33, Hans Hagen  wrote:

it means that your binary doesn't match the tex files (it is a new feature, 
mentioned a few days before at this list)


OK, I see - after wiping everything and a fresh download, lmtx works again - 
there is a problem with line breaks, I’ll try to come up with an example. But 
shouldn’t install.sh keep binaries and tex file in sync?

normally yes, unless the old file is locked or so

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] beta 2019.12.02 18:38 fails to build format

2019-12-04 Thread Thomas A. Schmitz


> On 4. Dec 2019, at 15:33, Hans Hagen  wrote:
> 
> it means that your binary doesn't match the tex files (it is a new feature, 
> mentioned a few days before at this list)

OK, I see - after wiping everything and a fresh download, lmtx works again - 
there is a problem with line breaks, I’ll try to come up with an example. But 
shouldn’t install.sh keep binaries and tex file in sync? 

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] beta 2019.12.02 18:38 fails to build format

2019-12-04 Thread Hans Hagen

On 12/4/2019 11:41 AM, Thomas A. Schmitz wrote:

Hi all,

has this already been reported? On my macOS machine, the latest lmtx beta fails 
to build the format with this error:

tex error   > tex error on line 99 in file hand-ini.mkxl: ! Undefined 
control sequence

 ...ansion :\currentexpansion }{\adjustspacingstep
it means that your binary doesn't match the tex files (it is a new 
feature, mentioned a few days before at this list)


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] beta 2019.12.02 18:38 fails to build format

2019-12-04 Thread Otared Kavian
Hi,

I can confirm that there is an issue with the script install.sh, since last 
Saturday, I guess. Indeed I keep having version 2019.11.29 21:58, but at some 
point I got a version from 2019.12.02 which did not work and upon updating 
again I got version 2019.11.29 21:58.

Also the error messages which were quite clear before are gone again 
hyper-cryptic, and the error status file « filename-status.html » does not show 
anymore the status of the errors.

Best regards: OK

> On 4 Dec 2019, at 11:41, Thomas A. Schmitz  wrote:
> 
> Hi all,
> 
> has this already been reported? On my macOS machine, the latest lmtx beta 
> fails to build the format with this error:
> 
> tex error   > tex error on line 99 in file hand-ini.mkxl: ! Undefined 
> control sequence
> 
>  ...ansion :\currentexpansion }{\adjustspacingstep 
>  \expansionparameter \c!ste...
> \define_expansion ...i \the \everydefineexpansion 
>  \let \currentexpansion \sa...
>  \syst_helpers_triple_empty_two_nop 
>\par 
> l.99 
> 
> I have looked at the file, but couldn’t find the source of the error.
> 
> All best
> 
> 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
> ___

___
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] beta 2019.12.02 18:38 fails to build format

2019-12-04 Thread Thomas A. Schmitz
Hi all,

has this already been reported? On my macOS machine, the latest lmtx beta fails 
to build the format with this error:

tex error   > tex error on line 99 in file hand-ini.mkxl: ! Undefined 
control sequence

 ...ansion :\currentexpansion }{\adjustspacingstep 
  \expansionparameter \c!ste...
\define_expansion ...i \the \everydefineexpansion 
  \let \currentexpansion \sa...
 \syst_helpers_triple_empty_two_nop 
\par 
l.99 
   
I have looked at the file, but couldn’t find the source of the error.

All best

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] beta

2019-10-29 Thread Floris van Manen


On 29-10-2019 14:21, Hans Hagen wrote:
> You mean: produce pdf layers? Well, imo usage of  is so messy and
> inconsistent that it doesn't pay off, apart from overhead. But grouping
> as way of combining properties is supported.
> 

the cause might be outside context.
e.g. it might be that the layers/grouping are dropped by inkscape while
importing the pdf.

if i export the original svg as a pdf within inkscape, then re-import it
again, the layers/grouping are gone too.

not urgent, as many other paths exist ;-)
.F



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] beta

2019-10-29 Thread Hans Hagen

On 10/28/2019 10:00 PM, Floris van Manen wrote:



On 28-10-2019 19:20, Hans Hagen wrote:


As a teaser ... it is also possible to embed svg code, as in:

\startbuffer[svgtest]

     
     

\stopbuffer

\startTEXpage
     \includesvgbuffer[svgtest]
\stopTEXpage

\startTEXpage
     \includesvgbuffer[svgtest][offset=2bp]
\stopTEXpage


Nice !
It seems that it does not retains the  grouping and layering in
place. e.g. everything ends up in one layer and one group.
You mean: produce pdf layers? Well, imo usage of  is so messy and 
inconsistent that it doesn't pay off, apart from overhead. But grouping 
as way of combining properties is supported.


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] beta

2019-10-28 Thread Floris van Manen


On 28-10-2019 19:20, Hans Hagen wrote:
> 
> As a teaser ... it is also possible to embed svg code, as in:
> 
> \startbuffer[svgtest]
> 
>          cx="50" cy="50" r="40"
>     stroke="green" stroke-width="10" stroke-opacity="0.3"
>     fill="red" fill-opacity="0.3"
>     />
>          cx="150" cy="50" r="40"
>     stroke="green" stroke-width="10"
>     fill="red"
>     opacity="0.3"
>     />
> 
> \stopbuffer
> 
> \startTEXpage
>     \includesvgbuffer[svgtest]
> \stopTEXpage
> 
> \startTEXpage
>     \includesvgbuffer[svgtest][offset=2bp]
> \stopTEXpage

Nice !
It seems that it does not retains the  grouping and layering in
place. e.g. everything ends up in one layer and one group.

.Floris



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
___


[NTG-context] beta

2019-10-28 Thread Hans Hagen

Hi,

I uploaded a beta. In lmtx there is now a bit more advanced support for 
svg. A preliminary manual is included that explains a few things.


As a teaser ... it is also possible to embed svg code, as in:

\startbuffer[svgtest]




\stopbuffer

\startTEXpage
\includesvgbuffer[svgtest]
\stopTEXpage

\startTEXpage
\includesvgbuffer[svgtest][offset=2bp]
\stopTEXpage

or in metapost disguise:

\startMPpage
vardef svg expr c = lmt_svg [ code = c ] enddef ;

draw svg "


" ;
\stopMPpage

It is not a replacement for metapost (which is more efficient runtime 
anbyway) but for artistic images a mixture might work out ok.


In principle inclusion with externalfigure also works when 
conversion=mps is set but, although I have some 1500 test images, not 
all might work out well. There can be a lot of crap be hidden in svg 
files and angle brackets are no guarantee for properly structured 
images. Especially fonts can be troublesome. On the other hand, if one 
has very structured input, text labels can be swapped for propertly 
typeset ones (like math), but that's for later to explain (experimental 
stuff). We'll see.


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] beta

2019-10-02 Thread Hans Hagen

On 10/2/2019 4:06 PM, Hans van der Meer wrote:

You can add to the end of the install script:

echo "Removing luatex-cache/context"
rm -r tex/texmf-cache/luatex-cache/context

i updatex mtx-cache

mtxrun --script cache --list
mtxrun --script cache --erase
mtxrun --script cache --erase --make

etc

-
  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] beta

2019-10-02 Thread Hans Hagen

On 10/2/2019 4:35 PM, Jan U. Hasecke wrote:

Am 02.10.19 um 16:06 schrieb Hans van der Meer:

You can add to the end of the install script:

echo "Removing luatex-cache/context"
rm -r tex/texmf-cache/luatex-cache/context



I reinstalled 64 bit Linux from http://www.pragma-ade.nl/install.htm and
now it works again. Thanks a lot for supporting debian stable again.

One thing, with:

mtxrun --autogenerate --script context

as suggested by the install script I get

unknown script 'context.lua' or 'mtx-context.lua'

The command "/home/juh/context-linux-64/tex/texmf-linux-64/bin/context"
works.


you need to have /home/juh/context-linux-64/tex/texmf-linux-64/bin in 
your path or use fully qualified paths


'mtxrun' and 'context' are aliases of 'luametatex'

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] beta

2019-10-02 Thread Jan U. Hasecke
Am 02.10.19 um 16:06 schrieb Hans van der Meer:
> You can add to the end of the install script:
> 
> echo "Removing luatex-cache/context"
> rm -r tex/texmf-cache/luatex-cache/context
> 

I reinstalled 64 bit Linux from http://www.pragma-ade.nl/install.htm and
now it works again. Thanks a lot for supporting debian stable again.

One thing, with:

mtxrun --autogenerate --script context

as suggested by the install script I get

unknown script 'context.lua' or 'mtx-context.lua'

The command "/home/juh/context-linux-64/tex/texmf-linux-64/bin/context"
works.

Any hints?
TIA
juh
___
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] beta

2019-10-02 Thread Hans van der Meer
You can add to the end of the install script:

echo "Removing luatex-cache/context"
rm -r tex/texmf-cache/luatex-cache/context

dr. Hans van der Meer


> On 2 Oct 2019, at 15:32, Alan Bowen  wrote:
> 
> Hi, Hans—
> 
> The latest lmtx now processes my docs as it should when texmf-cache was 
> deleted before installation. So, where is this zip that has the revised 
> install.sh script?
> 
> Alan
> 
> On Wed, Oct 2, 2019 at 7:06 AM Hans Hagen  > wrote:
> On 9/30/2019 2:11 PM, Thomas A. Schmitz wrote:
> > On 29.09.19 16:31, Hans Hagen wrote:
> >> Hi,
> >>
> >> A week ago we had the (nice and pleasant) annual context meeting and 
> >> as usual some new stuff has been presented there which was not yet in 
> >> the distribution at that moment. Some pending code is now being moved 
> >> into the distribution. Part is font related (lmtx only, not relevant 
> >> for most users), most is metafun (luametafun or metafun xl or whatever 
> >> name suits) related (including a new preliminary manual) which uses 
> >> some new interfaces and therefore (currently) is lmtx only.
> > 
> > Hi Hans,
> > 
> > I just updated. I had to delete the cache for context to work again, got 
> > weird errors compiling a file that works normally. So my question: since 
> > creating a new cache and format takes only a few seconds, wouldn't it 
> > make sense to include it in install.sh ?
> I've added that feature but one needs the new install.sh script then 
> (from the zip).
> 
> (We also added openbsd installers.)
> 
> 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 
> ___
> ___
> 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] beta

2019-10-02 Thread Alan Bowen
Hi, Hans—

The latest lmtx now processes my docs as it should when texmf-cache was
deleted before installation. So, where is this zip that has the revised
install.sh script?

Alan

On Wed, Oct 2, 2019 at 7:06 AM Hans Hagen  wrote:

> On 9/30/2019 2:11 PM, Thomas A. Schmitz wrote:
> > On 29.09.19 16:31, Hans Hagen wrote:
> >> Hi,
> >>
> >> A week ago we had the (nice and pleasant) annual context meeting and
> >> as usual some new stuff has been presented there which was not yet in
> >> the distribution at that moment. Some pending code is now being moved
> >> into the distribution. Part is font related (lmtx only, not relevant
> >> for most users), most is metafun (luametafun or metafun xl or whatever
> >> name suits) related (including a new preliminary manual) which uses
> >> some new interfaces and therefore (currently) is lmtx only.
> >
> > Hi Hans,
> >
> > I just updated. I had to delete the cache for context to work again, got
> > weird errors compiling a file that works normally. So my question: since
> > creating a new cache and format takes only a few seconds, wouldn't it
> > make sense to include it in install.sh ?
> I've added that feature but one needs the new install.sh script then
> (from the zip).
>
> (We also added openbsd installers.)
>
> 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
>
> ___
>
___
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] beta

2019-10-02 Thread Hans Hagen

On 9/30/2019 2:11 PM, Thomas A. Schmitz wrote:

On 29.09.19 16:31, Hans Hagen wrote:

Hi,

A week ago we had the (nice and pleasant) annual context meeting and 
as usual some new stuff has been presented there which was not yet in 
the distribution at that moment. Some pending code is now being moved 
into the distribution. Part is font related (lmtx only, not relevant 
for most users), most is metafun (luametafun or metafun xl or whatever 
name suits) related (including a new preliminary manual) which uses 
some new interfaces and therefore (currently) is lmtx only.


Hi Hans,

I just updated. I had to delete the cache for context to work again, got 
weird errors compiling a file that works normally. So my question: since 
creating a new cache and format takes only a few seconds, wouldn't it 
make sense to include it in install.sh ?
I've added that feature but one needs the new install.sh script then 
(from the zip).


(We also added openbsd installers.)

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] beta

2019-09-30 Thread Thomas A. Schmitz

On 29.09.19 16:31, Hans Hagen wrote:

Hi,

A week ago we had the (nice and pleasant) annual context meeting and as 
usual some new stuff has been presented there which was not yet in the 
distribution at that moment. Some pending code is now being moved into 
the distribution. Part is font related (lmtx only, not relevant for most 
users), most is metafun (luametafun or metafun xl or whatever name 
suits) related (including a new preliminary manual) which uses some new 
interfaces and therefore (currently) is lmtx only.


Hi Hans,

I just updated. I had to delete the cache for context to work again, got 
weird errors compiling a file that works normally. So my question: since 
creating a new cache and format takes only a few seconds, wouldn't it 
make sense to include it in install.sh ?


All best, thanks for the new version

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
___


[NTG-context] beta

2019-09-29 Thread Hans Hagen

Hi,

A week ago we had the (nice and pleasant) annual context meeting and as 
usual some new stuff has been presented there which was not yet in the 
distribution at that moment. Some pending code is now being moved into 
the distribution. Part is font related (lmtx only, not relevant for most 
users), most is metafun (luametafun or metafun xl or whatever name 
suits) related (including a new preliminary manual) which uses some new 
interfaces and therefore (currently) is lmtx only.


At the meeting Mojca and Harald did some experiments with the whole 
range of raspberry pi's (as part of upgrading the compile farm with a pi 
4). The outcomes can be found at


https://meeting.contextgarden.net/2019/talks/2019-09-20-harald-pi/to_pi_or_not_to_pi.pdf

(There are some more slides there.)

Because running tex on a 4 (with plenty of memory and an external ssd) 
is more reasonable than on the older models, I've added an lmtx 
installer for the pi. Some measurements with (really) simple runs show 
that performance is 3-4 times less than my laptop, which is not that bad 
(it helps that the 4 has a decent ethernet and usb3 bus); I don't know 
about more complex tests.


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] beta

2019-04-04 Thread Alan Braslau
On Thu, 4 Apr 2019 10:06:03 -0400 (EDT)
Aditya Mahajan  wrote:

> > I uploaded a new beta (as we're now post current again). The lmtx 
> > installation is normally also updated in sync but sometimes can be a bit 
> > ahead as I myself use that as default.  
> 
> Is there or will there be any difference between context mkiv and 
> luametatex distributions apart from the binaries?

The backends are different as are a few other details but the base macros are 
the same. Hans is working on an article describing this that I believe he will 
be presenting at BachoTeX and publishing in TugBoat.

Alan

P.S. The new beta seems to fix a problem that Preview (and Skim) on MacOS had 
in rendering certain characters (some peculiarity/bug in the Apple pdf library).
___
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] beta

2019-04-04 Thread Aditya Mahajan

On Thu, 4 Apr 2019, Hans Hagen wrote:


Hi,

I uploaded a new beta (as we're now post current again). The lmtx 
installation is normally also updated in sync but sometimes can be a bit 
ahead as I myself use that as default.


Is there or will there be any difference between context mkiv and 
luametatex distributions apart from the binaries?


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
___


[NTG-context] beta

2019-04-04 Thread Hans Hagen

Hi,

I uploaded a new beta (as we're now post current again). The lmtx 
installation is normally also updated in sync but sometimes can be a bit 
ahead as I myself use that as default.


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] beta

2018-06-26 Thread Ulrike Fischer
Am Sat, 23 Jun 2018 12:12:05 +0200 schrieb Hans Hagen:

> don't use register split in luaotfload ... look in luatex-fonts.lua etc 
> to soo how to analyze the name .. splitters are something context specific

It looks as if we managed to get it working in luaotfload. 

We are trying to setup test files. But normalization of the
log-files are complicate as the fontloader uses in various places
texio.write. E.g texio.write(format("(load luc: %s)",lucname))

Would it be possible to change this to some log-function which could
be adapted for the tests (so that e.g. newlines could be inserted
and the path stripped from file names)? 


-- 
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] beta

2018-06-23 Thread Hans Hagen

On 6/22/2018 6:07 PM, Ulrike Fischer wrote:

Am Fri, 22 Jun 2018 16:09:26 +0200 schrieb Hans Hagen:


I uploaded a beta (with an seeindex fix).


I still get an error about a missing function registersplit when
using the new generic loader together with luaotfload.

Looking at the code I can see that there is an "if context" switch
around the relevant part (around line 34058):

definers.makespecification=makespecification
if context then --<
   local splitter,splitspecifiers=nil,""
...

Removing this (and the "end" naturally) then it worked fine.
don't use register split in luaotfload ... look in luatex-fonts.lua etc 
to soo how to analyze the name .. splitters are something context specific


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] beta

2018-06-23 Thread Hans Hagen

On 6/22/2018 4:36 PM, MF wrote:

Tested with my setup, which -- you know -- is quite complex.
This is the only error:

lua error   > lua error on line 6 in file
/home/massi/context/latest/tex/texmf-
context/tex/context/base/mkiv/cont-yes.mkiv:

...est/tex/texmf-context/tex/context/base/mkiv/grph-inc.lua:1398:
image.ownerpassword can not be set
stack traceback:
[C]: in function 'img.new'
...est/tex/texmf-context/tex/context/base/mkiv/grph-
inc.lua:1398: in function <...est/tex/texmf-
context/tex/context/base/mkiv/grph-inc.lua:1364>
(...tail calls...)


The error is triggered by this line:

context(
"\\setlayer[layername]{\\externalfigure[figure.pdf][scale=900]}" )

Since it's a pdf figure, it should be linked to the new pdf library.
no, more to a bit strick checking in image settings in the old bin (less 
strct in latest bin)


i'll fix it


-
  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] beta

2018-06-23 Thread Lutz Haseloff
luatex --credits gives:

This is LuaTeX, Version 1.09.0 (TeX Live 2018)

The LuaTeX team is Hans Hagen, Hartmut Henkel, Taco Hoekwater, Luigi Scarso.

LuaTeX merges and builds upon (parts of) the code from these projects:

tex   : Donald Knuth
etex  : Peter Breitenlohner, Phil Taylor and friends
omega : John Plaice and Yannis Haralambous
aleph : Giuseppe Bilotta
pdftex: Han The Thanh and friends
kpathsea  : Karl Berry, Olaf Weber and others
lua   : Roberto Ierusalimschy, Waldemar Celes and Luiz Henrique de 
Figueiredo
metapost  : John Hobby, Taco Hoekwater, Luigi Scarso, Hans Hagen and friends
pplib : Paweł Jackowski
fontforge : George Williams (partial)
luajit: Mike Pall (used in LuajitTeX)

Compiled with libpng 1.6.34; using 1.6.34
Compiled with lua version 5.3.4
Compiled with mplib version 2.00
Compiled with zlib 1.2.11; using 1.2.11

Development id: 6822



Am 23. Juni 2018 10:25:01 MESZ schrieb Akira Kakuto :
>> On Linux armhf i get with the same context and luatex:
>> ...
>
>1.09.0 is varying. Please see Development id by
>luatex --credits
>
>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
>___
___
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] beta

2018-06-23 Thread Akira Kakuto

On Linux armhf i get with the same context and luatex:
...


1.09.0 is varying. Please see Development id by
luatex --credits

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] beta

2018-06-23 Thread Lutz Haseloff
On Linux armhf i get with the same context and luatex:

mtx-context | run 1: luatex 
--fmt="/usr/local/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en"
 --jobname="witha" 
--lua="/usr/local/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui"
 --no-parse-first-line --c:currentrun=1 --c:fulljobname="./witha.tex" 
--c:input="./witha.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"

This is LuaTeX, Version 1.09.0 (TeX Live 2018) 
 system commands enabled.
open source > level 1, order 1, name 
'/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system  > 
system  > ConTeXt  ver: 2018.06.22 15:55 MKIV beta  fmt: 2018.6.23  
int: english/english
system  > 
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name 
'/usr/local/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 
'/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > files > jobname 'witha', input './witha', result 'witha'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 2, order 3, name '/home/user/witha.tex'
fonts   > preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
mtx-context | fatal error: no return code, message: luatex: execution 
interrupted


No logfile is written.

a.tex
\starttext
\startMPpage
fill fullcircle scaled 5cm withcolor blue;
\stopMPpage
\stoptext

witha.tex
\starttext
\externalfigure[a.pdf]
\stoptext


Greetings Lutz

Am 23. Juni 2018 01:14:37 MESZ schrieb Akira Kakuto :
>> I get the same error after the update with 
>>
>> \starttext
>> \externalfigure[A]
>> \stoptext
>>
>> where A.pdf is in the current folder. I'm on windows 10.
>
>Here it works OK:
>
>LuaTeX, Version 1.09.0
>Development id: 6822
>
>Thanks,
>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
>___
___
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] beta

2018-06-22 Thread Akira Kakuto
I get the same error after the update with 


\starttext
\externalfigure[A]
\stoptext

where A.pdf is in the current folder. I'm on windows 10.


Here it works OK:

LuaTeX, Version 1.09.0
Development id: 6822

Thanks,
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] beta

2018-06-22 Thread Ulrike Fischer
Am Fri, 22 Jun 2018 17:30:46 +0200 schrieb Wolfgang Schuster:


>> ...est/tex/texmf-context/tex/context/base/mkiv/grph-inc.lua:1398:
>> image.ownerpassword can not be set
>> stack traceback:

> Do you get the same error message with the following minimal example:

I get the same error after the update with 

\starttext
 \externalfigure[A]
\stoptext

where A.pdf is in the current folder. I'm on windows 10.  

-- 
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] beta

2018-06-22 Thread Wolfgang Schuster



MF 
22. Juni 2018 um 17:46

Yes, of course, same error; BTW, the pdf i'm using is not password
protected.


I’m getting the same message as you when I try to insert pdf file 
created by context itself



 begin example
\starttext

\startbuffer
Can this file be loaded?
\stopbuffer

\typesetbuffer[scale=500]

\stoptext
 end example


or when I try to insert cow.pdf


 begin example
\setupexternalfigure[location=default]

\starttext
\externalfigure[cow]
\stoptext
 end example


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] beta

2018-06-22 Thread Ulrike Fischer
Am Fri, 22 Jun 2018 16:09:26 +0200 schrieb Hans Hagen:

> I uploaded a beta (with an seeindex fix).

I still get an error about a missing function registersplit when
using the new generic loader together with luaotfload. 

Looking at the code I can see that there is an "if context" switch
around the relevant part (around line 34058):

definers.makespecification=makespecification
if context then --<
  local splitter,splitspecifiers=nil,"" 
...

Removing this (and the "end" naturally) then it worked fine. 


-- 
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] beta

2018-06-22 Thread MF

> >  
> Do you get the same error message with the following minimal example:
> 
> \starttext
> \externalfigure[figure]
> \stoptext
> 

Yes, of course, same error; BTW, the pdf i'm using is not password
protected.
___
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] beta

2018-06-22 Thread Wolfgang Schuster



MF 
22. Juni 2018 um 16:36
Tested with my setup, which -- you know -- is quite complex.
This is the only error:

lua error > lua error on line 6 in file
/home/massi/context/latest/tex/texmf-
context/tex/context/base/mkiv/cont-yes.mkiv:

...est/tex/texmf-context/tex/context/base/mkiv/grph-inc.lua:1398:
image.ownerpassword can not be set
stack traceback:
[C]: in function 'img.new'
...est/tex/texmf-context/tex/context/base/mkiv/grph-
inc.lua:1398: in function <...est/tex/texmf-
context/tex/context/base/mkiv/grph-inc.lua:1364>
(...tail calls...)


The error is triggered by this line:

context(
"\\setlayer[layername]{\\externalfigure[figure.pdf][scale=900]}" )

Since it's a pdf figure, it should be linked to the new pdf library.


Do you get the same error message with the following minimal example:

\starttext
\externalfigure[figure]
\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] beta

2018-06-22 Thread MF
Tested with my setup, which -- you know -- is quite complex.
This is the only error:

lua error   > lua error on line 6 in file
/home/massi/context/latest/tex/texmf-
context/tex/context/base/mkiv/cont-yes.mkiv:

...est/tex/texmf-context/tex/context/base/mkiv/grph-inc.lua:1398:
image.ownerpassword can not be set
stack traceback:
[C]: in function 'img.new'
...est/tex/texmf-context/tex/context/base/mkiv/grph-
inc.lua:1398: in function <...est/tex/texmf-
context/tex/context/base/mkiv/grph-inc.lua:1364>
(...tail calls...)


The error is triggered by this line:

context(
"\\setlayer[layername]{\\externalfigure[figure.pdf][scale=900]}" )

Since it's a pdf figure, it should be linked to the new pdf library.

Best wishes,
Massi
___
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] beta

2018-06-22 Thread Hans Hagen

Hi,

I uploaded a beta (with an seeindex fix). If you use betas for 
production, best save your current one as there are some changes deep 
down in the pdf inclusion. This relates to upcoming luatex using 
different pdf inclusion code in the backend (plus a new pdf library that 
replaces the current one).


I don't expect real problems but i might have touched some context code 
in the process with possible side effects. Nothing that can't be fixed 
easily.


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
___

[NTG-context] beta

2018-04-19 Thread Hans Hagen

Also in upcoming:

The auto variants \NA \BA will loop over colors:

\setuptabulate[foregroundcolor=white]
\setuptabulate[backgroundcolor:1=darkred]
\setuptabulate[backgroundcolor:2=darkgreen]
\setuptabulate[backgroundcolor:3=darkblue]

\starttabulate[|||]
\BA foo foo foo \BC bar bar bar bar \NC \NR
\BA foo foo foo \BC bar bar bar bar \NC \NR
\BA foo foo foo \BC bar bar bar bar \NC \NR
\BA foo foo foo \BC bar bar bar bar \NC \NR
\BA foo foo foo \BC bar bar bar bar \NC \NR
\BA foo foo foo \BC bar bar bar bar \NC \NR
\stoptabulate

--

-
  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] beta

2017-08-06 Thread Mikael P. Sundqvist
On Sun, Aug 6, 2017 at 4:11 PM, Hans Hagen  wrote:
> in next beta
>
> % \setuphead[chapter][after={\markpage[chapter][+1]}]
> \setuphead[chapter][after={\markpage[chapter]\blank[2*big]}]
>
> \defineoverlay
>   [whatever]
>   [\doifelsemarkedpage{chapter}{CHAPTER}{}]
>
> \setupbackgrounds
>   [page]
>   [background=whatever]
>
> \starttext
> test \page test \page test \chapter{OEPS}
> test \page test \page test \chapter{OEPS}
> \stoptext
>
> --
>
> -
>   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
> ___

Thank you very much, that looks useful!

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

[NTG-context] beta

2017-08-06 Thread Hans Hagen

in next beta

% \setuphead[chapter][after={\markpage[chapter][+1]}]
\setuphead[chapter][after={\markpage[chapter]\blank[2*big]}]

\defineoverlay
  [whatever]
  [\doifelsemarkedpage{chapter}{CHAPTER}{}]

\setupbackgrounds
  [page]
  [background=whatever]

\starttext
test \page test \page test \chapter{OEPS}
test \page test \page test \chapter{OEPS}
\stoptext

--

-
  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] beta

2017-03-21 Thread Hans Hagen

Hi,

The beta has some new font trickery: support for variable fonts. This is 
still experimental but around the context meeting i expect the user 
interface etc to be stable. There is a bit of magic involved in the 
transformations along design axis because not only shapes change but 
also positional features get influenced (e.g kerning).


Variable fonts are defined in the opentype 1.8 standard but there isnot 
much more known about them. There are a few example fonts already out 
there. The only reasonable ones i could find were Avenir Next Variable 
and Adobe Variable Font Prototype (which is a rip off of some other 
font). I have no clue how well these fonts are because I guess that 
getting all the features right is not that trivial (so it's hard to 
decide if something weird is due to the font or to context but we'll get 
there eventually).


Using these fonts should be transparent in the sense that it should just 
work. As the shapes are transformed along axis the pdf has to get the 
right stuff and currently there are two methods: inline shapes (it's how 
i explored things) and native. For native one needs a version of luatex 
with a trivial extension (most works happens in the font loader) and 
that version (1.05) will be released on the garden after the tl code 
freeze (tl will have 1.04). One can force inline shapes but it will be 
done automatically when one runs a luatex that lacks the small extension 
needed.


Anyway, it provides users a way to play a bit with this new technology 
so that we can come up with a (maybe more extensive) user interface in 
context. It also permits WS to adapt his selectfont mechanism.


\definefontfeature
  [default:shaped]
  [default]
  [axis={width:900,weight:100}]

\definefont
  [SomeFont]
  [name:avenirnextvariable*default]
\SomeFont \input ward\par

\definefont
  [SomeFont]
  [name:avenirnextvariable*default:shaped]
\SomeFont \input ward\par

\definefont
  [SomeFont]
  [name:avenirnextvariableregular*default]
\SomeFont \input ward\par

\definefont
  [SomeFont]
  [name:avenirnextvariablemedium*default]
\SomeFont \input ward\par

\definefont
  [SomeFont]
  [name:adobevariablefontprototypeextralight*default]   \SomeFont 
\input ward\par


\definefont
  [SomeFont]
  [name:adobevariablefontprototypelight*default]
\SomeFont \input ward\par

etc etc

So, one can either use a predefined instance or ask for a user defined 
instance. The s-fonts-variable.mkiv style can be used to identify 
proprties, as can


  mtxrun --script font --list  --pattern=aven* --info

which returns, among other things

mtx-fonts   |
mtx-fonts   | instances : regular medium bold heavy condensed 
mediumcondensed boldcondensed heavycondensed

mtx-fonts   |

So, keep in mind that it's experimental and will evolve in sync with my 
understanding of what the standard expects.


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] beta

2016-06-08 Thread Hans Hagen

On 6/8/2016 11:02 PM, Jan Tosovsky wrote:

On 2016-06-08 Hans Hagen wrote:


This version has (experimental) support for color fonts.
...
svg one uses svg information from the font


Btw, SVG fonts were removed from SVG 2.0 and considered as a deprecated feature:

http://caniuse.com/#feat=svg-fonts
https://lists.w3.org/Archives/Public/www-svg/2013Jan/0030.html


we're talking of opentype fonts that can have svg shapes (e.g. for 
colored emoj)


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2016-06-08 Thread Jan Tosovsky
On 2016-06-08 Hans Hagen wrote:
>
> This version has (experimental) support for color fonts. 
> ...
> svg one uses svg information from the font

Btw, SVG fonts were removed from SVG 2.0 and considered as a deprecated feature:

http://caniuse.com/#feat=svg-fonts
https://lists.w3.org/Archives/Public/www-svg/2013Jan/0030.html

Jan



___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2016-06-08 Thread Hans Åberg

> On 8 Jun 2016, at 22:33, Hans Hagen  wrote:

>>> I uploaded a new beta.
>> 
>> The OS X installation page does not say how to update when installing system 
>> wide into /Applications/.
>> 
>> http://wiki.contextgarden.net/Mac_Installation
> 
> just run first_setup again

OK.


___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2016-06-08 Thread Hans Hagen

On 6/8/2016 6:27 PM, Hans Åberg wrote:



On 8 Jun 2016, at 16:41, Hans Hagen  wrote:



I uploaded a new beta.


The OS X installation page does not say how to update when installing system 
wide into /Applications/.

http://wiki.contextgarden.net/Mac_Installation


just run first_setup again

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2016-06-08 Thread Hans Åberg

> On 8 Jun 2016, at 16:41, Hans Hagen  wrote:

> I uploaded a new beta. 

The OS X installation page does not say how to update when installing system 
wide into /Applications/.

http://wiki.contextgarden.net/Mac_Installation


___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] beta

2016-06-08 Thread Hans Hagen

Hi,

I uploaded a new beta. This version has (experimental) support for color 
fonts. (not to be confused with 'coloring text in a font').


\definefontfeature[svg][default][svg=yes]
\definefontfeature[colored][default][colr=yes]

% \definefont[Emoj][file:emojionecolor-svginot.ttf*default,svg]
% \definefont[Emoj][file:seguiemj.ttf*default,colored]

\definesymbol[bug1][\getglyphdirect{file:emojionecolor-svginot.ttf*svg}{\char"1F41B}]
\definesymbol[bug2][\getglyphdirect{file:seguiemj.ttf*colored} 
{\char"1F41B}]


\startTEXpage [width=10em,align=middle,offset=1em]
There are several kind of bugs, like \symbol [bug1] and \symbol [bug2],
also in \CONTEXT !
\stopTEXpage

The colr features uses (if present) the overlay method (microsoft fonts 
have that) which is quite clean and efficient, while the svg one uses 
(when present) svg information from the font. Caching the later one will 
take some initial time (due to conversion, i might figure out something 
better) and needs inkscape installed.


Attached an example. I didn't look too extensively for a font, but on 
the agenda is turning the cowfont in a color one (maybe for the ctx 
meeting). At some point I might add overloading of colors (for the 
overlay variant).


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-


colors-002.pdf
Description: Adobe PDF document
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2016-05-08 Thread Pablo Rodriguez
On 05/07/2016 09:42 PM, Pablo Rodriguez wrote:
> On 05/07/2016 02:51 PM, Hans Hagen wrote:
>> Hi,
>>
>> I uploaded a beta. This one has an (partially) alternative loader for 
>> type one files so that we can apply features as with open type fonts 
>> (node mode). I didn't test it extensively but I dont' expect many 
>> problems either.
> 
> Hi Hans,
> 
> I’m afraid the new beta might contain references to a missing file :
> 
>error loading file: font-one.lua (aborting)
>mtx-context | error, no format found with name: cont-en, aborting

Many thanks for your fast fix, Hans.


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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2016-05-07 Thread Pablo Rodriguez
On 05/07/2016 02:51 PM, Hans Hagen wrote:
> Hi,
> 
> I uploaded a beta. This one has an (partially) alternative loader for 
> type one files so that we can apply features as with open type fonts 
> (node mode). I didn't test it extensively but I dont' expect many 
> problems either.

Hi Hans,

I’m afraid the new beta might contain references to a missing file :

   error loading file: font-one.lua (aborting)
   mtx-context | error, no format found with name: cont-en, aborting

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] beta

2016-05-07 Thread Hans Hagen

Hi,

I uploaded a beta. This one has an (partially) alternative loader for 
type one files so that we can apply features as with open type fonts 
(node mode). I didn't test it extensively but I dont' expect many 
problems either.


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta / current

2016-03-31 Thread Hans Hagen

On 3/30/2016 8:35 PM, Pablo Rodriguez wrote:

On 03/30/2016 12:51 PM, Hans Hagen wrote:

Hi,

As texlive code freeze is on the horizon, we are close to a new current
release. The current beta will probably not change much till that
moment. We now have luatex 0.90 but might as well end up with 0.95 in
texlive 2016 (because as usual we can test it with the garden
distribution).


Hans,

would it be possible that next current could have orphans and widows
controlled in \startlines...\stoplines?


that is not a quick patch as each line is a paragraph so not for the 
next current



Here you have a minimal sample that shows the issue:

 \showframe\showgrid
 \setuppapersize[A5]
 \setuplayout[setups=*lessstrict, topspace=4.5cm, height=middle]
 \startsetups[*lessstrict]
 \setup[reset]
 \widowpenalty=1
 \clubpenalty=1
 \brokenpenalty=1
 \stopsetups
 \starttext
 \dorecurse{5}{\input quevedo-es\par}
 \page
 \dorecurse{5}{\input knuth\par}
 \stoptext

Many thanks for your help,


Pablo




--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta / current

2016-03-30 Thread Pablo Rodriguez
On 03/30/2016 12:51 PM, Hans Hagen wrote:
> Hi,
> 
> As texlive code freeze is on the horizon, we are close to a new current 
> release. The current beta will probably not change much till that 
> moment. We now have luatex 0.90 but might as well end up with 0.95 in 
> texlive 2016 (because as usual we can test it with the garden 
> distribution).

Hans,

would it be possible that next current could have orphans and widows
controlled in \startlines...\stoplines?

Here you have a minimal sample that shows the issue:

\showframe\showgrid
\setuppapersize[A5]
\setuplayout[setups=*lessstrict, topspace=4.5cm, height=middle]
\startsetups[*lessstrict]
\setup[reset]
\widowpenalty=1
\clubpenalty=1
\brokenpenalty=1
\stopsetups
\starttext
\dorecurse{5}{\input quevedo-es\par}
\page
\dorecurse{5}{\input knuth\par}
\stoptext

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] beta / current

2016-03-30 Thread Hans Hagen

Hi,

As texlive code freeze is on the horizon, we are close to a new current 
release. The current beta will probably not change much till that 
moment. We now have luatex 0.90 but might as well end up with 0.95 in 
texlive 2016 (because as usual we can test it with the garden 
distribution).


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2016-01-30 Thread luigi scarso
On Sat, Jan 30, 2016 at 10:23 AM, Akira Kakuto 
wrote:

> Doesn’t work here.
>> This is LuaTeX, Version beta-0.88.0 (TeX Live 2016/dev)  (INITEX)
>>
>
> Here there is no problem with
> This is LuaTeX, Version beta-0.89.0 (TeX Live 2016/W32TeX/dev)
>
> Does the version 2016.01.29 19:00 require beta-0.89.0?
>
> yes latest beta was ok with 0.89.0 but not with  0.88.0 .
I think that Hans has already fixed the beta so that it works also with
0.88.



-- 
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] beta

2016-01-30 Thread Akira Kakuto

Doesn’t work here.
This is LuaTeX, Version beta-0.88.0 (TeX Live 2016/dev)  (INITEX)


Here there is no problem with
This is LuaTeX, Version beta-0.89.0 (TeX Live 2016/W32TeX/dev)

Does the version 2016.01.29 19:00 require beta-0.89.0?

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] beta

2016-01-29 Thread Hans Hagen

Hi,

I uploaded a beta. Apart from things mentioned here th emost important 
change is the xml entity handler, some additions to the command setup 
code, and a few extra \xml* helpers (plus some obscure removed). So, if 
you have a critical xml flow, snapshot your tree first.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2016-01-29 Thread Wolfgang Schuster

Hans Hagen 
29. Januar 2016 um 16:12
Hi,

I uploaded a beta. Apart from things mentioned here th emost important 
change is the xml entity handler, some additions to the command setup 
code, and a few extra \xml* helpers (plus some obscure removed). So, 
if you have a critical xml flow, snapshot your tree first.

Doesn’t work here.


This is LuaTeX, Version beta-0.88.0 (TeX Live 2016/dev)  (INITEX)
 system commands enabled.
(/Users/wolf/context/beta/tex/texmf-context/tex/context/base/mkiv/cont-en.mkiv 
(/Users/wolf/context/beta/tex/texmf-context/tex/context/base/mkiv/context.mkiv 
(/Users/wolf/context/beta/tex/texmf-context/tex/context/base/mkiv/syst-ini.mkiv

warning  (pdf backend): unexpected use of \pdfvariable

warning  (pdf backend): unexpected use of \pdfvariable
! Missing number, treated as zero.

\edef
l.1017 \edef
  \pdfgentounicode{\pdfvariable gentounicode}
\pdfgen...



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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] (beta) missing /Shading entry in page /Resources

2016-01-13 Thread Peter Rolf
Hi,

I attached a minimal test file and the old (working) and new (broken)
PDF files. The '/Shading 4 0 R' entry is missing in the page /Resources
object ('10 0 obj <> endobj') of the 'new' version.


mtx-context | ConTeXt Process Management 0.63
mtx-context |
mtx-context | main context file:
v:/tmp/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2016.01.13 09:42


Best wishes,  Peter


shading.7z
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] beta

2015-12-21 Thread Hans Hagen

Hi,

A few words on luatex 0.87 and the beta. As we're progressing to the 
first stable luatex release (stable in the sense that functionality will 
become stable, after 1.0 we will continue anyway) a couple of changes 
take place. And as context is the primary testbed it gets adapted too.


(1) Luatex functionality gets finalized which means that some gets 
removed, some adapted and some extended. The last months not much 
changed in context in terms of functionality but adapting to luatex 
canhave temporary side effects as you might have noticed.


(2) Luatex functionality that was already present but not yet used gets 
applied and again this should normally not have side effects. It might 
result in new (or extended) features.


(3) Context code gets optimized but I must admit that there is not much 
room left for that. Some new luatex functionality makes it possible to 
code a bit less redundant (handy for tracing). That can result in left 
over bit and pieces, typos etc. Lucky us we have Wolfgang to check that.


(4) Performance should be a little better but also depends on the source 
and quality of styles. If you encounter bottlenecks and can prove that 
it's due to poor context core performance I can have a look at it.


(5) The new font loader is now used and still can have some issues but 
in general it behaves okay.


(6) There are still some mechanisms that need to be mkiv'd. For instance 
I'm looking at columnsets. Some of the oldest code (early luatex) 
probably needs to be checked.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] beta

2015-09-09 Thread Hans Hagen

Hi,

I uploaded a beta with the usual fixes and improvements (mentioned on 
the list). I also redid some of the marginal anchoring, so problems 
might show up there. The reason for this 'upgrade' is that I want more 
control over right2left typesetting (especially because we have mixed use).


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta/7.7.2015: error with \in

2015-07-12 Thread Hans Hagen

On 7/11/2015 5:56 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:

Hello,

I'm getting the following error:


mtx-context | run 1: luatex
--fmt=c:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde...

iv --c:kindofrun=1 --c:maxnofruns=9 --c:nonstopmode
--c:path=C:\\Lukas\\ConTeXt\\Styles cont-yes.mkiv
This is LuaTeX, Version beta-0.80.1 (TeX Live 2015/W32TeX) (rev 5274)
   \write18 enabled.

system   callbacks  not registering frozen 'find_format_file'
open source  1  1 
c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2015.07.07 21:43 MKIV beta  fmt: 2015.7.9  int:
english/english
...
c:/Ctx-Beta/tex/texmf-context/tex/context/base/strc-ref.lua:1610:
attempt to index field 'structure' (a nil value)
stack traceback:

c:/Ctx-Beta/tex/texmf-context/tex/context/base/strc-ref.lua:1610: in
function 'identify_inner_or_outer'

c:/Ctx-Beta/tex/texmf-context/tex/context/base/strc-ref.lua:1785: in
function 'identify'

c:/Ctx-Beta/tex/texmf-context/tex/context/base/strc-ref.lua:1806: in
function 'action1'
  [string ...]:21: in function [string ...]:20
  (...tail calls...)
...
45 Hello \in{kap.}[NonExisting]
...


Any quick fix?


You can change line 1610 in

local jobstructure = job.structure
local components   = jobstructure and jobstructure.components

but better is to figure out why your tuc file is broken (aborted run? 
crash?)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] beta/7.7.2015: error with \in

2015-07-11 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

I'm getting the following error:


mtx-context | run 1: luatex 
--fmt=c:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde...
iv --c:kindofrun=1 --c:maxnofruns=9 --c:nonstopmode 
--c:path=C:\\Lukas\\ConTeXt\\Styles cont-yes.mkiv
This is LuaTeX, Version beta-0.80.1 (TeX Live 2015/W32TeX) (rev 5274)
  \write18 enabled.

system   callbacks  not registering frozen 'find_format_file'
open source  1  1  
c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2015.07.07 21:43 MKIV beta  fmt: 2015.7.9  int: english/english
...
c:/Ctx-Beta/tex/texmf-context/tex/context/base/strc-ref.lua:1610: attempt to 
index field 'structure' (a nil value)
stack traceback:
 c:/Ctx-Beta/tex/texmf-context/tex/context/base/strc-ref.lua:1610: in 
function 'identify_inner_or_outer'
 c:/Ctx-Beta/tex/texmf-context/tex/context/base/strc-ref.lua:1785: in 
function 'identify'
 c:/Ctx-Beta/tex/texmf-context/tex/context/base/strc-ref.lua:1806: in 
function 'action1'
 [string ...]:21: in function [string ...]:20
 (...tail calls...)
...
45 Hello \in{kap.}[NonExisting]
...


Any quick fix?

(
I'm not attaching a MNWE as the error appears in a large project so extracting 
a MNWE is not so easy...
but is possible... not at the moment...

But error message would help.
)

Best regards,

Lukas


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

Tel: +420 241 096 751
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta/7.7.2015: error with \in

2015-07-11 Thread Pablo Rodriguez
On 07/11/2015 05:56 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
 Hello,
 
 I'm getting the following error:
 [...]
 Any quick fix?

Hi Lukáš,

I’m afraid this is all Greek to me.

But how about upgrading to latest beta from 2015.07.10 00:05.

Just in case it might 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Beta problem with arranging XY

2015-07-09 Thread Taco Hoekwater
Hi,

It seems that the latest betas have a problem with the XY arrangement and/or 
\setuppaper. 

The attached file used to run fine, but lately all the placements are off (the 
address labels should be roughly centered on the A4 page). 

I am not sure how long ago this started going wrong, sorry (I often use a 
context installation from 2012 instead of the beta).

Best wishes,
Taco


test-labels.pdf
Description: Adobe PDF document


test-labels.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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Beta problem with arranging XY

2015-07-09 Thread Hans Hagen

On 7/9/2015 10:04 AM, Taco Hoekwater wrote:

Hi,

It seems that the latest betas have a problem with the XY arrangement and/or 
\setuppaper.

The attached file used to run fine, but lately all the placements are off (the 
address labels should be roughly centered on the A4 page).

I am not sure how long ago this started going wrong, sorry (I often use a 
context installation from 2012 instead of the beta).


probably a fixed bad default at some point, just add:

\setuplayout[location=middle]

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Beta problem with arranging XY

2015-07-09 Thread Taco Hoekwater

 On 09 Jul 2015, at 13:23, Hans Hagen pra...@wxs.nl wrote:
 
 \setuplayout[location=middle]

That fixes the global placement indeed, great.

But it does not solve the problem that address number 1 appears in label number 
4 (and 13 to 15 are off the bottom of the page).

Best wishes,
Taco
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Beta problem with arranging XY

2015-07-09 Thread Hans Hagen

On 7/9/2015 2:21 PM, Taco Hoekwater wrote:



On 09 Jul 2015, at 13:23, Hans Hagen pra...@wxs.nl wrote:

\setuplayout[location=middle]


That fixes the global placement indeed, great.

But it does not solve the problem that address number 1 appears in label number 
4 (and 13 to 15 are off the bottom of the page).


you probably run into some vss etc issues here

when you have a layer with dimensions, you can be use \tightlayer for 
placement


also, offsets have a different sign depending on the corner, so y=10mm 
for leftbottom means go up (afaik this has always been so)


\dorecurse
 {30}
 {\setlayer
   [Label]
   [preset=leftbottom,
y=10mm,x=0mm]
   {\the\paperheight/\the\paperwidth}
  \startstandardmakeup
\tightlayer[Label]
  \stopstandardmakeup }


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] beta / mp

2015-04-16 Thread Hans Hagen

Hi,

I uploaded a beta with some fixes. Indeed as Alan mentioned some of the 
tex-mp interface has changed deep down (more efficient).


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] beta

2015-03-30 Thread Hans Hagen

Hi,

I uploaded a new beta (with again a bunch of low level interface 
changes) + some fixed.


Wolfgang: can you check selectfont?

Hans



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2015-03-26 Thread Christian Prim
Hi Hans,

with the new beta following mwe produces a bug. Perhaps I'm doing something
wrong.

MWE:

\definefontfamily[mainface][sans][DejaVu Sans]
%or \definefontfamily[mainface][sans][gosmicksans] with the same result
\setupbodyfont[mainface]
\starttext
\input tufte
\stoptext

Error log:
Typesetting /home/ubuntu/workspace/mwe.tex

mtx-context | run 1: luatex
--fmt=/home/ubuntu/workspace/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en
--jobname=mwe
--lua=/home/ubuntu/workspace/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui
--no-parse-first-line --c:currentrun=1 --c:fulljobname=./mwe.tex
--c:input=./mwe.tex --c:kindofrun=1 --c:maxnofruns=8 cont-yes.mkiv
This is LuaTeX, Version beta-0.80.0 (TeX Live 2015/dev) (rev 5195)
 \write18 enabled.

interfaces   implementor  warning: 'commands.writestatus' is redefined

interfaces   implementor  error: no actions for
'btxresolvelistreference'
open source  1  1 
/home/ubuntu/workspace/context/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2015.03.26 19:19 MKIV beta  fmt: 2015.3.26  int:
english/english

system   'cont-new.mkiv' loaded
open source  2  2 
/home/ubuntu/workspace/context/tex/texmf-context/tex/context/base/cont-new.mkiv
close source 2  2 
/home/ubuntu/workspace/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system   files  jobname 'mwe', input './mwe', result 'mwe'
fontslatin modern fonts are not preloaded
languageslanguage 'en' is active
open source  2  3 
/home/ubuntu/workspace/documents/snippets/bug/mwe.tex

tex errorerror on line 179 in file
/home/ubuntu/workspace/documents/snippets/bug/mwe.tex: ! Argument of
\splitoffbase has an extra }

inserted text
\par
to be read again
}
\rawdoifinsetelse ...def \m_syst_sub_string {,#1,}
  \ifx \m_syst_sub_string
\m...
\addtocommalist #1#2-\rawdoifinsetelse {#1}
#2\resetglobal {\dodoglobal
\ede...
\font_typefaces_define_a ...usetypescriptfile [#4]
  \font_typescripts_use_one
...
l.179 ]

...
l.2 \setupbodyfont
[mainface]

Thanks for your help.
Christian

2015-03-26 19:24 GMT+01:00 Hans Hagen pra...@wxs.nl:

 Hi,

 I uploaded a beta (for luatex 0.80) that has some changes in low level
 interfaces. Hopefully there are no side effects but there are they can be
 sorted out fast. I tested the code on projects and manuals so it should not
 be too bad. Depending on how complex your setup up is, there can be a speed
 gain of some 5% compared to previous versions.

 Hans


 -
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
  | 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://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2015-03-26 Thread Pablo Rodriguez
On 03/26/2015 07:24 PM, Hans Hagen wrote:
 Hi,
 
 I uploaded a beta (for luatex 0.80) that has some changes in low level 
 interfaces. Hopefully there are no side effects but there are they can 
 be sorted out fast. I tested the code on projects and manuals so it 
 should not be too bad. Depending on how complex your setup up is, there 
 can be a speed gain of some 5% compared to previous versions.

Hans,

many thanks for the new beta.

I’m afraid that the three documents I tested (rather complex ones)
cannot be compiled and the error message is the same. \definefontfamily
seems to be the offending command

The minimal sample:

\definefontfamily[mainface][rm][TeX Gyre Pagella]
\setupbodyfont[mainface]
\starttext
\input zapf
\stoptext

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2015-03-26 Thread Wolfgang Schuster

 Am 26.03.2015 um 20:14 schrieb Pablo Rodriguez oi...@gmx.es:
 
 On 03/26/2015 07:24 PM, Hans Hagen wrote:
 Hi,
 
 I uploaded a beta (for luatex 0.80) that has some changes in low level 
 interfaces. Hopefully there are no side effects but there are they can 
 be sorted out fast. I tested the code on projects and manuals so it 
 should not be too bad. Depending on how complex your setup up is, there 
 can be a speed gain of some 5% compared to previous versions.
 
 Hans,
 
 many thanks for the new beta.
 
 I’m afraid that the three documents I tested (rather complex ones)
 cannot be compiled and the error message is the same. \definefontfamily
 seems to be the offending command
 
 The minimal sample:
 
\definefontfamily[mainface][rm][TeX Gyre Pagella]
\setupbodyfont[mainface]
\starttext
\input zapf
\stoptext
 
 Many thanks for your help,


The bug happens further down in the \usetypescriptfile command and is triggered
when a empty argument is given. The cause can be reproduced with the following
example when you pass an empty string to \splitfilename.

\starttext

\letempty\CommaList

\splitfilename{}% fails
%\splitfilename{text}% works
\addtocommalist\splitoffbase\CommaList

\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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] beta

2015-03-26 Thread Hans Hagen

Hi,

I uploaded a beta (for luatex 0.80) that has some changes in low level 
interfaces. Hopefully there are no side effects but there are they can 
be sorted out fast. I tested the code on projects and manuals so it 
should not be too bad. Depending on how complex your setup up is, there 
can be a speed gain of some 5% compared to previous versions.


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2015-03-26 Thread Hans Hagen

On 3/26/2015 8:35 PM, Wolfgang Schuster wrote:



Am 26.03.2015 um 20:14 schrieb Pablo Rodriguez oi...@gmx.es:

On 03/26/2015 07:24 PM, Hans Hagen wrote:

Hi,

I uploaded a beta (for luatex 0.80) that has some changes in low level
interfaces. Hopefully there are no side effects but there are they can
be sorted out fast. I tested the code on projects and manuals so it
should not be too bad. Depending on how complex your setup up is, there
can be a speed gain of some 5% compared to previous versions.


Hans,

many thanks for the new beta.

I’m afraid that the three documents I tested (rather complex ones)
cannot be compiled and the error message is the same. \definefontfamily
seems to be the offending command

The minimal sample:

\definefontfamily[mainface][rm][TeX Gyre Pagella]
\setupbodyfont[mainface]
\starttext
\input zapf
\stoptext

Many thanks for your help,



The bug happens further down in the \usetypescriptfile command and is triggered
when a empty argument is given. The cause can be reproduced with the following
example when you pass an empty string to \splitfilename.

\starttext

\letempty\CommaList

\splitfilename{}% fails
%\splitfilename{text}% works
\addtocommalist\splitoffbase\CommaList

\stoptext


ok, fix in engine needed ... i uploaded a temp fix

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] beta

2015-03-25 Thread Hans Hagen

Hi,

I uploaded a beta. This is the last one that works with luatex  0.80 
but the good news is that the contextgarden has 0.80. I will start 
moving in some new code now so if you don't want any risks you need to 
snapshot your context tree.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2014-12-01 Thread Pablo Rodriguez
On 11/26/2014 08:28 PM, Hans Hagen wrote:
 [...]
 \setuphyphenation[method=traditional]
 
 enables it and as by default we are a bit more tolerant to what a word 
 is, you can enforce a more strict behaviour with

Hans,

sorry for not having answered before, but I found that this new setup
doesn’t honor the \hyphenation command:

\setuphyphenation[method=traditional]
\hyphenation{Nietz-sche}
\starttext
\hsize\zeropoint
Nietzsche
\stoptext

I’m also writing a book (more than 320 pages) that ConTeXt cannot
compile when I enable \setuphyphenation[method=traditional].

Since the log is rather extensive and I’d rather avoid to post in a
public list, I send it to you off-list.

ConTeXt complains about a blank line. Let me know whether I need to
isolate the issue in a smaller sample file or the log file is enough.

 But that's for the happy few who understand and/or love such weird 
 syntaxes. Anyway, this is the time to ask for more if you are in need,

Well, if I can ask for features, I would like that ConTeXt would be able
to hyphenate the contents in the type element. This option was removed
in latest beta.

And for both the contents of the type element and the hyphenatedurl, I
think that it would be useful to have underscore hyphenation. Otherwise,
the hyphen could be considered as part of the command, file name or url.

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] beta

2014-11-26 Thread Hans Hagen

Hi,

I uploaded a new beta. The most interesting new thing is that the Lua 
based hyphenator is now better integrated. I showed that one (plus some 
features) at the last context meeting, and decided to clean it up a bit 
and prepare it for extensions. It might become the default hyphenator at 
some point. Performance is quite ok, especially when you take into 
account that the amount of time spent on hyphenating is not that large.


You can test it with:

\setuphyhenation[method=traditional]

enables it and as by default we are a bit more tolerant to what a word 
is, you can enforce a more strict behaviour with


\sethyphenationfeatures[strict]

It is possible to control some aspects (even within a paragraph) but 
some of that is experimental. I'm working on a manual that explains 
details about how hyphenation works and how one can write plugins.


There is already support for explicit hyphens and joiners (the default 
set) and patterns as discussed in Hyphenation in OpenOffice.org
(TUGboat, Volume 27, 2006) should also work; you can for instance 
register additional patterns like this:


\registerhyphenationpattern[en][eigh1tee/t=t,5,1]

But that's for the happy few who understand and/or love such weird 
syntaxes. Anyway, this is the time to ask for more if you are in need,


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2014-11-26 Thread Pablo Rodriguez
On 11/26/2014 08:28 PM, Hans Hagen wrote:
 Hi,
 
 I uploaded a new beta.

Hans,

I’m afraid that this sample cannot be compiled with the new beta:

\starttext
\section{What is \ConTeXt?}
\stoptext


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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2014-11-26 Thread Christian Prim
Hi Hans,

the tikz-example on the wiki (which worked in last beta) doesn't compile
too.

http://wiki.contextgarden.net/TikZ

Christian

2014-11-26 21:06 GMT+01:00 Pablo Rodriguez oi...@gmx.es:

 On 11/26/2014 08:28 PM, Hans Hagen wrote:
  Hi,
 
  I uploaded a new beta.

 Hans,

 I’m afraid that this sample cannot be compiled with the new beta:

 \starttext
 \section{What is \ConTeXt?}
 \stoptext


 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://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2014-11-26 Thread Hans Hagen

On 11/26/2014 9:06 PM, Pablo Rodriguez wrote:

On 11/26/2014 08:28 PM, Hans Hagen wrote:

Hi,

I uploaded a new beta.


Hans,

I’m afraid that this sample cannot be compiled with the new beta:

\starttext
\section{What is \ConTeXt?}
\stoptext


ah, a missing \protect .. i'll fix it

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2014-11-26 Thread Hans Hagen

On 11/26/2014 9:29 PM, Christian Prim wrote:

Hi Hans,

the tikz-example on the wiki (which worked in last beta) doesn't compile
too.

http://wiki.contextgarden.net/TikZ


it works here so it's prob ably the already discussed tikz library issue

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2014-11-26 Thread Christian Prim
Sorry for the noise,

after a fresh install of standalone, everything is fine again. Don't know,
why this happened.

Christian

2014-11-26 21:48 GMT+01:00 Hans Hagen pra...@wxs.nl:

 On 11/26/2014 9:29 PM, Christian Prim wrote:

 Hi Hans,

 the tikz-example on the wiki (which worked in last beta) doesn't compile
 too.

 http://wiki.contextgarden.net/TikZ


 it works here so it's prob ably the already discussed tikz library issue

 Hans

 -
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
  | 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://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] beta

2014-11-03 Thread Hans Hagen

Hi,

I reorganized some list code so if something fails in the new beta ... 
nothing drastic that can't be fixed fast (a few more criteria were 
needed for the new bibliographic support).


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] beta

2014-10-14 Thread Hans Hagen

Hi,

new in next beta:

\setuphead[alternative=reverse]

\starttext

\chapter{Foo}
\section{One}
\section{Two}
\section{Three}
\chapter{Bar}
\section{One}
\section{Two}
\section{Three}

\stoptext

renders

Foo 1
One 1.1

etc

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] beta

2013-09-30 Thread Hans Hagen

Hi,

I uploaded a new beta (still catching up from last week). The core now 
has the simplefonts-turned-fontselector code included but only those 
present last week have the edge of knowing how to use it unless WS 
decides to reveal its secrets and/or LS undiscloses it by posting source 
code.


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] beta / devanagari

2013-09-19 Thread Hans Hagen

Hi,

The just uploaded beta has some improvements in devanagari support.

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] beta

2013-09-17 Thread Hans Hagen

Hi,

A new (experimental) feature:

\setupbodyfont[dejavu]

\showglyphs

\starttext

Is it \mixedcaps{OpenType} or {\bf actually more 
\mixedcaps{CloseType}}?


\definefont[MixedCaps][CurrentFont*default cp 
\the\dimexpr1.05\exheight]


Is it \mixedcaps{OpenType} or {\bf actually more 
\mixedcaps{CloseType}}?


\stoptext

--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] beta

2013-09-10 Thread Khaled Hosny
On Mon, Sep 09, 2013 at 08:01:30PM +0200, Hans Hagen wrote:
 Hi,
 
 I uploaded a beta with additional bidi code. There are now three methods:
 
 default : the original one, the fastest, wil be improved a bit
 one : unicode bidi, derived from khaleds t-bidi, cleaned up and
 optimized plus some thingies, but in working still close to the
 original
 two : unicode bidi, the version that will evolve
 
 All methods come with the usual context kind of tracing.
 
 Some of these methods have different options (default has local and
 global behaviour), one has no options, and for two one can disable
 fancy fences heuristics. More will follow once we have investigated
 all upcoming changes, circulating wishes, conflicting demands etc.
 Eventually there will be a manual about these matters.

Method two seems to be broken here:
error: .../context/tex/texmf-context/tex/context/base/typo-dir.lua:151: attempt 
to call global 'hasbit' (a nil value)

Regards,
Khaled
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] beta

2013-09-10 Thread Hans Hagen

On 9/10/2013 3:50 PM, Khaled Hosny wrote:

On Mon, Sep 09, 2013 at 08:01:30PM +0200, Hans Hagen wrote:

Hi,

I uploaded a beta with additional bidi code. There are now three methods:

default : the original one, the fastest, wil be improved a bit
one : unicode bidi, derived from khaleds t-bidi, cleaned up and
optimized plus some thingies, but in working still close to the
original
two : unicode bidi, the version that will evolve

All methods come with the usual context kind of tracing.

Some of these methods have different options (default has local and
global behaviour), one has no options, and for two one can disable
fancy fences heuristics. More will follow once we have investigated
all upcoming changes, circulating wishes, conflicting demands etc.
Eventually there will be a manual about these matters.


Method two seems to be broken here:
error: .../context/tex/texmf-context/tex/context/base/typo-dir.lua:151: attempt 
to call global 'hasbit' (a nil value)


ok, i'll fix it .. (it went unnoticed because i ran experimental faster 
code here)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] beta

2013-09-09 Thread Hans Hagen

Hi,

I uploaded a beta with additional bidi code. There are now three methods:

default : the original one, the fastest, wil be improved a bit
one : unicode bidi, derived from khaleds t-bidi, cleaned up and 
optimized plus some thingies, but in working still close to the original

two : unicode bidi, the version that will evolve

All methods come with the usual context kind of tracing.

Some of these methods have different options (default has local and 
global behaviour), one has no options, and for two one can disable fancy 
fences heuristics. More will follow once we have investigated all
upcoming changes, circulating wishes, conflicting demands etc. 
Eventually there will be a manual about these matters.


Here is an example (follow up on some post about hebrew on this list):

\starttext

\definefont[arabicfont][arabtype*arabic at 20pt]
\definefont[hebrewfont][arial*hebrewat 12pt]

\startbuffer[fences]
\hebrewfont
ש)ל(אnone\par
ש(ל]אnone\par
ש(ל)א2-4\par
ש(ל[א)כ] 2-6\par
ש(ל]א)כ  2-6\par
ש(ל)א)כ  2-4\par
ש(ל(א)כ  4-6\par
ש(ל(א)כ) 2-8, 4-6\par
ש(ל[א]כ) 2-8, 4-6\par
\stopbuffer

\startbuffer[junk]
\hebrewfont
\dorecurse{100}{
\dorecurse{20}{
שלום (אני) כותבשלום (אני) $ $ כותבשלום (אני) $x$ כותבשלום (אני) 
\ruledhbox {hans כותבשלום}
(אני) כותבשלום (אני) כותבשלום (אני) כותבשלום (אני) כותבשלום 
(אני) כותבשלום (אני) כותבשלום (אני) כותב

}
\par
}
\stopbuffer

\setupalign[r2l,verytolerant]

\start
\setupdirections[bidi=global,method=default]
\getbuffer[fences] \blank
\stop

\start
\setupdirections[bidi=global,method=one]
\enabletrackers[typesetters.directions.one]
\enabletrackers[typesetters.directions.one.details]
\getbuffer[fences] \blank
\disabletrackers[typesetters.directions.one]
\disabletrackers[typesetters.directions.one.details]
\stop

\start
\setupdirections[bidi=global,method=two,fences=yes]
\enabletrackers[typesetters.directions.two]
\enabletrackers[typesetters.directions.two.details]
\getbuffer[fences] \blank
\disabletrackers[typesetters.directions.two]
\disabletrackers[typesetters.directions.two.details]
\stop

\start
\setupdirections[bidi=global,method=two,fences=no]
\enabletrackers[typesetters.directions.two]
\enabletrackers[typesetters.directions.two.details]
\getbuffer[fences] \blank
\disabletrackers[typesetters.directions.two]
\disabletrackers[typesetters.directions.two.details]
\stop

\page

\start
\setupdirections[bidi=global,method=two]
\getbuffer[junk] \blank
\stop

\stoptext


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2013-08-24 Thread Marco Patzer
On 2013–08–24 Hans Hagen wrote:

 On 8/24/2013 2:08 AM, Marco Patzer wrote:
 On 2013–08–24 Hans Hagen wrote:
 
 On 8/23/2013 2:41 PM, Otared Kavian wrote:
 Hi Hans,
 
 This is a very nice feature indeed.
 Out of curiosity, I wondered whether it is possible to to have 
 \placeinitial to work with \definefirstline, or a variant of it: that is 
 not only have the first character of the first sentence as a dropped 
 capital, but also the first line (or first few words) for instance in 
 smallcaps.
 
 I played with that before uploading but it was somewhat tricky.
 Anyway, I redid some code so now you can do this:
 
 Did you forget to add a file?
 
 loading  ConTeXt Typesetting Macros / First Lines
 ! LuaTeX error 
 ...o/ctx/te/tex/texmf-context/tex/context/base/typo-fln.lua:44: attempt to 
 index field 'pool' (a nil value)
 stack traceback:
  ...o/ctx/te/tex/texmf-context/tex/context/base/typo-fln.lua:44: in 
  function 'code'
  ...o/ctx/te/tex/texmf-context/tex/context/base/util-lua.lua:84: in 
  function 'loadedluacode'
  ...o/ctx/te/tex/texmf-context/tex/context/base/luat-env.lua:104: in 
  function 'luafilechunk'
  ...o/ctx/te/tex/texmf-context/tex/context/base/luat-cod.lua:45: in 
  function 'registercode'
  [string \directlua ]:1: in main chunk.
 
 system   tex  error on line 53 in file 
 /home/marco/ctx/te/tex/texmf-context/tex/context/base/typo-fln.mkiv: LuaTeX 
 error  ...
 
 hm, just some missing code in one of the files (i have two sets, a
 fast set and a traditional set, and i normally work with the fast

There still seems to be something missing in the new upload.
Making the format still fails:

loading  ConTeXt Typesetting Macros / First Lines
! LuaTeX error ...o/ctx/te/tex/texmf-context/tex/context/base/typo-fln.lua:44: 
attempt to index field 'nodes' (a nil value)
stack traceback:
...o/ctx/te/tex/texmf-context/tex/context/base/typo-fln.lua:44: in 
function 'code'
...o/ctx/te/tex/texmf-context/tex/context/base/util-lua.lua:84: in 
function 'loadedluacode'
...o/ctx/te/tex/texmf-context/tex/context/base/luat-env.lua:104: in 
function 'luafilechunk'
...o/ctx/te/tex/texmf-context/tex/context/base/luat-cod.lua:45: in 
function 'registercode'
[string \directlua ]:1: in main chunk.

system   tex  error on line 53 in file 
/home/marco/ctx/te/tex/texmf-context/tex/context/base/typo-fln.mkiv: LuaTeX 
error  ...

Marco


signature.asc
Description: Digital 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2013-08-23 Thread Philipp Gesang
···date: 2013-08-22, Thursday···from: Hans Hagen···

 Hi,
 
 Some new magic in the beta ...
 
 \setupbodyfont[pagella]
 
 \starttext
 
 \setupindenting[medium,yes]
 \setupalign[tolerant]
 
 \definefirstline
   [fancy]
   [alternative=line,
color=darkred,
style=\setfontfeature{smallcaps}]
 
 \setfirstline[fancy] \input tufte  \par
 \setfirstline[fancy] \input ward   \par
 \setfirstline[fancy] \input knuth  \par
 \setfirstline[fancy] \input bryson \page
 
 \definefirstline
   [fancy]
   [alternative=word,
color=darkblue,
style=bold,
n=2]
 
 \setfirstline[fancy] \input tufte  \par
 \setfirstline[fancy] \input ward   \par
 \setfirstline[fancy] \input knuth  \par
 \setfirstline[fancy] \input bryson \page
 
 \stoptext
 
 (Actually, it was rather old magic that I found back in an early
 days of mkiv file).
 

Nice, wikified:

  http://wiki.contextgarden.net/Command/definefirstline

Best,
Philipp


pgpOee6Hf3zPW.pgp
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2013-08-23 Thread Otared Kavian
Hi Hans,

This is a very nice feature indeed.
Out of curiosity, I wondered whether it is possible to to have \placeinitial to 
work with \definefirstline, or a variant of it: that is not only have the first 
character of the first sentence as a dropped capital, but also the first line 
(or first few words) for instance in smallcaps.

Another curiosity question: is it on purpose that
 \definefirstline
[fancy]
[alternative=line,
color=darkred,
style=\setfontfeature{smallcaps},
n=2]
does not produce two lines of text in smallcaps?

Best regards: OK

On 22 août 2013, at 16:06, Hans Hagen pra...@wxs.nl wrote:

 Hi,
 
 Some new magic in the beta ...
 
 \setupbodyfont[pagella]
 
 \starttext
 
\setupindenting[medium,yes]
\setupalign[tolerant]
 
\definefirstline
  [fancy]
  [alternative=line,
   color=darkred,
   style=\setfontfeature{smallcaps}]
 
\setfirstline[fancy] \input tufte  \par
\setfirstline[fancy] \input ward   \par
\setfirstline[fancy] \input knuth  \par
\setfirstline[fancy] \input bryson \page
 
\definefirstline
  [fancy]
  [alternative=word,
   color=darkblue,
   style=bold,
   n=2]
 
\setfirstline[fancy] \input tufte  \par
\setfirstline[fancy] \input ward   \par
\setfirstline[fancy] \input knuth  \par
\setfirstline[fancy] \input bryson \page
 
 \stoptext
 
 (Actually, it was rather old magic that I found back in an early days of 
 mkiv file).
 
 Hans
 
 -
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] beta

2013-08-23 Thread Hans Hagen

On 8/23/2013 2:41 PM, Otared Kavian wrote:

Hi Hans,

This is a very nice feature indeed.
Out of curiosity, I wondered whether it is possible to to have \placeinitial to 
work with \definefirstline, or a variant of it: that is not only have the first 
character of the first sentence as a dropped capital, but also the first line 
(or first few words) for instance in smallcaps.


I played with that before uploading but it was somewhat tricky. Anyway, 
I redid some code so now you can do this:


\setupbodyfont
  [pagella]

\setupalign
  [tolerant,stretch]

\setupfirstline
  [alternative=line,
   color=darkred,
   style=\setfontfeature{smallcaps}]

\setupfirstline
  [fancy]
  [n=3]

\setupfirstline
  [fancier]
  [alternative=word,
   color=darkblue,
   style=bold,
   n=3]

\setupfirstline
  [weirder]
  [alternative=line,
   color=darkgreen,
   style=\setfontfeature{smallcaps},
   n=3]

\setupinitial
  [location=text,
   n=2,
   color=darkred,
   voffset=-.5ex,
   before={\blank[2*big]}]

\starttext

\setfirstline

\input ward \par

\placeinitial

\input ward \par

\setupindenting[medium,yes]

\setinitial % \placeinitial

\input ward \par

\setinitial %  \placeinitial
\setfirstline

\input ward \par

\setfirstline[fancy]

\input ward \par

\setfirstline[fancier]

\input ward \par

\setinitial %  \placeinitial
\setfirstline[weirder]

\input ward \par

\stoptext


Another curiosity question: is it on purpose that
  \definefirstline
[fancy]
[alternative=line,
color=darkred,
style=\setfontfeature{smallcaps},
n=2]
does not produce two lines of text in smallcaps?


I cannot imagine someone using it but it should work now. I must admit 
that I never use dropcaps or even this firstline stuff so it was more a 
challenge than a neccessity.


I have no clue (yet) to what extend it all interferes with other 
trickery but I suppose that such features are only used in controlled 
situations.


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] beta

2013-08-23 Thread Marco Patzer
On 2013–08–24 Hans Hagen wrote:

 On 8/23/2013 2:41 PM, Otared Kavian wrote:
 Hi Hans,
 
 This is a very nice feature indeed.
 Out of curiosity, I wondered whether it is possible to to have \placeinitial 
 to work with \definefirstline, or a variant of it: that is not only have the 
 first character of the first sentence as a dropped capital, but also the 
 first line (or first few words) for instance in smallcaps.
 
 I played with that before uploading but it was somewhat tricky.
 Anyway, I redid some code so now you can do this:

Did you forget to add a file?

loading  ConTeXt Typesetting Macros / First Lines
! LuaTeX error ...o/ctx/te/tex/texmf-context/tex/context/base/typo-fln.lua:44: 
attempt to index field 'pool' (a nil value)
stack traceback:
...o/ctx/te/tex/texmf-context/tex/context/base/typo-fln.lua:44: in 
function 'code'
...o/ctx/te/tex/texmf-context/tex/context/base/util-lua.lua:84: in 
function 'loadedluacode'
...o/ctx/te/tex/texmf-context/tex/context/base/luat-env.lua:104: in 
function 'luafilechunk'
...o/ctx/te/tex/texmf-context/tex/context/base/luat-cod.lua:45: in 
function 'registercode'
[string \directlua ]:1: in main chunk.

system   tex  error on line 53 in file 
/home/marco/ctx/te/tex/texmf-context/tex/context/base/typo-fln.mkiv: LuaTeX 
error  ...

Marco


signature.asc
Description: Digital 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta

2013-08-23 Thread Hans Hagen

On 8/24/2013 2:08 AM, Marco Patzer wrote:

On 2013–08–24 Hans Hagen wrote:


On 8/23/2013 2:41 PM, Otared Kavian wrote:

Hi Hans,

This is a very nice feature indeed.
Out of curiosity, I wondered whether it is possible to to have \placeinitial to 
work with \definefirstline, or a variant of it: that is not only have the first 
character of the first sentence as a dropped capital, but also the first line 
(or first few words) for instance in smallcaps.


I played with that before uploading but it was somewhat tricky.
Anyway, I redid some code so now you can do this:


Did you forget to add a file?

loading  ConTeXt Typesetting Macros / First Lines
! LuaTeX error ...o/ctx/te/tex/texmf-context/tex/context/base/typo-fln.lua:44: 
attempt to index field 'pool' (a nil value)
stack traceback:
...o/ctx/te/tex/texmf-context/tex/context/base/typo-fln.lua:44: in 
function 'code'
...o/ctx/te/tex/texmf-context/tex/context/base/util-lua.lua:84: in 
function 'loadedluacode'
...o/ctx/te/tex/texmf-context/tex/context/base/luat-env.lua:104: in 
function 'luafilechunk'
...o/ctx/te/tex/texmf-context/tex/context/base/luat-cod.lua:45: in 
function 'registercode'
[string \directlua ]:1: in main chunk.

system   tex  error on line 53 in file 
/home/marco/ctx/te/tex/texmf-context/tex/context/base/typo-fln.mkiv: LuaTeX error  ...


hm, just some missing code in one of the files (i have two sets, a fast 
set and a traditional set, and i normally work with the fast set)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] beta

2013-08-22 Thread Hans Hagen

Hi,

Some new magic in the beta ...

\setupbodyfont[pagella]

\starttext

\setupindenting[medium,yes]
\setupalign[tolerant]

\definefirstline
  [fancy]
  [alternative=line,
   color=darkred,
   style=\setfontfeature{smallcaps}]

\setfirstline[fancy] \input tufte  \par
\setfirstline[fancy] \input ward   \par
\setfirstline[fancy] \input knuth  \par
\setfirstline[fancy] \input bryson \page

\definefirstline
  [fancy]
  [alternative=word,
   color=darkblue,
   style=bold,
   n=2]

\setfirstline[fancy] \input tufte  \par
\setfirstline[fancy] \input ward   \par
\setfirstline[fancy] \input knuth  \par
\setfirstline[fancy] \input bryson \page

\stoptext

(Actually, it was rather old magic that I found back in an early days 
of mkiv file).


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] beta

2013-04-16 Thread Hans Hagen

Hi,

I uploaded a beta:

- combinations extended cf mails on this list
- new windows stubs (might need testing)
- frac fixed
- fixed more restrictive tex file lookup in run

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] beta

2013-04-16 Thread Marco Patzer
On 2013–04–16 Hans Hagen wrote:

 - frac fixed

Thanks.

 - fixed more restrictive tex file lookup in run

  context  s-pre-17.mkiv

still works on my machine. I'm fine with that, just want to let you
know, it might not be the intended behaviour.

Marco


signature.asc
Description: Digital 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

  1   2   3   4   5   6   7   8   9   >