Re: [NTG-context] Configure AUCTeX to run context not texec

2014-06-27 Thread Gour
Peter Münster pmli...@free.fr writes:

 Also on my todo-list, but again at low priority: View is in my
 history, so just pressing up does it. And once the viewer (evince
 in my case) is launched, there is no further need for View.

What is the recommnded way to configure one's preferred viewer in AUCTeX
to by used when processing ConTeXt files?


Sincerely,
Gour


-- 
As the ignorant perform their duties with attachment to results, 
the learned may similarly act, but without attachment, for the 
sake of leading people on the right path.

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/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] meeting

2014-06-27 Thread Hans Hagen

On 6/27/2014 7:49 AM, Gour wrote:

Hans Hagen pra...@wxs.nl writes:


In case you didn't consider it yet ... in a couple of months we have
the context meeting and this is a perfect opportunity to meet those
involved in development and support. You can participate in
discussions about upcoming developments, express wishes, get sneak
previews, get your problems solved (meetings are quite efficient for
that).


For several years I'm TUG member and always add some small donations for
the LuaTeX project, free fonts etc. so I wonder whether e.g. LuaTeX is
really getting some support from TUG membership?


Tug and other user groups sponsor projects. In the beginning of Luatex 
there were projects defined (the bulk of code conversion from pascalweb 
to cweb + some extensions were a project), but the oriental tex project 
also contributed. Mplib and metapost 2 coding were sponsored by groups 
too. The crited project made it possible to integrate luajittex and 
luatex and it also supports the rewrite of the bibliography subsystem in 
mkiv (in fact this is the only time that writing related tex code is 
sponsored).


Currently tug sponsors projects like texgyre and swiglib. The text and 
math font project(s) are mandate for the (future) success of tex and 
need substantial funding the upcoming decade too. We made estimates 
during BT but expect most to be covered by usergroups, possible as long 
as they have paying members. Groups that systematically contribute are 
tug, dante, ntg, cstug and gust. Afaik the context group is considering 
participation too.


The context group is in principle an independent entity (same level as 
tex user groups) but can also support projects. For me, people meeting 
(and making sure they can meet and discuss) is also a project.


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] Preparing a weird index.

2014-06-27 Thread Gour
Hans Hagen pra...@wxs.nl writes:

 See sort-lan.lua ... you could define a pseudo-language for this and
 use that one for sorting. The actual sorting is driven by a sequence
 of steps that (can) involve uppercase, lowercase, shape, unicode,
 specific order etc.

It looks very good. Congratulations?

Does it mean I can e.g. still use 'hr' as main language for writing and
then use my pseudo language *just* for sorting purposes?


Sincerely,
Gour

-- 
There is no possibility of one's becoming a yogī, O Arjuna, 
if one eats too much or eats too little, sleeps too much 
or does not sleep enough.

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/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] Preparing a weird index.

2014-06-27 Thread Wolfgang Schuster

Am 27.06.2014 um 10:05 schrieb Gour g...@atmarama.net:

 Hans Hagen pra...@wxs.nl writes:
 
 See sort-lan.lua ... you could define a pseudo-language for this and
 use that one for sorting. The actual sorting is driven by a sequence
 of steps that (can) involve uppercase, lowercase, shape, unicode,
 specific order etc.
 
 It looks very good. Congratulations?
 
 Does it mean I can e.g. still use 'hr' as main language for writing and
 then use my pseudo language *just* for sorting purposes?

Yes, the register mechanism provides a language key where you can
specify the language which is used for the sorting of the entries.

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

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


Re: [NTG-context] Preparing a weird index.

2014-06-27 Thread Hans Hagen

On 6/27/2014 10:05 AM, Gour wrote:

Hans Hagen pra...@wxs.nl writes:


See sort-lan.lua ... you could define a pseudo-language for this and
use that one for sorting. The actual sorting is driven by a sequence
of steps that (can) involve uppercase, lowercase, shape, unicode,
specific order etc.


It looks very good. Congratulations?

Does it mean I can e.g. still use 'hr' as main language for writing and
then use my pseudo language *just* for sorting purposes?


yes


-
  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] Configure AUCTeX to run context not texec

2014-06-27 Thread Peter Münster
On Fri, Jun 27 2014, Gour wrote:

 What is the recommnded way to configure one's preferred viewer in AUCTeX
 to by used when processing ConTeXt files?

I don't know what is recommended, but this works for me:

(setq-default
 TeX-PDF-mode   t
 TeX-default-mode   'context-mode
 TeX-view-program-list
 '((Okular (okular %(oo) (mode-io-correlate #src:%n%a
 TeX-view-program-selection
 '(((output-dvi style-pstricks) dvips and gv) (output-dvi xdvi)
   (output-pdf Okular) (output-html xdg-open)))

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

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


Re: [NTG-context] Preparing a weird index.

2014-06-27 Thread Gour
Wolfgang Schuster schuster.wolfg...@gmail.com writes:

 Yes, the register mechanism provides a language key where you can
 specify the language which is used for the sorting of the entries.

Excellent!!

It's time to dive into ConTeXt again...

Sincerely,
Gour

-- 
One must deliver himself with the help of his mind, and not 
degrade himself. The mind is the friend of the conditioned soul, 
and his enemy as well.

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/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] win2k and context

2014-06-27 Thread Wolfgang Werners-Lucchini
 http://www.ntg.nl/pipermail/ntg-context/2013/071049.html
  Taco keeps an archive of windows binaries on
  http://foundry.supelec.fr/gf/project/luatex/frs/

not found

  (click on package name to get the list of older releases)
  but they were compiled on a different compiler, so you need to 
  check yourself whether they work for you or not.
  
  In case not, my best bet for downloading it would be fetching
  luatex.dll from an arbitrary commit from
  http://tug.org/svn/texlive/trunk/Master/bin/win32/

not clear to me how to extract a certain older version!

  Most probably the latest binary is still 0.72.0 in which case you   can 
  also fetch it from
  http://www.ctan.org/tex-archive/systems/texlive/tlnet/archive

The version is not obvious to me! Seems more or less current. No 
older archives!

  http://mirrors.ctan.org/systems/texlive/tlnet/archive/luatex.win32.tar.xz

No older versions!


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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/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] latest beta, problem with natural tables and alignment character

2014-06-27 Thread Brian Landy

On Jun 26, 2014, at 5:24 PM, Hans Hagen pra...@wxs.nl wrote:

 On 6/26/2014 10:48 PM, Hans Hagen wrote:
 On 6/26/2014 5:06 AM, Brian Landy wrote:
 On Jun 25, 2014, at 6:53 PM, Hans Hagen pra...@wxs.nl wrote:
 
 On 6/25/2014 11:26 PM, Brian R. Landy wrote:
 
 When you say next beta do you mean a subsequent minimals release
 (i.e., this fix should be the 2014.06.22 release)?  Or do you mean a
 new
 beta that you announce more formally on the list?  I'm not sure what I
 should look for before I test again, so I don't end up testing a
 version
 without the fix.
 
 netx beta == next upload == already done
 
 
 Great, thanks.  I wanted to make sure before mentioning I'm still
 seeing problems.  When you have a combination number/character
 sequence (i.e., 1D or 11-22+) and specify an alignment
 (flushleft/middle/flushright) spaces get inserted between the final
 digit and the first trailing character.  So 1D might print as 1 D,
 11-22+ prints as 11-22 +, etc.  This happens using . or , for
 alignment, it's not exclusive to aligning on a hyphen.
 
 i now have two methods, number and text and {-} triggers text
 
 you can force a method with text- and number-
 
 no upload yet
 
 I'll also add \nocharacteralign so that one can disable this mechanism in a 
 table cell.

This is all great, thank's so much for handling this so quickly!  I like the 
idea of keeping the old behavior as an alternative.

And now that I see what your new mode is attempting to accomplish, I think it 
will prove very useful.  It looks like you want to parse out the number from 
any preceding and following text, align the number on the alignment character, 
and pad out any text that precedes a number (like a currency symbol) to align 
on the left rather than be flush with the number.  I just wanted to point out 
that this only works if identical preceding and/or trailing text exists in 
every cell.

For example, this table doesn't align using flushleft, middle, or flushright 
(it will if you force text-{.}, but of course the parens won't align 
vertically):

\starttext
\bgroup
\setupTABLE[1,2][3,4,5,6][aligncharacter=yes,alignmentcharacter={.}]
\bTABLE[align={flushright}]
  \bTR \bTD   \eTD \eTR
  \bTR \bTD  x\eTD \eTR
  \bTR \bTD  1.2  \eTD \eTR
  \bTR \bTD  (1.2)\eTD \eTR
  \bTR \bTD 11.22 \eTD \eTR
  \bTR \bTD (11.22)   \eTD \eTR
\eTABLE
\egroup
\stoptext

Without having looked through the code, I wonder if in number mode you could 
first run the existing logic, and then finish off using the existing text logic 
to pad the outside (i.e., to the left of the left-hand text and to the right of 
the right-hand text)?

Anyway, for my purposes restoring the old mode as an option is perfect, I just 
wanted to mention this in case this wasn't the behavior you intended.
Thanks again!

Best regards,
Brian


signature.asc
Description: Message signed with OpenPGP using GPGMail
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/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] latest beta, problem with natural tables and alignment character

2014-06-27 Thread Hans Hagen

On 6/27/2014 8:04 PM, Brian Landy wrote:


On Jun 26, 2014, at 5:24 PM, Hans Hagen pra...@wxs.nl wrote:


On 6/26/2014 10:48 PM, Hans Hagen wrote:

On 6/26/2014 5:06 AM, Brian Landy wrote:

On Jun 25, 2014, at 6:53 PM, Hans Hagen pra...@wxs.nl wrote:


On 6/25/2014 11:26 PM, Brian R. Landy wrote:


When you say next beta do you mean a subsequent minimals release
(i.e., this fix should be the 2014.06.22 release)?  Or do you mean a
new
beta that you announce more formally on the list?  I'm not sure what I
should look for before I test again, so I don't end up testing a
version
without the fix.


netx beta == next upload == already done



Great, thanks.  I wanted to make sure before mentioning I'm still
seeing problems.  When you have a combination number/character
sequence (i.e., 1D or 11-22+) and specify an alignment
(flushleft/middle/flushright) spaces get inserted between the final
digit and the first trailing character.  So 1D might print as 1 D,
11-22+ prints as 11-22 +, etc.  This happens using . or , for
alignment, it's not exclusive to aligning on a hyphen.


i now have two methods, number and text and {-} triggers text

you can force a method with text- and number-

no upload yet


I'll also add \nocharacteralign so that one can disable this mechanism in a 
table cell.


This is all great, thank's so much for handling this so quickly!  I like the 
idea of keeping the old behavior as an alternative.


in fact, the old behaviour is the default for number related seperators 
but in your case the - so not a number separator so then it assumes text



And now that I see what your new mode is attempting to accomplish, I think it 
will prove very useful.  It looks like you want to parse out the number from 
any preceding and following text, align the number on the alignment character, 
and pad out any text that precedes a number (like a currency symbol) to align 
on the left rather than be flush with the number.  I just wanted to point out 
that this only works if identical preceding and/or trailing text exists in 
every cell.


indeed, this mechanism was meant for numbers


For example, this table doesn't align using flushleft, middle, or flushright (it 
will if you force text-{.}, but of course the parens won't align vertically):

\starttext
\bgroup
\setupTABLE[1,2][3,4,5,6][aligncharacter=yes,alignmentcharacter={.}]
\bTABLE[align={flushright}]
   \bTR \bTD   \eTD \eTR
   \bTR \bTD  x\eTD \eTR
   \bTR \bTD  1.2  \eTD \eTR
   \bTR \bTD  (1.2)\eTD \eTR
   \bTR \bTD 11.22 \eTD \eTR
   \bTR \bTD (11.22)   \eTD \eTR
\eTABLE
\egroup
\stoptext

Without having looked through the code, I wonder if in number mode you could 
first run the existing logic, and then finish off using the existing text logic 
to pad the outside (i.e., to the left of the left-hand text and to the right of 
the right-hand text)?


not today ... things take time


Anyway, for my purposes restoring the old mode as an option is perfect, I just 
wanted to mention this in case this wasn't the behavior you intended.


maybe you can wikify these variants

Hans

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

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


[NTG-context] Conditional keep-with-next rules

2014-06-27 Thread Jan Tosovsky
Dear All,

in my index I can see disturbing page breaks. 

primary-01
primary-02
   secondary-01
--- ( next page ) -
   secondary-02
primary-03

instead of 

primary-01
--- ( next page ) -
primary-02
   secondary-01
   secondary-02
primary-03

Is it possible to somehow define conditional keep-with-next rules?

I'd like to express:
(1) keep always the primary with the first secondary (this seems to be
implemented)
(2) keep always the first secondary with the next secondary
(3) keep always the last secondary with the previous secondary

And similarly for tertiary.

As the Index is generated, I can't see an easy way to accomplish something
like this. I hope I am wrong :-)

Thanks, Jan


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

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


Re: [NTG-context] win2k and context

2014-06-27 Thread Mojca Miklavec
On Fri, Jun 27, 2014 at 7:02 PM, Wolfgang Werners-Lucchini wrote:
 http://www.ntg.nl/pipermail/ntg-context/2013/071049.html
  Taco keeps an archive of windows binaries on
  http://foundry.supelec.fr/gf/project/luatex/frs/

 not found

It seems that the URL stopped working for some reason (maybe software
upgrade?), the working url is:

https://foundry.supelec.fr/frs/?group_id=10

  (click on package name to get the list of older releases)
  but they were compiled on a different compiler, so you need to
  check yourself whether they work for you or not.
 
  In case not, my best bet for downloading it would be fetching
  luatex.dll from an arbitrary commit from
  http://tug.org/svn/texlive/trunk/Master/bin/win32/

 not clear to me how to extract a certain older version!

http://tug.org/svn/texlive/trunk/Master/bin/win32/luatex.dll?view=log

or

svn co svn://tug.org/texlive/trunk/Master/bin/win32
cd win32
svn log # to see what's there
svn up -rsome number

  Most probably the latest binary is still 0.72.0 in which case you   can 
  also fetch it from
  http://www.ctan.org/tex-archive/systems/texlive/tlnet/archive

 The version is not obvious to me! Seems more or less current. No
 older archives!

That was true at that time when the version in TeX live was probably
still working. You might be able to fetch and old TeX Live from the
archive.

ftp://ftp.tug.org/historic/systems/texlive/

Akira's recent binaries don't support Windows 2000 any longer, that's
for sure, but he's using Visual Studio. There is a reasonable chance
that you might be able to compile luatex yourself with MinGW (maybe
Taco's binaries are working) and maybe that would work even with the
latest version of LuaTeX. But you need to try yourself. You are
probably the only ConTeXt user on Windows 2000 ;)

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
___


[NTG-context] testcolumn error

2014-06-27 Thread Jan Tosovsky
Dear All,

the following MWE works fine, but when that 'First line' is uncommented, I
am getting 'Undefined control sequence' error in the console (ConTeXt -
2014.06.22).

\starttext
\startcolumns[n=2]
%First Line
\testcolumn[2]\input{tufte}
\stopcolumns
\stoptext

Any idea what is wrong here?

Thanks, Jan

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

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