[NTG-context] index sort order (de)

2024-05-14 Thread Henning Hraban Ramm
no sense to have a default setting that doesn’t adhere to the official rules. If Û#m not mistaken it’s also the same as DIN 5007-1; maybe there was a difference before 2005. (DIN 5007-2 and de-AT have their uses.) The order of umlauts etc. should be ok. [ß] In tex/context/base/mkiv/sort-

Re: [NTG-context] Can I simplify this to some sort of logic so it scales better?

2022-06-06 Thread Wolfgang Schuster via ntg-context
Gerben Wierda via ntg-context schrieb am 06.06.2022 um 13:34: I have this: \definemode[EN,FR,RU,PT][keep] \doifmodeelse{EN} {     \disablemode[FR]     \disablemode[RU]   \disablemode[PT]   }   { \doifmodeelse{FR}     {       \disablemode[EN]       \disablemode[RU]       \disablemode[PT]     }  

[NTG-context] Can I simplify this to some sort of logic so it scales better?

2022-06-06 Thread Gerben Wierda via ntg-context
I have this: \definemode[EN,FR,RU,PT][keep] \doifmodeelse{EN} { \disablemode[FR] \disablemode[RU] \disablemode[PT] } { \doifmodeelse{FR} { \disablemode[EN] \disablemode[RU] \disablemode[PT] } { \doifmodeelse{RU} {

Re: [NTG-context] How to manually adjust the sort order of items appearing in a custom index?

2022-01-17 Thread Henning Hraban Ramm via ntg-context
other event happened} \dateis{1900s+1912}{Another event happened} \startchapter[title=Important Dates]     \placelistdates \stopchapter \stoptext Change your definition of \dateis (or use an additional macro) to use the sort key of \index: \index[1900s+191201]{January} \index[1900s+19120

[NTG-context] How to manually adjust the sort order of items appearing in a custom index?

2022-01-17 Thread Joel via ntg-context
I created a custom index that displays a list of "Important Dates" appearing in my book. It lists the year, a short description of what happened, and should show the page number. I'm running into two errors though: First, if the date is the same year, it is sorting alphabetically, example

[NTG-context] typos in sort-lan.lua

2020-10-19 Thread Henning Hraban Ramm
I stumbled upon a few typos in the sort order definitions: In Hebrew and Yiddish, there are many unclosed brackets: definitions['he'] = { 979entries = { 980['א'] = 'א', ['ב'] = 'ב', ['ג'] = 'ג', ['ד'] = 'ד', ['ה'] = 'ה', 981['ו'] = 'ו', ['ז'] = 'ז', ['ח'] = 'ח', ['ט'] = 'ט'

Re: [NTG-context] TeXlive 2020 / Gentoo Linux: ConTeXt does not find itself (sort of)...]

2020-09-09 Thread mylists
Hi Matthijs, thanks for your support. My first attempts to change the installation accordingly failed unfortunately. ( I had tried to change /usr/share/texmf-dist/web2c/texmfcnf.lua ) What file/place would be the best to adapt these settings? Cheers! Meino On 09/09 02:46, Matthijs van

Re: [NTG-context] TeXlive 2020 / Gentoo Linux: ConTeXt does not find itself (sort of)...]

2020-09-09 Thread Matthijs van der Wild
If I compare /usr/share/texmf-dist/web2c/texmfconf.lua with its counterpart in Arch Linux, I found the differences in the following entries: Gentoo: > TEXMFSYSVAR = "selfautoparent:texmf-var", > TEXMFOS = "selfautodir:", > TEXMFDIST = "selfautoparent:texmf-dist", >

[NTG-context] TeXlive 2020 / Gentoo Linux: ConTeXt does not find itself (sort of)...]

2020-09-05 Thread mylists
Hi, this is my first post to this mailinglist. I am no native speaker... if something sound somehow ... I will try to give my best ;) I am using GENTOO Linux, which compiles everything on the target instead of pulling ready compiled, binary packages into the system. I did a fresh install

Re: [NTG-context] How to sort list of sections?

2019-11-08 Thread Rik Kabel
On 11/7/2019 16:22, jdh wrote: I get no difference using criterium=previous versus criterium=local. Try this extended example to see the difference:  \setuphead[section][number=no]  \starttext  \startchapter[title=foo]   \placelist[section][criterium=local,order=title]

Re: [NTG-context] How to sort list of sections?

2019-11-08 Thread Hans Hagen
st[section][criterium=previous,order=title] you can wikify this .. On Fri, 8 Nov 2019 at 04:52, Hans Hagen <mailto:j.ha...@xs4all.nl>> wrote: On 11/7/2019 12:13 AM, Kerry Sainsbury wrote: > Hi Folks, > > If sections are just lists, and lists can be sorted, how

Re: [NTG-context] How to sort list of sections?

2019-11-07 Thread jdh
nt > you need to use > "criterium=previous" > > \placelist[section][criterium=previous,order=title] > > On Fri, 8 Nov 2019 at 04:52, Hans Hagen wrote: > > On 11/7/2019 12:13 AM, Kerry Sainsbury wrote: > > Hi Folks, > > > > If sec

Re: [NTG-context] How to sort list of sections?

2019-11-07 Thread Kerry Sainsbury
8 Nov 2019 at 04:52, Hans Hagen wrote: > On 11/7/2019 12:13 AM, Kerry Sainsbury wrote: > > Hi Folks, > > > > If sections are just lists, and lists can be sorted, how can I sort a > > list of sections? > > My actual goal is to generate an 'index' that is made up of

Re: [NTG-context] How to sort list of sections?

2019-11-07 Thread Hans Hagen
On 11/7/2019 12:13 AM, Kerry Sainsbury wrote: Hi Folks, If sections are just lists, and lists can be sorted, how can I sort a list of sections? My actual goal is to generate an 'index' that is made up of section headings. Here's my attempt that does not work. here's one that does

[NTG-context] How to sort list of sections?

2019-11-06 Thread Kerry Sainsbury
Hi Folks, If sections are just lists, and lists can be sorted, how can I sort a list of sections? My actual goal is to generate an 'index' that is made up of section headings. Here's my attempt that does not work. \setuphead[section][number=no ] % This was a guess at how I might be able

[NTG-context] Bibliography sort and name-hyphenation issues

2018-10-24 Thread Rik Kabel
List, Given this example: \enabletrackers [publications.authorhash] \startbuffer [bib] @book{dalambert1743, title = {Traite de Dynamique}, author = {Jean Le Rond d’Alembert}, publisher = {David l’aîné},

Re: [NTG-context] sort order in registers (indexes)

2018-06-10 Thread Wolfgang Schuster
Hans Hagen 10. Juni 2018 um 21:07 On 6/10/2018 8:50 PM, Henning Hraban Ramm wrote: wolfgang provided these so he has to give his blessing You can add them. AFAIK the ß replacement was added later (no idea who sent it) because it wasn’t in the patch I found in my

Re: [NTG-context] sort order in registers (indexes)

2018-06-10 Thread Henning Hraban Ramm
Am 2018-06-10 um 20:50 schrieb Henning Hraban Ramm : > Ah, thanks for the hint. But how can I employ these definitions with > index/list ordering? > Setting mainlanguage and method "*,uc" doesn’t seem to do the trick. Sorry, found it. In my test file there was still "language=cz" in the setup,

Re: [NTG-context] sort order in registers (indexes)

2018-06-10 Thread Hans Hagen
On 6/10/2018 8:50 PM, Henning Hraban Ramm wrote: Hans, please add the replacement { "ß", "ss" } to definitions['DIN 5007-1'] and definitions['DIN 5007-2'] wolfgang provided these so he has to give his blessing Hans -

Re: [NTG-context] sort order in registers (indexes)

2018-06-10 Thread Henning Hraban Ramm
ö, u, ü, s, ß. >> -- Danish and Norwegian: x, y, z, æ, ø, å >> -- Finnish and Swedish: x, y = ü, z, æ, ä, ö, ø, å (until 2006 v = w) >> -- etc. >> (according to https://de.wikipedia.org/wiki/Alphabetische_Sortierung) > > sort-lan.lua contains different language definitio

Re: [NTG-context] sort order in registers (indexes)

2018-06-10 Thread Pablo Rodriguez
: x, y = ü, z, æ, ä, ö, ø, å (until 2006 v = w) > -- etc. > (according to https://de.wikipedia.org/wiki/Alphabetische_Sortierung) sort-lan.lua contains different language definitions. Among others: DIN 5007-1, DIN 5007-2, Duden. Languages "de-AT", "no", "da" a

Re: [NTG-context] sort order in registers (indexes)

2018-06-10 Thread Henning Hraban Ramm
Am 2018-06-10 um 14:11 schrieb Henning Hraban Ramm : > Am 2018-06-10 um 13:07 schrieb Henning Hraban Ramm : > >>> I think this may achieve what you want: >>> \setupregister[index][method={zm,zc}] >>> I hope it helps, >> >> Thank you very much! >> >> I overlooked that there is indeed some

Re: [NTG-context] sort order in registers (indexes)

2018-06-10 Thread Henning Hraban Ramm
Am 2018-06-10 um 13:07 schrieb Henning Hraban Ramm : >> I think this may achieve what you want: >> \setupregister[index][method={zm,zc}] >> I hope it helps, > > Thank you very much! > > I overlooked that there is indeed some documentation: > http://wiki.contextgarden.net/Command/keyword:method

Re: [NTG-context] sort order in registers (indexes)

2018-06-10 Thread Henning Hraban Ramm
sorting >> sum - Sun - sunny >> instead of >> Sun - sum - sunny >> >> I know I can influence sort order for single entries, but I’d like a general >> setting. > > Hi Hraban, > > I think this may achieve what you want: > > \s

Re: [NTG-context] sort order in registers (indexes)

2018-06-10 Thread Pablo Rodriguez
On 06/10/2018 11:49 AM, Henning Hraban Ramm wrote: > Ahoi, > > usually, uppercase index entries are sorted before all lowercase entries. > Is there a simple setup to change that? > > i.e. I need the sorting > sum - Sun - sunny > instead of > Sun - sum - sunny >

[NTG-context] sort order in registers (indexes)

2018-06-10 Thread Henning Hraban Ramm
Ahoi, usually, uppercase index entries are sorted before all lowercase entries. Is there a simple setup to change that? i.e. I need the sorting sum - Sun - sunny instead of Sun - sum - sunny I know I can influence sort order for single entries, but I’d like a general setting. (Diacritics

Re: [NTG-context] problem with math: "\left" leads to "udefined symbol" --solved (sort of)

2017-01-24 Thread Hans Hagen
On 1/24/2017 4:47 PM, j. van den hoff wrote: well after incrementally deleting most everything from my document I now seem to have a reproducible example: 8< \definesynonyms[MySymbol][MySymbols][\meaning] \MySymbol [whaever] {this} { means }

Re: [NTG-context] problem with math: "\left" leads to "udefined symbol" --solved (sort of)

2017-01-24 Thread j. van den hoff
well after incrementally deleting most everything from my document I now seem to have a reproducible example: 8< \definesynonyms[MySymbol][MySymbols][\meaning] \MySymbol [whaever] {this} { means } \starttext \startformula x = \left ( 1 + 2

[NTG-context] Register sort method for unicode quotes

2015-10-05 Thread Rik Kabel
Is there a sort method that can be specified for register sorts that will ignore unicode quote marks (“‘’”) in the same way that primes ("') are ignored. This was asked in 2010 (http://www.mail-archive.com/ntg-context@ntg.nl/msg51348.html) and not answered. It is still a pr

[NTG-context] Question on register sort order and default method

2015-09-27 Thread Rik Kabel
Why does the sort order (for registers, lists of synonyms, and so on) differ when no method is specified compared to when method=default is specified? That is, should not the default method applied when no method is specified be that named ‘default’? \setupregister[index][n=1

Re: [NTG-context] Citation Sort Order

2014-08-11 Thread Rik Kabel
On 2014-08-11 01:30, Thangalin wrote: Thank you, Rik. I wanted to list all the bibliography entries (including unreferenced citations) with referenced citations ordered chronologically. I suppose that would require maintaining two separate bibliography files... If by chronologically, you mean

Re: [NTG-context] Citation Sort Order

2014-08-10 Thread Thangalin
Thank you, Rik. I wanted to list all the bibliography entries (including unreferenced citations) with referenced citations ordered chronologically. I suppose that would require maintaining two separate bibliography files... It's not all that important, though. Kindest regards.

[NTG-context] Citation Sort Order

2014-08-07 Thread Thangalin
The documentation (http://www.ntg.nl/maps/26/12.pdf) suggests that the order of citations can be changed using sorttype=cite. The example code below writes a 6 in the document. I thought by setting the sorttype to cite that the bibliography order would be determined based on the order that the

Re: [NTG-context] Citation Sort Order

2014-08-07 Thread Rik
On 2014-08-07 13:20, Thangalin wrote: The documentation (http://www.ntg.nl/maps/26/12.pdf) suggests that the order of citations can be changed using sorttype=cite. The example code below writes a 6 in the document. I thought by setting the sorttype to cite that the bibliography order would be

[NTG-context] Index - 'sort as' parameter for secondary and tertiary index entries

2013-11-07 Thread honyk
Dear All, while there is a sorting parameter for the primary index entry: \index[primary]{primary} I cannot find any method how to define 'sort as' parameter for next two levels: \index{primary+aaa} \index{primary+bbb} I want to have aaa before bbb in my index. Any idea? Thanks, Jan

Re: [NTG-context] Index - 'sort as' parameter for secondary and tertiary index entries

2013-11-07 Thread honyk
On 2013-11-07 honyk wrote: while there is a sorting parameter for the primary index entry: \index[primary]{primary} I cannot find any method how to define 'sort as' parameter for next two levels: \index{primary+aaa} \index{primary+bbb} I've tried '+' analogy and it seems to be working

Re: [NTG-context] Feature-Request: Sort bibliography entries in alphabetical order by the entries' “short” value

2013-08-08 Thread Michael Scholtz
of publications. Currently I'm using the filter module and a Tcl script to sort the publication entries ( http://tex.stackexchange.com/q/126939/7074 ), but it might be useful if something like a `sorttype=short` option would be added. I added 'short' as sorttype .. untested as no example. Great

Re: [NTG-context] Feature-Request: Sort bibliography entries in alphabetical order by the entries' “short” value

2013-08-08 Thread Hans Hagen
On 8/8/2013 9:29 AM, Michael Scholtz wrote: Here an example for testing: uploading a beta .. we now have: sorttype=cite|short|reference Hans - Hans Hagen | PRAGMA ADE

[NTG-context] Feature-Request: Sort bibliography entries in alphabetical order by the entries' “short” value

2013-08-07 Thread Michael Scholtz
would look like [RFC2616]. In a long bibliography list it is useful if the entries are sorted in alphabetical order by these short names to allow a faster lookup of publications. Currently I'm using the filter module and a Tcl script to sort the publication entries ( http://tex.stackexchange.com

Re: [NTG-context] Feature-Request: Sort bibliography entries in alphabetical order by the entries' “short” value

2013-08-07 Thread Hans Hagen
}, ... ] ... \stoppublication A cite with this setup would look like [RFC2616]. In a long bibliography list it is useful if the entries are sorted in alphabetical order by these short names to allow a faster lookup of publications. Currently I'm using the filter module and a Tcl script to sort

[NTG-context] how to sort a list of content by chaptertitle

2012-01-25 Thread Jan de Kruyf
Hallo, Does anybody have a receipe for sorting a list of content by chapter title in stead of by chapternumber?? Or alternatively is there a way to use a manually sorted book.tui file in the compile cycle of a book? Thanks Jan de Kruyf.

[NTG-context] Two questions about sort lists

2011-12-24 Thread Vyatcheslav Yatskovsky
Hi! I have two questions about sort lists. 1) Is there a way to reset (empty) the sorting list, to reuse it several times? \definesorting[song][songs] \unexpanded\def\SongEntry#1#2#3% {#2 \crlf} \starttext \startlinenumbering \startlines \setupinterlinespace[big] \song{Sway} \song{Hit

Re: [NTG-context] Alphabetical sort

2011-10-07 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, nice example - I put it to the wiki - http://wiki.contextgarden.net/Reference/en/definesorting. But the result doesn't appear with error message internal error: pdfcrop failed, although the compilation on a computer is OK. Any idea what causes wiki compilation failure? Best regards,

Re: [NTG-context] Alphabetical sort

2011-10-07 Thread Vyatcheslav Yatskovsky
Fantastic snippet, thank you Wolfgang! My original code is a bit more complicated, it often (but not always) involves artist, tempo and tonality data, like this \define[1]\artist{{\itx #1}} \define[1]\bpm{{\tfx #1 bpm}}} ... \item Sway \artist{Pussycat Dolls} \bpm{136-138}

Re: [NTG-context] Alphabetical sort

2011-10-07 Thread Wolfgang Schuster
Am 07.10.2011 um 16:16 schrieb Vyatcheslav Yatskovsky: Fantastic snippet, thank you Wolfgang! My original code is a bit more complicated, it often (but not always) involves artist, tempo and tonality data, like this \define[1]\artist{{\itx #1}} \define[1]\bpm{{\tfx #1 bpm}}} ...

[NTG-context] Alphabetical sort

2011-10-06 Thread Vyatcheslav Yatskovsky
Hi! Please, advise me what I can do to alphabetically sort an itemized list? (I have list of songs, and want them to be alphabetically sorted, as an option ). \startitemize[n] %something like 'sort' key would be very useful \item Fly me to the moon \item Hit the road jack \item Sway

Re: [NTG-context] Alphabetical sort

2011-10-06 Thread Wolfgang Schuster
Am 06.10.2011 um 20:11 schrieb Vyatcheslav Yatskovsky: Hi! Please, advise me what I can do to alphabetically sort an itemized list? (I have list of songs, and want them to be alphabetically sorted, as an option ). \startitemize[n] %something like 'sort' key would be very useful

Re: [NTG-context] How to sort the reference by the cite sequence

2011-03-31 Thread seasoul
in the bbl file. So i add one line to generate a bbl file by the citing sequence. \setupbibtex[database={blabla},sort=cite] This time, there is even no bbl file generated. How do i get my publication list to what I want: numbered by the citing sequence in the text

[NTG-context] How to sort the reference by the cite sequence

2011-03-30 Thread seasoul
. \setupbibtex[database={blabla},sort=cite] This time, there is even no bbl file generated. How do i get my publication list to what I want: numbered by the citing sequence in the text? ___ If your question is of interest

[NTG-context] Bibliogrraphy MKIV sort does NOT work

2010-11-27 Thread barndog1946
Hans, Could we (you and I) fix sort= so that we can make choices? Default sort=author does NOT function. As a matter of fact there seems to be no sort available. Also, can someone point me to the files required so that we (I) could write code to chose biblio style files for reference

Re: [NTG-context] index sort question

2010-11-23 Thread Jano Kula
Hi Horacio, On 11/21/2010 10:48 PM, Horacio Suarez wrote: Jano, thankyou very much. It is a songs book, and I need an author table of content. Your solution is very good, works fine, but using \pagenumber or incrementing a counter I can´t make it work. I replace \pagenumber with a

Re: [NTG-context] index sort question

2010-11-23 Thread Horacio Suarez
? thankyou for your answers. Horacio Suarez To: ntg-context@ntg.nl From: jano.k...@tiscali.cz Date: Tue, 23 Nov 2010 11:37:49 +0100 Subject: Re: [NTG-context] index sort question Hi Horacio, On 11/21/2010 10:48 PM, Horacio Suarez wrote: Jano, thankyou very much

Re: [NTG-context] index sort question

2010-11-21 Thread Horacio Suarez
Antropofagia www.eantropofagia.com.ar To: ntg-context@ntg.nl From: jano.k...@tiscali.cz Date: Fri, 19 Nov 2010 10:49:35 +0100 Subject: Re: [NTG-context] index sort question On 11/19/2010 10:45 AM, Jano Kula wrote: Hello Horacio, if you have only one index item per page, than on the second

Re: [NTG-context] index sort question

2010-11-21 Thread Vianney le Clément
On Sun, Nov 21, 2010 at 22:48, Horacio Suarez horaciosua...@hotmail.com wrote: A\index[arbol+\pagenumber]{arbol+rojo}\page B\index[araña+\pagenumber]{araña+linda}\page C\index[arbol+\pagenumber]{arbol+verde}\page D\index[araña+\pagenumber]{araña+grande}\page

Re: [NTG-context] index sort question

2010-11-19 Thread Jano Kula
in the register (according to what you want), not speaking about others, so you could get Z G I E A N L ... as an alphabet, and nobody would find anything. Jano On 11/18/2010 10:50 PM, Horacio Suarez wrote: hello all In a index, is there a way to sort the items inside a letter not alphabetically, I

Re: [NTG-context] index sort question

2010-11-19 Thread Jano Kula
On 11/19/2010 10:45 AM, Jano Kula wrote: Hello Horacio, if you have only one index item per page, than on the second level you can use \pagenumber for sorting: or your own counter increased by every index item, which doesn't restrict it to one item per page. J.

[NTG-context] How to sort in Lua using locale?

2010-07-12 Thread Mojca Miklavec
Hello, I would like to create a document using some functionality that is pretty close to creating an index, but the built-in index creation code doesn't suffice. My main question is: how do I sort strings using the built-in sorting rules for the current language? Here is an example with a table

Re: [NTG-context] How to sort in Lua using locale?

2010-07-12 Thread Hans Hagen
On 12-7-2010 12:30, Mojca Miklavec wrote: Hello, I would like to create a document using some functionality that is pretty close to creating an index, but the built-in index creation code doesn't suffice. My main question is: how do I sort strings using the built-in sorting rules

[NTG-context] bibtex sort mkiv

2010-06-12 Thread Yury G. Kudryashov
Hi! I try to sort my bibliography by athor: \setupbibtex[database=these.bib,sort=author] \setuppublications[numbering=yes,sorttype=bbl] \starttext \completepublications \stoptext The .bbl file is sorted, but references in the resulting .pdf are sorted in citation order

Re: [NTG-context] bibtex sort mkiv

2010-06-12 Thread Taco Hoekwater
Yury G. Kudryashov wrote: Hi! I try to sort my bibliography by athor: \setupbibtex[database=these.bib,sort=author] \setuppublications[numbering=yes,sorttype=bbl] \starttext \completepublications \stoptext The .bbl file is sorted, but references in the resulting .pdf are sorted in citation

Re: [NTG-context] sort-lan.lua nitpicks and sorting

2010-05-07 Thread Hans Hagen
On 2-5-2010 3:59, Philipp Gesang wrote: 1. In sort-lan.lua, line 101 should read «['r'] = r», and line 144 «['r'] = 26, -- r». i patched the file 2. Although I read the disclaimer about said file being “preliminary and incomplete” -- is there some rationale behind the range of integers

Re: [NTG-context] sort-lan.lua nitpicks and sorting

2010-05-03 Thread Philipp Gesang
On 2010-05-02 15:59:53, Philipp Gesang wrote: Hi again, 1. In sort-lan.lua, line 101 should read «['r'] = r», and line 144 «['r'] = 26, -- r». In lines 152 and 109 concerning the character “ů” (uring in unicode speak) there's a typo, the key should be “uc(0x016F)” instead of “uc(0x01F6

[NTG-context] sort-lan.lua nitpicks and sorting

2010-05-02 Thread Philipp Gesang
Hi again, 1. In sort-lan.lua, line 101 should read «['r'] = r», and line 144 «['r'] = 26, -- r». 2. Although I read the disclaimer about said file being “preliminary and incomplete” -- is there some rationale behind the range of integers for each language mapping? The mapping for English goes

Re: [NTG-context] sort-lan.lua line 157

2010-03-22 Thread Hans Hagen
On 21-3-2010 17:52, Philipp Gesang wrote: Hi, I had a look at sort-lan.lua, here are lines 156--158: ['y']= 38, -- y ['z']= 49, -- z [uc(0x017E)] = 40, -- zcaron I guess the correct value for “z” should be “39”? indeed

[NTG-context] sort-lan.lua line 157

2010-03-21 Thread Philipp Gesang
Hi, I had a look at sort-lan.lua, here are lines 156--158: ['y']= 38, -- y ['z']= 49, -- z [uc(0x017E)] = 40, -- zcaron I guess the correct value for “z” should be “39”? Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org

Re: [NTG-context] Sort register (index) by Bible book

2009-11-20 Thread berend
for a more automated solution, but given that even you don't know one, it seems I have to write some sorting mechanism myself. Or perhaps use the trick above as the input is XML, and the verses are clearly marked, so I could generate ConTeXt with the proper sort codes. Who does the index sorting

Re: [NTG-context] Sort register (index) by Bible book

2009-11-20 Thread Hans Hagen
the time :-) I'm looking for a more automated solution, but given that even you don't know one, it seems I have to write some sorting mechanism myself. Or perhaps use the trick above as the input is XML, and the verses are clearly marked, so I could generate ConTeXt with the proper sort codes. Who

Re: [NTG-context] Sort register (index) by Bible book

2009-11-20 Thread Taco Hoekwater
is XML, and the verses are clearly marked, so I could generate ConTeXt with the proper sort codes. Who does the index sorting, is that texexec? ___ If your question is of interest to others as well, please add

Re: [NTG-context] Sort register (index) by Bible book

2009-11-17 Thread Jelle Huisman
On 17/11/2009 07:48, Taco Hoekwater wrote: Using \index[Samuel 1 1:1]{1 Samuel 1:1} Should change the sort order. Untested, though. He probably wants to get Genesis before Exodus (etc.) instead. So would it be possible to tell the index mechanism to sort certain items in an arbitrary

Re: [NTG-context] Sort register (index) by Bible book

2009-11-17 Thread Taco Hoekwater
Jelle Huisman wrote: On 17/11/2009 07:48, Taco Hoekwater wrote: Using \index[Samuel 1 1:1]{1 Samuel 1:1} Should change the sort order. Untested, though. He probably wants to get Genesis before Exodus (etc.) instead. So would it be possible to tell the index mechanism to sort

[NTG-context] Sort register (index) by Bible book

2009-11-16 Thread berend
Hi All, I'm typesetting a book that has a register of Bible verses. I like to order them by Bible book as per the order the books are customarily listed. The index is created like \index{1 Samuel 1:1} and retrieved with \placeindex, so that's all standard. Are there any tools to sort this index

Re: [NTG-context] Sort register (index) by Bible book

2009-11-16 Thread Taco Hoekwater
. Using \index[Samuel 1 1:1]{1 Samuel 1:1} Should change the sort order. Untested, though. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

[NTG-context] lots of luatex process/instances (ps xa| grep lua / top -----sort by memory)

2009-05-10 Thread Amaël Broustet
Dear context users, at first a lot of warm thanks for help and comments on using t-simpleslides. On a different matter, I now have the following problem : I do a lot of testing trying compiling my slides (using the following command : context essai.tex). Sometimes, I get errors and an interactive

Re: [NTG-context] lots of luatex process/instances (ps xa| grep lua / top -----sort by memory)

2009-05-10 Thread Arthur Reutenauer
Sometimes, I get errors and an interactive prompt that I kill with either ctrl+C or ctrl+Z (at random). You shouldn't do that. Type 'x' at the error prompt, it makes (Lua)TeX terminate. Ctrl+C sometimes isn't enough to kill LuaTeX, though I have no idea why;

Re: [NTG-context] lots of luatex process/instances (ps xa| grep lua / top -----sort by memory)

2009-05-10 Thread Mohamed Bana
I've also noticed something along those lines. I've also found that CTRL+Z/C doesn't really exit the program --- there are stale processes still lying around. What I described is general, it tends to happen across big documents. Is this a known problem? � Broustet wrote: Dear context

Re: [NTG-context] lots of luatex process/instances (ps xa| grep lua / top -----sort by memory)

2009-05-10 Thread Amaël Broustet
Thank you ! it's ok now. Le dimanche 10 mai 2009 à 20:14 +0200, Arthur Reutenauer a écrit : Sometimes, I get errors and an interactive prompt that I kill with either ctrl+C or ctrl+Z (at random). You shouldn't do that. Type 'x' at the error prompt, it

Re: [NTG-context] lots of luatex process/instances (ps xa| grep lua / top -----sort by memory)

2009-05-10 Thread Amaël Broustet
On a small example : ctrl+C works, ctrl+Z leaves unkillable (either -15 or -1) luatex and texlua process. kill -9 leaves zombies. killing the parent shell clean everything. Le dimanche 10 mai 2009 à 19:25 +0100, Mohamed Bana a écrit : I've also noticed something along those lines. I've also

Re: [NTG-context] lots of luatex process/instances (ps xa| grep lua / top -----sort by memory)

2009-05-10 Thread Arthur Reutenauer
On a small example : ctrl+C works, ctrl+Z leaves unkillable (either -15 or -1) luatex and texlua process. Again, that's because Ctrl+Z, in a normal Unix environment, only suspends the process, it never kills it. Try kill -19 first (SIGCONT), then kill -15 or -1. You can try the following

Re: [NTG-context] lots of luatex process/instances (ps xa| grep lua / top -----sort by memory)

2009-05-10 Thread Martin Schröder
2009/5/10, Amaël Broustet cont...@amael.net: killall luatex and kill -15 PID does nothing. Don't use killall. Linux != Unix. Best Martin ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] bug in sort-lan.tex?

2009-04-24 Thread Hans Hagen
Yue Wang wrote: The pdf file seems fine, but perhaps sort-lan.tex needs updating? these are harmless messages; as sort-lan is a mkii file that deals with other encodings than utf as well it has examples in those encodings Hans

[NTG-context] bug in sort-lan.tex?

2009-04-23 Thread Yue Wang
/texmf-context/tex/context/base/sort-def.tex) (c:/context/tex/texmf-context/tex/context/base/sort-lan.tex Invalid UTF-8 byte or sequence at line 102 replaced by U+FFFD. Invalid UTF-8 byte or sequence at line 102 replaced by U+FFFD. Invalid UTF-8 byte or sequence at line 103 replaced by U+FFFD. Invalid

[NTG-context] \setupbibtex[sort=author]

2008-08-14 Thread Michael Green
I would like to have a list of references sorted alphabetically by author surnames. My environment file has \setupbibtex[sort=author] and \setuppublications[sorttype=bbl] As I understand it, the \setupbibtex instruction is supposed to influence the .aux file. Specifically, the .aux file

Re: [NTG-context] \setupbibtex[sort=author]

2008-08-14 Thread Taco Hoekwater
Michael Green wrote: I would like to have a list of references sorted alphabetically by author surnames. My environment file has \setupbibtex[sort=author] and \setuppublications[sorttype=bbl] You probably have two \setupbibtex commands then, and that is currently not allowed

Re: [NTG-context] \setupbibtex[sort=author]

2008-08-14 Thread Michael Green
Taco Hoekwater wrote: Michael Green wrote: I would like to have a list of references sorted alphabetically by author surnames. My environment file has \setupbibtex[sort=author] and \setuppublications[sorttype=bbl] You probably have two \setupbibtex commands then, and that is currently

Re: [NTG-context] \setupbibtex[sort=author]

2008-08-14 Thread Taco Hoekwater
Michael Green wrote: Taco Hoekwater wrote: Michael Green wrote: I would like to have a list of references sorted alphabetically by author surnames. My environment file has \setupbibtex[sort=author] and \setuppublications[sorttype=bbl] You probably have two \setupbibtex commands

Re: [NTG-context] \setupbibtex[sort=author]

2008-08-14 Thread Michael Green
Taco Hoekwater wrote: Michael Green wrote: That is exactly right: I did have two \setupbibtex commands. Thanks! it is good to know that my glass orb is still working :-) It WAS a little spooky. mjg ___ If your

Re: [NTG-context] a sort of marking

2008-04-09 Thread Wolfgang Schuster
On Wed, Apr 9, 2008 at 1:35 AM, Andrea Valle [EMAIL PROTECTED] wrote: Hi to all, I have a manual. It's A5 to be printed in A4 (so to cut in the middle the A4 page). I'd like to have a cue like a marking to be able to cut exactly in the middle. \setuplayout[marking=on] does not print

Re: [NTG-context] a sort of marking

2008-04-09 Thread Andrea Valle
1) Why don't you play with \startTEXpage ? Because I don't know how does it work 2) Andare a dormire :) ? Io ci sono andato! :) -a- -- luigi it's new . it's powerful . it's luatex . http://www.luatex.org __

Re: [NTG-context] a sort of marking

2008-04-09 Thread Andrea Valle
Thanks Wolfgang %\setupbackgrounds[page][leftframe=on] \setuppagenumbering[alternative={singlesided,doublesided}] \setupbackgrounds[leftpage][leftframe=on] Could you please explain what's going on here? I cannot understand why \setuppagenumbering is relevant for such a behavior Best

Re: [NTG-context] a sort of marking

2008-04-09 Thread luigi scarso
On Wed, Apr 9, 2008 at 9:23 AM, Andrea Valle [EMAIL PROTECTED] wrote: 1) Why don't you play with \startTEXpage ? Because I don't know how does it work $ cd tex/texmf-local/tex/context/base $ grep startTEXpage * (hint: see page-app.tex) Use the source, luke ! -- luigi it's new . it's

Re: [NTG-context] a sort of marking

2008-04-09 Thread Wolfgang Schuster
On Wed, Apr 9, 2008 at 9:27 AM, Andrea Valle [EMAIL PROTECTED] wrote: Thanks Wolfgang %\setupbackgrounds[page][leftframe=on] \setuppagenumbering[alternative={singlesided,doublesided}] \setupbackgrounds[leftpage][leftframe=on] Could you please explain what's going on here? I cannot

Re: [NTG-context] a sort of marking

2008-04-09 Thread Andrea Valle
Thanks Wolfgang. Hmm, your example work. But it does not if I include it my environment ? -a- \startenvironment env_scMaterials \enableregime[utf] \mainlanguage[it] \setupinteraction[state=start] %\setuppapersize[A5][A4, landscape] %%% %% the original format %\setuppapersize[A5][A5] %%

Re: [NTG-context] a sort of marking

2008-04-09 Thread Andrea Valle
What setting do you use in your environment, you have many different settings and I don't know which one of them do you use. The one which is not commented. Make a minimal example (no section formatting, no typing ...) and post this with a sample text. ok BTW: The argument for

Re: [NTG-context] a sort of marking

2008-04-09 Thread Wolfgang Schuster
On Wed, Apr 9, 2008 at 11:09 AM, Andrea Valle [EMAIL PROTECTED] wrote: What setting do you use in your environment, you have many different settings and I don't know which one of them do you use. The one which is not commented. I thought you want to arrange the pages with the 2SIDE command

Re: [NTG-context] a sort of marking

2008-04-09 Thread Wolfgang Schuster
On Wed, Apr 9, 2008 at 10:22 AM, Andrea Valle [EMAIL PROTECTED] wrote: Thanks Wolfgang. Hmm, your example work. But it does not if I include it my environment What setting do you use in your environment, you have many different settings and I don't know which one of them do you use. Make a

Re: [NTG-context] a sort of marking

2008-04-09 Thread Andrea Valle
Thanks Wolfgang, it works perfectly May thanks -a- On 9 Apr 2008, at 11:18, Wolfgang Schuster wrote: On Wed, Apr 9, 2008 at 11:09 AM, Andrea Valle [EMAIL PROTECTED] wrote: What setting do you use in your environment, you have many different settings and I don't know which one of them do

Re: [NTG-context] Sort bibliography by authors

2007-02-05 Thread Taco Hoekwater
every book by title. I guess the only way to achieve this would be by cheating bibtex and putting some tokens in front of Adding a specialized sort routine to the context bst file would not be that hard. If you run a diff between cont-au.bst en cont-ti.bst, you'll see that they are almost

Re: [NTG-context] Sort bibliography by authors

2007-02-05 Thread John R. Culleton
, But that is why Bibtex has this \noopsort trick. rt=title sorts every book by title. I guess the only way to achieve this would be by cheating bibtex and putting some tokens in front of Adding a specialized sort routine to the context bst file would not be that hard. If you run a diff between

Re: [NTG-context] Sort bibliography by authors

2007-02-04 Thread Taco Hoekwater
Aditya Mahajan wrote: Hi Taco, Is it possible to sort by the bibliography list by authors? The manual says that sorttype=cite|bib? No, because there is no reasonable way to do alphabetic sorting in TeX. Also, why does bibl-ams not define 'conference'? This can have the exact same

Re: [NTG-context] Sort bibliography by authors

2007-02-04 Thread Sanjoy Mahajan
Is it possible to sort by the bibliography list by authors? The manual says that sorttype=cite|bib? No, because there is no reasonable way to do alphabetic sorting in TeX. Perhaps I will reveal my own fundamental confusion about bibtex but: What about letting bibtex (the C program) do

  1   2   >