Re: [NTG-context] [ update message ]

2023-05-07 Thread Hans Hagen via ntg-context

On 5/7/2023 4:47 PM, luigi scarso wrote:



On Sun, 7 May 2023 at 16:05, Hans Hagen via ntg-context 
mailto:ntg-context@ntg.nl>> wrote:


On 5/7/2023 3:18 PM, vm via ntg-context wrote:
 > running the sh install.sh script to update to the latest version
i get a
 > message:
 >
 > /home/vm/context/tex/texmf-linux-64/bin/luatex: unrecognized option
 > '--socket'
 >
 > there is probably a reason for it, context seems to compile just
fine.
ah, ok, so that luatex update even broke the context updater (i didn't
realize that luatex would quit on an unknown option instead of just
ignoring it)


indeed is what happens in this case :  luatex emits  a message
and continues (as the email says:  "...context seems to compile just fine.")

Ah, ok, so as expected, we're fine then (as long as users don't panic).

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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] [ update message ]

2023-05-07 Thread luigi scarso via ntg-context
On Sun, 7 May 2023 at 16:05, Hans Hagen via ntg-context 
wrote:

> On 5/7/2023 3:18 PM, vm via ntg-context wrote:
> > running the sh install.sh script to update to the latest version i get a
> > message:
> >
> > /home/vm/context/tex/texmf-linux-64/bin/luatex: unrecognized option
> > '--socket'
> >
> > there is probably a reason for it, context seems to compile just fine.
> ah, ok, so that luatex update even broke the context updater (i didn't
> realize that luatex would quit on an unknown option instead of just
> ignoring it)
>

indeed is what happens in this case :  luatex emits  a message
and continues (as the email says:  "...context seems to compile just fine.")

--socket is a new option for luatex 1.17.0, where sockets are disabled by
default .


--
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] [ update message ]

2023-05-07 Thread Hans Hagen via ntg-context

On 5/7/2023 3:18 PM, vm via ntg-context wrote:
running the sh install.sh script to update to the latest version i get a 
message:


/home/vm/context/tex/texmf-linux-64/bin/luatex: unrecognized option 
'--socket'


there is probably a reason for it, context seems to compile just fine.
ah, ok, so that luatex update even broke the context updater (i didn't 
realize that luatex would quit on an unknown option instead of just 
ignoring it)


anyway, as there is no way we can deal with such incompatible updates 
out of our control, one can install lmtx which should be fine (and 
likely has the right luatex too, or you can pick up some luatex from the 
compile farm which should work ok with recent scripts)


summary:

- there is a luatex update that breaks context but is needed for other 
macro packages, and in principle such a fundamental incompatinility 
should go along with a context update


- the update therefore needs a patched mtxrun although one never patches 
mtxrun directly unless doing that off-context-zip (it's now how mtxrun 
is created)


- the luat-fmt is the one that should get two "--socket" snippets 
because otherwise a context run can fail in some scenarios


- new observation: older engines might fail with new scripts but I'm not 
going to check for versions (in fact, if we weren't aware of the issue 
contexts would fail everywhere once such an update rolls out)


So .. not much we can do about it other than just manually adapt when a 
situation arises. The good news is that luametatex is unaffected and 
that is what the majority used.


Hans

ps. I assume new luatex binaries have to be put into the old mkiv/mkii 
installers when they ship with a newer script. Kind of a mess.


-
  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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] update

2023-04-27 Thread Max Chernoff via ntg-context
Hi Lynx,

> * How can I be sure that the standalone version is the one being
> implemented?

It depends on what your $PATH is set to. On Linux/macOS, you can run

   $ type -ap context

to list all the ConTeXts in your $PTAH. The first one in that list is
the one that will be ran by default.

If you want to always run the standalone version, then you'll need to
make sure that your ConTeXt directory comes before your TL directory in
your PATH. On Linux/macOS, you'd add something like

   export PATH="/path/to/context/bin/:$PATH"
   
to your ~/.profile; on Windows, you can use the "setx" command. Googling
something like "add location to path" will get you more specific
instructions for your OS/shell.

> * How do I update the standalone version

Just run the installer again. On my system, I run

   $ cd /opt/context
   $ sudo sh ./install.sh

> (I assume that, as of today,
> it is already the most up-to-date version

Correct.

> if and when it is
> required or desired to do so?

You only need to update ConTeXt if a new update fixes a bug that affects
you or adds a new feature that you want. Most updates are announced on
the list, so you could just update whenever you see a new update. Or you
could just try updating once per week. You could also just never update.
Up to you.

The general recommendation is to save an old copy of the ConTeXt folder
before you update in case something breaks. I've never done this before
though since I can usually patch the bugs myself, and I can always fall
back on the version in TL if something is really broken.

-- Max
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update

2023-04-27 Thread lynx--- via ntg-context
Hello, Max: 

As suggested, I have installed the "standalone" version of ConTeXt
alongside my full TeXlive installation. 

Now: 

* How can I be sure that the standalone version is the one being
implemented?
* How do I update the standalone version (I assume that, as of today,
it is already the most up-to-date version--Yes? No?), if and when it is
required or desired to do so?

Lynx 

On 2023-04-27 01:32, Max Chernoff via ntg-context wrote:

> Hi Hans,
> 
>> I actually dont' know the rules for updating texlive but there are
>> definitely updates.
> 
> The rules are:
> 
> - Packages and formats are updated about 24 hours after a new version
> is uploaded to CTAN.
> 
> - Binaries are only updated once-per-year.
> 
> But there are also some special cases:
> 
> - The luatex binary will be updated shortly for "reasons" (details to 
> be made public later).
> 
> - The luametatex binary is allowed to be updated whenever.
> 
> https://tug.org/pipermail/tex-live/2023-March/049058.html
> 
> - I have no idea how ConTeXt is added to TL, but it doesn't appear to 
> be through the usual automatic CTAN sync. 
> 
>> Basically tex live is the yearly snapshot.
> 
> Because you're allowed to update luametatex at will and luatex hardly
> changes, you could update the ConTeXt in TL more than once per year.
> There's no need for it to get as many updates as the standalone
> distribution, but it would be nice to get an update every 3 months or
> so. (I have no idea how much work this is for you+Mojca, so it's maybe
> not worth the effort).
> 
>> But you can just install the lmtx installation alongside (it's small
>> compared to tex live) and have the best of both worlds. The lmtx
>> installation also has mkiv. It also comes with the fonts that match
>> what we expect in context (as fonts get updated or changed).
> 
> Lynx, I'll second this recommendation. The standalone lmtx distribution
> is updated weekly-ish, uses less than 400MB disk space when installed,
> and coexists happily with TL. The only downside is that it doesn't have
> a friendly installation GUI like TL does. Even then, I personally find
> it easier to install than TL.
> 
> Installation instructions:
> 
> https://wiki.contextgarden.net/Installation
> 
> Thanks,
> -- Max
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> __
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update

2023-04-27 Thread Max Chernoff via ntg-context

Hi Hans,

> I actually dont' know the rules for updating texlive but there are
> definitely updates.

The rules are:

 - Packages and formats are updated about 24 hours after a new version
   is uploaded to CTAN.
   
 - Binaries are only updated once-per-year.

But there are also some special cases:

 - The luatex binary will be updated shortly for "reasons" (details to 
   be made public later).
   
 - The luametatex binary is allowed to be updated whenever.

  https://tug.org/pipermail/tex-live/2023-March/049058.html

 - I have no idea how ConTeXt is added to TL, but it doesn't appear to 
   be through the usual automatic CTAN sync. 
   
> Basically tex live is the yearly snapshot.

Because you're allowed to update luametatex at will and luatex hardly
changes, you could update the ConTeXt in TL more than once per year.
There's no need for it to get as many updates as the standalone
distribution, but it would be nice to get an update every 3 months or
so. (I have no idea how much work this is for you+Mojca, so it's maybe
not worth the effort).

> But you can just install the lmtx installation alongside (it's small
> compared to tex live) and have the best of both worlds. The lmtx
> installation also has mkiv. It also comes with the fonts that match
> what we expect in context (as fonts get updated or changed). 

Lynx, I'll second this recommendation. The standalone lmtx distribution
is updated weekly-ish, uses less than 400MB disk space when installed,
and coexists happily with TL. The only downside is that it doesn't have
a friendly installation GUI like TL does. Even then, I personally find
it easier to install than TL.

Installation instructions:

   https://wiki.contextgarden.net/Installation
   
Thanks,
-- Max
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update

2023-04-27 Thread Hans Hagen via ntg-context

On 4/27/2023 7:11 AM, Max Chernoff via ntg-context wrote:

Hi Lynx, Aditya,



New to conTeXt, have not performed a specific update prior to this.

My conTeXt installation is part of TeXlive-2023 (under Linux OS). Will
the updates to ConTeXt be handled by tlmgr ?


No. Usually, texlive updates context once a year.


This is correct in general, but this specific update *will* end up in
TL2023 due to the engine changes that Hans mentioned. It's not in TL
yet, but we're actively working on it, so it should show up within a
week or so (hopefully).
Correction: Luigi and I are still discussing how to make it work because 
there is some init order issue and we want to be sure that context (and 
its scripts) keep working. It would be sort of weird if context (where 
luatex originates) would stop working as expected. Keep in mind that 
luatex is also a lua engine. and I assume that the texlive team also has 
some tests to perform (apart from getting all platforms updated which 
for some is more work, like apple signing).


The issue (disabling socket by default) is not that pressing as socket 
has been with us for right fromn the start) and security wise there are 
plenty ways tex can mess up your system if someone wants.


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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] update

2023-04-27 Thread Hans Hagen via ntg-context

On 4/27/2023 1:54 AM, Jairo A. del Rio via ntg-context wrote:

Hi, Hans. The following happens with the last update:

loading         > ConTeXt Node Macros / Page Building
resolvers       > lua > unknown file 'node-pag.lua'

error loading file: node-pag.lua (aborting)

Indeed, the file is missing in the distribution (there's only 
node-pag.mkxl). Regards

fixed

-
  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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] update

2023-04-27 Thread Hans Hagen via ntg-context

On 4/27/2023 2:50 AM, lynx--- via ntg-context wrote:

Re: performing update(s)

New to conTeXt, have not performed a specific update prior to this.

My conTeXt installation is part of TeXlive-2023 (under Linux OS). Will 
the updates to ConTeXt be handled by tlmgr ?
Basically tex live is the yearly snapshot. I actually dont' know the 
rules for updating texlive but there are definitely updates. But as much 
relates there (like engines shared between macro packages) it can be 
that only macros get updated and not engines (also relates to multiple 
platforms) so fundamental changes to luatex as engine .. hard to predict.


But you can just install the lmtx installation alongside (it's small 
compared to tex live) and have the best of both worlds. The lmtx 
installation also has mkiv. It also comes with the fonts that match what 
we expect in context (as fonts get updated or changed).


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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] update

2023-04-26 Thread Max Chernoff via ntg-context
Hi Lynx, Aditya,


> > New to conTeXt, have not performed a specific update prior to this. 
> > 
> > My conTeXt installation is part of TeXlive-2023 (under Linux OS). Will
> > the updates to ConTeXt be handled by tlmgr ? 
> 
> No. Usually, texlive updates context once a year. 

This is correct in general, but this specific update *will* end up in
TL2023 due to the engine changes that Hans mentioned. It's not in TL
yet, but we're actively working on it, so it should show up within a
week or so (hopefully).

Thanks,
-- Max
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update

2023-04-26 Thread Jairo A. del Rio via ntg-context
This is weird, but documents compile just fine if I comment the following
line in node-pag.mkxl:

\registerctxlua{node-pag}{}

Maybe leftovers from some experiment here?

Best regards.

El mié, 26 abr 2023 a la(s) 21:25, Rik Kabel via ntg-context (
ntg-context@ntg.nl) escribió:

>
> On 2023-04-26 19:54, Jairo A. del Rio via ntg-context wrote:
> > Hi, Hans. The following happens with the last update:
> >
> > loading > ConTeXt Node Macros / Page Building
> > resolvers   > lua > unknown file 'node-pag.lua'
> >
> > error loading file: node-pag.lua (aborting)
> >
> > Indeed, the file is missing in the distribution (there's only
> > node-pag.mkxl). Regards
>
>
> Same here, Windows 11 x64.
>
> --
> Rik
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update

2023-04-26 Thread Rik Kabel via ntg-context


On 2023-04-26 19:54, Jairo A. del Rio via ntg-context wrote:

Hi, Hans. The following happens with the last update:

loading         > ConTeXt Node Macros / Page Building
resolvers       > lua > unknown file 'node-pag.lua'

error loading file: node-pag.lua (aborting)

Indeed, the file is missing in the distribution (there's only 
node-pag.mkxl). Regards



Same here, Windows 11 x64.

--
Rik

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update

2023-04-26 Thread Aditya Mahajan via ntg-context
On Wed, 26 Apr 2023, lynx--- via ntg-context wrote:

> Re: performing update(s) 
> 
> New to conTeXt, have not performed a specific update prior to this. 
> 
> My conTeXt installation is part of TeXlive-2023 (under Linux OS). Will
> the updates to ConTeXt be handled by tlmgr ? 

No. Usually, texlive updates context once a year. 

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update

2023-04-26 Thread lynx--- via ntg-context
Re: performing update(s) 

New to conTeXt, have not performed a specific update prior to this. 

My conTeXt installation is part of TeXlive-2023 (under Linux OS). Will
the updates to ConTeXt be handled by tlmgr ? 

Thanks, 

On 2023-04-26 14:55, Hans Hagen via ntg-context wrote:

> Hi,
> 
> I uploaded a new version with some new features discussed at the end of this 
> mail.
> 
> - A next version of luatex will break context (format making etc) but the 
> change is unavoidable because of other macro package demands wrt security 
> (context does that differently). The low level start up command
> has been adapted so unless you update indepdently thinsg should work ok.  Of 
> course this has no consequences for lmtx.
> 
> - I've done a bit of callback cleanup (like getting rid of some mkiv luatex 
> left-overs). It should have no effect on regular usage.
> 
> - There again a few improvements wrt math (this time dealing with accents 
> artifacts in some fonts). We check all the free math fonts for potential 
> issues and then try to fix it (read: deal with it). It's a lot of work but 
> we're getting there.
> 
> - A few reported buglets have been fixed.
> 
> - The biggest addition is however a new number model. In metapost one can now 
> use 'posit' (positfun instance) as number mode which will use (currently 32 
> bit but at some point 64 bit) posit unums. It's also bit of a playground 
> because 32 bit posits are not more accurate than 64 bit doubles. It anyhow 
> exposed some potential issues that we'll look into.
> 
> - There's also a (again currently 32 bit) posit library at the Lua end as 
> playground.
> 
> - However, 32 bit posits come in handy at the tex end because they pack 
> better accuracy in 32 bits than floats and it makes it possible to have 
> native floats, so we have:
> 
> \newfloat  (uses \floatdef, register like \dimendef is used in \newdimen)
> 
> \newposit  (uses \positdef, like \dimensiondef etc)
> 
> \floatexpr (like \numexpr)
> 
> \iffloat   (like \ifnum) (also \ifabsfloat and i'll add the others too)
> 
> Actually it adds an extra range of registers so it bumps memory usage a bit. 
> I'm considering lowering the number of registers (currently 64K per category) 
> because after all, if 64K is not enough then we can as well stick to 32K or 
> 16K (for some even less). There's always Lua for unlimited storage of 
> quantities.
> 
> So,
> 
> \newfloat\fooA
> 
> \scratchdimen=123.456pt\relax[\type{dim:} 
> \the\scratchdimen==123.456pt]\par
> \fooA=123.456\relax  [\type{pos:} \the\fooA ==123.456]  \par
> \fooA=\scratchdimen\relax[\type{pos:} \the\fooA ==123.456]  \par
> \scratchdimen=\fooA\relax[\type{dim:} 
> \the\scratchdimen==123.456pt]\par
> \scratchdimen\dimexpr\fooA+10pt\relax[\type{dim:} 
> \the\scratchdimen==133.456pt]\par
> 
> produces
> 
> [dim: 123.456pt==123.456pt]
> [pos: 123.45600128173828==123.456]
> [pos: 123.45599365234375==123.456]
> [dim: 123.456pt==123.456pt]
> [dim: 133.456pt==133.456pt]
> 
> As you can see dimens will get mapped onto floats not as integers (scaled 
> points) but in pt units. Counts stay numbers. I need to handle glue too (not 
> yet done).
> 
> In the future I might use this for fractions but there might be some rough 
> ends so for now it's experimental.
> 
> Hans
> 
> -
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl [1] | www.pragma-pod.nl [2]
> -
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___

 

Links:
--
[1] http://www.pragma-ade.nl
[2] http://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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] update

2023-04-26 Thread Jairo A. del Rio via ntg-context
Hi, Hans. The following happens with the last update:

loading > ConTeXt Node Macros / Page Building
resolvers   > lua > unknown file 'node-pag.lua'

error loading file: node-pag.lua (aborting)

Indeed, the file is missing in the distribution (there's only
node-pag.mkxl). Regards

El mié, 26 abr 2023 a la(s) 16:56, Hans Hagen via ntg-context (
ntg-context@ntg.nl) escribió:

> Hi,
>
> I uploaded a new version with some new features discussed at the end of
> this mail.
>
> - A next version of luatex will break context (format making etc) but
> the change is unavoidable because of other macro package demands wrt
> security (context does that differently). The low level start up command
> has been adapted so unless you update indepdently thinsg should work ok.
>   Of course this has no consequences for lmtx.
>
> - I've done a bit of callback cleanup (like getting rid of some mkiv
> luatex left-overs). It should have no effect on regular usage.
>
> - There again a few improvements wrt math (this time dealing with
> accents artifacts in some fonts). We check all the free math fonts for
> potential issues and then try to fix it (read: deal with it). It's a lot
> of work but we're getting there.
>
> - A few reported buglets have been fixed.
>
> - The biggest addition is however a new number model. In metapost one
> can now use 'posit' (positfun instance) as number mode which will use
> (currently 32 bit but at some point 64 bit) posit unums. It's also bit
> of a playground because 32 bit posits are not more accurate than 64 bit
> doubles. It anyhow exposed some potential issues that we'll look into.
>
> - There's also a (again currently 32 bit) posit library at the Lua end
> as playground.
>
> - However, 32 bit posits come in handy at the tex end because they pack
> better accuracy in 32 bits than floats and it makes it possible to have
> native floats, so we have:
>
> \newfloat  (uses \floatdef, register like \dimendef is used in \newdimen)
>
> \newposit  (uses \positdef, like \dimensiondef etc)
>
> \floatexpr (like \numexpr)
>
> \iffloat   (like \ifnum) (also \ifabsfloat and i'll add the others too)
>
> Actually it adds an extra range of registers so it bumps memory usage a
> bit. I'm considering lowering the number of registers (currently 64K per
> category) because after all, if 64K is not enough then we can as well
> stick to 32K or 16K (for some even less). There's always Lua for
> unlimited storage of quantities.
>
> So,
>
> \newfloat\fooA
>
> \scratchdimen=123.456pt\relax[\type{dim:}
> \the\scratchdimen==123.456pt]\par
> \fooA=123.456\relax  [\type{pos:} \the\fooA
> ==123.456]  \par
> \fooA=\scratchdimen\relax[\type{pos:} \the\fooA
> ==123.456]  \par
> \scratchdimen=\fooA\relax[\type{dim:}
> \the\scratchdimen==123.456pt]\par
> \scratchdimen\dimexpr\fooA+10pt\relax[\type{dim:}
> \the\scratchdimen==133.456pt]\par
>
> produces
>
> [dim: 123.456pt==123.456pt]
> [pos: 123.45600128173828==123.456]
> [pos: 123.45599365234375==123.456]
> [dim: 123.456pt==123.456pt]
> [dim: 133.456pt==133.456pt]
>
> As you can see dimens will get mapped onto floats not as integers
> (scaled points) but in pt units. Counts stay numbers. I need to handle
> glue too (not yet done).
>
> In the future I might use this for fractions but there might be some
> rough ends so for now it's experimental.
>
> 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 /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update / punctuation / math

2023-04-02 Thread Pablo Rodriguez via ntg-context
On 4/2/23 14:21, luigi scarso via ntg-context wrote:
> On Sun, 2 Apr 2023 at 13:57, Pablo Rodriguez via ntg-context wrote:
> 
> Well, evince displays it wrong (this is an already known issue with fake
> bold fonts in evince/poppler, reported years ago
> https://gitlab.freedesktop.org/poppler/poppler/-/issues/645).
> 
> hm, 4years ago, quite old... and this is not a fake bold, this is an
> instance of a variable font. 
> But yes, it seems that evince still has the same problem. 

Sorry, Luigi, I meant
http://mailman.ntg.nl/pipermail/ntg-context/attachments/20230401/1f8c6cc9/attachment-0001.pdf.

According to type-imp-concrete.mkiv, text has the feature boldened-10
applied to it.

Even with a variable font (which might not be the case in the link
above), extending the font fakes the bold, such as in:

  \definefontfamily
[mainface]
[rm]
[Source Sans 3 VF]
[features={default, boldened-10}]

  \setupbodyfont[mainface]

  \starttext
  \input zapf
  \stoptext

Evince displays it poorly and this is what happens in the link above.

Pablo
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update / punctuation / math

2023-04-02 Thread luigi scarso via ntg-context
On Sun, 2 Apr 2023 at 13:57, Pablo Rodriguez via ntg-context <
ntg-context@ntg.nl> wrote:

> On 4/2/23 11:19, luigi scarso via ntg-context wrote:
> > On Sun, 2 Apr 2023 at 11:06, Mikael Sundqvist via ntg-context
> > mailto:ntg-context@ntg.nl>> wrote:
> >
> > If you talk about the math font, I do not see what you mean. Daniel
> > has worked a lot on his fonts, and they now work well.
> >
> >
> > indeed the body font is not concrete opentype math but it looks very
> > similar at first sight
>
> Hi Luigi,
>
> according to type-imp-concrete.mkiv, Concrete-Math.otf seems to be only
> used for the math font.
>
> > here evince & mupdf are quite ok (evince somewhat bolder than mupdf),
>
> Well, evince displays it wrong (this is an already known issue with fake
> bold fonts in evince/poppler, reported years ago
> [https://gitlab.freedesktop.org/poppler/poppler/-/issues/645]).
>
>
hm, 4years ago, quite old... and this is not a fake bold, this is an
instance of a variable font.
But yes, it seems that evince still has the same problem.

--
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update / punctuation / math

2023-04-02 Thread Pablo Rodriguez via ntg-context
On 4/2/23 11:19, luigi scarso via ntg-context wrote:
> On Sun, 2 Apr 2023 at 11:06, Mikael Sundqvist via ntg-context
> mailto:ntg-context@ntg.nl>> wrote:
> 
> If you talk about the math font, I do not see what you mean. Daniel
> has worked a lot on his fonts, and they now work well.
> 
> 
> indeed the body font is not concrete opentype math but it looks very
> similar at first sight

Hi Luigi,

according to type-imp-concrete.mkiv, Concrete-Math.otf seems to be only
used for the math font.

> here evince & mupdf are quite ok (evince somewhat bolder than mupdf),

Well, evince displays it wrong (this is an already known issue with fake
bold fonts in evince/poppler, reported years ago
[https://gitlab.freedesktop.org/poppler/poppler/-/issues/645]).

Just in case it might help,

Pablo
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update / punctuation / math

2023-04-02 Thread Mikael Sundqvist via ntg-context
Hi,

On Sun, Apr 2, 2023 at 11:29 AM luigi scarso via ntg-context
 wrote:
>
>
>
> On Sun, 2 Apr 2023 at 10:35, luigi scarso  wrote:
>>
>>
>>
>> On Sat, 1 Apr 2023 at 10:28, Hans Hagen via ntg-context  
>> wrote:
>>>
>>> Hi,
>>>
>>
>> As a side note (it's 2 april now)
>> the concrete font of the pdf  is not rendered well both on web and t on 
>> win/linux desktop .
>> No surprise,  I did some experiments  with mflua years ago and  my results  
>> had the same problem.
>
>
> getting old... the pdf doesn't look so bad as I was used to remember
> https://meeting.contextgarden.net/2017/talks/2017-09-14-luigi-mflua/slides.pdf
>
> So yes , it's the instance of the variable font.

Oh, that looks like a very nice talk, I wish I had been there.

/Mikael
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update / punctuation / math

2023-04-02 Thread luigi scarso via ntg-context
On Sun, 2 Apr 2023 at 10:35, luigi scarso  wrote:

>
>
> On Sat, 1 Apr 2023 at 10:28, Hans Hagen via ntg-context <
> ntg-context@ntg.nl> wrote:
>
>> Hi,
>>
>>
> As a side note (it's 2 april now)
> the concrete font of the pdf  is not rendered well both on web and t on
> win/linux desktop .
> No surprise,  I did some experiments  with mflua years ago and  my
> results  had the same problem.
>

getting old... the pdf doesn't look so bad as I was used to remember
https://meeting.contextgarden.net/2017/talks/2017-09-14-luigi-mflua/slides.pdf

So yes , it's the instance of the variable font.

--
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update / punctuation / math

2023-04-02 Thread luigi scarso via ntg-context
On Sun, 2 Apr 2023 at 11:06, Mikael Sundqvist via ntg-context <
ntg-context@ntg.nl> wrote:

>
> If you talk about the math font, I do not see what you mean. Daniel
> has worked a lot on his fonts, and they now work well.
>

indeed the body font is not concrete opentype math but it looks very
similar at first sight
(of course... ). I was deceived because I remember its shapes quite well (C
,g a ).


>
> If you talk about the text font, Hans changed the concrete typescript
> so that it uses the variable "mono" Latin modern instead of the
> concrete text font that comes from Computer modern unicode. But the
> font is also boldened slightly, and perhaps that is what causes your
> problem (It did look weird on my phone for half a second or so before
> it "got normal"). In okular I see no problems.
>
>
here evince & mupdf are quite ok (evince somewhat bolder than mupdf),
okular looks not so good. They all have a caching-something,
after the first zooms  the pdf is rendered differently.


--
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update / punctuation / math

2023-04-02 Thread Mikael Sundqvist via ntg-context
Hi,

On Sun, Apr 2, 2023 at 10:35 AM luigi scarso via ntg-context
 wrote:
>
>
>
> On Sat, 1 Apr 2023 at 10:28, Hans Hagen via ntg-context  
> wrote:
>>
>> Hi,
>>
>
> As a side note (it's 2 april now)
> the concrete font of the pdf  is not rendered well both on web and t on 
> win/linux desktop .
> No surprise,  I did some experiments  with mflua years ago and  my results  
> had the same problem.
> Is it a known issue?

If you talk about the math font, I do not see what you mean. Daniel
has worked a lot on his fonts, and they now work well.

If you talk about the text font, Hans changed the concrete typescript
so that it uses the variable "mono" Latin modern instead of the
concrete text font that comes from Computer modern unicode. But the
font is also boldened slightly, and perhaps that is what causes your
problem (It did look weird on my phone for half a second or so before
it "got normal"). In okular I see no problems.

/Mikael
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update / punctuation / math

2023-04-02 Thread luigi scarso via ntg-context
On Sat, 1 Apr 2023 at 10:28, Hans Hagen via ntg-context 
wrote:

> Hi,
>
>
As a side note (it's 2 april now)
the concrete font of the pdf  is not rendered well both on web and t on
win/linux desktop .
No surprise,  I did some experiments  with mflua years ago and  my results
had the same problem.
Is it a known issue?

--
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update / punctuation / math

2023-04-01 Thread Alan Braslau via ntg-context
Here in Colorado, we need $\widecowboyhat$.
Of course, care should be taken so that it typeset properly in
right-to-left as well.

Alan


On Sat, 1 Apr 2023 10:27:41 +0200
Hans Hagen via ntg-context  wrote:

> Hi,
> 
> There have been some mails about punctuation spacing and a fix was
> added to the engine that related to that. As tests showed it to be
> okay so we made an update. It took a bit longer than normal because
> we were in the middle of some other math stuff: additional fonts and
> extensibles.
> 
> Daniel Flipo maintains a few math fonts (like concrete, xcharter, 
> erewhon, kp, euler) and the last few weeks more extensive support for 
> extensibles was added and concrete became quite nice too, so these
> fonts make a nice benchmark. As they are part of the lmtx install and
> we made sure to support them.
> 
> In the process we adapted our 2023 roadmap of which part is attached
> (we included an example end then decided to show of concrete).
> 
> When we go through the process of 'upgrading' we noticed some 
> interesting names for symbols and 'constructs'. Quite some come from 
> plain and/or amsmath (in the past taco and aditya did some porting to 
> context) and we're not always sure if something is really used (or
> even what it was intended for) so if you notice something weird or
> missing, let us know. Examples are welcome too. It might also be that
> something can go away because it's obsolete or never needed (so far
> we could resist te kick-out-symbole-name temptation when it comes to
> symbol names that we think no sane user can remember or imagine to be
> there).
> 
> When often add extra tests to the test suite (math subsection).
> 
> Hans & Mikael
> 
> ps. Alan and I are still messing around with some cross referencing. 
> That code is still experimental and can have issues that we're
> looking at but hard to nail down (huge complex cross-referencing
> documents). More about that later.
> 
> ==
> 
> We added the tex of the pdf below
> 
> == extract from roadmap ==
> 
> \usemodule[article-basic,abbreviations-logos]
> 
> \setupbodyfont[concrete]
> 
> \starttext
> 
> \startsubject[title=Math in \CONTEXT\ roadmap]
> 
> \startitemize[n]
> 
> \startitem
>  After playing with math support for more than a year, we have
> come to the
>  conclusion that it is time to move on. We have already discarded
> italic correction and now are replacing rules with extensibles. Much
> was already in
>  place (and applied) but experiences with type one antykwas made
> us review
>  some \OPENTYPE\ fonts. Not using rules makes some of them look 
> better. The
>  effect is subtle and probably not \AMS\ compliant, but we think 
> that it will
>  work out well for simple math like fractions of decimal numbers.
>  Consequently, we have added to our shrinking to-do list the
> burden to investigate whether we can remove those obsolete code paths
> from the engine.
>  After all, who needs italic correction, who prefers ugly rules
> to beautiful
>  glyphs, and who understands all these font parameters?
> Furthermore, after all
>  these years, we don't expect \OPENTYPE\ font and \UNICODE\ math 
> technologies
>  to improve much; we don't know if \MICROSOFT\ is developing
> their technology
>  further at all. Therefore, we are confident that what we are
> doing is the way
>  it should have been done when math was upgraded. Hopefully users 
> will notice
>  the improvements.
> \stopitem
> 
> \startitem
>  Math also means physics and units (that topic was brought up 
> recently on the
>  list by Gavin). Therefore, because we're in cleanup mode, we
> decided to eliminate some more. With \ISO\ now in place for a long
> time, we are going to
>  ignore the existence of the inch as unit from now on. The unit
> will probably
>  remain in the engine for nostalgic reasons, but it will no be 
> accepted in
>  MWE. Instead, we will provide some more modern, culturally
> correct, kid-friendly units that we will use in examples, manuals and
> such. Because
>  the four-person strong team dealing with this wants to avoid
> making mistakes,
>  we will go through a careful and scientifically sound process of 
> calibration
>  first, using a selected tex savvy audience. We expect these new 
> units to be
>  stable a month from now. Believe it or not, in the process of 
> documenting all
>  this, we found a buglet in the new math dimension spacing, so it 
> has already
>  paid off. Expect to hear more in a month or so, and enjoy your 
> inches as long
>  as you still can. In case you wonder how this relates to math
> other than
>  mentioned: the math subsystem has 'mu' as adaptive unit, and
> that inspired is
>  to come up with one for text (in addition to two new more or
> less fixed units).
> \stopitem
> 
> \startitem
>  The math family model is a fundamental concept in \TEX\ 

Re: [NTG-context] update / punctuation / math

2023-04-01 Thread Willi Egger via ntg-context
Cute, as always today :-)

Willi

> On 1 Apr 2023, at 10:27, Hans Hagen via ntg-context  
> wrote:
> 
> Hi,
> 
> There have been some mails about punctuation spacing and a fix was added to 
> the engine that related to that. As tests showed it to be okay so we made an 
> update. It took a bit longer than normal because we were in the middle of 
> some other math stuff: additional fonts and extensibles.
> 
> Daniel Flipo maintains a few math fonts (like concrete, xcharter, erewhon, 
> kp, euler) and the last few weeks more extensive support for extensibles was 
> added and concrete became quite nice too, so these fonts make a nice 
> benchmark. As they are part of the lmtx install and we made sure to support 
> them.
> 
> In the process we adapted our 2023 roadmap of which part is attached (we 
> included an example end then decided to show of concrete).
> 
> When we go through the process of 'upgrading' we noticed some interesting 
> names for symbols and 'constructs'. Quite some come from plain and/or amsmath 
> (in the past taco and aditya did some porting to context) and we're not 
> always sure if something is really used (or even what it was intended for) so 
> if you notice something weird or missing, let us know. Examples are welcome 
> too. It might also be that something can go away because it's obsolete or 
> never needed (so far we could resist te kick-out-symbole-name temptation when 
> it comes to symbol names that we think no sane user can remember or imagine 
> to be there).
> 
> When often add extra tests to the test suite (math subsection).
> 
> Hans & Mikael
> 
> ps. Alan and I are still messing around with some cross referencing. That 
> code is still experimental and can have issues that we're looking at but hard 
> to nail down (huge complex cross-referencing documents). More about that 
> later.
> 
> ==
> 
> We added the tex of the pdf below
> 
> == extract from roadmap ==
> 
> \usemodule[article-basic,abbreviations-logos]
> 
> \setupbodyfont[concrete]
> 
> \starttext
> 
> \startsubject[title=Math in \CONTEXT\ roadmap]
> 
> \startitemize[n]
> 
> \startitem
>After playing with math support for more than a year, we have come to the
>conclusion that it is time to move on. We have already discarded italic
>correction and now are replacing rules with extensibles. Much was already 
> in
>place (and applied) but experiences with type one antykwas made us review
>some \OPENTYPE\ fonts. Not using rules makes some of them look better. The
>effect is subtle and probably not \AMS\ compliant, but we think that it 
> will
>work out well for simple math like fractions of decimal numbers.
>Consequently, we have added to our shrinking to-do list the burden to
>investigate whether we can remove those obsolete code paths from the 
> engine.
>After all, who needs italic correction, who prefers ugly rules to beautiful
>glyphs, and who understands all these font parameters? Furthermore, after 
> all
>these years, we don't expect \OPENTYPE\ font and \UNICODE\ math 
> technologies
>to improve much; we don't know if \MICROSOFT\ is developing their 
> technology
>further at all. Therefore, we are confident that what we are doing is the 
> way
>it should have been done when math was upgraded. Hopefully users will 
> notice
>the improvements.
> \stopitem
> 
> \startitem
>Math also means physics and units (that topic was brought up recently on 
> the
>list by Gavin). Therefore, because we're in cleanup mode, we decided to
>eliminate some more. With \ISO\ now in place for a long time, we are going 
> to
>ignore the existence of the inch as unit from now on. The unit will 
> probably
>remain in the engine for nostalgic reasons, but it will no be accepted in
>MWE. Instead, we will provide some more modern, culturally correct,
>kid-friendly units that we will use in examples, manuals and such. Because
>the four-person strong team dealing with this wants to avoid making 
> mistakes,
>we will go through a careful and scientifically sound process of 
> calibration
>first, using a selected tex savvy audience. We expect these new units to be
>stable a month from now. Believe it or not, in the process of documenting 
> all
>this, we found a buglet in the new math dimension spacing, so it has 
> already
>paid off. Expect to hear more in a month or so, and enjoy your inches as 
> long
>as you still can. In case you wonder how this relates to math other than
>mentioned: the math subsystem has 'mu' as adaptive unit, and that inspired 
> is
>to come up with one for text (in addition to two new more or less fixed
>units).
> \stopitem
> 
> \startitem
>The math family model is a fundamental concept in \TEX\ but we think we can
>do without. First of all, \OPENTYPE\ math fonts have (design) script and
>scriptscript sizes built in, so for that we have 

Re: [NTG-context] update

2023-02-24 Thread Otared Kavian via ntg-context
Hi Hans,

Thank you very much for the new update.

Everything seem to work like a charm. In particular I played with the 
\underbrace and \overbrace when adding something under the \underbrace, or 
above the \overbrace, like in 

\startformula
\overbrace{1+x^2+a}^{= -1} +
\underbrace{ax^2 + bx + c}_{=2} = 1
\stopformula

and it works great !

Best regards : Otared

> On 23 Feb 2023, at 22:07, Hans Hagen via ntg-context  
> wrote:
> 
> Hi,
> 
> I uploaded a new version. We further improved Antykwa support,
> 
> \switchtobodyfont[antykwa]
> 
> \startTEXpage[offset=1dk]
>\im{
>f' = f'' = f''' = f =
>a + b + \ldots + c +
>\overbar{x} + \overbar{S} + \bar{x} + \widebar{x}
>}
> 
>\im{
>\fenced[doublebar]{x} =
>\fenced[doublebar][size=1]{x_1} =
>\fenced[doublebar][size=2]{x_2} =
>\fenced[doublebar][size=3]{x_3} =
>\fenced[doublebar][size=4]{x_4} =
>\fenced[doublebar]{\blackrule[width=1cm,height=1cm]}
>}
> 
>\im{
>\fenced[bar]{x} =
>\fenced[bar][size=1]{x_1} =
>\fenced[bar][size=2]{x_2} =
>\fenced[bar][size=3]{x_3} =
>\fenced[bar][size=4]{x_4} =
>\fenced[bar]{\blackrule[width=1cm,height=1cm]}
>}
> 
>\im{
>\fenced[brace]{x} =
>\fenced[brace][size=1]{x_1} =
>\fenced[brace][size=2]{x_2} =
>\fenced[brace][size=3]{x_3} =
>\fenced[brace][size=4]{x_4} =
>\fenced[brace]{\blackrule[width=1cm,height=1cm]}
>}
> 
>\im{
>\root[4]{1+x^2+a} +
>\frac{1}{1+x^2+a} +
>\overparent{1+x^2+a} +
>\overbrace{1+x^2+a} +
>\overparent{x} +
>\overbrace{x} +
>\overbrace{i}
>}
> 
> \stopTEXpage
> 
> 
> This time with fancy radical bars, fraction bars, vertical bars, over and 
> underbars 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 / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___

Otared Kavian
e-mail: ota...@gmail.com
Phone: +33 6 88 26 70 95




___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update old MP code

2022-09-01 Thread Henning Hraban Ramm via ntg-context

Am 01.09.22 um 18:45 schrieb Taco Hoekwater:




On 1 Sep 2022, at 18:28, Henning Hraban Ramm via ntg-context 
 wrote:

Am 01.09.22 um 15:40 schrieb Taco Hoekwater:

Adding grouping makes sense:


def Moire(expr size)(text densities)=

begingroup
endgroup
As that at least makes it an expression instead of a statement list.
But also depthless() is never defined?


Oops, I forgot to copy that part (confusing source...)

It still doesn’t compile:


Missing definition of “width()”, from this line:



  xs := width(q)-width(p);


Adding that should do the trick.


YES, thank you!

I never know which function is part of MetaPost/MetaFun, my editor’s 
syntax highlighting is incomplete...


Hraban


moireetest.tex
Description: TeX document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update old MP code

2022-09-01 Thread Taco Hoekwater via ntg-context


> On 1 Sep 2022, at 18:28, Henning Hraban Ramm via ntg-context 
>  wrote:
> 
> Am 01.09.22 um 15:40 schrieb Taco Hoekwater:
>> Adding grouping makes sense:
>>> 
>>> def Moire(expr size)(text densities)=
>> begingroup
>> endgroup
>> As that at least makes it an expression instead of a statement list.
>> But also depthless() is never defined?
> 
> Oops, I forgot to copy that part (confusing source...)
> 
> It still doesn’t compile:

Missing definition of “width()”, from this line:

> 
>  xs := width(q)-width(p);

Adding that should do the trick.

Best wishes.

Taco

— 
Taco Hoekwater  E: t...@bittext.nl
genderfluid (all pronouns)



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update old MP code

2022-09-01 Thread Henning Hraban Ramm via ntg-context

Am 01.09.22 um 15:40 schrieb Taco Hoekwater:

Adding grouping makes sense:


def Moire(expr size)(text densities)=


begingroup
endgroup

As that at least makes it an expression instead of a statement list.

But also depthless() is never defined?


Oops, I forgot to copy that part (confusing source...)

It still doesn’t compile:

---

\setupbodyfont[plex,ss,8bp]

\startreusableMPgraphic{moiree}
% 1994 by Bogusław Jackowski (GUST)
defaultfont := "\truefontname{Sans}";
pickup pencircle scaled 0.3bp;

defaultscale := .8;
linecap := butt;
labeloffset := 1.5bp;
defaultthickness:=.3bp; % 5 pixels at 1200 dpi

% tertiarydef p ulshiftedto s = p shifted (s-ulcorner(p)) enddef;

vardef depthless(expr p) =
 save p_; picture p_;
 p_:=p if string p: infont defaultfont scaled defaultscale fi;
 setbounds p_ to (xpart(llcorner p_),0)--(xpart(lrcorner p_),0)--
  urcorner(p_)--ulcorner(p_)--cycle;
 p_
enddef;

def Moire(expr size)(text densities)=
  begingroup
  save dn,a,b,k,labit,n,p,q,s,xs;
  n := 32;
  dn := 0;
  for i := densities:
d[incr dn] := abs(i);
if i>1: labit[dn]:=1; fi
  endfor
  a := min(d[1],d[dn]);
  b := max(d[1],d[dn]);
  image(
for i=-n upto n:
 draw (0,i*in/a)--(size,i*in/b);
  %withpen pencircle scaled 3/5defaultthickness;
endfor
for i=1 upto dn:
  k:=(a/d[i]-1)/(a/b-1);
  if known labit[i]:
string s; s:=decimal(d[i]); xs:=0;
picture p,q; q := p := depthless(s);
if i=dn:
  q := depthless(s & "  lpi");
  xs := width(q)-width(p);
fi
label.top(q, (k*size+1/2xs, n*in/a+1.5mm));
  fi
  draw (k*size, n*in/a+1.5mm)--(k*size, k[n*in/a,n*in/b]+.5mm);
  draw (k*size, -n*in/a-1.5mm)--(k*size, -k[n*in/a,n*in/b]-.5mm);
endfor
  )
  endgroup;
enddef;
draw Moire(57.5mm)(200, 175, 150, 125, 100, 75);
% ulshiftedto (142mm, 38.5mm);
\stopreusableMPgraphic

\starttext
\reuseMPgraphic{moiree}
\stoptext



moireetest.tex
Description: TeX document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update old MP code

2022-09-01 Thread Taco Hoekwater via ntg-context
Hi Hraban,

Adding grouping makes sense:
> 
> def Moire(expr size)(text densities)=

begingroup

>  save dn,a,b,k,labit,n,p,q,s,xs;
>  n := 32;
>  dn := 0;
>  for i := densities:
>d[incr dn] := abs(i);
>if i>1: labit[dn]:=1; fi
>  endfor
>  a := min(d[1],d[dn]);
>  b := max(d[1],d[dn]);
>  image(
>for i=-n upto n:
> draw (0,i*in/a)--(size,i*in/b);
>  %withpen pencircle scaled 3/5defaultthickness;
>endfor
>for i=1 upto dn:
>  k:=(a/d[i]-1)/(a/b-1);
>  if known labit[i]:
>string s; s:=decimal(d[i]); xs:=0;
>picture p,q; q := p := depthless(s);
>if i=dn:
>  q := depthless(s & "  lpi");
>  xs := width(q)-width(p);
>fi
>label.top(q, (k*size+1/2xs, n*in/a+1.5mm));
>  fi
>  draw (k*size, n*in/a+1.5mm)--(k*size, k[n*in/a,n*in/b]+.5mm);
>  draw (k*size, -n*in/a-1.5mm)--(k*size, -k[n*in/a,n*in/b]-.5mm);
>endfor
>  )

endgroup

> enddef;
> draw Moire(57.5mm)(200, 175, 150, 125, 100, 75);
> % ulshiftedto (142mm, 38.5mm);
> \stopreusableMPgraphic


As that at least makes it an expression instead of a statement list.

But also depthless() is never defined?

— 
Taco Hoekwater  E: t...@bittext.nl
genderfluid (all pronouns)



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update

2022-08-05 Thread Jeong Dal via ntg-context
Dear Hans, Mikael,

The alignment problem which occurred when I put aligned formulas and a figure 
side by side is solved.

Thank you for the update.

Best regards,

Dalyoung


> On Aug 5, 2022, at 6:52 PM, Hans Hagen via ntg-context  
> wrote:
> 
> Hi,
> 
> I uploaded a new lmtx that fixes a few math issues reported.
> 
> 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 / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update

2022-08-05 Thread Hans Hagen via ntg-context

On 8/5/2022 4:37 PM, Aditya Mahajan via ntg-context wrote:

Hi,

I cannot view the onandon.pdf manual. pdfinfo says that it a malformed PDF.
bah, probably i ran some test .. some code there only works in older 
luametatex .. (keep in mind that i seldom run these manuals as a whole 
so sometimes the tex file are newer than the pdf document) .. esp the 
history documnents are sensitive for experimental features that evolve 
(i had to comment the fences chapter because we now have neater mechanism)


i pushed an update (hopefully better; you shoulkd be able to process the 
files but math exmaples might not what is discussed due to the updates 
we did)


as you're in update mode, here is something to play with .. i bet you 
can figure it out without documentation (and if you have input on this 
for us ... you're welcome)


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
-\pushoverloadmode

\immutable\Umathdictdef\vdash 1 \mathbinarylogicaldictionary  "22A2 
\mathrelationcode 0 "22A2
\immutable\Umathdictdef\leq   1 \mathbinaryrelationdictionary "2264 
\mathrelationcode 0 "2264
\immutable\Umathdictdef\geq   1 \mathbinaryrelationdictionary "2265 
\mathrelationcode 0 "2265

\startluacode
mathematics.dictionaries.registercharacter("binary logical", 
0x22A2,"implies")
mathematics.dictionaries.registercharacter("binary 
relation",0x2264,"less or equal")
mathematics.dictionaries.registercharacter("binary 
relation",0x2265,"greater or equal")
\stopluacode

\immutable\Umathdictdef\ndivides 1 \mathbinaryarithmicdictionary "2224 
\mathbinarycode   0 "2224
\immutable\Umathdictdef\nmid 1 \mathbinaryrelationdictionary "2224 
\mathrelationcode 0 "2224

\startluacode
mathematics.dictionaries.registercharacter("binary 
arithmic",0x2224,"don't divide")
mathematics.dictionaries.registercharacter("binary 
relation",0x2224,"undivided")
\stopluacode

\popoverloadmode


%definecolor[dictionary:default]
\definecolor[dictionary:binary arithmic]   [r=.5]
%definecolor[dictionary:binary linear algebra]
\definecolor[dictionary:binary logical][r=.5,b=.5]
\definecolor[dictionary:binary relation]   [g=.5]
%\definecolor[dictionary:binary set]
%definecolor[dictionary:constant arithmic]
\definecolor[dictionary:constant set]  [s=.5]
%definecolor[dictionary:differential]
%definecolor[dictionary:integral]
%definecolor[dictionary:interval]
%definecolor[dictionary:lambda]
%definecolor[dictionary:limit]
\definecolor[dictionary:nary arithmic] [r=.5,g=.5]
%definecolor[dictionary:nary constructor]
%definecolor[dictionary:nary functional]
%definecolor[dictionary:nary linear algebra]
%definecolor[dictionary:nary logical]
%definecolor[dictionary:nary minmax]
\definecolor[dictionary:nary relation] [b=.5]
%definecolor[dictionary:nary set list]
%definecolor[dictionary:nary set relation]
%definecolor[dictionary:nary set]
%definecolor[dictionary:nary statistics]
%definecolor[dictionary:partial]
%definecolor[dictionary:product]
%definecolor[dictionary:quantifier]
%definecolor[dictionary:unary arithmic]
%definecolor[dictionary:unary elementary]
%definecolor[dictionary:unary functional]
%definecolor[dictionary:unary linear algebra]
%definecolor[dictionary:unary logical]
%definecolor[dictionary:unary set]
%definecolor[dictionary:unary vector]

%mathdictproperties \plusone
\mathdictgroup  \mathdefaultdictionary

\enabletrackers[math.dictionaries]

\starttext

\definemathgroupset[demoa][binary arithmic,nary relation]
\definemathgroupset[demob][binary relation,nary relation]

% \tracingmath2 \tracingonline2 \showmakeup[mathglue]

\startbuffer[a]
$ a \leq b \geq c < d > e = \naturalnumbers = ℕ$
\stopbuffer

\getbuffer[a] \blank

\startbuffer[b]
$ a \ndivides b \nmid c ^ {a \ndivides b \nmid c} + d ∤ e \times f > g × h - i $
\stopbuffer

{\setmathgroupset[binary arithmic]\getbuffer[b]} \blank
{\setmathgroupset[binary relation]\getbuffer[b]} \blank

{\setmathgroupset[demoa]\getbuffer[b]} \blank
{\setmathgroupset[demob]\getbuffer[b]} \blank

{\setmathgroupset[demoa]\getbuffer[a]} \blank
{\setmathgroupset[demob]\getbuffer[a]} \blank

\stoptext


dictionaries-001.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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net

Re: [NTG-context] update

2022-08-05 Thread Henning Hraban Ramm via ntg-context

Am 05.08.22 um 11:52 schrieb Hans Hagen via ntg-context:

Hi,

I uploaded a new lmtx that fixes a few math issues reported.


Thank you!
I could also remove the workaround for \underbar etc., still checking 
other areas...


Hraban
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update

2022-08-05 Thread Aditya Mahajan via ntg-context
Hi,

I cannot view the onandon.pdf manual. pdfinfo says that it a malformed PDF. 

Aditya

On Fri, 5 Aug 2022, Hans Hagen via ntg-context wrote:

> Hi,
> 
> I uploaded a new lmtx that fixes a few math issues reported.
> 
> 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 /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___
> 
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] update lmtx

2021-11-26 Thread Hans Hagen via ntg-context

On 11/26/2021 11:10 AM, Alain Delmotte via ntg-context wrote:

Hi!

Le 22/11/2021 à 22:37, Hans Hagen via ntg-context a écrit :

Hi,

We're still working on the math so updated lfg files buit not many 
other things apart from a few fixes.


In the process I ran into another area where ms eems to take the lead:

https://devblogs.microsoft.com/math-in-office/unicode-math-braille-sequences/ 



and although it aims at msword I gave that a go for context so we now 
have a "braille-basic" module (style) that we (can) use (and run as 
demo) for playing with math spacing because we basically have a 
monospace font. If there is any interest in braille as alternative 
output we can extend that. I'm pretty sure that we need to adapt some 
(general spacing related) presets to this situation.


Hans


I remember having contact with people in the braille association in Belgium.
To prepare braille text you need to follow certain rules, it is not just 
using braille symbols.


sure, there are subtle details (leading chars and so) and there's also 
some 'shortcut' system


So it is better to ask braille specialist about the requirements for 
good braille text.

I'll wait and see what demands show up ... at least some basics are there.

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] update lmtx

2021-11-26 Thread Alain Delmotte via ntg-context

  
  
Hi!

Le 22/11/2021 à 22:37, Hans Hagen via
  ntg-context a écrit :

Hi,
  
  
  We're still working on the math so updated lfg files buit not many
  other things apart from a few fixes.
  
  
  In the process I ran into another area where ms eems to take the
  lead:
  
  
https://devblogs.microsoft.com/math-in-office/unicode-math-braille-sequences/
  
  
  and although it aims at msword I gave that a go for context so we
  now have a "braille-basic" module (style) that we (can) use (and
  run as demo) for playing with math spacing because we basically
  have a monospace font. If there is any interest in braille as
  alternative output we can extend that. I'm pretty sure that we
  need to adapt some (general spacing related) presets to this
  situation.
  
  
  Hans
  

I remember having contact with people in the braille association
  in Belgium.
  To prepare braille text you need to follow certain rules, it is
  not just using braille symbols. 

So it is better to ask braille specialist about the requirements
  for good braille text.
Alain



  

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

2021-11-25 Thread Hans Hagen via ntg-context

On 11/25/2021 12:22 PM, Alain Delmotte via ntg-context wrote:

Hi,

In the new upload for Windows 10/64 there is a new file "modules.bat".

When I did launch it it went through all my harddisk and most of the 
time there was a line saying:


"File has vanished..." those were about files outside the context-lmtx 
folder. (See the two attached images)


I crashed the action.
afaik there is no modules.bat file and looking at your screen shots i 
see all kind of files that are not in lmtx so something fishy is 
happening on your machine


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] update lmtx

2021-11-25 Thread Alain Delmotte via ntg-context

  
  
Hi,
In the new upload for Windows 10/64
there is a new file "modules.bat".
When I did launch it it went through
all my harddisk and most of the time there was a line saying:
"File has vanished..." those were
about files outside the context-lmtx folder. (See the two
attached images)
  
I crashed the action.
How can I have the modules installed
in "C:\Users\Alain\context-lmtx\tex" and have the module use
working?
Thanks,
Alain
  
Le 22/11/2021 à 22:37, Hans Hagen via
  ntg-context a écrit :

Hi,
  
  
  We're still working on the math so updated lfg files buit not many
  other things apart from a few fixes.
  
  
  In the process I ran into another area where ms eems to take the
  lead:
  
  
https://devblogs.microsoft.com/math-in-office/unicode-math-braille-sequences/
  
  
  and although it aims at msword I gave that a go for context so we
  now have a "braille-basic" module (style) that we (can) use (and
  run as demo) for playing with math spacing because we basically
  have a monospace font. If there is any interest in braille as
  alternative output we can extend that. I'm pretty sure that we
  need to adapt some (general spacing related) presets to this
  situation.
  
  
  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] Update error on Raspberry Pi

2021-10-16 Thread Mojca Miklavec via ntg-context
Hi,

On Sat, 16 Oct 2021 at 23:28, Mojca Miklavec wrote:
>
> For some completely mysterious reason the new ISP's modem doesn't like
> the virtual machine running Debian 10 and I have no clue how to
> convince it to get network connectivity back.

Off-topic, but ... one hour afo the following comment was posted:
https://github.com/utmapp/UTM/issues/2280#issuecomment-945006193
and I discovered that an upgrade (still in beta) of the VM software
I'm using addressed two burning issues at the same time:
- they claim to have fixed some IPv6-related bug (and the network
magically works again)
- they now support auto-startup of VMs

So the situation with RPi support should hopefully become a tiny bit
better from this point on.
(Maybe the "old" modem, the one I received this summer, didn't have
proper IPv6 support.)

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


Re: [NTG-context] Update error on Raspberry Pi

2021-10-16 Thread Mojca Miklavec via ntg-context
Hi,

On Sat, 16 Oct 2021 at 22:43, J. Hagen via ntg-context wrote:
>
> Looks like the pi bins and an osx one are behind (mojca then needs to kick 
> those vm's) ... I 'll check it tomorrow.

I'm sorry, the new binaries have been uploaded to the usual place
(Hans probably needs to regenerate the packages before they can be
used out-of-the-box again).

For some completely mysterious reason the new ISP's modem doesn't like
the virtual machine running Debian 10 and I have no clue how to
convince it to get network connectivity back.

(After reading the initial email from Luis I decided to try to connect
the main computer via my phone's hotspot and that worked, but I need
to find a permanent solution. Maybe I'll just set up some hardware
again. It's much slower than the VM, but better than not working at
all.)

Mojca

> Op 16 okt. 2021 15:12 schreef Luis Montgomery via ntg-context 
> :
>
> Hi,
> I try to update LMTX and the script sends me this error:
>
>
> resolvers   > lua > loading file 
> '/home/monty/context/tex/texmf-context/tex/context/base/mkxl/spac-par.lmt' 
> succeeded
> tex error   > tex error on line 41 in file spac-par.mkxl: Undefined 
> control sequence \undefined
>
> 
>   + \shapingpenaltiesfrozenparcode
>
> 
> 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.
>
> What has changed here?
>
> L. Montgomery
___
If your question is of interest to others as well, please add an 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] Update error on Raspberry Pi

2021-10-16 Thread J. Hagen via ntg-context
Looks like the pi bins and an osx one are behind (mojca then needs to kick those vm's) ... I 'll check it tomorrow.Op 16 okt. 2021 15:12 schreef Luis Montgomery via ntg-context :Hi,I try to update LMTX and the script sends me this error:resolvers       > lua > loading file '/home/monty/context/tex/texmf-context/tex/context/base/mkxl/spac-par.lmt' succeededtex error       > tex error on line 41 in file spac-par.mkxl: Undefined control sequence \undefined        + \shapingpenaltiesfrozenparcodeThe 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.What has changed here?L. Montgomery
___
If your question is of interest to others as well, please add an 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] update

2021-09-13 Thread Hans Hagen via ntg-context

On 9/13/2021 10:14 PM, Henning Hraban Ramm wrote:



Am 13.09.2021 um 11:12 schrieb Hans Hagen :

On 9/13/2021 10:37 AM, Henning Hraban Ramm wrote:

Am 13.09.2021 um 10:07 schrieb Hans Hagen via ntg-context :

Hi,

I uploaded a new lmtx (had forgotten to to it friday) . There are not that many 
visible changes but on is that i'm playing with some 'improvements' to inserts. 
Hopefully there are no side effects but the idea is to have somewhat better 
(more robust and predictable) support for e.g. footnotes in situations that are 
not natural to tex (like columns). The first mechanism to benefit from that is 
page columns but all that is a stepwise process. I keep track of that in yet 
another lowlevel manual. These column things are on the agenda for next month 
and beyond.

(In a next upload the new marking and tabulate optimization might become 
default but for now i test that locally.)

Hi, thank you!
I’m looking forward to these improvements, even if they won’t be in effect for 
my talk in Bassenge.
Running a project with this version, I get tons of messages like:
4:10:  
\penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 
1
4:10:  
\glue[userskip][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 0.0pt 
plus 0.83287pt minus 0.41644pt
4:10:  
\penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 
1
4:10:  \glyph[32768][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1], hyphenationmode 
"79F3F, options "80, font <36: lmmono10-regular @ 10.0pt>, glyph U+70 p
4:10:  
\penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 
1
Is this some debugging leftover or am I supposed to understand what’s wrong? ;)

hm, what command triggers that?


I don’t know yet. It seems to start in the middle of a section title in the 
first chapter of my book.


Oveefull boxes?


The footnotes unfortunately became only worse so far – often they’re 
overprinted by the running text, even without columns or grid.

I’ll try to come up with good examples, but this week is quite stuffed.

Ok.

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

2021-09-13 Thread Henning Hraban Ramm via ntg-context

> Am 13.09.2021 um 11:12 schrieb Hans Hagen :
> 
> On 9/13/2021 10:37 AM, Henning Hraban Ramm wrote:
>>> Am 13.09.2021 um 10:07 schrieb Hans Hagen via ntg-context 
>>> :
>>> 
>>> Hi,
>>> 
>>> I uploaded a new lmtx (had forgotten to to it friday) . There are not that 
>>> many visible changes but on is that i'm playing with some 'improvements' to 
>>> inserts. Hopefully there are no side effects but the idea is to have 
>>> somewhat better (more robust and predictable) support for e.g. footnotes in 
>>> situations that are not natural to tex (like columns). The first mechanism 
>>> to benefit from that is page columns but all that is a stepwise process. I 
>>> keep track of that in yet another lowlevel manual. These column things are 
>>> on the agenda for next month and beyond.
>>> 
>>> (In a next upload the new marking and tabulate optimization might become 
>>> default but for now i test that locally.)
>> Hi, thank you!
>> I’m looking forward to these improvements, even if they won’t be in effect 
>> for my talk in Bassenge.
>> Running a project with this version, I get tons of messages like:
>> 4:10:  
>> \penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1]
>>  1
>> 4:10:  
>> \glue[userskip][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 
>> 0.0pt plus 0.83287pt minus 0.41644pt
>> 4:10:  
>> \penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1]
>>  1
>> 4:10:  
>> \glyph[32768][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1], 
>> hyphenationmode "79F3F, options "80, font <36: lmmono10-regular @ 10.0pt>, 
>> glyph U+70 p
>> 4:10:  
>> \penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1]
>>  1
>> Is this some debugging leftover or am I supposed to understand what’s wrong? 
>> ;)
> hm, what command triggers that?

I don’t know yet. It seems to start in the middle of a section title in the 
first chapter of my book.

The footnotes unfortunately became only worse so far – often they’re 
overprinted by the running text, even without columns or grid.

I’ll try to come up with good examples, but this week is quite stuffed.

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

2021-09-13 Thread Garulfo via ntg-context

  
  

> Hopefully there are no side effects but the idea is to have somewhat
> better (more robust and predictable) support for e.g. footnotes in 
> situations that are not natural to tex (like columns). The first 
> mechanism to benefit from that is page columns but all that is a
> stepwise process. I keep track of that in yet another lowlevel manual.
> These column things are on the agenda for next month and beyond.


Good news, thank you very much ! 
I'm fond of typesetting in columns (with footnotes and margin notes)


Garulfo




  

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

2021-09-13 Thread Hans Hagen via ntg-context

On 9/13/2021 10:37 AM, Henning Hraban Ramm wrote:



Am 13.09.2021 um 10:07 schrieb Hans Hagen via ntg-context :

Hi,

I uploaded a new lmtx (had forgotten to to it friday) . There are not that many 
visible changes but on is that i'm playing with some 'improvements' to inserts. 
Hopefully there are no side effects but the idea is to have somewhat better 
(more robust and predictable) support for e.g. footnotes in situations that are 
not natural to tex (like columns). The first mechanism to benefit from that is 
page columns but all that is a stepwise process. I keep track of that in yet 
another lowlevel manual. These column things are on the agenda for next month 
and beyond.

(In a next upload the new marking and tabulate optimization might become 
default but for now i test that locally.)


Hi, thank you!

I’m looking forward to these improvements, even if they won’t be in effect for 
my talk in Bassenge.


Running a project with this version, I get tons of messages like:

4:10:  
\penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 
1
4:10:  
\glue[userskip][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 0.0pt 
plus 0.83287pt minus 0.41644pt
4:10:  
\penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 
1
4:10:  \glyph[32768][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1], hyphenationmode 
"79F3F, options "80, font <36: lmmono10-regular @ 10.0pt>, glyph U+70 p
4:10:  
\penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 
1

Is this some debugging leftover or am I supposed to understand what’s wrong? ;)

hm, what command triggers that?


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

2021-09-13 Thread Henning Hraban Ramm via ntg-context

> Am 13.09.2021 um 10:07 schrieb Hans Hagen via ntg-context 
> :
> 
> Hi,
> 
> I uploaded a new lmtx (had forgotten to to it friday) . There are not that 
> many visible changes but on is that i'm playing with some 'improvements' to 
> inserts. Hopefully there are no side effects but the idea is to have somewhat 
> better (more robust and predictable) support for e.g. footnotes in situations 
> that are not natural to tex (like columns). The first mechanism to benefit 
> from that is page columns but all that is a stepwise process. I keep track of 
> that in yet another lowlevel manual. These column things are on the agenda 
> for next month and beyond.
> 
> (In a next upload the new marking and tabulate optimization might become 
> default but for now i test that locally.)

Hi, thank you!

I’m looking forward to these improvements, even if they won’t be in effect for 
my talk in Bassenge.


Running a project with this version, I get tons of messages like:

4:10:  
\penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 
1
4:10:  
\glue[userskip][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 0.0pt 
plus 0.83287pt minus 0.41644pt
4:10:  
\penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 
1
4:10:  \glyph[32768][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1], 
hyphenationmode "79F3F, options "80, font <36: lmmono10-regular @ 10.0pt>, 
glyph U+70 p
4:10:  
\penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 
1

Is this some debugging leftover or am I supposed to understand what’s wrong? ;)

Hraban
___
If your question is of interest to others as well, please add an 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] Update setpath to set the path

2021-05-10 Thread Hans Hagen

On 5/10/2021 9:18 AM, Thangalin wrote:


One of the benefits of context minimals is that you can install
multiple versions in parallel, which allows the user to update
frequently without the risk of breaking something for long-term
projects. Specifically, you can keep a "frozen" version of context
for long-term projects and install a newer version in parallel for
newer projects.


For sure! My environment looks as follows:

export CONTEXT_HOME=/opt/context
export PATH="$PATH:...:$CONTEXT_HOME/tex/texmf-linux-64/bin:..."

The /opt/context directory is a symbolic link, which eases switching 
between versions: I seldom have to change the environment variables 
settings.


So, your suggestions should be included as a separate script and not
as part of the default. Then there is the question of providing an
uninstall script as well...


Using a ConTeXt-specific environment variable (e.g., LMTX_HOME) would 
make uninstalling a matter of removing it from the PATH and registry (on 
Windows, anyway). Here are the current instructions:


https://github.com/DaveJarvis/keenwrite/blob/master/docs/typesetting.md#windows 



Is there a way we can eliminate steps 3 - 6 for Windows installs?
if one starts up mtxrun or context with a fully quallified path it will 
work ok (because it then knows where it sits in the tex tree), like


c:\data\context\tex\texmf-win64\bin\mtxrun --script context ...

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] Update setpath to set the path

2021-05-10 Thread Thangalin
> One of the benefits of context minimals is that you can install multiple
> versions in parallel, which allows the user to update frequently without
> the risk of breaking something for long-term projects. Specifically, you
> can keep a "frozen" version of context for long-term projects and install a
> newer version in parallel for newer projects.
>

For sure! My environment looks as follows:

export CONTEXT_HOME=/opt/context
export PATH="$PATH:...:$CONTEXT_HOME/tex/texmf-linux-64/bin:..."

The /opt/context directory is a symbolic link, which eases switching
between versions: I seldom have to change the environment variables
settings.

So, your suggestions should be included as a separate script and not as
> part of the default. Then there is the question of providing an uninstall
> script as well...
>

Using a ConTeXt-specific environment variable (e.g., LMTX_HOME) would make
uninstalling a matter of removing it from the PATH and registry (on
Windows, anyway). Here are the current instructions:

https://github.com/DaveJarvis/keenwrite/blob/master/docs/typesetting.md#windows

Is there a way we can eliminate steps 3 - 6 for Windows installs?
___
If your question is of interest to others as well, please add an 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] Update setpath to set the path

2021-05-10 Thread Aditya Mahajan
On Sun, 9 May 2021, Thangalin wrote:

> Thoughts on updating the setpath.bat file to persist setting the path?
> 
> Here's an updated version that sets the system environment variable while
> preserving the existing unexpanded PATH value:
> 
> [] 
>
> The reason for this change is because the Windows installation instructions
> (on the wiki) are incomplete: technically, the user must run setpath.bat
> for each new session. 

This is how setuptex works on linux as well. 

> This implies that any third-party program that wants
> to make use of ConTeXt on Windows would have to communicate said fact to
> the user, or let the user set the full path to ConTeXt within the
> third-party program. Both of these can be avoided by persisting the PATH
> setting across sessions.

One of the benefits of context minimals is that you can install multiple 
versions in parallel, which allows the user to update frequently without the 
risk of breaking something for long-term projects. Specifically, you can keep a 
"frozen" version of context for long-term projects and install a newer version 
in parallel for newer projects. 

So, your suggestions should be included as a separate script and not as part of 
the default. Then there is the question of providing an uninstall script as 
well...

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Update setpath to set the path

2021-05-09 Thread Thangalin
Here's a version that persits the current user's PATH (i.e., not
system-wide):

rem SOF
@echo off
set "OWNPATH=%~dp0"
set "PLATFORM=mswin"

if defined ProgramFiles(x86)set "PLATFORM=win64"
if "%PROCESSOR_ARCHITECTURE%"=="AMD64"  set "PLATFORM=win64"
if exist "%OWNPATH%tex\texmf-mswin\bin\context.exe" set "PLATFORM=mswin"
if exist "%OWNPATH%tex\texmf-win64\bin\context.exe" set "PLATFORM=win64"

set "TeXPath=%OWNPATH%tex\texmf-%PLATFORM%\bin"

echo %PATH% | findstr "texmf-%PLATFORM%" > nul

rem Only update the PATH if not previously updated
if ERRORLEVEL 1 (
  setlocal enabledelayedexpansion
  set "Exists=false"
  set "Key=HKCU\Environment"

  for /F "USEBACKQ tokens=2*" %%A in (`reg query %%Key%% /v PATH 2^>nul`)
do (
if not "%%~B" == "" (
  set "Exists=true"

  rem Preserve the existing PATH
  echo %%B > currpath.txt

  rem Change the PATH environment variable
  setx PATH "%%B;%TeXPath%"
)
  )

  rem The user-defined PATH does not exist, create it
  if "!Exists!" == "false" (
rem Change the user PATH environment variable
setx PATH "%TeXPath%"
  )

  endlocal

  rem Update the current session
  set "PATH=%PATH%;%TeXPath%"
)
rem EOF
___
If your question is of interest to others as well, please add an 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] Update for old computers

2020-12-20 Thread Hans Hagen

On 12/19/2020 9:53 PM, Alain Delmotte wrote:

When there is an update of lmtx, is it for all versions (Windows, Linux 
and x32 and x64)?

I have an old laptop running Linux (16.04) but it is x86 32bits.
I can use it for lmtx, even it this one is not updated as regularly as 
the Windowsx64 on my main computer.

I just want to know when I should update the Linux version.
You can just try it as parallel installation. Mojca's farm also breeds 
the 32 bit binaries. Because luametatex is leaner on memory and less 
demanding wrt the cpu, if luatex works, luametatex should also work.


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] Update luatex for linuxmusl-64 platform in standalone distribution

2020-12-12 Thread Mojca Miklavec
On Sat, 12 Dec 2020 at 10:30, Martin Hasoň wrote:
>
> Hi all,
>
> would it be possible to update luatex for the linuxmusl-64 platform, please?

I updated the binary, testing/feedback would be appreciated.

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


Re: [NTG-context] Update luatex for linuxmusl-64 platform in standalone distribution

2020-12-12 Thread Hans Hagen

On 12/12/2020 10:30 AM, Martin Hasoň wrote:

Hi all,

would it be possible to update luatex for the linuxmusl-64 platform, 
please?The current version 
(http://minimals.contextgarden.net/setup/linuxmusl-64/bin/ 
) ends with 
error:


 > This is LuaTeX, Version 1.09.2 (TeX Live 2019/dev)  (INITEX)
 > system commands enabled.
 > (/usr/share/tex/texmf-context/tex/context/base/mkiv/cont-en.mkiv 
(/usr/share/tex/texmf-context/tex/context/base/mkiv/context.mkiv 
(/usr/share/tex/texmf-context/tex/context/base/mkiv/syst-ini.mkiv) : 
Your luatex binary is too old, you need at least version 1.10!))

 >  121 words of node memory still in use:
 >    11 glue_spec nodes
 >    avail lists: 2:2,5:1
 > No pages of output.

In Dockerfile for alpine linux https://github.com/minidocks/context 
, I fixed this bug by downloading 
the latest version from https://github.com/TeX-Live/luatex 
.

you can can get those bins from:

https://dl.contextgarden.net/build/luatex/x86_64-linuxmusl/luatex


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] Update problems

2019-01-07 Thread Alan Braslau
On Mon, 7 Jan 2019 18:57:41 +0100
Hans Hagen  wrote:

> looking at this pdf file it makes sense to save as pdf from 
> illustrator because now you basically use the illustrator edit file 
> (with a lot of crap in it) and also some versioning (i suspect that the 
> xref is also bad so then you depend on recovering capabilities of readers)

I have worked with a large number of Adobe Illustrator files and have found 
that one *must* save them as PDFs in order for them to be reliably used 
anywhere outside of the Adobe world. One need not use Illustrator, for opening 
the .ai file in Adobe Reader and then saving it as a .pdf gets rid of all of 
the editing crap that is embedded.

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

Re: [NTG-context] Update problems

2019-01-07 Thread luigi scarso
On Mon, Jan 7, 2019 at 6:47 PM Weber, Matthias  wrote:

>
> I still don’t know what’s going on with PDF inclusion. The ones that cause
> trouble are kind of old (from 2005), and I could “upgrade”
>
>  fixing it now
-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] Update problems

2019-01-07 Thread Hans Hagen

On 1/7/2019 6:47 PM, Weber, Matthias wrote:

Update:

The page setup works after Hans’ fix. Thanks, that was a relief.
I still don’t know what’s going on with PDF inclusion. The ones that cause 
trouble are kind of old (from 2005), and I could “upgrade”


we found the reason

but anyway, looking at this pdf file it makes sense to save as pdf from 
illustrator because now you basically use the illustrator edit file 
(with a lot of crap in it) and also some versioning (i suspect that the 
xref is also bad so then you depend on recovering capabilities of readers)



Them manually and things work now for this document. I have others that might 
cause problems, too. Unfortunately, the error message only tells which page 
couldn’t be flushed but not what figure is causing issues. Going through a 
hundred figures and trying whether they work is somewhat painful.

A more verbose error message would be helpful, or a hint what has changed with 
pdf import.

only the library, not in the way inclusion works

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] Update problems

2019-01-07 Thread Weber, Matthias
Update:

The page setup works after Hans’ fix. Thanks, that was a relief.
I still don’t know what’s going on with PDF inclusion. The ones that cause 
trouble are kind of old (from 2005), and I could “upgrade”
Them manually and things work now for this document. I have others that might 
cause problems, too. Unfortunately, the error message only tells which page 
couldn’t be flushed but not what figure is causing issues. Going through a 
hundred figures and trying whether they work is somewhat painful.

A more verbose error message would be helpful, or a hint what has changed with 
pdf import.

Thanks,

Matthias

> On Jan 7, 2019, at 11:26 AM, Weber, Matthias  wrote:
> 
> Dear List,
> 
> After a while I decided updating my ConTeXt installation to ConTeXt  ver: 
> 2019.01.07 10:07 MKIV beta  fmt: 2019.1.7.
> 
> With an old document of mine I ran into two issues so far: Some of my old pdf 
> images are not accepted as figures anymore.
> 
> Example:
> 
> \starttext
> \externalfigure[cardioid.pdf][width=1.5in]{Cardioid}
> \stoptext
> Using the following pdf which is version 1.4 
> 
> 
> More recent PDFs (1.5)seem to work.
> 
> Secondly, paper setup seems to require a new kind of massage.
> 
> \setuppapersize[S6][S6]
> 
> \starttext
> \dorecurse{10}{\input knuth}
> \input knuth
> \stoptext
> 
> produces
> 
> 
> On the other hand, the garden version looks ok. What could be wrong on my end?
> 
> Thanks!
> 
> Matthias___
> If your question is of interest to others as well, please add an 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] update/install error

2016-09-24 Thread Mikael P. Sundqvist
On Sat, Sep 24, 2016 at 1:17 PM, Csikos Bela  wrote:
> Hans Hagen  írta:
>>On 9/24/2016 12:51 PM, Jean-Pierre Delange wrote:
>>> Hello list !
>>> There is no problem updating CTX under Linux Ubuntu
>>> 5.4.0-6ubuntu1~16.04.2, kernel 4.4.0-38-generic;
>>>
>>> I've updated yesterday evening, without error :
>>> mtx-context | ConTeXt Process Management 0.63
>>> mtx-context |
>>> mtx-context | main context file:
>>> /home/adeimantos/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv
>>
>>i fixed it (it was a dependency on the engine)
>
> Thanks Hans for the quick fix.
> It works now.
>
> bcsikos
> ___
> If your question is of interest to others as well, please add an 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
> ___

Indeed, many thanks for the quick fix, Hans!

/Mikael
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] update/install error

2016-09-24 Thread Csikos Bela
Hans Hagen  írta:
>On 9/24/2016 12:51 PM, Jean-Pierre Delange wrote:
>> Hello list !
>> There is no problem updating CTX under Linux Ubuntu
>> 5.4.0-6ubuntu1~16.04.2, kernel 4.4.0-38-generic;
>>
>> I've updated yesterday evening, without error :
>> mtx-context | ConTeXt Process Management 0.63
>> mtx-context |
>> mtx-context | main context file:
>> /home/adeimantos/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv
>
>i fixed it (it was a dependency on the engine)

Thanks Hans for the quick fix.
It works now.

bcsikos
___
If your question is of interest to others as well, please add an 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] update/install error

2016-09-24 Thread Hans Hagen

On 9/24/2016 12:51 PM, Jean-Pierre Delange wrote:

Hello list !
There is no problem updating CTX under Linux Ubuntu
5.4.0-6ubuntu1~16.04.2, kernel 4.4.0-38-generic;

I've updated yesterday evening, without error :
mtx-context | ConTeXt Process Management 0.63
mtx-context |
mtx-context | main context file:
/home/adeimantos/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv


i fixed it (it was a dependency on the engine)

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

Re: [NTG-context] update/install error

2016-09-24 Thread Jean-Pierre Delange

Hello list !
There is no problem updating CTX under Linux Ubuntu 
5.4.0-6ubuntu1~16.04.2, kernel 4.4.0-38-generic;


I've updated yesterday evening, without error :
mtx-context | ConTeXt Process Management 0.63
mtx-context |
mtx-context | main context file: 
/home/adeimantos/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv

mtx-context | current version: 2016.09.12 18:27



Le 24/09/2016 à 12:28, Pablo Rodriguez a écrit :

Hi Mikael,

I can confirm the same error when updating standalone.

Just in case it helps,


Pablo


On 09/23/2016 10:12 PM, Mikael P. Sundqvist wrote:

Hi, trying to update (running standalone, updating with

sh ./first-setup.sh --update

it runs for a while, and then halts on:

lua error   > lua error on line 74 in file
/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/mkiv/node-rul.mkiv:

...eXt/tex/texmf-context/tex/context/base/mkiv/node-rul.lua:369: table
index is nil
stack traceback:
...eXt/tex/texmf-context/tex/context/base/mkiv/node-rul.lua:369: in
function 'code'
...eXt/tex/texmf-context/tex/context/base/mkiv/util-lua.lua:84: in
function 'loadedluacode'
...eXt/tex/texmf-context/tex/context/base/mkiv/luat-env.lua:104: in
function 'luafilechunk'
...eXt/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua:45: in
function 'registercode'
[ctxlua]:1: in main chunk

64 %D to deal with local settings at the \TEX\ end and remembering
parameters
65 %D at the \LUA\ end. We might do things differently now, but as
settings normally
66 %D don't change that often, we're not in a hurry to do that
now. The problem at
67 %D the \LUA\ end is that we don't know when to clean up.
68
69 \unprotect
70
71 %definesystemattribute[ruled]
72 %definesystemattribute[shifted]
73
74 >>  \registerctxluafile{node-rul}{1.001}
75
76 \installcorenamespace{bar}
77 \installcorenamespace{barindex}
78 \installcorenamespace{barattribute}
79 \installcorenamespace{barstack}
80
81 \installcommandhandler \??bar {bar} \??bar
82
83 \newtoks\t_node_rules_checklist
84

The same happens when I try to install in a fresh directory.

This happens on a ubuntu machine where the standalone usually works very well.

Best regards, Mikael




___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] update/install error

2016-09-24 Thread Pablo Rodriguez
Hi Mikael,

I can confirm the same error when updating standalone.

Just in case it helps,


Pablo


On 09/23/2016 10:12 PM, Mikael P. Sundqvist wrote:
> Hi, trying to update (running standalone, updating with
> 
> sh ./first-setup.sh --update
> 
> it runs for a while, and then halts on:
> 
> lua error   > lua error on line 74 in file
> /home/mickep/ConTeXt/tex/texmf-context/tex/context/base/mkiv/node-rul.mkiv:
> 
> ...eXt/tex/texmf-context/tex/context/base/mkiv/node-rul.lua:369: table
> index is nil
> stack traceback:
> ...eXt/tex/texmf-context/tex/context/base/mkiv/node-rul.lua:369: in
> function 'code'
> ...eXt/tex/texmf-context/tex/context/base/mkiv/util-lua.lua:84: in
> function 'loadedluacode'
> ...eXt/tex/texmf-context/tex/context/base/mkiv/luat-env.lua:104: in
> function 'luafilechunk'
> ...eXt/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua:45: in
> function 'registercode'
> [ctxlua]:1: in main chunk
> 
> 64 %D to deal with local settings at the \TEX\ end and remembering
> parameters
> 65 %D at the \LUA\ end. We might do things differently now, but as
> settings normally
> 66 %D don't change that often, we're not in a hurry to do that
> now. The problem at
> 67 %D the \LUA\ end is that we don't know when to clean up.
> 68
> 69 \unprotect
> 70
> 71 %definesystemattribute[ruled]
> 72 %definesystemattribute[shifted]
> 73
> 74 >>  \registerctxluafile{node-rul}{1.001}
> 75
> 76 \installcorenamespace{bar}
> 77 \installcorenamespace{barindex}
> 78 \installcorenamespace{barattribute}
> 79 \installcorenamespace{barstack}
> 80
> 81 \installcommandhandler \??bar {bar} \??bar
> 82
> 83 \newtoks\t_node_rules_checklist
> 84
> 
> The same happens when I try to install in a fresh directory.
> 
> This happens on a ubuntu machine where the standalone usually works very well.
> 
> Best regards, Mikael


-- 
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] Update server appears to be down

2016-07-06 Thread Mojca Miklavec
On 4 July 2016 at 17:38, Marco Patzer wrote:
> Hi (Mojca?)
>
> The contextgarden update server appears to be down:
>
>   rsync rsync://contextgarden.net
>   rsync: failed to connect to contextgarden.net (193.2.4.200): Connection 
> refused (111)
>   rsync: failed to connect to contextgarden.net (2001:1470:ff80:88::80:c): 
> Network is unreachable (101)
>   rsync error: error in socket IO (code 10) at clientserver.c(128) 
> [Receiver=3.1.1]
>
> Just notifying in case you're not aware. If the URL changed please
> let me know so I can correct my update scripts.

As already explained in another email, the admin did an OS upgrade on
Monday on a short notice and I wasn't online to send a notice to
others. But I believe the outage was short enough and hopefully all
should be back to normal.

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] Update text variables inside metapost

2015-03-08 Thread Hans Hagen

On 3/8/2015 12:57 AM, Aditya Mahajan wrote:

On Sat, 7 Mar 2015, DesdeChaves wrote:


Why the metapost not updated the value of text variables that are
generated
inside luacode environment?

In the code below, If I have \startitemize[columns,two] then metapost
draw:

1. \Bolha[size=6cm]{text1}{text2}{text3},
2. and four  \Bolha[size=4cm]{text1}{text2}{text3}, but text1, text2 and
text3 is not updated in every call;


Use useMPgraphic instead of uniqueMPgraphic.

uniqueMPgraphic recomputes the graphic only when the dimensions of
figure has changed; otherwise, it reuses the previously drawn graphic.
This behavior was useful for drawing page-backgrounds etc in MkII where
calling metapost was slow.


not only dimensions, also the overlay related colors (and if needed one 
can extend the hash used) .. an other advantage (also in mkiv) is that 
reuse also makes the pdf file smaller


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] Update text variables inside metapost

2015-03-07 Thread DesdeChaves
Aditaya, thanks for the clarification. Now it works perfectly.

Jorge

2015-03-07 23:57 GMT+00:00 Aditya Mahajan adit...@umich.edu:

 On Sat, 7 Mar 2015, DesdeChaves wrote:

  Why the metapost not updated the value of text variables that are
 generated
 inside luacode environment?

 In the code below, If I have \startitemize[columns,two] then metapost
 draw:

 1. \Bolha[size=6cm]{text1}{text2}{text3},
 2. and four  \Bolha[size=4cm]{text1}{text2}{text3}, but text1, text2 and
 text3 is not updated in every call;


 Use useMPgraphic instead of uniqueMPgraphic.

 uniqueMPgraphic recomputes the graphic only when the dimensions of figure
 has changed; otherwise, it reuses the previously drawn graphic. This
 behavior was useful for drawing page-backgrounds etc in MkII where calling
 metapost was slow.

 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
 
 ___




-- 
Atentamente

DesdeChaves
___
If your question is of interest to others as well, please add an 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] Update text variables inside metapost

2015-03-07 Thread Aditya Mahajan

On Sat, 7 Mar 2015, DesdeChaves wrote:


Why the metapost not updated the value of text variables that are generated
inside luacode environment?

In the code below, If I have \startitemize[columns,two] then metapost draw:

1. \Bolha[size=6cm]{text1}{text2}{text3},
2. and four  \Bolha[size=4cm]{text1}{text2}{text3}, but text1, text2 and
text3 is not updated in every call;


Use useMPgraphic instead of uniqueMPgraphic.

uniqueMPgraphic recomputes the graphic only when the dimensions of figure 
has changed; otherwise, it reuses the previously drawn graphic. This 
behavior was useful for drawing page-backgrounds etc in MkII where calling 
metapost was slow.


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] Update overwrites configuration

2014-02-26 Thread Thangalin
Hi,

http://wiki.contextgarden.net/Custom_Configuration is now merged with
http://wiki.contextgarden.net/texmf.cnf.

Please review, correct anything I might have missed, and then delete
the texmf.cnf page (the new page is a bit more search-friendly as the
words configure and directory are present).
___
If your question is of interest to others as well, please add an 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] Update overwrites configuration

2014-02-25 Thread Mojca Miklavec
On Tue, Feb 25, 2014 at 7:53 AM, Thangalin wrote:
 http://wiki.contextgarden.net/Custom_Configuration

 Thank you, Mojca.

 I couldn't find an existing configuration wiki page that discussed the
 items in your email, Mojca. If configuring directories and variables
 exists on the wiki, please let me know where to find it and I'll merge
 the documentation.

An old related page is at
http://wiki.contextgarden.net/texmf.cnf

The file texmf.cnf is used by pdfTeX, XeTeX (Mark II), MetaPost and
basically all other engines, while texmfcnf.lua is used by
ConTeXt+LuaTeX (Make IV, Mark VI).

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] Update overwrites configuration

2014-02-24 Thread Mojca Miklavec
On Tue, Feb 25, 2014 at 3:55 AM, Thangalin wrote:
 Hi,

 1. Edit .../tex/texmf/web2c/texmfcnf.lua
 2. Set TEXMFCACHE = /var/cache/context/texmf-cache
 3. Run first-setup.sh to update ConTeXt.

Create a file texmfcnf.lua next to setuptex for example (that is: in
root of the installation) and set the variable there.

That is:

return {
  content = {
variables = {
  TEXMFCACHE = /var/cache/context/texmf-cache,
},
  },
}

 Expected Results
 TEXMFCACHE remains /var/cache/context/texmf-cache

 Actual Results
 TEXMFCACHE reverts to $SELFAUTOPARENT/texmf-cache

No, reverting to the original value is expected. If you want to modify
some variables, just place texmfcnf.lua (or texmf.cnf) somewhere else
and only put the differences there. The allowed locations for
texmfcnf.lua are determined by the variable TEXMFCNF being set in
texk/kpathsea/texmf.cnf in luatex sources:

TEXMFCNF = {\
$SELFAUTOLOC,\
$SELFAUTOLOC/share/texmf-local/web2c,\
$SELFAUTOLOC/share/texmf-dist/web2c,\
$SELFAUTOLOC/share/texmf/web2c,\
$SELFAUTOLOC/texmf-local/web2c,\
$SELFAUTOLOC/texmf-dist/web2c,\
$SELFAUTOLOC/texmf/web2c,\
\
$SELFAUTODIR,\
$SELFAUTODIR/share/texmf-local/web2c,\
$SELFAUTODIR/share/texmf-dist/web2c,\
$SELFAUTODIR/share/texmf/web2c,\
$SELFAUTODIR/texmf-local/web2c,\
$SELFAUTODIR/texmf-dist/web2c,\
$SELFAUTODIR/texmf/web2c,\
\
$SELFAUTOGRANDPARENT/texmf-local/web2c,\
$SELFAUTOPARENT,\
\
$SELFAUTOPARENT/share/texmf-local/web2c,\
$SELFAUTOPARENT/share/texmf-dist/web2c,\
$SELFAUTOPARENT/share/texmf/web2c,\
$SELFAUTOPARENT/texmf-local/web2c,\
$SELFAUTOPARENT/texmf-dist/web2c,\
$SELFAUTOPARENT/texmf/web2c\
}

 (c) user should be prompted to overwrite changed configuration values;
 (d) user should be prompted to accept overwriting each new value; or
 (e) a backup of the configuration file should be made, followed by a
 message that the changes have been overwritten and previous values
 archived.

No changes that you make to texmf/, texmf-context/, texmf-modules/ or
texmf-yourplatform/ will ever be preserved. You need to use other
texmf trees for that (like texmf-local for example).

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] Update overwrites configuration

2014-02-24 Thread Thangalin
http://wiki.contextgarden.net/Custom_Configuration

Thank you, Mojca.

I couldn't find an existing configuration wiki page that discussed the
items in your email, Mojca. If configuring directories and variables
exists on the wiki, please let me know where to find it and I'll merge
the documentation.
___
If your question is of interest to others as well, please add an 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] update fails

2014-01-06 Thread Hans Hagen

On 1/5/2014 6:36 PM, Roland Thiers wrote:

Hi everybody,
First of all, my best wishes of a very happy new year to all users of this list 
!

I used to update context standalone with the script ctx-update :

cd /Users/rolandthiers/context
rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh
../first-setup.sh --modules=all --engine=luatex

Usually the update runs well, no problem. But the last time it did not work.
I've got this message :

This went wrong: 
...67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui:107: bad bytecode 
register
This is LuaTeX, Version beta-0.78.0-2013123119 (rev 4704)
  \write18 enabled.
..
*
  cont-yes.mkiv
? Assertion failed: (kpse-program_name), function kpathsea_var_value, file 
../../../source/texk/kpathsea/variable.c, line 36.

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

My system :   Mac OS X 10.6.8 .
Could someone tell me what happens or what mistake I did ?


no clue ... kpse is not used in context mkiv so there should not be such 
a message; it looks like a bad binary or maybe you need to do a context 
--make explicitly


also, don't use ctx-update but first-update in the minimal root

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] update fails

2014-01-06 Thread Roland Thiers

Le 6 janv. 2014 à 10:36, Hans Hagen a écrit :

 On 1/5/2014 6:36 PM, Roland Thiers wrote:
 Hi everybody,
 First of all, my best wishes of a very happy new year to all users of this 
 list !
 
 I used to update context standalone with the script ctx-update :
 
 cd /Users/rolandthiers/context
 rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh
 ../first-setup.sh --modules=all --engine=luatex
 
 Usually the update runs well, no problem. But the last time it did not work.
 I've got this message :
 
 This went wrong: 
 ...67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui:107: bad 
 bytecode register
 This is LuaTeX, Version beta-0.78.0-2013123119 (rev 4704)
  \write18 enabled.
 ..
 *
  cont-yes.mkiv
 ? Assertion failed: (kpse-program_name), function kpathsea_var_value, file 
 ../../../source/texk/kpathsea/variable.c, line 36.
 
 mtx-context | fatal error: no return code, message: luatex: execution 
 interrupted
 
 My system :   Mac OS X 10.6.8 .
 Could someone tell me what happens or what mistake I did ?
 
 no clue ... kpse is not used in context mkiv so there should not be such a 
 message; it looks like a bad binary or maybe you need to do a context --make 
 explicitly
 
 also, don't use ctx-update but first-update in the minimal root
 
 Hans
Thanks very much Hans ! I did a context --make and everything is working well 
again !
Roland
___
If your question is of interest to others as well, please add an 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] Update ConTeXt into TL2010...

2010-09-22 Thread luigi scarso
On Wed, Sep 22, 2010 at 3:11 PM, Jaroslav Hajtmar hajt...@gyza.cz wrote:
 Hello,
 Is there anyone who updated ConTeXt MkIV in TL2010? Is there more
 information about how this can be done safely? (where you copy and what to
 run ...)
The best and only way to run mkiv is minimals, not texlive;
texlive is ok for mkii (as also minimals, anyway).




-- 
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] Update ConTeXt into TL2010...

2010-09-22 Thread Mojca Miklavec
On Wed, Sep 22, 2010 at 15:11, Jaroslav Hajtmar wrote:
 Hello,
 Is there anyone who updated ConTeXt MkIV in TL2010? Is there more
 information about how this can be done safely? (where you copy and what to
 run ...)

You may use
tlmgr update --all
but this will only update some minor trivial fixes (for example I just
commited fixes for Antykwa Poltawskiego after the font has been
released).

If you want to have the latest ConTeXt, you also need to update
luatex, but also some other tools have changed since TL release.

I would suggest to install minimals if you want the latest ConTeXt ...
or at least wait for Taco's new server. Apart from that you are free
to put the latest ConTeXt into texmf-local, replace luatex binary with
the one from minimals and update mtxrun script manually. It is not
nice  clean to do it, but it should work. (If anything breaks badly,
you might end up installing from scratch, but well ...)

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Update ConTeXt into TL2010... Ctx in TL2010 Ctx minimals simultaneously

2010-09-22 Thread Jaroslav Hajtmar

Thanx... Mojca
Will simultaneously use the ConTeXt minimals and ConTeXt  in the TL2010?
Does anyone with experience? I'd hate to spoil the installation

Jaroslav



Dne 22.9.2010 15:31, Mojca Miklavec napsal(a):

On Wed, Sep 22, 2010 at 15:11, Jaroslav Hajtmar wrote:
   

Hello,
Is there anyone who updated ConTeXt MkIV in TL2010? Is there more
information about how this can be done safely? (where you copy and what to
run ...)
 

You may use
 tlmgr update --all
but this will only update some minor trivial fixes (for example I just
commited fixes for Antykwa Poltawskiego after the font has been
released).

If you want to have the latest ConTeXt, you also need to update
luatex, but also some other tools have changed since TL release.

I would suggest to install minimals if you want the latest ConTeXt ...
or at least wait for Taco's new server. Apart from that you are free
to put the latest ConTeXt into texmf-local, replace luatex binary with
the one from minimals and update mtxrun script manually. It is not
nice  clean to do it, but it should work. (If anything breaks badly,
you might end up installing from scratch, but well ...)

Mojca

   


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Update ConTeXt into TL2010... Ctx in TL2010 Ctx minimals simultaneously

2010-09-22 Thread Mojca Miklavec
On Wed, Sep 22, 2010 at 18:43, Jaroslav Hajtmar wrote:
 Thanx... Mojca
 Will simultaneously use the ConTeXt minimals and ConTeXt  in the TL2010?
 Does anyone with experience? I'd hate to spoil the installation

I have two installations of TeX Live, one is somehow globally set
somewhere (MacTeX 2010), I initialize one with
export PATH=~/bin:~/soft/texlive/2010/bin/x86_64-darwin:$PATH
in .bash_profile (and that one is used in Terminal/shell if I don't do
anything extra).

In addition I have zillions of ConTeXt minimals lying around. Every
time when I want to switch to ConTeXt minimals, I execute
. ~/context/tex/setuptex
(or add ~/context/tex/texmf-osx-64/bin to PATH variable - which is
equivalent to executing setuptex).

I could have added ~/context/tex/texmf-osx-64/bin to PATH in
.bash_profile and then minimals would be used by default and I would
have to modify path whenever I would want to use TeX Live.

Basically all you need to do to change the distribution used is to change PATH.

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] Update bug under Windows not fixed yet

2009-04-30 Thread Hans Hagen

Aaron Chen wrote:

I know it is fixed under Linux. Thanks.
But on Windows, it is still broken:



i cannot rsync the zips from here so some patience is needed


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


Re: [NTG-context] Update bug under Windows not fixed yet

2009-04-30 Thread Mojca Miklavec
On Thu, Apr 30, 2009 at 21:36, Hans Hagen wrote:
 Aaron Chen wrote:

 I know it is fixed under Linux. Thanks.
 But on Windows, it is still broken:


 i cannot rsync the zips from here so some patience is needed

The patch is hopefully online now (the network is incredibly slow from
time to time, sorry).

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


Re: [NTG-context] Update catalan + spanish translation

2009-02-17 Thread Xan

En/na Xan ha escrit:

En/na Taco Hoekwater ha escrit:

Hi Xan,

Xan wrote:
 

Okay, thanks.
But, Can I provide catalan language translations 


Of course, I/we would be glad to have transations.

The bib module core only needs that one word, but if you are
interested you could translate (some of) the small words in
bibl-apa.tex (after copying it to bibl-apa-ca.tex) and then
send me that file so I can include it in the next release of
the module.

The context core appears to have Catalan translations of the
label texts already (texmf/tex/context/base/lang-ita.tex).

  

Hi,
I fixed the lang-ita.tex. I send you the diff and lang-ita.tex
There were plural tables intead of table in caption.

Thanks,
Xan.
Now, I have texmf/tex/context/base/land-ita.tex updated, but the 
caption in \placetable still is Tables instead of Table. How can I 
do that context uses the updated file


Thanks,
Xan.

PS: Please CCme.
___
If your question is of interest to others as well, please add an 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Update catalan + spanish translation

2009-02-17 Thread Wolfgang Schuster


Am 17.02.2009 um 16:11 schrieb Xan:


I fixed the lang-ita.tex. I send you the diff and lang-ita.tex
There were plural tables intead of table in caption.


Now, I have texmf/tex/context/base/land-ita.tex updated, but the  
caption in \placetable still is Tables instead of Table. How can  
I do that context uses the updated file


1. Have you regenerated to format.
2. Do you really switch to your desired language, it looks like
   you still use english as mainlanguage.

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


Re: [NTG-context] Update catalan + spanish translation

2009-02-17 Thread Wolfgang Schuster


Am 17.02.2009 um 17:11 schrieb Xan:

Now, I have texmf/tex/context/base/land-ita.tex updated, but the  
caption in \placetable still is Tables instead of Table. How  
can I do that context uses the updated file


1. Have you regenerated to format.

How to regenerated?
I run update-texmf. Is it this?


No, you need 'texexec --make en'.

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


Re: [NTG-context] Update catalan + spanish translation

2009-02-17 Thread Xan

En/na Wolfgang Schuster ha escrit:


Am 17.02.2009 um 17:11 schrieb Xan:

Now, I have texmf/tex/context/base/land-ita.tex updated, but the 
caption in \placetable still is Tables instead of Table. How 
can I do that context uses the updated file


1. Have you regenerated to format.

How to regenerated?
I run update-texmf. Is it this?


No, you need 'texexec --make en'.

Wolfgang


Thanks a lot, Wolfgang. Now it works.

Xan.
___
If your question is of interest to others as well, please add an 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] update

2008-01-29 Thread Hans Hagen
Johannes Graumann wrote:
 Hans Hagen wrote:
 
 Hi,

 i uploaded a fix for the reported problems; the uploaded version also
 uses lua for locating files that have to be included; this should work
 with the mkiv xml too (i forgot who asked for that but i needed it
 myself too)
 
 Does this include zip file reading while using XML mode?

should work (not tested)

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


Re: [NTG-context] update

2008-01-29 Thread Johannes Graumann
Hans Hagen wrote:

 Hi,
 
 i uploaded a fix for the reported problems; the uploaded version also
 uses lua for locating files that have to be included; this should work
 with the mkiv xml too (i forgot who asked for that but i needed it
 myself too)

Does this include zip file reading while using XML mode?

Joh

___
If your question is of interest to others as well, please add an 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] update

2008-01-29 Thread Hans Hagen
Johannes Graumann wrote:
 Hans Hagen wrote:
 
 Hi,

 i uploaded a fix for the reported problems; the uploaded version also
 uses lua for locating files that have to be included; this should work
 with the mkiv xml too (i forgot who asked for that but i needed it
 myself too)
 
 Hello Norbert,
 
 Can I help lifting this into a deb asap?

just wait a few days, i'm fixing something with that mechanism (i.e. 
moving to a more rigid url syntax)

Hans

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


Re: [NTG-context] update

2008-01-29 Thread Johannes Graumann
Hans Hagen wrote:

 Hi,
 
 i uploaded a fix for the reported problems; the uploaded version also
 uses lua for locating files that have to be included; this should work
 with the mkiv xml too (i forgot who asked for that but i needed it
 myself too)

Hello Norbert,

Can I help lifting this into a deb asap?

Joh

___
If your question is of interest to others as well, please add an 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] update mkiv

2007-08-07 Thread Roy Zuo
Hi Hans,

Thanks for the update. But the newer version of setuptex just does not
work for me. Commenting out all the unset sentences and it is fine
for me.

Roy

On 8/7/07, Hans Hagen [EMAIL PROTECTED] wrote:
 Hi,

 I'm uploading an update. This fixes the missing texmfstart in the
 windows related zips. I also added format generation entries in the
 toolsmenu of scite. Because luatex runs from temp paths, you need to
 regenerate a format after updating.

 I also extended ctxtools --update (not tested).

 luatools and mtxrun now accept a --selfupdate flag that will replace the
 existing one in the bin path by the one in the script path


 Hans

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


Re: [NTG-context] update mkiv

2007-08-07 Thread Aditya Mahajan
Quoting Hans Hagen [EMAIL PROTECTED]:

 Hi,

 I'm uploading an update.

Thank for MKIV. It looks pretty good. I am assuming that the speed 
issues will be sorted out by the time of the final release.

 This fixes the missing texmfstart in the
 windows related zips. I also added format generation entries in the
 toolsmenu of scite. Because luatex runs from temp paths, you need to
 regenerate a format after updating.

Something is broken at the garden. It says luatools not found. Luatex 
was working yesterday on the garden.

 I also extended ctxtools --update (not tested).

Some initial remarks.

* A newline is missing somewhere in luatools. I get

LuaTools | running command: luatex 
--fmt=D:/Profiles/fkb384/LOCALS~1/Temp/luate
x-cache/context/30023ed61c3aac84b97b84c266f644dc/formats/cont-en 
--lua=D:/Prof
iles/fkb384/LOCALS~1/Temp/luatex-cache/context/30023ed61c3aac84b97b84c266f644dc/
formats/cont-en.lua test.texThis is luaTeX, Version 
3.141592-beta-0.10.1-2007
080317 (Web2C 7.5.6)

There should be a \n after test.tex

Also

LuaTools | runtime: 54.791 secondsTeXUtil | parsing file test.tui

there should be a \n after seconds.

* There is something wrong with typescripts.

\definetypeface[mainface][rm][serif][charter][default][encoding=texnansi]
\setupbodyfont[mainface,11pt]

\starttext
\input tufte
\stoptext

gives me

to be read again   \relax \xxdododefinefont ...tspec 
{#4}\newfontidentifier  
\let \localrelativefontsiz...
\fontstrategy ...me \fontclass #2#3#4#5\endcsname   
\tryingfontfalse \fi inserted text ...yle 
\fontalternative \fontsize  
 \fi \iftryingfont \fontstr...
\synchronizefont ...strategy \the \fontstrategies   
\relax \fi \iftryingfont \...
argument \getvalue [EMAIL PROTECTED]@ \fontstyle }
   \edef \fontstyle {\fontstyle }\if...
...
l.2 \setupbodyfont[mainface,11pt]


The above code works fine with pdftex.

* I really like the new pretty printing module. The single quote 
correct displays correctly. And the state machine for pretty printing 
is much easier to understand in lua than it was in tex.

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


Re: [NTG-context] update mkiv

2007-08-07 Thread Arthur Reutenauer
 Something is broken at the garden. It says luatools not found. Luatex 
 was working yesterday on the garden.

  Fixed.
___
If your question is of interest to others as well, please add an 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] update mkiv

2007-08-07 Thread Hans Hagen
Aditya Mahajan wrote:
 Quoting Hans Hagen [EMAIL PROTECTED]:
 
 Hi,

 I'm uploading an update.
 
 Thank for MKIV. It looks pretty good. I am assuming that the speed 
 issues will be sorted out by the time of the final release.

party, but keep in mind that control has its price (esp with regards to 
fonts)

but we can gain some speed when traditional code is swapped by lua based 
code

 * A newline is missing somewhere in luatools. I get
 
 LuaTools | running command: luatex 
 --fmt=D:/Profiles/fkb384/LOCALS~1/Temp/luate
 x-cache/context/30023ed61c3aac84b97b84c266f644dc/formats/cont-en 
 --lua=D:/Prof
 iles/fkb384/LOCALS~1/Temp/luatex-cache/context/30023ed61c3aac84b97b84c266f644dc/
 formats/cont-en.lua test.texThis is luaTeX, Version 
 3.141592-beta-0.10.1-2007
 080317 (Web2C 7.5.6)
 
 There should be a \n after test.tex

some tricky interference between tex and lua (buffering) since the 
newline is there

 * There is something wrong with typescripts.
 
 \definetypeface[mainface][rm][serif][charter][default][encoding=texnansi]
 \setupbodyfont[mainface,11pt]
 
 \starttext
 \input tufte
 \stoptext

hm, maybe a missing font ... we're open type gyre now

 * I really like the new pretty printing module. The single quote 
 correct displays correctly. And the state machine for pretty printing 
 is much easier to understand in lua than it was in tex.

but .. work in progress -)

Hans

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


Re: [NTG-context] update mkiv

2007-08-07 Thread Aditya Mahajan
Quoting Hans Hagen [EMAIL PROTECTED]:

 Aditya Mahajan wrote:

 * There is something wrong with typescripts.

 \definetypeface[mainface][rm][serif][charter][default][encoding=texnansi]
 \setupbodyfont[mainface,11pt]

 \starttext
 \input tufte
 \stoptext

 hm, maybe a missing font ... we're open type gyre now

I am confused. I do not have open type version of charter. I thought 
that it was still possible to use traditional type 1 fonts with mkiv.

The above code also fails on the garden, which means that it will fail 
on traditional installations.

So, how do I use the free bitstream charter that ships with tex 
distributions? I am using the context standalone distribution and have 
afm version of charter (bchb8a.afm, bchbi8a.afm, bchr8a.afm, 
bhcri8a.afm) and the pfb versions of the same fonts. I do not have otf 
version of charter.


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


Re: [NTG-context] update mkiv

2007-08-07 Thread Hans Hagen
Aditya Mahajan wrote:
 Quoting Hans Hagen [EMAIL PROTECTED]:
 
 Aditya Mahajan wrote:
 
 * There is something wrong with typescripts.

 \definetypeface[mainface][rm][serif][charter][default][encoding=texnansi]
 \setupbodyfont[mainface,11pt]

 \starttext
 \input tufte
 \stoptext
 hm, maybe a missing font ... we're open type gyre now
 
 I am confused. I do not have open type version of charter. I thought 
 that it was still possible to use traditional type 1 fonts with mkiv.

should work, but for the moment wait till luatex is fixed for indexing 
such fonts

btw, mkiv will not use the tfm files but the afm files

 So, how do I use the free bitstream charter that ships with tex 
 distributions? I am using the context standalone distribution and have 
 afm version of charter (bchb8a.afm, bchbi8a.afm, bchr8a.afm, 
 bhcri8a.afm) and the pfb versions of the same fonts. I do not have otf 
 version of charter.

well, in principle we no longer have font encodings, when the afm file 
is found, it will be used and  256 chars are possible then



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


Re: [NTG-context] Update context in Suse 9.3

2006-09-25 Thread Thomas A. Schmitz
For such questions, please search the wiki first:

http://wiki.contextgarden.net/Linux_Installation

Thomas

On Sep 25, 2006, at 11:09 AM, batela wrote:

 Dear Sirs,

 In my laptop  I have the Suse linux 9.3. This distro has tetex 3,
 but I intend to update conTeXt . I tried already  some ways, but
 without success: download an install (unpack and texexec --make --all)
 cont-tmf in the texmf directory,  using texlive.spm (but I found a
 rsync time out error). I need urgently to make the update, but I do  
 not
 know as to make it. Suggestions are welcome.

 Jorge

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Update context in Suse 9.3

2006-09-25 Thread Mojca Miklavec
On 9/25/06, batela wrote:
 Dear Sirs,

 In my laptop  I have the Suse linux 9.3. This distro has tetex 3,
 but I intend to update conTeXt . I tried already  some ways, but
 without success: download an install (unpack and texexec --make --all)
 cont-tmf in the texmf directory,  using texlive.spm (but I found a
 rsync time out error). I need urgently to make the update, but I do not
 know as to make it. Suggestions are welcome.

For I urgently need to use new ConTeXt the easiest way to explain is
to download
http://www.pragma-ade.com/context/install/justtex.zip
http://www.pragma-ade.com/context/install/linuxtex.zip
unzip them and then use
   cd tex
   . setuptex
   texexec --make --all

and then compile your documents (from the same shell).

But what exactly goes wrong if you overwrite your old files in texmf
with the new ones from
http://www.pragma-ade.com/context/beta/cont-tmf.zip and then try to
run texexec --make --all? Missing environmental variables perhaps?

There are many Installation pages on the wiki, so if they don't suit
it's best to update them/add information about other possibilities and
systems.

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Update ConTeXt + standalone distr (Windows)

2006-09-13 Thread Mari Voipio


On Mon, 11 Sep 2006, Hans Hagen wrote:
 ...\usr\local\context\goodies\bin

 has unzip

Not in my Windows standalone distros. :-(
The one at work is about a month old, the one at home just a week old, my 
older CD version is from April, but it's the same with all of them: in 
../usr/local/context/ the folders goodies, gs, perl, ruby and xmlib are 
empty. Ergo, the stand-alone for Windows doesn't seem to contain unzip.exe 
and thus the excellent context update feature won't work without 
fiddling.


[I know, I know, I'm being a pain in the *. But the standalone is so close 
to being accessible to the fairly average Windows user and still so far in 
these little things...]


Mari
(who *has* to stick with Windows at work anyway)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Update ConTeXt + standalone distr (Windows)

2006-09-11 Thread Hans Hagen
Mari Voipio wrote:
 Or, as it seems to me that different types of 'unzip.exe's are public 
 domain stuff, just include that in the standalone distribution and 
 everything works (no other changes were needed, just bringing 'unzip.exe' 
 into the correct directory.
   
...\usr\local\context\goodies\bin


has unzip (it' snot a bad idea to have the gnu bin utils someplace on disk)

Hans


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

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Antwort: Re: [NTG-context] Update to the newest ConTeXt version

2005-07-27 Thread Jessica Holle

Hi,

I've done everything you told me and like its written in the howto.

But look at the output. I think its a fontproblem so I tried to make
this command:

texmfstart texfont.pl type-tmf.dat --en=texnansi
--fontroot=/usr/local/teTeX/share/texmf --install --makepath

But this doesn't help, I get always an error.


Has anybody an advise for me?


Greetings Jessica



rzvlabwks:/usr/local/teTeX/share/texmf # texmfstart texexec.pl
--version

 TeXExec 5.4.2 - ConTeXt / PRAGMA ADE 1997-2005

   texexec : TeXExec 5.4.2 - ConTeXt / PRAGMA ADE
1997-2005
   texutil : kpathsea: Running mktextfm ec-lmr12
mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input
ec-lmr12
/usr/sbin/mktextfm: line 96: mf: command not found
grep: ec-lmr12.log: No such file or directory
mktextfm: `mf \mode:=ljfour; mag:=1; nonstopmode; input ec-lmr12'
failed to make ec-lmr12.tfm.
kpathsea: Appending font creation commands to missfont.log.
kpathsea: Running mktextfm ec-lmr7
mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input
ec-lmr7
/usr/sbin/mktextfm: line 96: mf: command not found
grep: ec-lmr7.log: No such file or directory
mktextfm: `mf \mode:=ljfour; mag:=1; nonstopmode; input ec-lmr7'
failed to make ec-lmr7.tfm.
kpathsea: Running mktextfm ec-lmr9
mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input
ec-lmr9
/usr/sbin/mktextfm: line 96: mf: command not found
grep: ec-lmr9.log: No such file or directory
mktextfm: `mf \mode:=ljfour; mag:=1; nonstopmode; input ec-lmr9'
failed to make ec-lmr9.tfm.
kpathsea: Running mktextfm ec-lmbx7
mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input
ec-lmbx7
/usr/sbin/mktextfm: line 96: mf: command not found
grep: ec-lmbx7.log: No such file or directory
mktextfm: `mf \mode:=ljfour; mag:=1; nonstopmode; input ec-lmbx7'
failed to make ec-lmbx7.tfm.
kpathsea: Running mktextfm ec-lmbx9
mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input
ec-lmbx9
/usr/sbin/mktextfm: line 96: mf: command not found
grep: ec-lmbx9.log: No such file or directory
mktextfm: `mf \mode:=ljfour; mag:=1; nonstopmode; input ec-lmbx9'
failed to make ec-lmbx9.tfm.
kpathsea: Running mktextfm ec-lmbx12
mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input
ec-lmbx12
/usr/sbin/mktextfm: line 96: mf: command not found
grep: ec-lmbx12.log: No such file or directory
mktextfm: `mf \mode:=ljfour; mag:=1; nonstopmode; input ec-lmbx12'
failed to make ec-lmbx12.tfm.
kpathsea: Running mktextfm ec-lmro10
mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input
ec-lmro10
/usr/sbin/mktextfm: line 96: mf: command not found
grep: ec-lmro10.log: No such file or directory
mktextfm: `mf \mode:=ljfour; mag:=1; nonstopmode; input ec-lmro10'
failed to make ec-lmro10.tfm.
kpathsea: Running mktextfm ec-lmro9
mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input
ec-lmro9
/usr/sbin/mktextfm: line 96: mf: command not found
grep: ec-lmro9.log: No such file or directory
mktextfm: `mf \mode:=ljfour; mag:=1; nonstopmode; input ec-lmro9'
failed to make ec-lmro9.tfm.
kpathsea: Running mktextfm ec-lmro12
mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input
ec-lmro12
/usr/sbin/mktextfm: line 96: mf: command not found
grep: ec-lmro12.log: No such file or directory
mktextfm: `mf \mode:=ljfour; mag:=1; nonstopmode; input ec-lmro12'
failed to make ec-lmro12.tfm.
kpathsea: Running mktextfm ec-lmri10
mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input
ec-lmri10
/usr/sbin/mktextfm: line 96: mf: command not found
grep: ec-lmri10.log: No such file or directory
mktextfm: `mf \mode:=ljfour; mag:=1; nonstopmode; input ec-lmri10'
failed to make ec-lmri10.tfm.
kpathsea: Running mktextfm ec-lmri9
mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input
ec-lmri9
/usr/sbin/mktextfm: line 96: mf: command not found
grep: ec-lmri9.log: No such file or directory
mktextfm: `mf \mode:=ljfour; mag:=1; nonstopmode; input ec-lmri9'
failed to make ec-lmri9.tfm.
kpathsea: Running mktextfm ec-lmri12
mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input
ec-lmri12
/usr/sbin/mktextfm: line 96: mf: command not found
grep: ec-lmri12.log: No such file or directory
mktextfm: `mf \mode:=ljfour; mag:=1; nonstopmode; input ec-lmri12'
failed to make ec-lmri12.tfm.
kpathsea: Running mktextfm ec-lmbxo10
mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input
ec-lmbxo10
/usr/sbin/mktextfm: line 96: mf: command not found
grep: ec-lmbxo10.log: No such file or directory
mktextfm: `mf \mode:=ljfour; mag:=1; nonstopmode; input ec-lmbxo10'
failed to make ec-lmbxo10.tfm.
kpathsea: Running mktextfm ec-lmbxo10
mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input
ec-lmbxo10
/usr/sbin/mktextfm: line 96: mf: command not found
grep: ec-lmbxo10.log: No such file or directory
mktextfm: `mf \mode:=ljfour; mag:=1; nonstopmode; input ec-lmbxo10'
failed to make ec-lmbxo10.tfm.
kpathsea: Running mktextfm ec-lmbxo10
mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input
ec-lmbxo10

Re: Antwort: Re: [NTG-context] Update to the newest ConTeXt version

2005-07-27 Thread Taco Hoekwater

Jessica Holle wrote:

Hi,

I've done everything you told me and like its written in the howto.

But look at the output. I think its a fontproblem so I tried to make
this command:

texmfstart texfont.pl type-tmf.dat --en=texnansi
--fontroot=/usr/local/teTeX/share/texmf --install --makepath

But this doesn't help, I get always an error.


Has anybody an advise for me?



The font ec-lmr12 is part of the cont-lmt zip package; there
should be no need to run texfont, assuming you installed the
package and your search paths are ok.

There is a strong hint that something went wrong during upgrade,
because, had you performed all steps in the wiki page, there would
not even exist a program called mktextfm in /usr/sbin.

Therefore, something definately is not right yet. Please follow
the directions precisely if you want the upgrade to succeed

Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: Antwort: Re: [NTG-context] Update to the newest ConTeXt version

2005-07-27 Thread Hans Hagen

Jessica Holle wrote:


I think I'm a little bit stupid this week
 

Is there a faulty cont-sys.tex laying around? Remove that file or mak eyou rown (based on cont-sys.rme) 

Hans 


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

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Antwort: Re: [NTG-context] Update to the newest ConTeXt version

2005-07-27 Thread Jessica Holle

I think I'm a little bit stupid this week

I've done everythink like on this site :
http://contextgarden.net/TeTeX_3.0_installation

I've only a softlink to texhash in /usr/sbin looks like:
texhash - /usr/local/teTeX/bin/i686-pc-linux-gnu/texhash

and a softlink to texmfstart
texmfstart -
/usr/local/teTeX/share/texmf/scripts/context/ruby/texmfstart.rb

and a softliink to
mktexlsr - /usr/local/teTeX/bin/i686-pc-linux-gnu/mktexlsr
because when I'm doing fmtutil-sys --edit like in the doku
explained, this was expected.

The scripts in the folders
/usr/local/teTeX/share/texmf/scripts/context/ruby
/usr/local/teTeX/share/texmf/scripts/context/perl
are executable


Because of this output I've thought mktextfm must have an sl to
/usr/sbin
Now I've canceled all softlinks in /usr/sbin
except the sl's I've said up in my mail  and the kpse*



rzvlabwks:/usr/local/teTeX/share/texmf # texmfstart texexec.pl
--version

 TeXExec 5.4.2 - ConTeXt / PRAGMA ADE 1997-2005

   texexec : TeXExec 5.4.2 - ConTeXt / PRAGMA ADE
1997-2005
   texutil : kpathsea: Running mktextfm ec-lmr12
mktextfm: No such file or directory
kpathsea: Appending font creation commands to missfont.log.
kpathsea: Running mktextfm ec-lmr7
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmr9
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbx7
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbx9
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbx12
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmro10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmro9
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmro12
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmri10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmri9
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmri12
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxo10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxo10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxo10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxi10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxi10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxi10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmcsc10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmcsc10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmcsc10
mktextfm: No such file or directory
   tex : pdfeTeX, 3.141592-1.21a-2.2 (Web2C 7.5.4)
   context : ver: 2005.07.21
   cont-en : ver: 2005.07.21  fmt: 2005.7.27  mes:
english
kpathsea: Running mktextfm ec-lmr12
mktextfm: No such file or directory
kpathsea: Appending font creation commands to missfont.log.
kpathsea: Running mktextfm ec-lmr7
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmr9
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbx7
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbx9
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbx12
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmro10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmro9
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmro12
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmri10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmri9
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmri12
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxo10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxo10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxo10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxi10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxi10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmbxi10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmcsc10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmcsc10
mktextfm: No such file or directory
kpathsea: Running mktextfm ec-lmcsc10
mktextfm: No such file or directory
   cont-nl : ver: 2005.07.21  fmt: 2005.7.27  mes: dutch

total run time : 2 seconds

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


  1   2   >