[NTG-context] Exporting auto-generated Index/Registers as ConTeXt source

2014-06-27 Thread Jan Tosovsky
Dear All,

I'd like to tweak the auto-generated Index. Is there any possibility to
export it as the ConTeXt source, modify it and then include instead of
auto-generated Index?

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] Conditional keep-with-next rules

2014-06-27 Thread Jan Tosovsky
On 2014-06-27 Jan Tosovsky wrote:
> 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.

In XSL-FO all these can be set quite easily using keep-with-next/previous
rules placed on first and last items. The complexity behind is left to
XSL-FO processors. 

primary-01 % keep-with-previous & keep-with-next (rules 1 & 2)
primary-02 
secondary-01 % keep-with-previous & keep-with-next (rules 1 & 2)
secondary-02
secondary-03
secondary-04 % keep-with-previous (rule 3)
primary-03 % keep-with-previous (rule 3)

The only natural break is between secondaries: 

primary-01
primary-02 
secondary-01
secondary-02
 ( break ) ---
secondary-03
secondary-04
primary-03

In case of three secondaries all is kept together and moved to the next page
as a whole:
primary-01
primary-02 
secondary-01
secondary-03
secondary-04
primary-03

Only if a large block doesn't fit the page, it is somehow broken.

I've investigated several TeX resources but I still cannot find any
convenient solution.

I've found related thread at
http://tex.stackexchange.com/questions/185059/preventing-page-break-after-th
e-first-or-before-the-last-list-item

That solution with \pagecheck looks promising, but it has to be implemented
on ConTeXt/Lua side. It requires adding 'checking' commands to proper
places. 

Only ConTeXt knows the item tree, it can count number of item in every level
and then decide where placing the command is appropriate.

The \testpage or \testcolumn are not IMHO sufficient here. They cannot
prevent breaking after the first primary. The optional value [2] should
somehow be cummulated. Moreover, testing the number of lines is weak as
index entries can be long or with many page references requiring more lines
than one.

\testpage[2] % keep first two together (generalized rule 2)
primary-01
\testpage[2] % (rule 1)
primary-02
secondary-01
secondary-02
\testpage[2] % (rule 3)
secondary-03
secondary-04
primary-03 % how to set rule 3 here?

Maybe some kind of 'samepage' would be better here.
http://tex.stackexchange.com/questions/64363/context-equivalent-of-latex-sam
epage

\startsamepage
primary-01
primary-02
secondary-01
secondary-02
% placing soft page-break
% http://www.tex.ac.uk/cgi-bin/texfaq2html?label=nopagebrk
\pagebreak[0]
secondary-03
secondary-04
primary-03
\stopsamepage

Unfortunately, all this would have to be implemented on engine side during
rendering index entries. Or are there any ways already?

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
___


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


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

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


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  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  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] win2k and context

2014-06-27 Thread Hans Hagen

On 6/27/2014 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


 (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!


Any reason to stick to windows 2000? Do you want to run old experimental 
luatex?


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

2014-06-27 Thread Gour
Wolfgang Schuster  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] 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 Hans Hagen

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

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

2014-06-27 Thread Wolfgang Schuster

Am 27.06.2014 um 10:05 schrieb Gour :

> Hans Hagen  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 Gour
Hans Hagen  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 Hans Hagen

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

Hans Hagen  writes:


i don't know xindy but normally the context mkiv index mechanism is
flexible enough (and it can be configured)


Here are some snippets from my old xindy setup...

;; define order of sorting runs
(use-rule-set :run 0
   :rule-set ("resolve-sanskrit-diacritics" "hr-alphabetize"
   "hr-ignore-special"))
(use-rule-set :run 1
   :rule-set ("hr-resolve-diacritics" "hr-ignore-special"))
(use-rule-set :run 2
   :rule-set ("hr-resolve-case" "hr-ignore-special"))
(use-rule-set :run 3
   :rule-set ("hr-resolve-special"))

which says that the sorting should be done in the following order: first
rules for sanskrit diacriticits, then alphabetic sort of Croatian (hr)
characters etc. followed by another set of rules saying to sort Croatian
diacritics (I was using latin2 encoding) etc.

Here is example of resolve-sanskrit-diacritics:

(define-rule-set "resolve-sanskrit-diacritics"

:rules  (("\\={(a)}" "\1" :bregexp :again)
 ("\\={\\i}" "i" :bregexp :again)
 ("\\={I}" "I" :bregexp :again)
 ("\\\.{(.)}" "\1" :bregexp :again)
 ("\\d{(r)}" "ri" :bregexp :again)
 ("\\d{(t)}" "\1" :bregexp :again)
 ("\\d{(T)}" "\1" :bregexp :again)
 ("\\d{(d)}" "\1" :bregexp :again)
 ("\\d{(n)}" "\1" :bregexp :again)
 ("\\d{(s)}" "š" :bregexp :again)
 ("\\d{(S)}" "Š" :bregexp :again)
 ("\\~{(.)}" "\1" :bregexp :again)
 ("\\'{(c)}" "ć" :bregexp :again)
 ("\\'{(C)}" "Ć." :bregexp :again)
 ("\\'{(s)}" "š" :bregexp :again)
 ("\\'{(S)}" "Š" :bregexp :again)
 ))

which says that e.g. 'ṣ' which is pronounced similar to Croatian 'š'
should go in the same letter-group, same with 'Ś' which goes to 'Š'. 'ṛ'
is pronounced as 'ri' and it should goes in the letter group 'ri' etc.

Of course, at that time, without proper Unicode support, it was a bit
cumbersome but I was able to see everything properly in LyX as well as
properly sorted in the final PDF/PS outputs.

Is something like that possible in ConTeXt?


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.


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

2014-06-27 Thread Hans Hagen

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

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

2014-06-27 Thread Gour
Peter Münster  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
___