Re: [NTG-context] cloning context git repository

2014-06-22 Thread Pablo Rodriguez
On 06/21/2014 11:32 PM, Mojca Miklavec wrote:
 Hi,
 
 from what I understand the issue is that GitLab times out after a
 while. We managed to reproduce the problem though and the admin
 recently increased the timeout from 30 to 300 seconds, but we cannot
 just increase the timeout to infinity.

Hi Mojca,

many thanks for your reply.

How about increasing the timeout to 600 seconds?

 As a workaround you can also fetch the files from my personal GitHub
 mirror.

This is what I have done.

 And maybe create a project at GitHub, but context is already
 taken.

Also contextgarden is already taken at GitHub.

context is taken at Bitbucket, but not contexgarden. How about Bitbucket?

Many thanks for your help,


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

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


Re: [NTG-context] really strange bug in ConTeXt

2014-06-22 Thread Pablo Rodriguez
On 06/21/2014 02:06 AM, Hans Hagen wrote:
 
 could be triggered bij a change in code so still relate to the engine .. 
 today i also had some random crashes ... no small predictable test yet

Hans,

I’m afraid I don’t have a small sample, but I compiled my book with the
different betas.

It compiles fine with beta from 2014.06.06 23:52, but the error shows up
with beta from 2014.06.11 15:52.

Just in case it helps,


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

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


Re: [NTG-context] cloning context git repository

2014-06-22 Thread Mojca Miklavec
On Sun, Jun 22, 2014 at 8:03 AM, Pablo Rodriguez wrote:
 On 06/21/2014 11:32 PM, Mojca Miklavec wrote:
 Hi,

 from what I understand the issue is that GitLab times out after a
 while. We managed to reproduce the problem though and the admin
 recently increased the timeout from 30 to 300 seconds, but we cannot
 just increase the timeout to infinity.

 Hi Mojca,

 many thanks for your reply.

 How about increasing the timeout to 600 seconds?

We can, but then at least we need to make a rough calculation of what
transfer speed should still be supported. And no matter what value we
use, it will break for people (I also get a lot of memory limit
exceeded warnings in the logs, without even having any significant
number of users). The repository is currently a bit below 100 MiB.

And if I put a complete distribution into the repository as intended,
we could probably set the time limit to a few days ;)

 As a workaround you can also fetch the files from my personal GitHub
 mirror.

 This is what I have done.

 And maybe create a project at GitHub, but context is already
 taken.

 Also contextgarden is already taken at GitHub.

Indeed.

http://github.com/contextgarden/context

 context is taken at Bitbucket, but not contexgarden. How about Bitbucket?

I need to make an account first.

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] cloning context git repository

2014-06-22 Thread Pablo Rodriguez
On 06/22/2014 10:40 AM, Mojca Miklavec wrote:
 On Sun, Jun 22, 2014 at 8:03 AM, Pablo Rodriguez wrote:
 [...]
 How about increasing the timeout to 600 seconds?
 
 We can, but then at least we need to make a rough calculation of what
 transfer speed should still be supported. And no matter what value we
 use, it will break for people (I also get a lot of memory limit
 exceeded warnings in the logs, without even having any significant
 number of users). The repository is currently a bit below 100 MiB.
 
 And if I put a complete distribution into the repository as intended,
 we could probably set the time limit to a few days ;)

GitHub is then fine.

 And maybe create a project at GitHub, but context is already
 taken.

 Also contextgarden is already taken at GitHub.
 
 Indeed.
 
 http://github.com/contextgarden/context

Sorry, I overlooked that this was ConTeXt.

 context is taken at Bitbucket, but not contexgarden. How about Bitbucket?
 
 I need to make an account first.

Well, my previous question doesn’t make sense, if GitHub has a ConTeXt repo.

Many thanks for your help,


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

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


Re: [NTG-context] cloning context git repository

2014-06-22 Thread Mojca Miklavec
On Sun, Jun 22, 2014 at 12:00 PM, Pablo Rodriguez wrote:
 On 06/22/2014 10:40 AM, Mojca Miklavec wrote:
 On Sun, Jun 22, 2014 at 8:03 AM, Pablo Rodriguez wrote:
 [...]
 How about increasing the timeout to 600 seconds?

 We can, but then at least we need to make a rough calculation of what
 transfer speed should still be supported. And no matter what value we
 use, it will break for people (I also get a lot of memory limit
 exceeded warnings in the logs, without even having any significant
 number of users). The repository is currently a bit below 100 MiB.

 And if I put a complete distribution into the repository as intended,
 we could probably set the time limit to a few days ;)

 GitHub is then fine.

No, it's not. They'll kick us out once we start putting gigabytes of
binaries on their site.

 And maybe create a project at GitHub, but context is already
 taken.

 Also contextgarden is already taken at GitHub.

 Indeed.

 http://github.com/contextgarden/context

 Sorry, I overlooked that this was ConTeXt.

You couldn't have know it. I have put the repository there after you
asked. And there was not any description there earlier.

 context is taken at Bitbucket, but not contexgarden. How about Bitbucket?

 I need to make an account first.

 Well, my previous question doesn’t make sense, if GitHub has a ConTeXt repo.

It still does if some users are addicts of BitBucket ;)

In any case it would make sense to update the repository on Gitorious
at some point.

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] \placeinitial trickery?

2014-06-22 Thread Hans Hagen

On 6/21/2014 3:54 PM, Alan Bowen wrote:

\definefontfamily[mainface][serif][IFAO Grec Unicode][]
\setupbodyfont[mainface,10pt]
\definefontsynonym[DropFont][name:IFAO Grec Unicode]

\defineinitial
[Greek]
[location=margin,
font={DropFont sa 3},
n=2,
color=black,
distance=-1em,
hoffset=1.25em]

\starttext

\placeinitial[Greek]Ⲥελήνη
{\red Coptic capital sima}\quad\input ward

\placeinitial[Greek]Ἡλίου
{\red Greek capital eta with dasia (combining)}\quad\input ward

\placeinitial[Greek]Ⲏ̔λίου
{\red Coptic capital hate with dasia (combining)}\quad\input ward

\placeinitial[Greek]῾Ⲏλίου
{\red Coptic capital hate with dasia (non-combining)}\quad\input ward

\stoptext


\defineinitial
[Greek2]
[Greek]
[m=2]

\placeinitial[Greek2]῾Ⲏλίου
{\red Coptic capital hate with dasia (non-combining)}\quad\input ward

-
  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] cloning context git repository

2014-06-22 Thread Pablo Rodriguez
On 06/22/2014 02:04 PM, Mojca Miklavec wrote:
 On Sun, Jun 22, 2014 at 12:00 PM, Pablo Rodriguez wrote:
 On 06/22/2014 10:40 AM, Mojca Miklavec wrote:
 [...]
 And if I put a complete distribution into the repository as intended,
 we could probably set the time limit to a few days ;)

 GitHub is then fine.
 
 No, it's not. They'll kick us out once we start putting gigabytes of
 binaries on their site.

I understand their position. Huge binaries in GitHub would make them
something different than a git hosting provider.

BTW, what is the problem of distributing the huge binaries on CTAN?

 http://github.com/contextgarden/context

 Sorry, I overlooked that this was ConTeXt.
 
 You couldn't have know it. I have put the repository there after you
 asked. And there was not any description there earlier.

I thought I hadn’t read a description, but I tend not to trust my memory
too much ;-).

If you allow me a suggestion for GitHub I’d remove the issue tracker on
both repositories.


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

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

Re: [NTG-context] cloning context git repository

2014-06-22 Thread Mojca Miklavec
On Sun, Jun 22, 2014 at 5:09 PM, Pablo Rodriguez wrote:
 On 06/22/2014 02:04 PM, Mojca Miklavec wrote:
 On Sun, Jun 22, 2014 at 12:00 PM, Pablo Rodriguez wrote:
 On 06/22/2014 10:40 AM, Mojca Miklavec wrote:
 [...]
 And if I put a complete distribution into the repository as intended,
 we could probably set the time limit to a few days ;)

 GitHub is then fine.

 No, it's not. They'll kick us out once we start putting gigabytes of
 binaries on their site.

 I understand their position. Huge binaries in GitHub would make them
 something different than a git hosting provider.

 BTW, what is the problem of distributing the huge binaries on CTAN?

None (other than CTAN mirrors generating more traffic if they had to
sync *too much*). Except that it wouldn't really help us to have
anything on the CTAN mirrors if CTAN mirrors aren't set up to serve as
rsync and git servers.

 http://github.com/contextgarden/context

 Sorry, I overlooked that this was ConTeXt.

 You couldn't have know it. I have put the repository there after you
 asked. And there was not any description there earlier.

 I thought I hadn’t read a description, but I tend not to trust my memory
 too much ;-).

 If you allow me a suggestion for GitHub I’d remove the issue tracker on
 both repositories.

Thank you for the suggestion, done. I already had to explain people
that I'm unable to accept pull requests (even though that was for a
different mirror).

I would have done it earlier, but I forgot about it.

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] really strange bug in ConTeXt

2014-06-22 Thread Pablo Rodriguez
On 06/21/2014 02:06 AM, Hans Hagen wrote:
 [...]
 could be triggered bij a change in code so still relate to the engine .. 
 today i also had some random crashes ... no small predictable test yet

Hans,

many thanks for fixing the issue with latest beta.

At least, beta from today compiles fine a commit from my book, where
beta from 2014.06.18 17:19 crashes luajittex.

Many thanks again,


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

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


Re: [NTG-context] \placeinitial trickery?

2014-06-22 Thread Alan Bowen
Wonderful, Hans! That’s got it. Many thanks.

Alan


On Sun, Jun 22, 2014 at 10:53 AM, Hans Hagen pra...@wxs.nl wrote:

 On 6/21/2014 3:54 PM, Alan Bowen wrote:

 \definefontfamily[mainface][serif][IFAO Grec Unicode][]
 \setupbodyfont[mainface,10pt]
 \definefontsynonym[DropFont][name:IFAO Grec Unicode]

 \defineinitial
 [Greek]
 [location=margin,
 font={DropFont sa 3},
 n=2,
 color=black,
 distance=-1em,
 hoffset=1.25em]

 \starttext

 \placeinitial[Greek]Ⲥελήνη
 {\red Coptic capital sima}\quad\input ward

 \placeinitial[Greek]Ἡλίου
 {\red Greek capital eta with dasia (combining)}\quad\input ward

 \placeinitial[Greek]Ⲏ̔λίου
 {\red Coptic capital hate with dasia (combining)}\quad\input ward

 \placeinitial[Greek]῾Ⲏλίου
 {\red Coptic capital hate with dasia (non-combining)}\quad\input ward

 \stoptext


 \defineinitial
 [Greek2]
 [Greek]
 [m=2]

 \placeinitial[Greek2]῾Ⲏλίου

 {\red Coptic capital hate with dasia (non-combining)}\quad\input ward

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

 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/
 listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 
 ___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] Rotate multiline text

2014-06-22 Thread Hans Hagen

On 6/18/2014 1:35 AM, Aditya Mahajan wrote:

Hi,

I want to rotate a multiline text by 90 degrees, and I thought that
\framed[orientation=90] should do that. But it does not work as expected.

\defineframed[tightbox] [align=middle, width=fit, height=fit]
\defineframed[rotatebox][tightbox][orientation=90]

\starttext

\startlines
ABC \rotatebox{Random \crlf text } ABC
ABC \rotate{\tightbox{Random \crlf text }} ABC
\stoplines

\stoptext

I would like \rotatebox to behave the same as \rotate{\tightbox{..}},
but it does not. It appears that the width (or height?) or \rotatebox is
set to broad.

Am I missing a magic option or is this a bug?


works ok here

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

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


[NTG-context] second-level seeindex entry nested too deeply

2014-06-22 Thread Sanjoy Mahajan
I think the following minimal example is giving an incorrect index.  As
ascii, the index comes out as

a
  area 1
ellipse 1
  see United Kingdom, area

whereas the see United Kingdom, area should be indented the same
as the ellipse second-level entry.  It comes out okay if I delete the
\index{area+ellipse} entry.

(P.S. What's the setupregister key that puts the see ... entry in
italic?  I seem to have turned it off in my environment file somewhere.
Oh, it's 'pagestyle', but then how can one separately set the style of
the pagenumbers from the style of the see ...?)

That aside, here's the example (run with 2014.05.17 MkIV):

\setupregister[index][n=1]

\starttext

hello \index{area}area and \index{area+ellipse}area of an ellipse

\seeindex{area+United Kingdom}{United Kingdom, area}

\blank[3*big]

\placeindex[criterium=all]

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

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


[NTG-context] Resetting \setupTABLE

2014-06-22 Thread Troy Henderson
What is the proper way to reset the setups made by \setupTABLE so that
successive TABLEs do no inherit the properties set by previous TABLEs?

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

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
___