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
___


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
___


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
___


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
___


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
___


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
___

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
___

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
___

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
___

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
___

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
___

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
___

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
___

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
___

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
___

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
___

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
___

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
___

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
___

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
___

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
___

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
___


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
___


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
___

Re: [NTG-context] beta

2013-04-16 Thread Hans Hagen

On 4/16/2013 1:04 PM, Marco Patzer wrote:

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.


hm, another attempts *hopefully it doesn't break something else) .. 
always a bit of a dilemma: be tolerant or strict with the tds 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

2013-03-13 Thread Hans Hagen

On 3/13/2013 3:59 AM, Li Yanrui (李延瑞) wrote:

fails to define fonts. See this example:

\definefontsynonym[song][name:adobesongstd]
\definefontfallback[hereos][name:texgyreherosregular][0x-0x0400]
\definefontsynonym[fbsong][song][fallbacks=hereos]
\definefont[newsong][fbsong]

\starttext
\newsong 夹杂 English 的中文文本
\stoptext

I get the error:


fixed in next beta

-
  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-03-12 Thread 李延瑞
2013/3/13 Hans Hagen pra...@wxs.nl:
 Hi,

 I uploaded a beta. Quite some files were touched as I went over all messages
 at the Lua end (simplified using the formatter, more consistent, etc). It
 might be that I made mistakes which then will show up when tracing options
 are enabled or error messages are issued.


fails to define fonts. See this example:

\definefontsynonym[song][name:adobesongstd]
\definefontfallback[hereos][name:texgyreherosregular][0x-0x0400]
\definefontsynonym[fbsong][song][fallbacks=hereos]
\definefont[newsong][fbsong]

\starttext
\newsong 夹杂 English 的中文文本
\stoptext

I get the error:

! LuaTeX error .../context/tex/texmf-context/tex/context/base/font-col.lua:90:
attempt to get length of local 'd' (a nil value)
stack traceback:
.../context/tex/texmf-context/tex/context/base/font-col.lua:90: in
function 'fontcollectiondefine'
[string \directlua ]:1: in main chunk.



-- 
Best regards,

Li Yanrui (李延瑞)
___
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-02-19 Thread Aditya Mahajan

On Tue, 19 Feb 2013, Hans Hagen wrote:


This is experimental in upcoming beta:

\starttext

\definemathfence [fancybracket] [bracket] [command=yes,color=blue]


Some feature requests:

1. Can we choose asymmetric fences, for example bra and ket notation in 
quantum physics:


\bra{x} = \lvert x \rangle
\ket{x} = \langle x \rvert

2. Add scaling so that

\fancybracket{...} = \left\{ ... \right\}

3. Add mathstyle key (I think that we need to slowly add this to all math 
comamnds)


mathstyle=text|display|script|scriptscript|cramped

At some stage I'll see if this can replace my old mathsets module.

http://modules.contextgarden.net/dl/t-mathsets/doc/context/third/mathsets/mathsets-doc.pdf

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


Re: [NTG-context] beta

2013-02-19 Thread Hans Hagen

On 2/19/2013 8:19 PM, Aditya Mahajan wrote:

On Tue, 19 Feb 2013, Hans Hagen wrote:


This is experimental in upcoming beta:

\starttext

\definemathfence [fancybracket] [bracket] [command=yes,color=blue]


Some feature requests:

1. Can we choose asymmetric fences, for example bra and ket notation in
quantum physics:

\bra{x} = \lvert x \rangle
\ket{x} = \langle x \rvert


by default we have this defined

\definemathfence [parenthesis] [\c!left=0028,\c!right=0029]
\definemathfence [bracket] [\c!left=005B,\c!right=005D]
\definemathfence [braces]  [\c!left=007B,\c!right=007D]
\definemathfence [bar] [\c!left=007C,\c!right=007C]
\definemathfence [doublebar]   [\c!left=2016,\c!right=2016]

to which I'll add:

\definemathfence [angle]   [\c!left=003C,\c!right=003E]

so, you can define

\definemathfence [bra]   [left=007C,right=003E,command=yes]
\definemathfence [ket]   [left=003C,right=007C,command=yes]

(the command=yes defines the command)

\bra{x} = \lvert x \rangle


2. Add scaling so that

\fancybracket{...} = \left\{ ... \right\}


is already there


3. Add mathstyle key (I think that we need to slowly add this to all
math comamnds)

mathstyle=text|display|script|scriptscript|cramped


ok, later as we probably need some adaptive relative mechanism .. basics 
already there


the auto matching code will also be redone

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 (MP)

2012-12-11 Thread Alan BRASLAU
On Mon, 10 Dec 2012 23:28:17 +0100
Hans Hagen pra...@wxs.nl wrote:

 Hi,
 
 I uploaded a beta. There are some minor changes in the mp machinery
 (as preparation for 'double' support. As I upgraded some file related
 code recently there can be issues (easy to solve once known as it's
 hard to foresee all bordercases).
 
 Hans

(Already reported directly, but I forgot to put the list on copy.)

There is a problem with the new beta.

Minimal example:

\starttext
\startMPcode
draw fullcircle scaled 1cm ;
\stopMPcode
\stoptext




metapost initializing instance 'metafun' using format 'metafun'
metapost loading
'metafun': 
/home/local/context/beta/tex/texmf-context/metapost/context/base/metafun.mpiv,
using method: default
luatex: ../../../source/texk/web2c/mplibdir/mp.w:5353:
do_set_attr_head: Assertion `A-type==mp_structured' failed.

mtx-context | fatal error: no return code, message: luatex:
execution interrupted
___
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 (MP)

2012-12-11 Thread Taco Hoekwater

On 12/11/2012 09:05 AM, Alan BRASLAU wrote:


(Already reported directly, but I forgot to put the list on copy.)

There is a problem with the new beta.

Minimal example:

\starttext
 \startMPcode
 draw fullcircle scaled 1cm ;
 \stopMPcode
\stoptext


This example works for me, and valgrind does not report anything
out of the ordinary at that point.  What system do you run on?

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 (MP)

2012-12-11 Thread Otared Kavian
Hi Alan,

Your example works on my machine (Mac OS X 10.8 and Context version 2012.12.10 
23:20).

Best regards: OK

On 11 déc. 2012, at 09:05, Alan BRASLAU alan.bras...@cea.fr wrote:

 On Mon, 10 Dec 2012 23:28:17 +0100
 Hans Hagen pra...@wxs.nl wrote:
 
 Hi,
 
 I uploaded a beta. There are some minor changes in the mp machinery
 (as preparation for 'double' support. As I upgraded some file related
 code recently there can be issues (easy to solve once known as it's
 hard to foresee all bordercases).
 
 Hans
 
 (Already reported directly, but I forgot to put the list on copy.)
 
 There is a problem with the new beta.
 
 Minimal example:
 
 \starttext
\startMPcode
draw fullcircle scaled 1cm ;
\stopMPcode
 \stoptext
 
 
 
 
 metapost initializing instance 'metafun' using format 'metafun'
 metapost loading
 'metafun': 
 /home/local/context/beta/tex/texmf-context/metapost/context/base/metafun.mpiv,
 using method: default
 luatex: ../../../source/texk/web2c/mplibdir/mp.w:5353:
 do_set_attr_head: Assertion `A-type==mp_structured' failed.
 
 mtx-context | fatal error: no return code, message: luatex:
 execution interrupted
 ___
 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 (MP)

2012-12-11 Thread luigi scarso
On Tue, Dec 11, 2012 at 9:36 AM, Taco Hoekwater t...@elvenkind.com wrote:
 On 12/11/2012 09:05 AM, Alan BRASLAU wrote:


 (Already reported directly, but I forgot to put the list on copy.)

 There is a problem with the new beta.

 Minimal example:

 \starttext
  \startMPcode
  draw fullcircle scaled 1cm ;
  \stopMPcode
 \stoptext


 This example works for me, and valgrind does not report anything
 out of the ordinary at that point.  What system do you run on?

broken here too
# context test.tex

mtx-context | run 1: luatex
--fmt=/opt/luatex/standalone-mkiv/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/cont-en
--jobname=test
--lua=/opt/luatex/standalone-mkiv/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/cont-en.lui
--no-parse-first-line --c:currentrun=1 --c:fulljobname=./test.tex
--c:input=./test.tex --c:kindofrun=1 cont-yes.mkiv
This is LuaTeX, Version beta-0.72.0-2012121022 (rev 4499)
 \write18 enabled.
(/opt/luatex/standalone-mkiv/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2012.12.10 23:20 MKIV  fmt: 2012.12.11  int: english/english

system   cont-new.mkiv loaded
(/opt/luatex/standalone-mkiv/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   files  jobname: test, input: test, result: test
fontslatin modern fonts are not preloaded
languageslanguage en is active
(test.tex{/opt/luatex/standalone-mkiv/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts  unknown: library 'loc'
{/opt/luatex/standalone-mkiv/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/opt/luatex/standalone-mkiv/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fontsfallback modern rm 12pt is loaded
metapost initializing instance 'metafun' using format 'metafun'
metapost loading 'metafun':
/opt/luatex/standalone-mkiv/tex/texmf-context/metapost/context/base/metafun.mpiv,
using method: default
luatex: ../../../source/texk/web2c/mplibdir/mp.w:5353:
do_set_attr_head: Assertion `A-type==mp_structured' failed.

mtx-context | fatal error: no return code, message: luatex:
execution interrupted

Linux luigicasa-K55VD 3.5.0-19-generic #30-Ubuntu SMP Tue Nov 13
17:48:01 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

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


Re: [NTG-context] beta

2012-11-23 Thread Sietse Brouwer
Bill Meahan wrote:
 Strictly FYI, Arkandis Digital Foundry has a couple
 of math fonts available. I can't say how good/useful
 they are since I don't typeset  math but I noticed
 them while visiting the Arkandis site and thought
 I'd pass the information along.
 More info:  http://arkandis.tuxfamily.org/tugfonts.htm

By all means add it to
http://wiki.contextgarden.net/Math_fonts

That page is an overview of math+font issues in ConTeXt, from 'how to
use' to 'how to fix'; but math fonts are not that common, so it might
as well double as a list of math fonts per se.

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

2012-11-22 Thread Hans Hagen

Hi Khaled


these virtual versions are essentially the body font counterparts with
lots of display-modifying tweaks piled on to make them behave like
math fonts. These virtual versions were used for a time while the math
fonts were in development.


The virtual counterparts are adaptations of the old TFM/Type1 fonts so
they look like OpenType math fonts to the engine (so that ConTeXt would
move entirely to Unicode/OpenType math while waiting for the real
OpenType fonts).


Which reminds me ... shouldn't we try to get the r2l math symbols into 
the lm/gyre fonts? I don't know how much extra that is in xits, but it 
would be nice to have it.


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

2012-11-22 Thread Hans Hagen

On 11/21/2012 8:10 PM, Sietse Brouwer wrote:


Futher: I see in math-vfu.lua the following comment: There are still
areas where the virtuals are better. Which areas are these?


better hinting is one

there are also some pending symbols in lm/gyre, like combinations of 
extensible stacked arrows (used in chemistry) .. these will be added in 
due time but for the moment I simulate them using virtual glyphs .. 
these are not in unicode but can replace (and already do in context) 
messy macros



The design sized latin modern text font is still the default but one could
already change that by

\setupbodyfont[modern]


And what would you get instead -- 12pt Latin Modern, or something else?


scaled 10pt instead of the many design size instances


-
  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

2012-11-22 Thread Khaled Hosny
On Thu, Nov 22, 2012 at 11:35:36AM +0100, Hans Hagen wrote:
 Hi Khaled
 
 these virtual versions are essentially the body font counterparts with
 lots of display-modifying tweaks piled on to make them behave like
 math fonts. These virtual versions were used for a time while the math
 fonts were in development.
 
 The virtual counterparts are adaptations of the old TFM/Type1 fonts so
 they look like OpenType math fonts to the engine (so that ConTeXt would
 move entirely to Unicode/OpenType math while waiting for the real
 OpenType fonts).
 
 Which reminds me ... shouldn't we try to get the r2l math symbols
 into the lm/gyre fonts? I don't know how much extra that is in xits,
 but it would be nice to have it.

The stuff in XITS is of little value right now as does not even cover
Arabic math (the only language where math can be RTL), there is a whole
set of Arabic math alphabets (starting from U+1EE00) that need to be
covered first to be able to set any useuful Arabic math (both LTR and
RTL).

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

2012-11-22 Thread Bill Meahan

On 11/21/2012 05:41 PM, Otared Kavian wrote:

Hi Hans,

I made some testings with the new beta and noticed that there are a few maths 
characters or commands which are broken now.


Strictly FYI, Arkandis Digital Foundry has a couple of math fonts 
available. I can't say how good/useful they are since I don't typeset 
math but I noticed them while visiting the Arkandis site and thought I'd 
pass the information along.


More info:  http://arkandis.tuxfamily.org/tugfonts.htm

--
Bill Meahan
Westland, Michigan USA

___
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

2012-11-21 Thread Sietse Brouwer
Hi Hans,

Nice to hear that the official math fonts are good enough to be the default now!

Hans Hagen wrote:
 I've changed the defaults for the math fonts so that now we use the 'real
 thing'. However, as there can be issues, one can still say at the top of a
 document (of in cont-syst.tex):

 \enablemode[txmath]
 \enablemode[pxmath]
 \enablemode[lmmath]


Does the following description ring true? If yes, all I need to do is
find a place on the wiki to put it.

By default, ConTeXt's math font is Latin Modern Math, or Pagella
Math/Termes Math if you specified \setupbodyfont[palatino] c.q.
\setupbodyfont[times]. There exist also virtual versions of these
fonts; these virtual versions are essentially the body font
counterparts with lots of display-modifying tweaks piled on to make
them behave like math fonts. These virtual versions were used for a
time while the math fonts were in development. If you still want to
use the virtual fonts, you can write

\enablemode[txmath,pxmath,lmmath]

at the top of your document. This does not set the math font directly,
but specifies that if the Pagella/Termes/LM math font is used, ConTeXt
should use the virtual font rather than the non-virtual one.



Futher: I see in math-vfu.lua the following comment: There are still
areas where the virtuals are better. Which areas are these?

 The design sized latin modern text font is still the default but one could
 already change that by

 \setupbodyfont[modern]

And what would you get instead -- 12pt Latin Modern, or something else?

Cheers,
Sietse
___
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

2012-11-21 Thread Khaled Hosny
On Wed, Nov 21, 2012 at 08:10:19PM +0100, Sietse Brouwer wrote:

 these virtual versions are essentially the body font counterparts with
 lots of display-modifying tweaks piled on to make them behave like
 math fonts. These virtual versions were used for a time while the math
 fonts were in development.

The virtual counterparts are adaptations of the old TFM/Type1 fonts so
they look like OpenType math fonts to the engine (so that ConTeXt would
move entirely to Unicode/OpenType math while waiting for the real
OpenType fonts).

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

2012-11-21 Thread Otared Kavian
Hi Hans,

I made some testings with the new beta and noticed that there are a few maths 
characters or commands which are broken now.
Here is a minimal example:
%%% begin bug-lm.tex
\starttext
The commands \type{\imply} is not anymore defined.

\type{\iff}, \type{\Longrightarrow}, \type{\mapsto} and some other arrows do 
not appear.

\startformula
(\pi \notin {\Bbb Q} \Longrightarrow \pi^2 + \pi \not\in {\Bbb Q}) \iff \pi^2 
\not\in {\Bbb Q}
\stopformula

\startformula
x \mapsto ax+b
\stopformula
\stoptext
%%% end bug-lm.tex

and the PDF output is attached.

Best regards: OK



bug-lm.pdf
Description: Adobe PDF document

On 21 nov. 2012, at 16:22, Hans Hagen pra...@wxs.nl wrote:

 Hi,
 
 As Mojca is moving the distribution to another server we have a few days of 
 potential instability which gives us the change to experiment a bit.
 
 I've changed the defaults for the math fonts so that now we use the 'real 
 thing'. However, as there can be issues, one can still say at the top of a 
 document (of in cont-syst.tex):
 
 \enablemode[txmath]
 \enablemode[pxmath]
 \enablemode[lmmath]
 
 The design sized latin modern text font is still the default but one could 
 already change that by
 
 \setupbodyfont[modern]
 
 There is currently some renaming going on for those math fonts but that 
 should not affect us as context can handle older names too.
 
 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

2012-11-21 Thread Aditya Mahajan

On Wed, 21 Nov 2012, Otared Kavian wrote:


Hi Hans,

I made some testings with the new beta and noticed that there are a few maths 
characters or commands which are broken now.
Here is a minimal example:
%%% begin bug-lm.tex
\starttext
The commands \type{\imply} is not anymore defined.

\type{\iff}, \type{\Longrightarrow}, \type{\mapsto} and some other arrows do 
not appear.

\startformula
(\pi \notin {\Bbb Q} \Longrightarrow \pi^2 + \pi \not\in {\Bbb Q}) \iff \pi^2 
\not\in {\Bbb Q}
\stopformula

\startformula
x \mapsto ax+b
\stopformula
\stoptext
%%% end bug-lm.tex

and the PDF output is attached.


Do these work with xits or cambria, i.e., is it a font or a context issue.

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


Re: [NTG-context] beta

2012-11-21 Thread Otared Kavian
On 21 nov. 2012, at 23:45, Aditya Mahajan adit...@umich.edu wrote:
 […]
 Do these work with xits or cambria, i.e., is it a font or a context issue.

Hi Aditya,

The bug appears with Latin Modern, that is the default font in TeX.
With xits and palatino the example I sent works fine.

Best regards: 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

2012-08-10 Thread Romain Diss
Hi,

Le vendredi 10 août 2012, Hans Hagen a écrit :
 On 10-8-2012 00:31, Mojca Miklavec wrote:
  On Thu, Aug 9, 2012 at 11:01 PM, Hans Hagen wrote:
  As I wanted to acccess the help on the wiki, I've added a feature to
  mtxrun that can be used in an editor:
  
  mtxrun
  
 --gethelp
 --url=http://www.contextgarden.net/Command/setuplist;
  
  sh: http://www.contextgarden.net/Command/setuplist: No such file or
  directory
 
 So what would be the right way? Is there some abstract shortcut to the
 preferred browser?

On unix shells, 'xdg-open' open any file or URL with the appropriate program.

All the best.

-- 
Romain Diss
romain.d...@yahoo.fr
___
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

2012-08-10 Thread Philipp Gesang
···date: 2012-08-10, Friday···from: Romain Diss···

 Hi,
 
 Le vendredi 10 août 2012, Hans Hagen a écrit :
  On 10-8-2012 00:31, Mojca Miklavec wrote:
   On Thu, Aug 9, 2012 at 11:01 PM, Hans Hagen wrote:
   As I wanted to acccess the help on the wiki, I've added a feature to
   mtxrun that can be used in an editor:
   
   mtxrun
   
  --gethelp
  --url=http://www.contextgarden.net/Command/setuplist;
   
   sh: http://www.contextgarden.net/Command/setuplist: No such file or
   directory
  
  So what would be the right way? Is there some abstract shortcut to the
  preferred browser?
 
 On unix shells, 'xdg-open' open any file or URL with the appropriate program.

No, I beg you, don’t use xdg-open. It does not respect the
environment variables set by the user and is the reason why I
have made /usr/bin/firefox into a script that calls my *real*
browser.

xdg-open is not a standard (yet) and will confuse people. Please,
consult https://wiki.archlinux.org/index.php/Default_Applications#xdg-open,
especially the section “how it should work”, before you make the
choice. 

Thanks
Philipp


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpJGY6RknVP8.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

2012-08-09 Thread Mojca Miklavec
On Thu, Aug 9, 2012 at 11:01 PM, Hans Hagen wrote:
 Hi,

 There is a new feature in mtxrun:

 As I wanted to acccess the help on the wiki, I've added a feature to mtxrun
 that can be used in an editor:

 mtxrun
   --gethelp
   --url=http://www.contextgarden.net/Command/setuplist;

sh: http://www.contextgarden.net/Command/setuplist: No such file or directory

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

2012-08-09 Thread Hans Hagen

On 10-8-2012 00:31, Mojca Miklavec wrote:

On Thu, Aug 9, 2012 at 11:01 PM, Hans Hagen wrote:

Hi,

There is a new feature in mtxrun:

As I wanted to acccess the help on the wiki, I've added a feature to mtxrun
that can be used in an editor:

mtxrun
   --gethelp
   --url=http://www.contextgarden.net/Command/setuplist;


sh: http://www.contextgarden.net/Command/setuplist: No such file or directory


So what would be the right way? Is there some abstract shortcut to the 
preferred browser?


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

2012-08-09 Thread Mojca Miklavec
On Fri, Aug 10, 2012 at 12:35 AM, Hans Hagen wrote:
 On 10-8-2012 00:31, Mojca Miklavec wrote:

 On Thu, Aug 9, 2012 at 11:01 PM, Hans Hagen wrote:

 Hi,

 There is a new feature in mtxrun:

 As I wanted to acccess the help on the wiki, I've added a feature to
 mtxrun
 that can be used in an editor:

 mtxrun
--gethelp
--url=http://www.contextgarden.net/Command/setuplist;


 sh: http://www.contextgarden.net/Command/setuplist: No such file or
 directory


 So what would be the right way? Is there some abstract shortcut to the
 preferred browser?

On Mac OS X it is
open url/file
or
open -a SomeApplicationInCaseYouDontWantDefault url/file.

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

2012-08-09 Thread Hans Hagen

On 10-8-2012 00:39, Mojca Miklavec wrote:

On Fri, Aug 10, 2012 at 12:35 AM, Hans Hagen wrote:

On 10-8-2012 00:31, Mojca Miklavec wrote:


On Thu, Aug 9, 2012 at 11:01 PM, Hans Hagen wrote:


Hi,

There is a new feature in mtxrun:

As I wanted to acccess the help on the wiki, I've added a feature to
mtxrun
that can be used in an editor:

mtxrun
--gethelp
--url=http://www.contextgarden.net/Command/setuplist;



sh: http://www.contextgarden.net/Command/setuplist: No such file or
directory



So what would be the right way? Is there some abstract shortcut to the
preferred browser?


On Mac OS X it is
 open url/file
or
 open -a SomeApplicationInCaseYouDontWantDefault url/file.


Ah, i remember, so we can adapt

  os.launch

I'll send you a test

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

2012-08-09 Thread Philipp Gesang
···date: 2012-08-10, Friday···from: Hans Hagen···

 On 10-8-2012 00:31, Mojca Miklavec wrote:
 On Thu, Aug 9, 2012 at 11:01 PM, Hans Hagen wrote:
 Hi,
 
 There is a new feature in mtxrun:
 
 As I wanted to acccess the help on the wiki, I've added a feature to mtxrun
 that can be used in an editor:
 
 mtxrun
--gethelp
--url=http://www.contextgarden.net/Command/setuplist;
 
 sh: http://www.contextgarden.net/Command/setuplist: No such file or directory
 
 So what would be the right way? Is there some abstract shortcut to
 the preferred browser?

Hi Hans, there’s the environment variable $BROWSER, as in:

Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio
 return os.getenvBROWSER
/usr/bin/opera
 

So ``$BROWSER http://www.foo.bar`` launches the browser from a
shell.

Philipp


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

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpx6cPvd7rc3.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

2012-07-09 Thread Meer, H. van der
This new beta crashed here immidiately:
ConTeXt  ver: 2012.07.09 20:28 MKIV  fmt: 2012.7.9  int: english/english
metapost loading 'metafun': 
/Users/hans/TeX/context-new/tex/texmf-context/metapost/context/base/metafun.mpiv
structuresectioning   @ level 1 : 0 - \headtext {content}
! Extra \else.

system   tex  error on line 23 in file practicum.tex: Extra  ...

13 
14 \starttext
15 
16 \startstandardmakeup
17 \input front % the front page
18 \stopstandardmakeup
19 
20 \startfrontmatter% the table of contents
21  \setuppagenumber[number=1,numberconversion=romannumerals]
22  \completecontent
23   \stopfrontmatter
24 
25 \startbodymatter % the main body of the contents
26 \setuppagenumber[number=1,numberconversion=numbers]\resetpagenumber
27 \page[right]\input algemeen
28 \page[right]\input transpositie
29 \page[right]\input monoalfabeet
30 \page[right]\input polyalfabeet
31 \page[right]\input midway
32 \page[right]\input isomorfie
33 \page[right]\input kerckhoffs


\strc_sectioning_handle ...ioning_after_yes \else 
  \ifconditional \c_strc_sec...
\strc_sectioning_start_named_section_indeed ...#3}
  \headparameter \c!insidese...
to be read again 
   \strc_lists_combined_place 
\strc_lists_combined_complete ...s_combined_place 
  [#1][#2]\stopnamedsection 
to be read again 
   \stopfrontmatter 
l.23 \stopfrontmatter


Hans van der Meer



On 9 jul. 2012, at 20:38, Hans Hagen wrote:

 Hi,
 
 In the process of mkiv-ing a new beta has been uploaded. This time the 
 rendering of sections has been dealt with. New is that one can use 'setups' 
 for rendering. This mechanism is still somewhat experimental (and might get 
 improved) but the idea is given below:
 

___
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

2012-07-09 Thread Hans Hagen

On 9-7-2012 20:59, Meer, H. van der wrote:

This new beta crashed here immidiately:


how new? keep in mind that the garden needs to sync as well

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

2012-07-09 Thread Philipp Gesang
···date: 2012-07-09, Monday···from: Hans Hagen···

 On 9-7-2012 20:59, Meer, H. van der wrote:
 This new beta crashed here immidiately:
 
 how new? keep in mind that the garden needs to sync as well

I can confirm this for 2012.07.09 20:28. Minimal example:

···
\setuphead [section] [ page=yes, header=sectiontext, ]
\definetext [sectiontext] [header] [foo] [bar]

\starttext
\startsection[title=Foo] \input dawkins \stopsection
\stoptext \endinput
···

But I can’t tell if this code requires a rewrite with the new
functionality.

Regards
Philipp





-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpaK2jiM6LpB.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

2012-07-09 Thread Meer, H. van der
Your message was posted 20:38 this day.

The format told me:
ConTeXt  ver: 2012.07.09 20:28 MKIV  fmt: 2012.7.9  int: english/english

I therefore concluded this would be the newst version. Did you perhaps procure 
a new beta within that 10 minute interval? I would call that a close finish ;-)
I see and do another rush to the server now.

Hans van der Meer



On 9 jul. 2012, at 20:59, Meer, H. van der wrote:

ConTeXt  ver: 2012.07.09 20:28 MKIV  fmt: 2012.7.9  int: english/english

___
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

2012-07-09 Thread Prashanth

Version 2012.07.09 20:28 seems to have fixed all my problems. Thank you!


On 09/07/12 21:30, Hans Hagen wrote:

On 9-7-2012 20:59, Meer, H. van der wrote:

This new beta crashed here immidiately:


how new? keep in mind that the garden needs to sync as well

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

2012-07-09 Thread Hans Hagen

On 9-7-2012 21:44, Philipp Gesang wrote:

···date: 2012-07-09, Monday···from: Hans Hagen···


On 9-7-2012 20:59, Meer, H. van der wrote:

This new beta crashed here immidiately:


how new? keep in mind that the garden needs to sync as well


I can confirm this for 2012.07.09 20:28. Minimal example:

···
\setuphead [section] [ page=yes, header=sectiontext, ]
\definetext [sectiontext] [header] [foo] [bar]

\starttext
\startsection[title=Foo] \input dawkins \stopsection
\stoptext \endinput
···

But I can’t tell if this code requires a rewrite with the new
functionality.


fixed in next upload

-
  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

2012-06-27 Thread Bill Meahan

On 06/27/2012 08:52, Hans Hagen wrote:

Hi,

I uploaded a new beta. In the process of cleanup I kicked out some of
the supp-* modules, most noticeably the visual debugger. That one has
been replaced by another mechanism and a merge of some functionality
already present in modules (and more might be moved into it).




Which beta will be included in the released version of texlive 2012?

Will other updates be included in texlive updates?

Just curious about how closely the texlive version (which I use) follows 
the beta version referred to on the list.


--
Bill Meahan, Westland, Michigan USA

“Writing is a combination of intangible
  creative fantasy and appallingly
  hard work.”

  —Anthony Powell


This message is digitally signed with an X.509 certificate
to prove it is from me and has not been altered since it was sent.



smime.p7s
Description: S/MIME Cryptographic 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

2012-06-27 Thread Mojca Miklavec
On Wed, Jun 27, 2012 at 4:02 PM, Bill Meahan wrote:

 Which beta will be included in the released version of texlive 2012?

2012.05.24 19:36 (plus two or three minor changes from later versions)

 Will other updates be included in texlive updates?

No. They might be included in TLContrib, but betas are often a bit
broken and I find it very important to have a stable working version
at least in TeX Live.

 Just curious about how closely the texlive version (which I use) follows the
 beta version referred to on the list.

ConTeXt is updated only once per year for TeX Live, during TeX Live
freeze period  short before a new release. Just enough to allow some
testing.

Bugs that are reported  easy to fix may see bugfixes in TeX Live, but
betas as such won't propagate into TL. Also, if fonts that are being
used by ConTeXt will be updated during the year, it might be desirable
to update font names in ConTeXt in TeX Live as well.

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