Re: [NTG-context] new beta

2019-12-06 Thread Otared Kavian
Hi Hans,

Thanks a lot for the new beta and for having fixed the issue with luametatex 
binaries.
Everything works great with version 2019.12.06 21:40.

Best regards: OK

> On 6 Dec 2019, at 15:05, Hans Hagen  wrote:
> 
> On 12/6/2019 1:34 PM, Otared Kavian wrote:
> 
>> Is this too old? Is this file created during installation or is it contained 
>> in the zip files downloaded from Pragma's site?
> Ok, I think that there is some issue with the builder. Mojca, it looks like 
> there is no binary upload happening after a build. If needed I can revert to 
> Alan for building but maybe it's something simple.
> 
> (There are two mac variants.)
> 
> 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] new beta

2019-12-06 Thread Hans Hagen

On 12/6/2019 1:34 PM, Otared Kavian wrote:


Is this too old? Is this file created during installation or is it contained in 
the zip files downloaded from Pragma's site?
Ok, I think that there is some issue with the builder. Mojca, it looks 
like there is no binary upload happening after a build. If needed I can 
revert to Alan for building but maybe it's something simple.


(There are two mac variants.)

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

2019-12-06 Thread Otared Kavian
Hi again,

I just installed anew lmtx from Pragma website

http://lmtx.pragma-ade.nl/install-lmtx/context-osx-64.zip

and I have the same problem: the format cannot be made.
Looking at luametatex in a Terminal window, I get

-rwxr--r-- 1 kavian staff 2.7M Dec 6 13:15 
/context-osx-64/tex/texmf-osx-64/bin/luametatex*

and I cannot tell whether it is old or recent, but typing

luametatex --version 

gives among other things:

Functionality : level 20191029

Is this too old? Is this file created during installation or is it contained in 
the zip files downloaded from Pragma's site?

Thanks for any help,
Best regards: Otared K.


> 
> On 6 Dec 2019, at 06:21, Wolfgang Schuster 
>  wrote:
> 
> Otared Kavian schrieb am 06.12.2019 um 04:23:
>> Dear Hans,
>> 
>> The problem I described in my previous message comes indeed from 
>> \defineexpansion which is not defined.
>> Upon commenting out the lines 95--98 in the file « hand-ini.mkxl » that is 
>> the four lines:
>> 
>> \defineexpansion
>>   [\c!step=1,
>>\c!stretch=40,
>>\c!shrink=20]
>> 
>> I could remake the format with version 2019.12.05 18:59. Then lmtx works 
>> fine as far as my files are concerned, but I don't know if there are side 
>> effects…
>> (However, once the format is made, if I uncomment those lines then lmtx 
>> works fine, but clearly one cannot make again the format)
> 
> You Luametatex binary is too old which missed the new \adjustspacingstep 
> command shown in the error message from your previous mail.
> 
> 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] new beta

2019-12-06 Thread Hans Hagen

On 12/5/2019 8:28 PM, Otared Kavian wrote:

Hi Hans,

Thanks for the new features and the new release.
I could download the new installer  for MacOS which installs the latest version 
but it cannot make the formats ending with the error message which I copy below.

Best regards: OK
PS: this is the error message when installing:

tex error   > tex error on line 99 in file hand-ini.mkxl: ! Undefined 
control sequence
that means that the binary is not updated ... can this relate to the new 
osx policies?


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

2019-12-05 Thread Wolfgang Schuster

Otared Kavian schrieb am 06.12.2019 um 04:23:

Dear Hans,

The problem I described in my previous message comes indeed from 
\defineexpansion which is not defined.
Upon commenting out the lines 95--98 in the file « hand-ini.mkxl » that is the 
four lines:

\defineexpansion
   [\c!step=1,
\c!stretch=40,
\c!shrink=20]

I could remake the format with version 2019.12.05 18:59. Then lmtx works fine 
as far as my files are concerned, but I don't know if there are side effects…
(However, once the format is made, if I uncomment those lines then lmtx works 
fine, but clearly one cannot make again the format)


You Luametatex binary is too old which missed the new \adjustspacingstep 
command shown in the error message from your previous mail.


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

2019-12-05 Thread Vladimir Lomov
Hello,
** Otared Kavian  [2019-12-06 04:23:28 +0100]:

> Dear Hans,
 
> The problem I described in my previous message comes indeed from
> \defineexpansion which is not defined.  Upon commenting out the lines
> 95--98 in the file « hand-ini.mkxl » that is the four lines:
 
> \defineexpansion
>   [\c!step=1,
>\c!stretch=40,
>\c!shrink=20]

That's strange. I indeed see these lines in 'hand-ini.mkxl' but I could
recreate format without problem on my Linux box (Archlinux x86_64), even
after clearing the cache and doing

  $ mtxrun --generate ; context --make

gives me working context (lmtx).

> I could remake the format with version 2019.12.05 18:59. Then lmtx
> works fine as far as my files are concerned, but I don't know if there
> are side effects… (However, once the format is made, if I uncomment
> those lines then lmtx works fine, but clearly one cannot make again
> the format)

I tried two examples with lmtx and they typeset fine.

> Best regards: OK

[...]

---
WBR, Vladimir Lomov

-- 
There is grandeur in this view of life, with its several powers, having been
originally breathed into a few forms or into one; and that, whilst this planet
has gone cycling on according to the fixed law of gravity, from so simple a
beginning endless forms most beautiful and most wonderful have been, and are
being, evolved.
-- Darwin


signature.asc
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] new beta

2019-12-05 Thread Otared Kavian
Dear Hans,

The problem I described in my previous message comes indeed from 
\defineexpansion which is not defined.
Upon commenting out the lines 95--98 in the file « hand-ini.mkxl » that is the 
four lines:

\defineexpansion
  [\c!step=1,
   \c!stretch=40,
   \c!shrink=20]

I could remake the format with version 2019.12.05 18:59. Then lmtx works fine 
as far as my files are concerned, but I don't know if there are side effects…
(However, once the format is made, if I uncomment those lines then lmtx works 
fine, but clearly one cannot make again the format)

Best regards: OK

> On 5 Dec 2019, at 20:28, Otared Kavian  wrote:
> 
> Hi Hans,
> 
> Thanks for the new features and the new release.
> I could download the new installer  for MacOS which installs the latest 
> version but it cannot make the formats ending with the error message which I 
> copy below.
> 
> Best regards: OK
> PS: this is the error message when installing:
> 
> 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 
> 
> 
> 
> 
> 
> The control sequence at the end of the top line of your error message was 
> never
> \def'ed. You can just continue as I'll forget about whatever was undefined.
> 
> 
> resolvers   | formats |
> resolvers   | formats | binary path  : 
> /context-osx-64/tex/texmf-osx-64/bin
> resolvers   | formats | format path  : 
> /context-osx-64/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex
> resolvers   | formats | luatex engine: luametatex
> resolvers   | formats | lua startup file : 
> /context-osx-64/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua
> resolvers   | formats | context file : 
> /context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-en.mkxl
> resolvers   | formats | run time : 0.494 seconds
> resolvers   | formats | return value : error
> resolvers   | formats |
> system  | total runtime: 0.567 seconds of 0.623 seconds
> 
> 
>> On 5 Dec 2019, at 19:31, Hans Hagen  wrote:
>> 
>> Hi,
>> 
>> I uploaded a new lmtx beta. Hopefully the installer works ok as I redid some 
>> of the "zip" related code (simpler, smaller binary too). FWIW, the 
>> luametatex codebase is now pretty close to okay, but of course there can be 
>> bugs, but nothing thay can't be solved fast.
>> 
>> Given some earlier discussions on the list, I wonder about running context 
>> in containers and (behind the screens) web applications. Is there anything 
>> needed, mostly in the support scripts I guess, that can make that more 
>> comfortable / efficient / etc?
>> 
>> 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] new beta

2019-12-05 Thread Otared Kavian
Hi Hans,

Thanks for the new features and the new release.
I could download the new installer  for MacOS which installs the latest version 
but it cannot make the formats ending with the error message which I copy below.

Best regards: OK
PS: this is the error message when installing:

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 
   




The control sequence at the end of the top line of your error message was never
\def'ed. You can just continue as I'll forget about whatever was undefined.


resolvers   | formats |
resolvers   | formats | binary path  : 
/context-osx-64/tex/texmf-osx-64/bin
resolvers   | formats | format path  : 
/context-osx-64/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex
resolvers   | formats | luatex engine: luametatex
resolvers   | formats | lua startup file : 
/context-osx-64/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua
resolvers   | formats | context file : 
/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-en.mkxl
resolvers   | formats | run time : 0.494 seconds
resolvers   | formats | return value : error
resolvers   | formats |
system  | total runtime: 0.567 seconds of 0.623 seconds


> On 5 Dec 2019, at 19:31, Hans Hagen  wrote:
> 
> Hi,
> 
> I uploaded a new lmtx beta. Hopefully the installer works ok as I redid some 
> of the "zip" related code (simpler, smaller binary too). FWIW, the luametatex 
> codebase is now pretty close to okay, but of course there can be bugs, but 
> nothing thay can't be solved fast.
> 
> Given some earlier discussions on the list, I wonder about running context in 
> containers and (behind the screens) web applications. Is there anything 
> needed, mostly in the support scripts I guess, that can make that more 
> comfortable / efficient / etc?
> 
> 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] new beta

2019-11-13 Thread Pablo Rodriguez
On 11/13/19 9:34 AM, Hans Hagen wrote:
> On 11/12/2019 10:20 PM, Pablo Rodriguez wrote:
>
>> LMTX has no problems with this. Could you fix this in MkIV?
>
> Can you check again?

Many thanks for your fast fix, Hans.

Everything works fine now.

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] new beta

2019-11-13 Thread Hans Hagen

On 11/12/2019 10:20 PM, Pablo Rodriguez wrote:


LMTX has no problems with this. Could you fix this in MkIV?


Can you check again?

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

2019-11-12 Thread Pablo Rodriguez
On 11/12/19 7:50 PM, Hans Hagen wrote:
> Hi,
>
> I uploaded a new beta. Apart from some fixes, the main change in lmtx is
> that on windows most (a few exceptions) of the mechanisms that interface
> to the operating system support the internal wide character model which
> should make the lot more robust for file names, environment variables,
> command line options etc that (at the tex/lua end utf8) have characters
> other than ascii. Another improvement in lmtx is support for ancient
> type 1 fonts (like the type 1 lucidas) but that's more 'being complete'
> than a 'real need' (when such fonts are used wiping the cache is
> needed). Both these (lmtx only) patches can have unforseen (by me) side
> effects but nothing that can't be fixed fast.

Many thanks for the new beta, Hans.

I cannot find any of these documents (in MkIV, with first-setup.sh
installer):

tex/texmf-context/tex/context/interface/mkiv/i-context.pdf
tex/texmf-context/doc/context/documents/general/qrcs/setup-en.pdf
tex/texmf-context/doc/context/documents/general/qrcs/setup-mapping-en.pdf

It doesn’t seem to be renamed (at least, to me).

BTW, I cannot compile this sample with MkIV :

\starttext
a
\stoptext

Here you have the error message:

tex error   > tex error on line 133 in file math-ini.mkiv:
! Undefined control sequence
l.133 \ordlimits
  \limits

LMTX has no problems with this. Could you fix this in MkIV?

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] New beta has issues with maths…

2015-12-18 Thread Hans Hagen

On 12/18/2015 12:53 PM, Otared Kavian wrote:

Hi Hans,

I just installed the new beta for testing purposes. In math mode the 
exponennts, indices, and punctuations do not work properly as you may see in 
the attached files.


ok, an engine bug (something goes out of range) (math mode active 
characters magic .. side effect of packing data) .. fixed in 0.87.1


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] New beta and definepagebreak

2015-12-18 Thread Hans Hagen

On 12/18/2015 9:38 AM, Jan U. Hasecke wrote:

Hi all,

after updating to the new beta this doesn't work anymore.


\definepagebreak
 [pagebreak:chapter]
 [yes, header, footer]

\setuphead
 [chapter,title]
 [page=pagebreak:chapter]

\starttext

\chapter{Lorem ipsum}

\input tufte

\chapter{Dolor sit}

\input tufte

\stoptext


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

2015-11-20 Thread Hans Hagen

On 11/20/2015 8:03 AM, Schmitz Thomas A. wrote:



On 19 Nov 2015, at 22:45, Pablo Rodriguez  wrote:

I have just updated and compilation from XML sources works fine again
(at least with the file I tested ;-)).


The problem with xml entities persists. They are not processed, but printed as 
is. I sent an example on Oct. 13.


i'll have a look at 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] new beta

2015-11-20 Thread Mojca Miklavec
On 19 November 2015 at 22:29, Mojca Miklavec wrote:
> On 17 November 2015 at 11:53, Hans Hagen wrote:
>> Hi,
>>
>> There is a new beta coming but it goes in sync with a new release of luatex
>> (0.85). As there have been some fundamental changes the macros and engine
>> need to be updated in sync so when something goes wrong with an update, be
>> patient and wait till binaries are in sync with macros for your platform. By
>> the end of this week the garden should be ok.
>
> Hi,
>
> I just wanted to say that apart from maybe windows (and arm & solaris)
> all other platforms already contain the latest version of LuaTeX.
> (ChangeLog on w32tex contains a reference to 0.85, but I get a version
> from two days ago for some reason, so windows users might want to wait
> a tiny bit.)
>
> Mojca
>
> PS: "current" won't work due to incompatibility with luatex version.

Windows binaries should work by now.

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

2015-11-19 Thread Schmitz Thomas A.

> On 19 Nov 2015, at 22:45, Pablo Rodriguez  wrote:
> 
> I have just updated and compilation from XML sources works fine again
> (at least with the file I tested ;-)).

The problem with xml entities persists. They are not processed, but printed as 
is. I sent an example on Oct. 13.

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

Re: [NTG-context] new beta

2015-11-19 Thread Pablo Rodriguez
On 11/19/2015 10:29 PM, Mojca Miklavec wrote:
> On 17 November 2015 at 11:53, Hans Hagen wrote:
>> Hi,
>>
>> There is a new beta coming but it goes in sync with a new release of luatex
>> (0.85). As there have been some fundamental changes the macros and engine
>> need to be updated in sync so when something goes wrong with an update, be
>> patient and wait till binaries are in sync with macros for your platform. By
>> the end of this week the garden should be ok.
> 
> Hi,
> 
> I just wanted to say that apart from maybe windows (and arm & solaris)
> all other platforms already contain the latest version of LuaTeX.
> (ChangeLog on w32tex contains a reference to 0.85, but I get a version
> from two days ago for some reason, so windows users might want to wait
> a tiny bit.)

Many thanks, Hans and Mojca, for your excellent work.

I have just updated and compilation from XML sources works fine again
(at least with the file I tested ;-)).


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

2015-11-19 Thread Mojca Miklavec
On 17 November 2015 at 11:53, Hans Hagen wrote:
> Hi,
>
> There is a new beta coming but it goes in sync with a new release of luatex
> (0.85). As there have been some fundamental changes the macros and engine
> need to be updated in sync so when something goes wrong with an update, be
> patient and wait till binaries are in sync with macros for your platform. By
> the end of this week the garden should be ok.

Hi,

I just wanted to say that apart from maybe windows (and arm & solaris)
all other platforms already contain the latest version of LuaTeX.
(ChangeLog on w32tex contains a reference to 0.85, but I get a version
from two days ago for some reason, so windows users might want to wait
a tiny bit.)

Mojca

PS: "current" won't work due to incompatibility with luatex version.
___
If your question is of interest to others as well, please add an 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] new beta - \pushbackground broken

2015-07-12 Thread Hans Hagen

On 7/12/2015 12:22 AM, Lukáš Procházka wrote:

Hello,

\pushbackground seems to be broken in the last beta - this doesn't
compile (but it did till now):


works ok here ... also, that code hasn't changed

-
  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] new beta - \pushbackground broken

2015-07-11 Thread Lukáš Procházka

Hello,

\pushbackground seems to be broken in the last beta - this doesn't compile (but 
it did till now):


\defineheadalternative
  [PartAlt]
  [renderingsetup=set:PartPage]

\startsetups[set:PartPage]
  \startmakeup[mu:PartPage]
\white
  \headnumbercontent
  \blank[2*big]
  \headtextcontent
  \stopmakeup
\stopsetups

\definemakeup
  [mu:PartPage]
  [align=middle,
   top=\vfill\vfill,
   bottom=\vfill\vfill\vfill,
  ]

\definefont[PartText][SerifBold sa 5]

% Method 1: change the values of the predefined "default" conversion set,
% you can use name of the sectionblock as prefix (separated by a :) to set
% the values only for a certain part (e.g. the appendix) of your document

\defineconversionset[appendix:default][A,R][n]

% Method 2: Create your own conversion set and apply it to all sections
%
% \defineconversionset[bodypart:myconversion][n,n][n]
% \defineconversionset[appendix:myconversion][A,R][n]
% \setuphead[part,chapter,section][sectionconversionset=myconversion]

\setuphead
  [part]
  [placehead=yes,
   alternative=PartAlt,
   page=right,
   header=none,
   before={\pushbackground[page]
   \setupbackgrounds[page][background=color,backgroundcolor=black]},
   after={\page\popbackground},
   bodypartlabel=MyPart:body,
   appendixlabel=MyPart:appx,
   align=middle,
   numberstyle=\bfc,
   textstyle=PartText,
  ]

\setuplabeltext[en][MyPart:body=Díl ,MyPart:appx=Dodatek ]

\starttext
  \startbodymatter
\part{My First Part}
  \input knuth
  \stopbodymatter
  \startappendices
\part{My First Appendix}
  \input tufte
  \stopappendices
\stoptext


Lukas


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

Tel: +420 241 096 751
Fax: +420 244 461 038

Ull-Gra.test2.pdf
Description: Adobe PDF document


Ull-Gra.test22.log
Description: Binary data


Ull-Gra.test22.mkiv
Description: Binary data


Ull-Gra.test22.pdf
Description: Adobe PDF document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] new beta

2015-07-11 Thread Hans Hagen

On 7/11/2015 4:27 PM, Pablo Rodriguez wrote:

On 07/11/2015 02:32 PM, Wolfgang Schuster wrote:

[...]
1. Does the same happen with other fonts in this folder.

2. What happens when you put the fonts in your local TeX directory (or
texmf-fonts/fonts/opentype of your context installation).


Many thanks for your replies, Thomas and Wolfgang.

My font directory /usr/share/fonts/ousia/ is actually a symlink to
/home/ousia/Documents/ousia-fonts/.

It worked fine until newotf. I replaced the symlink. Now the font
directory points to tex/texmf-fonts.

After changing this, both the sample I provided and the one from
Wolfgang work fine.

I wonder why symlinks aren’t followed in the first case.



maybe some difference in opening a file in lua or directlky in c ..

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

2015-07-11 Thread Hans Hagen

On 7/11/2015 1:15 PM, Pablo Rodriguez wrote:

On 07/11/2015 10:53 AM, Hans Hagen wrote:

On 7/11/2015 7:17 AM, Pablo Rodriguez wrote:

[...]
I’m afraid that newotf crashes with this sample:
[...]

define crashes ... i donwloaded the font, ran mtxrun --generate and
remade the font database and this works:

  [GFS Didot Classic]


I have this font installed too and I’m afraid it gives the same error.

The fonts I meant are these ones:
http://www.greekfontsociety.gr/GFS_DIDOT_OT.zip. (GFS Didot Classic is a
slightly different font.)

With crashing I meant no PDF generation because a not found font. The
font is there (log attached):

$ fc-list GFSDidot
/usr/share/fonts/ousia/GFSDidotBoldItalic.otf: GFS Didot:style=Bold Italic
/usr/share/fonts/ousia/GFSDidotBold.otf: GFS Didot,GFS Didot Rg:style=Bold
/usr/share/fonts/ousia/GFSDidotItalic.otf: GFS Didot:style=Italic
/usr/share/fonts/ousia/GFSDidot.otf: GFS Didot:style=Regular

And if I don’t load the newotf module, the font is loaded fine:

used file   >7: filename=/usr/share/fonts/ousia/GFSDidot.otf
format=otf foundname=/usr/share/fonts/ousia/GFSDidot.otf usedmethod=direct

This is weird, since if I load a non-existent font (such as
Impossibila), compilation generates a PDF file. No glyph replacement, of
course,

Sorry, but not even adding either of this options works with newotf:

 tf=file:GFSDidot.otf

 tf=style:regular

What am I doing wrong?


That is a weird error as when no font is found and loaded nothing gets 
passed to the backend so this error is weird.


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

2015-07-11 Thread Pablo Rodriguez
On 07/11/2015 05:23 PM, Wolfgang Schuster wrote:
> [...]
> It works for me when I use the Postscript files from the txfonts 
> package, you need the following files:

Many thanks for your reply, Wolfgang.

I wanted to avoid using PostScript files, but it seems that I have to
use them.

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

2015-07-11 Thread Wolfgang Schuster

Pablo Rodriguez schrieb:

On 07/11/2015 02:32 PM, Wolfgang Schuster wrote:

[...]
1. Does the same happen with other fonts in this folder.

2. What happens when you put the fonts in your local TeX directory (or
texmf-fonts/fonts/opentype of your context installation).


Many thanks for your replies, Thomas and Wolfgang.

My font directory /usr/share/fonts/ousia/ is actually a symlink to
/home/ousia/Documents/ousia-fonts/.

It worked fine until newotf. I replaced the symlink. Now the font
directory points to tex/texmf-fonts.

After changing this, both the sample I provided and the one from
Wolfgang work fine.

I wonder why symlinks aren’t followed in the first case.

But I’m afraid I have a problematic font:

otf reader>  fatal error in file
'/home/ousia/ctxbeta/tex/texmf-fonts/ousia-fonts/Mechanica.otf':
.../ctxbeta/tex/texmf-context/tex/context/base/util-fil.lua:24: table
index is nil

I converted it from the typewritten fonts that came with txfonts.

What is wrong in the font?


It works for me when I use the Postscript files from the txfonts 
package, you need the following files:


- txbtt.afm
- txbtt.pfb
- txbttsc.afm % Only needed when you want bold smallcaps
- txbttsc.pfb % Only needed when you want bold smallcaps
- txtt.afm
- txtt.pfb
- txttsc.afm % Only needed when you want smallcaps
- txttsc.pfb % Only needed when you want smallcaps

To use them put the files in your local TeX directory
(e.g. texmf-fonts/fonts/data).

 begin example
\definefontfamily
  [txfont]
  [tt]
  [txtt]
  [bf=file:txbtt,
   it=features:{default,slanted},
   bi=features:{default,slanted}]

\setupbodyfont[txfont]

\starttext
Test {\it Text} {\bf Text} {\bi Text}
\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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] new beta

2015-07-11 Thread Pablo Rodriguez
On 07/11/2015 02:32 PM, Wolfgang Schuster wrote:
> [...]
> 1. Does the same happen with other fonts in this folder.
> 
> 2. What happens when you put the fonts in your local TeX directory (or 
> texmf-fonts/fonts/opentype of your context installation).

Many thanks for your replies, Thomas and Wolfgang.

My font directory /usr/share/fonts/ousia/ is actually a symlink to
/home/ousia/Documents/ousia-fonts/.

It worked fine until newotf. I replaced the symlink. Now the font
directory points to tex/texmf-fonts.

After changing this, both the sample I provided and the one from
Wolfgang work fine.

I wonder why symlinks aren’t followed in the first case.

But I’m afraid I have a problematic font:

otf reader  > fatal error in file
'/home/ousia/ctxbeta/tex/texmf-fonts/ousia-fonts/Mechanica.otf':
.../ctxbeta/tex/texmf-context/tex/context/base/util-fil.lua:24: table
index is nil

I converted it from the typewritten fonts that came with txfonts.

What is wrong in the font?

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

2015-07-11 Thread Wolfgang Schuster

Pablo Rodriguez schrieb:

On 07/11/2015 01:26 PM, Wolfgang Schuster wrote:

[...]
Do you get the same problem when you use the font as main font?

\usemodule[newotf]

\definefontfamily[mainface][rm][GFS Didot]

\setupbodyfont[mainface]

\starttext
αβγ {\bf αβγ}
\stoptext


Yes, I do.


1. Does the same happen with other fonts in this folder.

2. What happens when you put the fonts in your local TeX directory (or 
texmf-fonts/fonts/opentype of your context installation).


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

2015-07-11 Thread Thomas A. Schmitz

On 07/11/2015 02:02 PM, Pablo Rodriguez wrote:

Do you get the same problem when you use the font as main font?
>
>\usemodule[newotf]
>
>\definefontfamily[mainface][rm][GFS Didot]
>
>\setupbodyfont[mainface]
>
>\starttext
>αβγ {\bf αβγ}
>\stoptext

Yes, I do.


Pablo



Both Wolfgang's file and your original test file compile cleanly here, 
so it must be something on your system.


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

Re: [NTG-context] new beta

2015-07-11 Thread Pablo Rodriguez
On 07/11/2015 01:26 PM, Wolfgang Schuster wrote:
> [...]
> Do you get the same problem when you use the font as main font?
> 
> \usemodule[newotf]
> 
> \definefontfamily[mainface][rm][GFS Didot]
> 
> \setupbodyfont[mainface]
> 
> \starttext
> αβγ {\bf αβγ}
> \stoptext

Yes, I do.


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

2015-07-11 Thread Wolfgang Schuster

Pablo Rodriguez schrieb:

On 07/11/2015 12:57 PM, Wolfgang Schuster wrote:

[...]
The font [1,2] works for me without problems.

[1] http://www.greekfontsociety.gr/pages/en_typefaces20th.html
[2] http://www.greekfontsociety.gr/pages/en_typefaces19th.html


They all work fine for me until I load:

 \usemodule[newotf]

And I don’t know what is wrong here.

Many thanks for your help,


Do you get the same problem when you use the font as main font?

\usemodule[newotf]

\definefontfamily[mainface][rm][GFS Didot]

\setupbodyfont[mainface]

\starttext
αβγ {\bf αβγ}
\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] new beta

2015-07-11 Thread Pablo Rodriguez
On 07/11/2015 12:57 PM, Wolfgang Schuster wrote:
> [...]
> The font [1,2] works for me without problems.
> 
> [1] http://www.greekfontsociety.gr/pages/en_typefaces20th.html
> [2] http://www.greekfontsociety.gr/pages/en_typefaces19th.html

They all work fine for me until I load:

\usemodule[newotf]

And I don’t know what is wrong here.

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

2015-07-11 Thread Pablo Rodriguez
On 07/11/2015 10:53 AM, Hans Hagen wrote:
> On 7/11/2015 7:17 AM, Pablo Rodriguez wrote:
>> [...]
>> I’m afraid that newotf crashes with this sample:
>> [...]
> define crashes ... i donwloaded the font, ran mtxrun --generate and 
> remade the font database and this works:
> 
>  [GFS Didot Classic]

I have this font installed too and I’m afraid it gives the same error.

The fonts I meant are these ones:
http://www.greekfontsociety.gr/GFS_DIDOT_OT.zip. (GFS Didot Classic is a
slightly different font.)

With crashing I meant no PDF generation because a not found font. The
font is there (log attached):

$ fc-list GFSDidot
/usr/share/fonts/ousia/GFSDidotBoldItalic.otf: GFS Didot:style=Bold Italic
/usr/share/fonts/ousia/GFSDidotBold.otf: GFS Didot,GFS Didot Rg:style=Bold
/usr/share/fonts/ousia/GFSDidotItalic.otf: GFS Didot:style=Italic
/usr/share/fonts/ousia/GFSDidot.otf: GFS Didot:style=Regular

And if I don’t load the newotf module, the font is loaded fine:

used file   >7: filename=/usr/share/fonts/ousia/GFSDidot.otf
format=otf foundname=/usr/share/fonts/ousia/GFSDidot.otf usedmethod=direct

This is weird, since if I load a non-existent font (such as
Impossibila), compilation generates a PDF file. No glyph replacement, of
course,

Sorry, but not even adding either of this options works with newotf:

tf=file:GFSDidot.otf

tf=style:regular

What am I doing wrong?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
system  > callbacks > not registering frozen 'find_format_file'

open source > 1 > 1 > /home/ousia/ctxbeta/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2015.07.10 00:05 MKIV beta  fmt: 2015.7.11  int: english/english

system  > 'cont-new.mkiv' loaded
open source > 2 > 2 > /home/ousia/ctxbeta/tex/texmf-context/tex/context/base/cont-new.mkiv
resolvers   > modules > 'newotf' is loaded
open source > 3 > 3 > m-newotf.mkiv
fonts   >
fonts   > replacing font loader code by experimental code
fonts   >
close source> 3 > 3 > m-newotf.mkiv
close source> 2 > 3 > /home/ousia/ctxbeta/tex/texmf-context/tex/context/base/cont-new.mkiv
system  > files > jobname 'a', input './a', result 'a'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > 2 > 4 > /home/ousia/a.tex
fonts   > preloading modern-designsize (math)
fonts   > typescripts > unknown library 'modern-designsize'
fonts   > 'fallback modern-designsize mm 12pt' is loaded
fonts   > preloading modern-designsize (mono)
fonts   > 'fallback modern-designsize tt 12pt' is loaded
fonts   > defining > source file 'GFSDidot.otf' is not found
backend > xmp > using file '/home/ousia/ctxbeta/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages   > flushing realpage 1, userpage 1
close source> 2 > 4 > /home/ousia/a.tex
close source> 1 > 4 > /home/ousia/ctxbeta/tex/texmf-context/tex/context/base/cont-yes.mkiv

!LuaTeX error: cannot find OpenType font file for reading ()
 ==> Fatal error occurred, no output PDF file produced!
___
If your question is of interest to others as well, please add an 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] new beta

2015-07-11 Thread Wolfgang Schuster

Pablo Rodriguez schrieb:

On 07/11/2015 01:33 AM, Hans Hagen wrote:

On 7/10/2015 5:05 PM, Thomas A. Schmitz wrote:

[...]
resolvers>  modules>  'newotf' is not found

i had a typo in the zip maker ... that file is missing (the rest is there)

(i've send the file send in another mail to list)


Many thanks for the module file, Hans.

I’m afraid that newotf crashes with this sample:

 \definefallbackfamily
 [mainface]
 [rm]
 [GFS Didot]
 [preset=range:greek]

 \definefontfamily
 [mainface]
 [rm]
 [TeX Gyre Pagella]

 \setupbodyfont
 [mainface]

 \starttext
 αβγ
 \stoptext


The font [1,2] works for me without problems.

[1] http://www.greekfontsociety.gr/pages/en_typefaces20th.html
[2] http://www.greekfontsociety.gr/pages/en_typefaces19th.html

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

2015-07-11 Thread Hans Hagen

On 7/11/2015 7:17 AM, Pablo Rodriguez wrote:

On 07/11/2015 01:33 AM, Hans Hagen wrote:

On 7/10/2015 5:05 PM, Thomas A. Schmitz wrote:

[...]
resolvers   > modules > 'newotf' is not found


i had a typo in the zip maker ... that file is missing (the rest is there)

(i've send the file send in another mail to list)


Many thanks for the module file, Hans.

I’m afraid that newotf crashes with this sample:

 \definefallbackfamily
 [mainface]
 [rm]
 [GFS Didot]
 [preset=range:greek]

 \definefontfamily
 [mainface]
 [rm]
 [TeX Gyre Pagella]

 \setupbodyfont
 [mainface]

 \starttext
 αβγ
 \stoptext



define crashes ... i donwloaded the font, ran mtxrun --generate and 
remade the font database and this works:


[GFS Didot Classic]

There can be some subtle differences in names (i checked all 2000 fonts 
on my machine) which is due to the fact that we stay a bit closer to the 
originals (in the ff approach quite some juggling with names happens, 
the same is true for glyph names). We now a bit closer to the otf spec 
(i hope).


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

2015-07-10 Thread Pablo Rodriguez
On 07/11/2015 01:33 AM, Hans Hagen wrote:
> On 7/10/2015 5:05 PM, Thomas A. Schmitz wrote:
>> [...]
>> resolvers   > modules > 'newotf' is not found
> 
> i had a typo in the zip maker ... that file is missing (the rest is there)
> 
> (i've send the file send in another mail to list)

Many thanks for the module file, Hans.

I’m afraid that newotf crashes with this sample:

\definefallbackfamily
[mainface]
[rm]
[GFS Didot]
[preset=range:greek]

\definefontfamily
[mainface]
[rm]
[TeX Gyre Pagella]

\setupbodyfont
[mainface]

\starttext
αβγ
\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] new beta

2015-07-10 Thread Hans Hagen

On 7/10/2015 5:05 PM, Thomas A. Schmitz wrote:

On 07/09/2015 03:39 PM, Hans Hagen wrote:

Of course there will be bugs although the test suite runs without
crashing. I will use the new code on my machine but you can test it with:

\usemodule[newotf]

before \starttext (or in cont-loc.mkiv).


Hi Hans,

did the new font mechanism really make it into the beta you uploaded? I get

resolvers   > modules > 'newotf' is not found


i had a typo in the zip maker ... that file is missing (the rest is there)

(i've send the file send in another mail to list)

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

2015-07-10 Thread Hans Hagen

On 7/10/2015 7:13 PM, Pablo Rodriguez wrote:

On 07/10/2015 05:05 PM, Thomas A. Schmitz wrote:

On 07/09/2015 03:39 PM, Hans Hagen wrote:

Of course there will be bugs although the test suite runs without
crashing. I will use the new code on my machine but you can test it with:

\usemodule[newotf]

before \starttext (or in cont-loc.mkiv).


Hi Hans,

did the new font mechanism really make it into the beta you uploaded? I get

resolvers   > modules > 'newotf' is not found

with

version: 2015.07.10 00:05


Hi Hans and Thomas

the module seems to be missing also in beta from 2015.07.09 15:23.

In beta from 2015.07.10 00:05 cont-loc.mkiv seems to be gone.


that one is not in the distribution ... you can create it

cont-new.mkiv : in distribution (patch file)
cont-loc.mkiv : local file (persistent, not replaced)
cont-exp.mkiv : experimental code (on my machine)

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
-
%D \module
%D   [   file=m-newotf,
%Dversion=2015.07.08,
%D  title=\CONTEXT\ Extra Modules,
%D   subtitle=Experimental OTF Loader,
%D author=Hans Hagen,
%D   date=\currentdate,
%D  copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

%D This module will go away as soon as we use the new loader code by default.
%D That will happen after extensive testing. Generic support will happen after
%D that.

\unprotect

\startluacode
local files = {
"font-otr", "font-cff", "font-ttf", "font-dsp", "font-oup",
"font-otl", "font-ots", "font-oto", "font-otd", "font-otc",
"font-osd", "font-map", "font-fbk", "font-gds",
}

logs.report("fonts")
if tex.modes.atpragma then
logs.report("fonts","replacing font loader code by experimental code 
(at pragma)")
logs.report("fonts")
for i=1,#files do require(file.join("t:/sources",files[i])) end
else
logs.report("fonts","replacing font loader code by experimental code")
logs.report("fonts")
for i=1,#files do require(files[i]) end
end
\stopluacode

\protect \endinput
___
If your question is of interest to others as well, please add an 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] new beta

2015-07-10 Thread Dominik Gerstorfer
Hi Hans,

the new beta, 2015.07.10 00:05, messes up punctuation (.:,;) for some fonts
like Calluna. This happens with and without \usemodule[newotf]:

\definefontfamily  [default] [rm] [Calluna]\setupbodyfont [default]
\starttext
This is not, as it should be; Email: em...@example.net\stoptext

​

renders as:

This is not’ as it should be’ Email’ email@example’net

[image: Inline-Bild 1]

 ​
Dominik

2015-07-09 15:39 GMT+02:00 Hans Hagen :

> Hi,
>
> I uploaded a new beta. As a prelude to some updates / improvements in the
> font handling an experimental new otf fontloader/handler is present. This
> one is not used by default but will likely replace the current one (only
> when it has been tested enough). At that time also some other pending
> changes will happen (no functional differences, only improvements).
>
> There are a few advantages to the new approach:
>
> - Indentifying fonts goes a bit faster (some 20 times) but that is already
> in the core.
> - The mem footprint of initial loading a font is smaller.
> - Initial loading can a bit slower depending on the kind of font (no big
> deal as we cache files) and if really needed can be sped up a bit.
> - The cached instance is smaller.
> - Loading the cached font is faster (not that it was slow but still).
> - Some bits and pieces have been optimized (there is room for more but
> I might decide not to do that).
> - Extra substitution features like tlig and trep are now runtime and not
> cached.
> - Processing in node mode can be somewhat faster for complex fonts.
> - The generic font code will stay as it is for at least a while after the
> new code has become stable and the current method will stay around too.
>
> Of course there will be bugs although the test suite runs without
> crashing. I will use the new code on my machine but you can test it with:
>
> \usemodule[newotf]
>
> before \starttext (or in cont-loc.mkiv).
>
> 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] new beta

2015-07-10 Thread Pablo Rodriguez
On 07/10/2015 05:05 PM, Thomas A. Schmitz wrote:
> On 07/09/2015 03:39 PM, Hans Hagen wrote:
>> Of course there will be bugs although the test suite runs without
>> crashing. I will use the new code on my machine but you can test it with:
>>
>> \usemodule[newotf]
>>
>> before \starttext (or in cont-loc.mkiv).
> 
> Hi Hans,
> 
> did the new font mechanism really make it into the beta you uploaded? I get
> 
> resolvers   > modules > 'newotf' is not found
> 
> with
> 
> version: 2015.07.10 00:05

Hi Hans and Thomas

the module seems to be missing also in beta from 2015.07.09 15:23.

In beta from 2015.07.10 00:05 cont-loc.mkiv seems to be gone.


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

2015-07-10 Thread Thomas A. Schmitz

On 07/09/2015 03:39 PM, Hans Hagen wrote:

Of course there will be bugs although the test suite runs without
crashing. I will use the new code on my machine but you can test it with:

\usemodule[newotf]

before \starttext (or in cont-loc.mkiv).


Hi Hans,

did the new font mechanism really make it into the beta you uploaded? I get

resolvers   > modules > 'newotf' is not found

with

version: 2015.07.10 00:05

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

Re: [NTG-context] new beta

2015-06-15 Thread Hans Hagen

On 6/15/2015 9:22 AM, Alan BRASLAU wrote:

Note that the || in  tufte does not get handled transparently.


indeed ... not that i worry too much about those special catcodes now 
(something i'll look at when i need 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] new beta

2015-06-15 Thread Alan BRASLAU
Note that the || in  tufte does not get handled transparently.

Alan


On Mon, 15 Jun 2015 00:21:56 +0200
Mojca Miklavec  wrote:

> On Sat, Jun 13, 2015 at 10:00 AM, Hans Hagen wrote:
> > Hi,
> >
> > I uploaded a beta. The most significant (visible) change is in the
> > way mp handles outlines. Here are some examples:
> >
> > % outlinetext   (text) transformations ;
> > % outlinetext.d (text) (draw options) transformations ;
> > % outlinetext.f (text) (fill options) transformations ;
> > % outlinetext.b (text) (draw options) (fill options)
> > transformations ; % outlinetext.r (text) (fill options) (draw
> > options) transformations ;
> >
> > \starttext
> >
> > \startMPpage
> >
> > draw outlinetext.b
> > ("\framed[align=normal]{\input{tufte}}")
> > (withcolor .5white)
> > (withcolor red withpen pencircle scaled 1/10)
> > xsized 10cm ;
> >
> > \stopMPpage
> >
> > \startMPpage
> >
> > draw outlinetext.r
> > ("\framed[align=normal]{\input{tufte}}")
> > (withcolor red withpen pencircle scaled 1/10)
> > (withcolor .5white)
> > xsized 10cm ;
> >
> > \stopMPpage
> >
> > \startMPpage
> >
> > draw outlinetext.d
> > ("\framed[align=normal]{\input{tufte}}")
> > (withcolor .5white)
> > xsized 10cm ;
> >
> > \stopMPpage
> >
> > \startMPpage
> >
> > picture p ; p := outlinetext.p("PX") ;
> >
> > for i within p :
> > draw i withcolor red withpen pencircle scaled 1/10 ;
> > endfor ;
> >
> > \stopMPpage
> >
> > \stoptext
> 
> Amazing.
> 
> This also makes it easy to "drop a shadow", a simplified version being
> something like:
> 
> \starttext
> 
> \startbuffer
> \framed[align=normal]{\bf\input{tufte}}
> \stopbuffer
> 
> \startMPpage
> 
> draw outlinetext.b
> ("\getbuffer")
> (withcolor .85white)
> (withcolor .85white withpen pencircle scaled 1)
> shifted (0.5,-0.5) ;
> 
> draw outlinetext.f
> ("\getbuffer")
> (withcolor .7white)
> shifted (0.5,-0.5) ;
> 
> draw outlinetext.b
> ("\getbuffer")
> (withcolor yellow)
> (withcolor black withpen pencircle scaled 1/10);
> 
> \stopMPpage
> 
> \stoptext
> 
> ... but I believe one could now address this*** as well (with some
> extra hacking of shadings):
> http://tex.stackexchange.com/a/52823/6367
> ;) ;) ;)
> 
> 
> The font previews are also amazing.
> 
> Mojca
> 
> *** Some time ago someone made me a poster on a colourful background
> in Photoshop (background had both black and white elements). He used a
> white font with black outline and gray dropped shadow. I reproduced
> the content in ConTeXt, but I wasn't able to reproduce the nice shadow
> that made the text stand out better and thus more readable. In the
> printing house they asked me why I went from good to worse (ie. from
> PhotoShop to TeX) by "decreasing the visibility" of letters. I assume
> that doing smooth shadow behind the letters should finally be possible
> in ConTeXt now as well. [Alan will probably disagree.]

___
If your question is of interest to others as well, please add an 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] new beta

2015-06-14 Thread Mojca Miklavec
On Sat, Jun 13, 2015 at 10:00 AM, Hans Hagen wrote:
> Hi,
>
> I uploaded a beta. The most significant (visible) change is in the way mp
> handles outlines. Here are some examples:
>
> % outlinetext   (text) transformations ;
> % outlinetext.d (text) (draw options) transformations ;
> % outlinetext.f (text) (fill options) transformations ;
> % outlinetext.b (text) (draw options) (fill options) transformations ;
> % outlinetext.r (text) (fill options) (draw options) transformations ;
>
> \starttext
>
> \startMPpage
>
> draw outlinetext.b
> ("\framed[align=normal]{\input{tufte}}")
> (withcolor .5white)
> (withcolor red withpen pencircle scaled 1/10)
> xsized 10cm ;
>
> \stopMPpage
>
> \startMPpage
>
> draw outlinetext.r
> ("\framed[align=normal]{\input{tufte}}")
> (withcolor red withpen pencircle scaled 1/10)
> (withcolor .5white)
> xsized 10cm ;
>
> \stopMPpage
>
> \startMPpage
>
> draw outlinetext.d
> ("\framed[align=normal]{\input{tufte}}")
> (withcolor .5white)
> xsized 10cm ;
>
> \stopMPpage
>
> \startMPpage
>
> picture p ; p := outlinetext.p("PX") ;
>
> for i within p :
> draw i withcolor red withpen pencircle scaled 1/10 ;
> endfor ;
>
> \stopMPpage
>
> \stoptext

Amazing.

This also makes it easy to "drop a shadow", a simplified version being
something like:

\starttext

\startbuffer
\framed[align=normal]{\bf\input{tufte}}
\stopbuffer

\startMPpage

draw outlinetext.b
("\getbuffer")
(withcolor .85white)
(withcolor .85white withpen pencircle scaled 1)
shifted (0.5,-0.5) ;

draw outlinetext.f
("\getbuffer")
(withcolor .7white)
shifted (0.5,-0.5) ;

draw outlinetext.b
("\getbuffer")
(withcolor yellow)
(withcolor black withpen pencircle scaled 1/10);

\stopMPpage

\stoptext

... but I believe one could now address this*** as well (with some
extra hacking of shadings):
http://tex.stackexchange.com/a/52823/6367
;) ;) ;)


The font previews are also amazing.

Mojca

*** Some time ago someone made me a poster on a colourful background
in Photoshop (background had both black and white elements). He used a
white font with black outline and gray dropped shadow. I reproduced
the content in ConTeXt, but I wasn't able to reproduce the nice shadow
that made the text stand out better and thus more readable. In the
printing house they asked me why I went from good to worse (ie. from
PhotoShop to TeX) by "decreasing the visibility" of letters. I assume
that doing smooth shadow behind the letters should finally be possible
in ConTeXt now as well. [Alan will probably disagree.]
___
If your question is of interest to others as well, please add an 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] new beta

2015-05-15 Thread Hans Hagen

On 5/15/2015 3:58 PM, Pablo Rodriguez wrote:


Is a sample file required?

The files that trigger the bug are rather big and I don’t have the time
right now.

I hope I can elaborate a minimal file this afternoon.


ok, probably only the text around the issue is needed

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

2015-05-15 Thread Pablo Rodriguez
On 05/15/2015 11:53 AM, Hans Hagen wrote:
> Hi,
> 
> I uploaded a new beta. This is the last before a current that goes on tl 
> 2015.

Hans,

I get this error with the latest beta from 2015.05.15 11:42:

luajittex: ../../../source/texk/web2c/luatexdir/tex/texnodes.w:2255:
delete_attribute_ref: Assertion
`varmem[(b)].hh.u.B0==attribute_list_node' failed.

Is a sample file required?

The files that trigger the bug are rather big and I don’t have the time
right now.

I hope I can elaborate a minimal file this afternoon.

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

2014-03-07 Thread Hans Hagen

On 3/7/2014 6:17 PM, Pablo Rodriguez wrote:

\setupdirections[bidi=on] seems not to work. Removing the command gives
the same results.


indeed, already for a while i think ... buglet introduced during 
optimization a while ago (resulting in not enabling)


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

2014-03-07 Thread Hans Hagen

On 3/7/2014 6:17 PM, Pablo Rodriguez wrote:

On 03/07/2014 12:14 PM, Hans Hagen wrote:

Hi,

I uploaded a new beta.


Hans,

I’m afraid I have just found another two issues in the new beta.

\setupdirections[bidi=on]
\definefontfamily[mainface][serif][FreeSerif]
\setupbodyfont[mainface]
\starttext
\dorecurse{5}{\index{one}A text in \index{one}classical Hebrew : בְּרֵאשִׁ֖ית
בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ׃​.
\page}
\completeindex
\stoptext


\setvalue{\??registersymbol n}%
  {\def\registerpageseparatorsymbol{,\space}}

\setvalue{\??registersymbol a}%
  {\def\registerpageseparatorsymbol{,\space}} % now done via conversion


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

2014-03-07 Thread Pablo Rodriguez
On 03/07/2014 12:14 PM, Hans Hagen wrote:
> Hi,
> 
> I uploaded a new beta.

Hans,

I’m afraid I have just found another two issues in the new beta.

\setupdirections[bidi=on]
\definefontfamily[mainface][serif][FreeSerif]
\setupbodyfont[mainface]
\starttext
\dorecurse{5}{\index{one}A text in \index{one}classical Hebrew : בְּרֵאשִׁ֖ית
בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ׃​.
\page}
\completeindex
\stoptext

\setupdirections[bidi=on] seems not to work. Removing the command gives
the same results.

The index entries have no space after the comma that separate the pages.

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

2014-03-07 Thread Pablo Rodriguez
On 03/07/2014 12:14 PM, Hans Hagen wrote:
> Hi,
> 
> I uploaded a new beta.

Many thanks for it, Hans.

The following sample worked (partially) with previous beta:

\starttext
\startTEXpage[offset=1em]
``---'' `--'
\stopTEXpage
\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] new beta luatex error

2013-07-31 Thread Hans Hagen

On 7/31/2013 11:43 PM, Marco Patzer wrote:

On 2013–07–31 Hans Hagen wrote:


On 7/31/2013 10:56 PM, Marco Patzer wrote:

\starttext
foo
\stoptext

! LuaTeX error [string "\directlua "]:1: attempt to call field 'resetprevdepth' 
(a nil value)
stack traceback:
[string "\directlua "]:1: in main chunk.


not here ... maybe spac-ver.lua has not been updated at your end?


No, it has not. spac-ver.mkiv:2099 calls resetprevdepth which is not
defined in spac-ver.lua. The file has not been updated in your zip
(so I assume it's not just me).


Ah. I patched only the 'experimental' files on my system (these cannot 
yet be included in the distribution as a newer luatex is needed).


I uploaded a new zip.

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] new beta luatex error

2013-07-31 Thread Otared Kavian

On 31 juil. 2013, at 23:43, Marco Patzer  wrote:

> On 2013–07–31 Hans Hagen wrote:
> 
>> On 7/31/2013 10:56 PM, Marco Patzer wrote:
>>> \starttext
>>> foo
>>> \stoptext
>>> 
>>> ! LuaTeX error [string "\directlua "]:1: attempt to call field 
>>> 'resetprevdepth' (a nil value)
>>> stack traceback:
>>> [string "\directlua "]:1: in main chunk.
>> 
>> not here ... maybe spac-ver.lua has not been updated at your end?
> 
> No, it has not. spac-ver.mkiv:2099 calls resetprevdepth which is not
> defined in spac-ver.lua. The file has not been updated in your zip
> (so I assume it's not just me).
> 
> Marco

I can confirm this: I get the same error message after updating to the new beta 
(ConTeXt  ver: 2013.07.31 20:23 MKIV beta  fmt: 2013.7.31  int: 
english/english).

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] new beta luatex error

2013-07-31 Thread Marco Patzer
On 2013–07–31 Hans Hagen wrote:

> On 7/31/2013 10:56 PM, Marco Patzer wrote:
> >\starttext
> >foo
> >\stoptext
> >
> >! LuaTeX error [string "\directlua "]:1: attempt to call field 
> >'resetprevdepth' (a nil value)
> >stack traceback:
> > [string "\directlua "]:1: in main chunk.
> 
> not here ... maybe spac-ver.lua has not been updated at your end?

No, it has not. spac-ver.mkiv:2099 calls resetprevdepth which is not
defined in spac-ver.lua. The file has not been updated in your zip
(so I assume it's not just me).

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] new beta luatex error

2013-07-31 Thread Hans Hagen

On 7/31/2013 10:56 PM, Marco Patzer wrote:

\starttext
foo
\stoptext

! LuaTeX error [string "\directlua "]:1: attempt to call field 'resetprevdepth' 
(a nil value)
stack traceback:
[string "\directlua "]:1: in main chunk.


not here ... maybe spac-ver.lua has not been updated at your end?


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

2013-07-17 Thread Wolfgang Schuster

Am 17.07.2013 um 12:23 schrieb Hans Hagen :

> On 7/16/2013 11:12 AM, Steffen Kram wrote:
>> Hi all,
>> 
>>> ligature seems to fail also with beta from 2013.06.10.
>>> 
>>> But with the latest beta, pages start numbering from 2:
>>> 
>>>\starttext
>>>\input knuth
>>>\stoptext
>>> 
>>> Am I the only one hit by this?
>> 
>> I can confirm this, too. Anyone already tracked that down and has a working 
>> fix?
> 
> i uploaded a beta a few days ago ... so is it still an issue?

The beta in your server (2013.07.14 14:53) starts at page 1 but the context 
suite
uses a older beta (2013.07.12 19:10) which starts at page 2.

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

2013-07-17 Thread Steffen Kram

Am 17.07.2013 um 12:23 schrieb Hans Hagen :

> On 7/16/2013 11:12 AM, Steffen Kram wrote:
>> Hi all,
>> 
>>> ligature seems to fail also with beta from 2013.06.10.
>>> 
>>> But with the latest beta, pages start numbering from 2:
>>> 
>>>   \starttext
>>>   \input knuth
>>>   \stoptext
>>> 
>>> Am I the only one hit by this?
>> 
>> I can confirm this, too. Anyone already tracked that down and has a working 
>> fix?
> 
> i uploaded a beta a few days ago ... so is it still an issue?

It's still the case with the version I downloaded yesterday. An extra-page is 
added after my title-page.

Steffen
___
If your question is of interest to others as well, please add an 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] new beta

2013-07-17 Thread Hans Hagen

On 7/16/2013 11:12 AM, Steffen Kram wrote:

Hi all,


ligature seems to fail also with beta from 2013.06.10.

But with the latest beta, pages start numbering from 2:

\starttext
\input knuth
\stoptext

Am I the only one hit by this?


I can confirm this, too. Anyone already tracked that down and has a working fix?


i uploaded a beta a few days ago ... so is it still an issue?

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

2013-07-16 Thread Steffen Kram
Hi all,

> ligature seems to fail also with beta from 2013.06.10.
> 
> But with the latest beta, pages start numbering from 2:
> 
>\starttext
>\input knuth
>\stoptext
> 
> Am I the only one hit by this?

I can confirm this, too. Anyone already tracked that down and has a working fix?

Thanks,
Steffen
___
If your question is of interest to others as well, please add an 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] new beta

2013-07-14 Thread Hans Hagen

On 7/14/2013 10:37 AM, Philipp Gesang wrote:

·


Hi,

I uploaded a beta. There are not that many changes. Currently I
develop in a separate branch but it might be that some changes are
reflected in the betas, and hopefully not breaking anything.


There a copy’n’paste mistake in luatex-basics-nod.lua. See
attached diff.


that's one of the things i'm working on ... just don't update your latex 
derived files for a while; i'm going to add some experimental that will 
work ok, but might need more time for generic to work too (lower 
priority) ... after all, it's beta and not meant to be used in stable tl 
2013


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

2013-07-14 Thread Philipp Gesang
·

> ·
> 
> >  it might be that some changes are
> > reflected in the betas, and hopefully not breaking anything.
> 
> Unhappily, it does. In the generic font loader the new “nuts”
> table is a synonym for “nodes”, but it would appear that it is
> also required to contain certain functions from the builtin
> “node” namespace, e.g. node.copy(), node.tail() and the likes.
> 
> Failing example with ligatures:
> 
> \font\foo="file:Iwona-Regular.otf:mode=node;+liga"
> \foo
> ffi
> \bye
> 

Thanks for the fix. Have fun “going nuts”, then!

Best,
Philipp




pgpaGBTRyexoe.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] new beta

2013-07-14 Thread Philipp Gesang
·

> On 14/07/13 10:53, Philipp Gesang wrote:
> > ·
> > 
> >>  it might be that some changes are
> >> reflected in the betas, and hopefully not breaking anything.
> > [...]
> > Failing example with ligatures:
> > 
> > \font\foo="file:Iwona-Regular.otf:mode=node;+liga"
> > \foo
> > ffi
> > \bye
> 
> Hi Philipp,
> 
> ligature seems to fail also with beta from 2013.06.10.
> 
> But with the latest beta, pages start numbering from 2:
> 
> \starttext
> \input knuth
> \stoptext
> 
> Am I the only one hit by this?

Nope, can confirm.

Best,
Philipp

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


pgpkaPqEr8vMR.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] new beta

2013-07-14 Thread Pablo Rodríguez
On 14/07/13 10:53, Philipp Gesang wrote:
> ·
> 
>>  it might be that some changes are
>> reflected in the betas, and hopefully not breaking anything.
> [...]
> Failing example with ligatures:
> 
> \font\foo="file:Iwona-Regular.otf:mode=node;+liga"
> \foo
> ffi
> \bye

Hi Philipp,

ligature seems to fail also with beta from 2013.06.10.

But with the latest beta, pages start numbering from 2:

\starttext
\input knuth
\stoptext

Am I the only one hit by this?

Thanks,


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

2013-07-14 Thread Philipp Gesang
·

>  it might be that some changes are
> reflected in the betas, and hopefully not breaking anything.

Unhappily, it does. In the generic font loader the new “nuts”
table is a synonym for “nodes”, but it would appear that it is
also required to contain certain functions from the builtin
“node” namespace, e.g. node.copy(), node.tail() and the likes.

Failing example with ligatures:

\font\foo="file:Iwona-Regular.otf:mode=node;+liga"
\foo
ffi
\bye

Best,
Philipp



pgpUIjlYwIo0Y.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] new beta

2013-07-14 Thread Philipp Gesang
·

> Hi,
> 
> I uploaded a beta. There are not that many changes. Currently I
> develop in a separate branch but it might be that some changes are
> reflected in the betas, and hopefully not breaking anything.

There a copy’n’paste mistake in luatex-basics-nod.lua. See
attached diff.

Best,
Philipp


--- luatex-basics-nod.lua.orig	2013-07-14 10:32:16.197621614 +0200
+++ luatex-basics-nod.lua	2013-07-14 10:32:40.578311602 +0200
@@ -96,8 +96,8 @@
 
 -- experimental
 
-local getfield = node.getfield or function(n,tag)   return n[tag]  end end
-local setfield = node.setfield or function(n,tag,value) n[tag] = value end end
+local getfield = node.getfield or function(n,tag)   return n[tag]  end
+local setfield = node.setfield or function(n,tag,value) n[tag] = value end
 
 nodes.getfield = getfield
 nodes.setfield = setfield


pgp288EEq6k86.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] new beta

2013-07-12 Thread Pablo Rodríguez
On 13/07/13 03:57, Otared Kavian wrote:
> On 12 juil. 2013, at 20:06, Aditya Mahajan  wrote:
>> On Fri, 12 Jul 2013, Pablo Rodríguez wrote:
>>> On 12/07/13 19:21, Hans Hagen wrote:
 Hi,

 I uploaded a beta. There are not that many changes. Currently I develop
 in a separate branch but it might be that some changes are reflected in
 the betas, and hopefully not breaking anything.
>>>
>>> Thanks for the new beta, Hans.
>>
>> For me first-setup.sh still downloads the 2013.06.10.
> 
> This is also my case: has something changed in first-setup.sh? 

I didn’t check that after downloading the new beta from yesterday.

first-setup.sh has just downloaded ConTeXt - 2013.06.10 22:51.


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

2013-07-12 Thread Otared Kavian

On 12 juil. 2013, at 20:06, Aditya Mahajan  wrote:

> On Fri, 12 Jul 2013, Pablo Rodríguez wrote:
> 
>> On 12/07/13 19:21, Hans Hagen wrote:
>>> Hi,
>>> 
>>> I uploaded a beta. There are not that many changes. Currently I develop
>>> in a separate branch but it might be that some changes are reflected in
>>> the betas, and hopefully not breaking anything.
>> 
>> Thanks for the new beta, Hans.
> 
> For me first-setup.sh still downloads the 2013.06.10.

This is also my case: has something changed in first-setup.sh? 
___
If your question is of interest to others as well, please add an 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] new beta

2013-07-12 Thread Aditya Mahajan

On Fri, 12 Jul 2013, Pablo Rodríguez wrote:


On 12/07/13 19:21, Hans Hagen wrote:

Hi,

I uploaded a beta. There are not that many changes. Currently I develop
in a separate branch but it might be that some changes are reflected in
the betas, and hopefully not breaking anything.


Thanks for the new beta, Hans.


For me first-setup.sh still downloads the 2013.06.10.

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

2013-07-12 Thread Pablo Rodríguez
On 12/07/13 19:21, Hans Hagen wrote:
> Hi,
> 
> I uploaded a beta. There are not that many changes. Currently I develop 
> in a separate branch but it might be that some changes are reflected in 
> the betas, and hopefully not breaking anything.

Thanks for the new beta, Hans.

Could the two bugs with compressed linenotes be fixed? ()

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

2013-04-11 Thread Hans Hagen

On 4/11/2013 10:15 PM, Peter Münster wrote:

On Thu, Apr 11 2013, luigi scarso wrote:


It's true that  "ConTEXt is always  considered less math savy than LaTeX"
not that "ConTEXt is  less math savy than LaTeX".


Perhaps better: "always" -> "often" ?


Ok.

Concerning math ... in many aspects the functionality of mkii is 
available in mkiv, but the implementation is often completely different, 
which makes that we can go a step further in control.


Years ago, when he was involved in scientific publishing, Taco made sure 
that mkii had most of the features needed to deal with advanced math (at 
that time via a module that implemented some ams constructs). Eventually 
that code was normalized, extended and integrated into the Later Aditya 
added support for ams-like code too.


In mkiv nearly all had been or will be redone. Some of the accumulated 
implementation details are quite interesting (compared to the 
traditional approach) so I might wrap that up some day in a larger 
summary (chapter). I uploaded the latest hybrid.pdf to the website which 
has some explanations and I'll try to keep wrapping up in future 
chapters if About (and other documents).


If you feel that something fundamental is missing, don't hesitate to 
mention it. (Many math sub-mechanisms are relatively independent so 
adding code has not much change of breaking existing code.)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] new beta

2013-04-11 Thread Peter Münster
On Thu, Apr 11 2013, luigi scarso wrote:

> It's true that  "ConTEXt is always  considered less math savy than LaTeX"
> not that "ConTEXt is  less math savy than LaTeX".

Perhaps better: "always" -> "often" ?

-- 
   Peter
___
If your question is of interest to others as well, please add an 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] new beta

2013-04-11 Thread luigi scarso
On Thu, Apr 11, 2013 at 6:25 PM, Otared Kavian  wrote:
> However, on page 27, there is a sentence which I disagree with…
> You say there:
>  « ConTEXt is always considered somewhat less math savvy than for instance 
> LaTEX »,
> but actually I cannot see any example of maths typesetting which cannot be 
> done in ConTeXt.
> It is true that most mathematicians may not use ConTeXt, but this is because 
> they are not aware of the package and, mainly, because maths >journals do not 
> accept yet papers typeset with ConTeXt. I hope this will change soon.
It's true that  "ConTEXt is always  considered less math savy than LaTeX"
not that "ConTEXt is  less math savy than LaTeX".

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

2013-04-11 Thread Otared Kavian

On 10 avr. 2013, at 20:09, Hans Hagen  wrote:

> Hi,
> 
> An extra chapter in:
> 
> http://www.pragma-ade.nl/general/manuals/about.pdf
> 
> explaining abit the updated math fractions (and math styles mechanism).

Hi Hans,

Thanks for the explanations given in the above new manual about the new 
features with fractions and fences. 

However, on page 27, there is a sentence which I disagree with… 
You say there:
 « ConTEXt is always considered somewhat less math savvy than for instance 
LaTEX », 
but actually I cannot see any example of maths typesetting which cannot be done 
in ConTeXt. 
It is true that most mathematicians may not use ConTeXt, but this is because 
they are not aware of the package and, mainly, because maths journals do not 
accept yet papers typeset with ConTeXt. I hope this will change soon.

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

2013-03-11 Thread Hans Hagen

On 3/11/2013 6:13 PM, Sietse Brouwer wrote:


I don't understand what they whitespace does: I tried to test it with
this code, and changing the number did nothing.


for i=0,10 do
print(string.formatters("%wsietse",i))
end
for i=9,0,-1 do
print(string.formatters("%wsietse",i))
end



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

2013-03-11 Thread Sietse Brouwer
Hi,

I chucked it in here, for lack of a better place.
http://wiki.contextgarden.net/String_Manipulation#String_formatter

I don't understand what they whitespace does: I tried to test it with
this code, and changing the number did nothing.

\starttext
\startluacode
x = 999
context("\\type{my%wpoints}", x)
context.par()
context("my %w points", x)
\stopluacode
\stoptext


And perhaps somebody could add two columns to the wiki with example
input and output?

Cheers,
Sietse

--
Sietse Brouwer -- sbbrou...@gmail.com -- +31 6 13.456.848
Thorbeckehof 101 -- 2343 DR Oegstgeest -- the Netherlands
MSN: sie...@gawab.com -- ICQ: 341232104


On 11 March 2013 00:46, Hans Hagen  wrote:
> Hi,
>
> I uploaded a beta. The most important change is that the 'context' function
> now uses the formatters mechanism instead of Lua's format.
>
> This has several benefits. First of all it's in most cases faster (I
> measured upto 3 times) but it also permits us to support some more:
>
> integer  %...i   number
> integer  %...d   number
> unsigned %...u   number
> utf character%...c   number
> hexadecimal  %...x   number
> HEXADECIMAL  %...X   number
> octal%...o   number
> string   %...s   string number
> float%...f   number
> exponential  %...e   number
> exponential  %...E   number
> autofloat%...g   number
> autofloat%...G   number
> force tostring   %...S   any
> force tostring   %Q  any
> force tonumber   %N  number (strip leading zeros)
> signed number%I  number
> rounded number   %r  number
> 0xhexadecimal%...h   character number
> 0xHEXADECIMAL%...H   character number
> U+hexadecimal%...u   character number
> U+HEXADECIMAL%...U   character number
> points   %p  number (scaled points)
> basepoints   %b  number (scaled points)
> table concat %...t   table
> boolean (logic)  %l  boolean
> BOOLEAN  %L  boolean
> whitespace   %...w
>
> More info can be found in cld-mkiv.pdf. There I also explain how to create
> specific formatters and how to extend them. In the default formatter there
> are two extensions that can be used as:
>
> string.formatters["whatever %!tex! and %!xml!"]("$ 100","a&b")
>
> or
>
> local mf = string.formatters["whatever %!tex! and %!xml!"]
>
> ... mf("$ 100","a&b")
>
> or
>
> context("whatever %!tex! and %!xml!","$ 100","a&b")
>
>
>
> (Someone should add that to the wiki I guess).
>
> 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] new beta

2012-07-27 Thread Hans Hagen

On 26-7-2012 20:36, Pablo Rodríguez wrote:


I'm not sure whether this is important, but
http://www.pragma-ade.com/general/qrcs/setup-en.pdf#page=3 contains the
date "July z, 2012"


fixed in next

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

2012-07-27 Thread Hans Hagen

On 27-7-2012 04:22, Li Yanrui (李延瑞) wrote:

2012/7/27 Hans Hagen :

The memory footprint should be somewhat smaller for non cjk usage. (format
generation as well as runtime) and the format file is some 10-15% smaller
now.


The fonts fallback can not work.

This is a minmal example:

\definefontsynonym[song][name:adobesongstd]
\definefontfallback[hereos][name:texgyreherosregular][0x-0x0400]
\definefontsynonym[fbsong][song][fallbacks=hereos]
\definefont[newsong][fbsong]
\starttext
\newsong 夹杂 English 的中文文本
\stoptext

When I compile it, i get an error:

error: ...text/tex/texmf-context/tex/context/base/font-col.lua:213:
Invalid field id font for node type hlist (3)


line 212 should be:

 for n in traverse_id(glyph_code,head) do

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

2012-07-26 Thread 李延瑞
2012/7/27 Hans Hagen :
> The memory footprint should be somewhat smaller for non cjk usage. (format
> generation as well as runtime) and the format file is some 10-15% smaller
> now.

The fonts fallback can not work.

This is a minmal example:

\definefontsynonym[song][name:adobesongstd]
\definefontfallback[hereos][name:texgyreherosregular][0x-0x0400]
\definefontsynonym[fbsong][song][fallbacks=hereos]
\definefont[newsong][fbsong]
\starttext
\newsong 夹杂 English 的中文文本
\stoptext

When I compile it, i get an error:

error: ...text/tex/texmf-context/tex/context/base/font-col.lua:213:
Invalid field id font for node type hlist (3)

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

2012-07-26 Thread Pablo Rodríguez
On 26/07/12 20:12, Hans Hagen wrote:
> Hi,
> 
> I uploaded a beta. There is also an updated status-mkiv document:
> 
> files done644
> files todo314
> files pending  21 (some day)
> obsolete2
> total 981
> 
> So, I have some files to go (mostly lua files) before I pick up the 
> column thread.
> 
> The memory footprint should be somewhat smaller for non cjk usage. 
> (format generation as well as runtime) and the format file is some 
> 10-15% smaller now.

Many thanks for the new beta, Hans.

I'm not sure whether this is important, but
http://www.pragma-ade.com/general/qrcs/setup-en.pdf#page=3 contains the
date "July z, 2012"

Just in case it helps,


Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] new beta

2012-07-16 Thread Hans Hagen

On 16-7-2012 22:30, Wolfgang Schuster wrote:


be changed to

\unexpanded\def\strc_itemgroups_start_columns
   {\startmixedcolumns[itemgroupcolumns]}

\unexpanded\def\strc_itemgroups_stop_columns
   {\stopmixedcolumns}

because “start” and “stop” are interface/language dependant strings.


Ok. I now  made it into a fast start/stop (no need for argument testing 
in itemize).



Can you include a check (\ifinner … \fi) to change the columns method from 
“otr” to “box”
when the items are in a box, e.g. in a framedtext environment or a layer.


Sure, but even better is to do that at the parent level.

   \c!method=\ifinner\s!box\else\s!otr\fi

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

2012-07-16 Thread Wolfgang Schuster

Am 16.07.2012 um 22:02 schrieb Hans Hagen:

> Hi,
> 
> I uploaded a new beta. The usual fixes. New is a first version of a new multi 
> column handler. Pretty experimental but eventually it will replace the 
> current multi column routine, which is fact is then an instance, think of
> 
> \definemixedcolumns
>  [columns]
> 
> \unexpanded\def\setupcolumns
>  {\setupmixedcolumns[columns]}
> 
> The simple columns routine is already replaced (by an instance) as is the 
> multi column handler of itemize.

Shouldn’t this

\unexpanded\def\strc_itemgroups_start_columns
  {\startitemgroupcolumns}

\unexpanded\def\strc_itemgroups_stop_columns
  {\stopitemgroupcolumns}

be changed to

\unexpanded\def\strc_itemgroups_start_columns
  {\startmixedcolumns[itemgroupcolumns]}

\unexpanded\def\strc_itemgroups_stop_columns
  {\stopmixedcolumns}

because “start” and “stop” are interface/language dependant strings.


Can you include a check (\ifinner … \fi) to change the columns method from 
“otr” to “box”
when the items are in a box, e.g. in a framedtext environment or a layer.

%\setupmixedcolumns[itemgroupcolumns][method=box]

\starttext

\startframedtext[width=max]
  \startitemize[columns,two]
\startitem One \stopitem
\startitem Two \stopitem
\startitem Three \stopitem
\startitem Four \stopitem
  \stopitemize
\stopframedtext

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

2012-07-16 Thread Hans Hagen

On 16-7-2012 22:02, Hans Hagen wrote:

Hi,

I uploaded a new beta. The usual fixes. New is a first version of a new
multi column handler. Pretty experimental but eventually it will replace
the current multi column routine, which is fact is then an instance,
think of

\definemixedcolumns
   [columns]

\unexpanded\def\setupcolumns
   {\setupmixedcolumns[columns]}

The simple columns routine is already replaced (by an instance) as is
the multi column handler of itemize.


btw, the new simplecolumns in called boxedcolumns

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] new beta 2012.07.09 22:35 failing

2012-07-09 Thread Hans Hagen

On 9-7-2012 23:40, Meer, H. van der wrote:

This is beta: ConTeXt  ver: 2012.07.09 22:35 MKIV  fmt: 2012.7.9  int: 
english/english

It fails me with (see below). I am fairly sure now this must be an error seeing 
the minimal example provided. Here is the most minimal example I could concoct:


it should be ok now
-
  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] new beta

2012-01-17 Thread Hans Hagen

On 17-1-2012 09:08, Mari Voipio wrote:

On Mon, Jan 16, 2012 at 19:47, Hans Hagen  wrote:

I uploaded a new beta. This time a couple of fixes + some reorganization of
font related code. More to follow.


There's something fishy somewhere in the fonts or the simplefonts
module, because a file that worked last week now gets

..
  Fatal error occurred, no output PDF file produced!
.


Does the same happen in a test file not using simplefonts?  It's a 
luatex message.


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

2012-01-17 Thread Mari Voipio
On Mon, Jan 16, 2012 at 19:47, Hans Hagen  wrote:
> I uploaded a new beta. This time a couple of fixes + some reorganization of
> font related code. More to follow.

There's something fishy somewhere in the fonts or the simplefonts
module, because a file that worked last week now gets

.
 Fatal error occurred, no output PDF file produced!




It's a complicated history with layers and stuff and I couldn't
straight out isolate the cause of the problem, but I've never seen
this "CFF DICT" complaint before. :-)



Mari
___
If your question is of interest to others as well, please add an 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] new beta

2012-01-01 Thread Wolfgang Schuster

Am 01.01.2012 um 03:39 schrieb Li Yanrui (李延瑞):

> 2011/12/31 Hans Hagen :
>> Hi,
>> 
>> I uploaded a new beta. As I'm still in cleaning-up mode, the usual problems
>> could show up as quite some code was adapted (moved around). For those
>> interested there is a file 'status-mkiv' that can be run to get an overview
>> of where we stand.
>> 
>> One big change has been the way alignments are initialized. There were two
>> methods (one for \setupalign and one for align keywords) and these have been
>> merged into one. A side effect is that an alignment change is twice as fast
>> as before which might make a difference in excessive usage of \framed and
>> some table mechanisms.
>> 
> 
> The indentation is broken. Please see this example:
> 
> \setupindenting[first,2em,always]
> \starttext
> \input knuth
> \stoptext
> 
> The result is that the first line of a paragraph is not indented but
> the other lines are indented.

In mult-dim.mkvi there is a unwanted “-” in front of “#value”.

-\setvalue{\??dimensionnormal\s!unknown}#value#dimension#small#medium#big{#dimension=-#value\relax}
+\setvalue{\??dimensionnormal\s!unknown}#value#dimension#small#medium#big{#dimension=#value\relax}

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

2011-12-31 Thread 李延瑞
2011/12/31 Hans Hagen :
> Hi,
>
> I uploaded a new beta. As I'm still in cleaning-up mode, the usual problems
> could show up as quite some code was adapted (moved around). For those
> interested there is a file 'status-mkiv' that can be run to get an overview
> of where we stand.
>
> One big change has been the way alignments are initialized. There were two
> methods (one for \setupalign and one for align keywords) and these have been
> merged into one. A side effect is that an alignment change is twice as fast
> as before which might make a difference in excessive usage of \framed and
> some table mechanisms.
>

The indentation is broken. Please see this example:

\setupindenting[first,2em,always]
\starttext
\input knuth
\stoptext

The result is that the first line of a paragraph is not indented but
the other lines are indented.

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

2011-12-31 Thread Wolfgang Schuster

Am 31.12.2011 um 13:58 schrieb Meer, H. van der:

> Has the following been found and corrected?
> 
>>> \definetypeface [\typescriptone] [tt] [mono]  [cursor]  [default] 
>>> \@tlstyle 
>  \@tlstyle 
> 
> \dousestyleparameter ...\currentstyleparameter {#1
>  }\ifx \currentstyleparamet...
>  ...\hss \dousestyleparameter \@tlstyle 
>  \dousecolorparameter \@tlc…
> apparently in: pack-mrl.mkiv
> 
> My typesetting of an xml-document cannot advance because of this missing 
> \@tlstyle (and possibly also \@tlcolor?)

Should \@@tlstyle and \@@tlcolor.

> Is there a quick fix?

\unprotect
\def\docomplextextrule#1%
  {\bgroup
   \advance\hsize\dimexpr-\rightskip-\leftskip\relax
   \setbox\scratchbox\hbox to \hsize
 {\dimen4\dimexpr .5ex+.5\linewidth\relax
  \dimen6\dimexpr-.5ex+.5\linewidth\relax
  \doifsomething{#1}
{\doifelse\@@tllocation\v!inmargin
   {\llap
  {\dousestyleparameter\@@tlstyle
   \dousecolorparameter\@@tlcolor
   #1%
   \hskip\leftmargindistance}}
   {\color[\@@tlrulecolor]
  {\vrule\!!height\dimen4\!!depth\dimen6\!!width\@@tlwidth}%
\hbox spread 2\dimexpr\@@tldistance\relax
  {\hss
   \dousestyleparameter\@@tlstyle
   \dousecolorparameter\@@tlcolor
   \strut#1%
   \hss}}}%
  \color[\@@tlrulecolor]
{\leaders\hrule\!!height\dimen4\!!depth\dimen6\hfill}}%
   \ht\scratchbox\strutht
   \dp\scratchbox\strutdp
   \noindent\box\scratchbox
%\nobreak\verticalstrut\kern-\struttotal
% evt \witruimte
   \egroup}
\protect

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

2011-12-31 Thread Meer, H. van der
Has the following been found and corrected?

 >>  \definetypeface [\typescriptone] [tt] [mono]  [cursor]  
 >> [default] \@tlstyle 
 \@tlstyle 
 
\dousestyleparameter ...\currentstyleparameter {#1
  }\ifx \currentstyleparamet...
 ...\hss \dousestyleparameter \@tlstyle 
  \dousecolorparameter \@tlc…
apparently in: pack-mrl.mkiv

My typesetting of an xml-document cannot advance because of this missing 
\@tlstyle (and possibly also \@tlcolor?)
Is there a quick fix?


Hans van der Meer



On 31 dec. 2011, at 13:32, Hans Hagen wrote:

> Hi,
> 
> I uploaded a new beta. As I'm still in cleaning-up mode, the usual problems 
> could show up as quite some code was adapted (moved around). For those 
> interested there is a file 'status-mkiv' that can be run to get an overview 
> of where we stand.
> 
> One big change has been the way alignments are initialized. There were two 
> methods (one for \setupalign and one for align keywords) and these have been 
> merged into one. A side effect is that an alignment change is twice as fast 
> as before which might make a difference in excessive usage of \framed and 
> some table mechanisms.
> 
> Another change is that \color[whatever]{} now always expects an argument (in 
> \MKII {\color[red] ...} is valid too. Some more commands might get that 
> restriction but not the style switchers etc). Again this is twice as fast as 
> the previous method (probably not that noticeable as many switches happen 
> otherwise).
> 
> For those who won't/didn't get it by snail mail .. this years card can be 
> found at
> 
> http://www.pragma-ade.com/show-gra.pdf#page=33
> 
> In 2012 it will of course again be a gamble if the betas work out well,
> 
> Hans
> 

___
If your question is of interest to others as well, please add an 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] new beta

2011-12-22 Thread Hans Hagen

On 22-12-2011 16:37, Henning Hraban Ramm wrote:


Am 2011-12-22 um 14:55 schrieb Hans Hagen:


This version might also solve some of the reported problems with page
imposition (as the page-* modules are being cleaned up buglets cna be
introduced .. nothing really changes there apart from speedup and
namespacing).


"typing" (\starttyping) seems undefined now.


ah, I forgot something when moving to the new inheritance code .. fixed

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

2011-12-22 Thread Henning Hraban Ramm


Am 2011-12-22 um 14:55 schrieb Hans Hagen:

This version might also solve some of the reported problems with  
page imposition (as the page-* modules are being cleaned up buglets  
cna be introduced .. nothing really changes there apart from speedup  
and namespacing).


"typing" (\starttyping) seems undefined now.

"""
\starttext

\starttyping
\CONTEXT
\stoptyping

\stoptext
"""

Season’s Greetlings!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
If your question is of interest to others as well, please add an 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] new beta

2011-10-03 Thread Hans Hagen

On 3-10-2011 12:42, Thomas A. Schmitz wrote:

Another problem: interactive links appear to be broken with the latest
beta. This works with 2011.09.20, but not with the latest:

\setupinteraction
[state=start,
color=darkblue]

\useURL[luatex][http://www.luatex.org][][luatex website]

\starttext

Does this work? \from[luatex]

\stoptext


fixed


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

2011-10-03 Thread Thomas A. Schmitz
Another problem: interactive links appear to be broken with the latest 
beta. This works with 2011.09.20, but not with the latest:


\setupinteraction
   [state=start,
color=darkblue]

\useURL[luatex][http://www.luatex.org][][luatex website]

\starttext

Does this work? \from[luatex]

\stoptext

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


Re: [NTG-context] new beta

2011-10-02 Thread emmanuela . asante

Sent wirelessly from my BlackBerry device on the Bell network.
Envoyé sans fil par mon terminal mobile BlackBerry sur le réseau de Bell.

-Original Message-
From: "Thomas A. Schmitz" 
Sender: ntg-context-boun...@ntg.nl
Date: Sun, 02 Oct 2011 18:16:17 
To: mailing list for ConTeXt users
Reply-To: mailing list for ConTeXt users 
Subject: Re: [NTG-context] new beta

On 10/01/2011 11:16 AM, Hans Hagen wrote:
> Hi,
>
> I uploaded a new beta. Apart from some fixes the following has been
> added/changed. Some are side effects of discussions at the context meeting.
>
> However, the biggest new thing is adapted cross document referencing.
> This was already possible but we could not yet load external references
> (as in mkii). See
>
> http://www.pragma-ade.com/general/magazines/mag-1103.pdf
>
> for how it works in mkiv. The test files cross-*.tex demonstrate a
> couple of things. If one uses the project structure, then one can
> process a component of a product and it will pick up references from the
> main product as well as (given normal circumstances) start at the right
> chapter number and page. Of course this is only a convenience option
> (for proofing) as there is a dependency on the state of the parent
> product. Given the fact that cross referencing data is spread over
> several data structures this was a somewhat complex exercise. As a side
> effect the tuc file now uses its own (temporary) namespace.
>
> Hopefully nothing breaks due to these changes.
>
Hi Hans,

the cross-referencing is excellent new, I will have to play with it very 
soon! In the meantime, here's something which broke with the October 
beta (worked a week ago):

\definelinenote [critical]

\setupnote [critical] 
[rule=off,paragraph=yes,numbercommand=,inbetween=\hskip.5em\vl\hskip0.2em\vl\hskip.5em]
\setupdescriptions[critical] [display=no,location=serried,distance=.5em]

\setuplinenumbering[location=inner,step=5,method=page,style=\tfxx,align=left,distance=0.4em,width=0.4cm]

\starttext

ut \critical{labore et dolore magna aliquyam erat}, sed diam voluptua. At
clita kasd gubergren

\stoptext

linenotes produce this error:

! Undefined control sequence.

system  > tex > error on line 10 in file test.tex: Undefined 
control sequence ...

  1 \definelinenote [critical]
  2
  3 \setupnote [critical] 
[rule=off,paragraph=yes,numbercommand=,inbetween=\hskip.5em\vl\hskip0.2em\vl\hskip.5em]
  4 \setupdescriptions[critical] 
[display=no,location=serried,distance=.5em]
  5
  6 
\setuplinenumbering[location=inner,step=5,method=page,style=\tfxx,align=left,distance=0.4em,width=0.4cm]
  7
  8 \starttext
  9
10 >>  ut \critical{labore et dolore magna aliquyam erat}, sed diam 
voluptua. At
11 clita kasd gubergren
12
13 \stoptext
14


\@@expanded ->\dodosetreference
 {line}{lr:b:1}{conversion=numbers}{1}
\mksomelinereference ... }{\the \linerefcounter }}
   \endgroup
\mkstartlinereference ...wstartlinereference {#1}}
   \ignorespaces
\someline [#1]->\mkstartlinereference {#1}
   \mkstoplinereference {#1}
l.10 ...ical{labore et dolore magna aliquyam erat}
   , sed diam voluptua. At

which may have something to do with the new reference management, I guess?

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://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] new beta

2011-10-02 Thread Thomas A. Schmitz

On 10/02/2011 10:59 PM, Hans Hagen wrote:

On 2-10-2011 18:16, Thomas A. Schmitz wrote:


the cross-referencing is excellent new, I will have to play with it very
soon! In the meantime, here's something which broke with the October
beta (worked a week ago):


fixed (just a forgotten low level rename)

Hans


Great, I just tried, and it works again! Thanks for the quick fix!

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


Re: [NTG-context] new beta

2011-10-02 Thread Hans Hagen

On 2-10-2011 18:16, Thomas A. Schmitz wrote:


the cross-referencing is excellent new, I will have to play with it very
soon! In the meantime, here's something which broke with the October
beta (worked a week ago):


fixed (just a forgotten low level rename)

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

2011-10-02 Thread Thomas A. Schmitz

On 10/01/2011 11:16 AM, Hans Hagen wrote:

Hi,

I uploaded a new beta. Apart from some fixes the following has been
added/changed. Some are side effects of discussions at the context meeting.

However, the biggest new thing is adapted cross document referencing.
This was already possible but we could not yet load external references
(as in mkii). See

http://www.pragma-ade.com/general/magazines/mag-1103.pdf

for how it works in mkiv. The test files cross-*.tex demonstrate a
couple of things. If one uses the project structure, then one can
process a component of a product and it will pick up references from the
main product as well as (given normal circumstances) start at the right
chapter number and page. Of course this is only a convenience option
(for proofing) as there is a dependency on the state of the parent
product. Given the fact that cross referencing data is spread over
several data structures this was a somewhat complex exercise. As a side
effect the tuc file now uses its own (temporary) namespace.

Hopefully nothing breaks due to these changes.


Hi Hans,

the cross-referencing is excellent new, I will have to play with it very 
soon! In the meantime, here's something which broke with the October 
beta (worked a week ago):


\definelinenote [critical]

\setupnote [critical] 
[rule=off,paragraph=yes,numbercommand=,inbetween=\hskip.5em\vl\hskip0.2em\vl\hskip.5em]

\setupdescriptions[critical] [display=no,location=serried,distance=.5em]

\setuplinenumbering[location=inner,step=5,method=page,style=\tfxx,align=left,distance=0.4em,width=0.4cm]

\starttext

ut \critical{labore et dolore magna aliquyam erat}, sed diam voluptua. At
clita kasd gubergren

\stoptext

linenotes produce this error:

! Undefined control sequence.

system  > tex > error on line 10 in file test.tex: Undefined 
control sequence ...


 1 \definelinenote [critical]
 2
 3 \setupnote [critical] 
[rule=off,paragraph=yes,numbercommand=,inbetween=\hskip.5em\vl\hskip0.2em\vl\hskip.5em]
 4 \setupdescriptions[critical] 
[display=no,location=serried,distance=.5em]

 5
 6 
\setuplinenumbering[location=inner,step=5,method=page,style=\tfxx,align=left,distance=0.4em,width=0.4cm]

 7
 8 \starttext
 9
10 >>  ut \critical{labore et dolore magna aliquyam erat}, sed diam 
voluptua. At

11 clita kasd gubergren
12
13 \stoptext
14


\@@expanded ->\dodosetreference
{line}{lr:b:1}{conversion=numbers}{1}
\mksomelinereference ... }{\the \linerefcounter }}
  \endgroup
\mkstartlinereference ...wstartlinereference {#1}}
  \ignorespaces
\someline [#1]->\mkstartlinereference {#1}
  \mkstoplinereference {#1}
l.10 ...ical{labore et dolore magna aliquyam erat}
  , sed diam voluptua. At

which may have something to do with the new reference management, I guess?

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


Re: [NTG-context] new beta

2011-01-28 Thread Hans Hagen

On 28-1-2011 6:55, Alan BRASLAU wrote:

Hans,

Typing the full path name (in response to the prompt)
satisfies the program, and the installation process proceeds.
Mistyping the file name causes the prompt to be repeated,
so I assume that the file is indeed there.


ok, but is it mentioned in the filedatabase for that tree, the lua file



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

2011-01-27 Thread Alan BRASLAU
Hans,

Typing the full path name (in response to the prompt)
satisfies the program, and the installation process proceeds.
Mistyping the file name causes the prompt to be repeated,
so I assume that the file is indeed there.

Alan

On Thursday 27 January 2011 22:43:09 Hans Hagen wrote:
> On 26-1-2011 3:31, Alan BRASLAU wrote:
> > Here is a log.
> > 
> > Notice the instances of "Please type another input file name:"
> 
> In your log we find:
> 
> resolvers:
>  scanning path '/usr/local/context/beta/tex/texmf-context'
> resolvers:
>  category 'files',
>  cachename '/usr/local/context/beta/tex/texmf-context'
>  saved in
> '/usr/local/context/beta/tex/texmf-cache/luatex-cache/context/78cdaa7631366
> 50bb930fd130bd15f12/trees/b7e28755b4f50587d17e2e62c0899e76.lua'
> 
> (/home/local/context/beta/tex/texmf-context/tex/context/base/catc-ini.mkiv
> <+
> /home/local/context/beta/tex/texmf-context/tex/context/base/catc-ini.lua>)
> ! I can't find file `catc-act.mkiv'.
> 
> Next time that you get this, at this message, you can do the following:
> 
> - check if the file catc-atc.mkiv is actually there
> - look into
> '/usr/local/context/beta/tex/texmf-cache/luatex-cache/context/78cdaa7631366
> 50bb930fd130bd15f12/trees/b7e28755b4f50587d17e2e62c0899e76.lua' and see if
> there is an entry for this file
> 
> The weird thing is that other files are found.
> 
> Hans
___
If your question is of interest to others as well, please add an 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] new beta

2011-01-27 Thread Hans Hagen

On 26-1-2011 3:31, Alan BRASLAU wrote:

Here is a log.

Notice the instances of "Please type another input file name:"


In your log we find:

resolvers:
scanning path '/usr/local/context/beta/tex/texmf-context'
resolvers:
category 'files',
cachename '/usr/local/context/beta/tex/texmf-context'
saved in 
'/usr/local/context/beta/tex/texmf-cache/luatex-cache/context/78cdaa763136650bb930fd130bd15f12/trees/b7e28755b4f50587d17e2e62c0899e76.lua'


(/home/local/context/beta/tex/texmf-context/tex/context/base/catc-ini.mkiv
<+ 
/home/local/context/beta/tex/texmf-context/tex/context/base/catc-ini.lua>)

! I can't find file `catc-act.mkiv'.

Next time that you get this, at this message, you can do the following:

- check if the file catc-atc.mkiv is actually there
- look into 
'/usr/local/context/beta/tex/texmf-cache/luatex-cache/context/78cdaa763136650bb930fd130bd15f12/trees/b7e28755b4f50587d17e2e62c0899e76.lua' 
and see if there is an entry for this file


The weird thing is that other files are found.

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

2011-01-26 Thread Taco Hoekwater


On 01/26/11 22:01, Alan BRASLAU wrote:
> On Wednesday 26 January 2011 19:56:04 Mojca Miklavec wrote:
>>
>> I will rewrite some of the scripts from scratch anyway, but I hope
>> that this should work now. I would have to test whether there is a
>> more elegant way for enforcing some specific type of platform when
>> uname lies.
>>
> 
> Maybe "bash --version" would be more reliable than uname?

If you do something like that, then you may as well do

 $ file /bin/ls

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

2011-01-26 Thread Alan BRASLAU
On Wednesday 26 January 2011 19:56:04 Mojca Miklavec wrote:
> 
> I will rewrite some of the scripts from scratch anyway, but I hope
> that this should work now. I would have to test whether there is a
> more elegant way for enforcing some specific type of platform when
> uname lies.
> 

Maybe "bash --version" would be more reliable than uname?

Alan
___
If your question is of interest to others as well, please add an 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] new beta

2011-01-26 Thread Mojca Miklavec
I think I understand at least part of the problem now.

When I run ./first-setup.sh it runs
/usr/local/texlive/2010/bin/x86_64-darwin/mktexlsr
/usr/local/texlive/2010/bin/x86_64-darwin/mtxrun
instead of mktexlsr and mtxrun from the newly installed distribution.

Is anyone willing to try to change part of first-setup.sh into


Option A (more bullet-proof):
-
CONTEXTROOT="$PWD/tex"

OLDPATH=$PATH

# download or rsync the latest scripts first
rsync -rlptv rsync://contextgarden.net/minimals/setup/$platform/bin .

# download or update the distribution
# you may remove the --context=beta switch if you want to use "current"
export PATH=$PWD/bin:"$CONTEXTROOT/texmf-$platform/bin":$OLDPATH
mtxrun --script ./bin/mtx-update.lua --force --update --engine=all
--context=beta --platform=$platform --texroot="$CONTEXTROOT" $@

export PATH="$CONTEXTROOT/texmf-$platform/bin":$OLDPATH
mtxrun --script ./bin/mtx-update.lua --force --make --engine=all $@
-
Option B:
-
CONTEXTROOT="$PWD/tex"

# download or rsync the latest scripts first
rsync -rlptv rsync://contextgarden.net/minimals/setup/$platform/bin .

# download or update the distribution
# you may remove the --context=beta switch if you want to use "current"
export PATH=$PWD/bin:"$CONTEXTROOT/texmf-$platform/bin":$PATH
mtxrun --script ./bin/mtx-update.lua --force --update --make
--engine=all --context=beta --platform=$platform
--texroot="$CONTEXTROOT" $@
-

and test if that behaves any better?

The problem is that in the first step one doesn't necessary have
mtxrun & luatex at all or they might be too recent, so we have to put
"$PWD/bin/" in front of PATH. However it might be much better to use
(now existing) luatex and mtxrun from $CONTEXTROOT/texmf-$platform/bin
when updating the database and making formats. Later I decided that
one also needs $CONTEXTROOT/texmf-$platform/bin before calling
--update since mktexlsr is also called at the end of update.

I will rewrite some of the scripts from scratch anyway, but I hope
that this should work now. I would have to test whether there is a
more elegant way for enforcing some specific type of platform when
uname lies.

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   >