Re: [NTG-context] where to place \index (again)

2011-06-26 Thread Thomas Schmitz
This is a short sentence to check \index{test}the \tex{index} command. This is another sentence for the test\index{test}. \stoptext The problem when you put the \index command before a word is that it can end in a visible space at the end of the previous line. Wolfgang Thanks, Wolfgang. Just

Re: [NTG-context] where to place \index (again)

2011-06-26 Thread Wolfgang Schuster
Am 26.06.2011 um 22:18 schrieb Thomas Schmitz: \setuplayout[width=6.3cm]\showframe %\let\forcecolorhack\relax \starttext This is a short sentence to check \index{test}the \tex{index} command. This is another sentence for the test\index{test}. \stoptext The problem when you put the \index

[NTG-context] [OT] Lua enters the top 10 languages of the TIOBE index

2011-06-07 Thread luigi scarso
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] where to put an \index{foo} ?

2011-05-24 Thread Steffen Wolfrum
Hi, either I set an \index{foo} in front of the word it refers to, or after that word: The second can lead to wrong line wrapping when a full stop follows (see Case 1), and the first can lead into a line ending with a space before wrapping (see Case 2). :o( Is there a third option? Thanks

Re: [NTG-context] Index making

2011-05-05 Thread Hans Hagen
On 4-5-2011 8:25, Willi Egger wrote: Hi all, Could some one tell me, why the index making in the following example does not come out as expected (as shown in the examplelines at the end)? \startluacode function Indexing(text) local data = text data = (string.gsub(data, ,, +)) data

Re: [NTG-context] Index making

2011-05-05 Thread Willi Egger
Hi Hans, thanks for your reply. E test-index.pdf Description: Adobe PDF document test-index.tex Description: Binary data scaping the + does not solve the underlaying problem. i.e. \index{\cldcontext{Indexing(bulb, fitting)}}} results in the typeset index as: bulb+fitting There is no page

Re: [NTG-context] Index making

2011-05-05 Thread Wolfgang Schuster
Am 05.05.2011 um 11:14 schrieb Willi Egger: Hi Hans, thanks for your reply. Etest-index.pdftest-index.texscaping the + does not solve the underlaying problem. i.e. \index{\cldcontext{Indexing(bulb, fitting)}}} results in the typeset index as: bulb+fitting You have to expand

Re: [NTG-context] Index making

2011-05-05 Thread Willi Egger
Hi Wolfgang THANK YOU! Willi On 5 May 2011, at 11:26, Wolfgang Schuster wrote: Am 05.05.2011 um 11:14 schrieb Willi Egger: Hi Hans, thanks for your reply. Etest-index.pdftest-index.texscaping the + does not solve the underlaying problem. i.e. \index{\cldcontext{Indexing(bulb

[NTG-context] Index making

2011-05-04 Thread Willi Egger
Hi all, Could some one tell me, why the index making in the following example does not come out as expected (as shown in the examplelines at the end)? \startluacode function Indexing(text) local data = text data = (string.gsub(data, ,, +)) data = (string.gsub(data, + , +)) return

Re: [NTG-context] \index{…} causes space

2010-12-25 Thread Alan BRASLAU
On Friday 24 December 2010 12:57:26 Andreas Harder wrote: Am 24.12.2010 um 12:53 schrieb Alan BRASLAU: On Friday 24 December 2010 11:54:17 Taco Hoekwater wrote: On 12/24/2010 11:48 AM, Andreas Harder wrote: \index{test}test \ignorespaces could be possibly be added to \index in your

[NTG-context] \index{…} causes space

2010-12-24 Thread Andreas Harder
Hi all, is it possible to make \index{…} more robust, so that one could set a space between command an followed word? \startTEXpage[offset=1ex] test test\vl \crlf test \index{test}test\vl \crlf % OK test \index{test} test\vl % not OK \stopTEXpage But more important, even if there isn’t

Re: [NTG-context] \index{…} causes space

2010-12-24 Thread Taco Hoekwater
On 12/24/2010 11:48 AM, Andreas Harder wrote: \startTEXpage[offset=1ex] test test\vl \crlf test \index{test}test\vl \crlf % OK test \index{test} test\vl % not OK \stopTEXpage \ignorespaces could be possibly be added to \index in your case, but that does not solve this conceptual problem

Re: [NTG-context] \index{…} causes space

2010-12-24 Thread Alan BRASLAU
On Friday 24 December 2010 11:54:17 Taco Hoekwater wrote: On 12/24/2010 11:48 AM, Andreas Harder wrote: \index{test}test \ignorespaces could be possibly be added to \index in your case, but that does not solve this conceptual problem: what is actually being indexed in that second line

Re: [NTG-context] \index{…} causes space

2010-12-24 Thread Andreas Harder
Am 24.12.2010 um 12:53 schrieb Alan BRASLAU: On Friday 24 December 2010 11:54:17 Taco Hoekwater wrote: On 12/24/2010 11:48 AM, Andreas Harder wrote: \index{test}test \ignorespaces could be possibly be added to \index in your case, but that does not solve this conceptual problem: what

Re: [NTG-context] MkII index bug?

2010-11-27 Thread Hans Hagen
On 25-11-2010 12:27, Jano Kula wrote: Hi Hans, playing with the solution for Horacio the line \enableregime[utf] stops treating index entries and its subentries right in MkII. %\enableregime[utf] \starttext \placeregister[index] \page A\index[arbol+rojo]{arbol+rojo}\page B\index[araña+linda

[NTG-context] MkII index bug?

2010-11-25 Thread Jano Kula
Hi Hans, playing with the solution for Horacio the line \enableregime[utf] stops treating index entries and its subentries right in MkII. %\enableregime[utf] \starttext \placeregister[index] \page A\index[arbol+rojo]{arbol+rojo}\page B\index[araña+linda]{araña+linda}\page C\index[arbol+verde

Re: [NTG-context] index sort question

2010-11-23 Thread Jano Kula
with a incremental number to assure the label sorting. So using the original sample, instead of: 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 E\index[arbol+\pagenumber]{arbol

Re: [NTG-context] index sort question

2010-11-23 Thread Horacio Suarez
thankyou Vianney and Jano, I'm using MarkII. Anyway \pagenumber is not usefull because there ir more than 1 index item per page. But using a number and incrementing it each index ocurrence works neither. Excuse my ignorance, but I don't know what is expanded or what does the expansion key

[NTG-context] referencing position on page in index

2010-11-23 Thread Philipp Gesang
Hi all, one of my favorite grammars contains rather elaborated indices: to a given entry they not only list the page numbers, but also the position on the respective page. To this end any page is subdivided into four regions to which the entries may refer separately. For instance, these

Re: [NTG-context] index sort question

2010-11-21 Thread Horacio Suarez
the original sample, instead of:A\index[arbol+\pagenumber]{arbol+rojo}\pageB\index[araña+\pagenumber]{araña+linda}\pageC\index[arbol+\pagenumber]{arbol+verde}\pageD\index[araña+\pagenumber]{araña+grande}\pageE\index[arbol+\pagenumber]{arbol+blanco}\page it is nowA\index[arbol1]{arbol+rojo}\pageB

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 E\index[arbol+\pagenumber]{arbol

Re: [NTG-context] index sort question

2010-11-19 Thread Jano Kula
Hello Horacio, if you have only one index item per page, than on the second level you can use \pagenumber for sorting: 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

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] Dotted leader in index entries

2010-11-11 Thread Duncan Hothersall
[Now with a proper example!] Hello all. I'm using Mk II. I need to set up dotted leaders between an index entry and its page number as show in this runnable sample: \def\Icmd#1{#1\dotfill} \setupregister[index][n=2,textcommand=\Icmd,distance=1em,alternative=A] \starttext \index{Example

[NTG-context] Dotted leader in index entries

2010-11-06 Thread Duncan Hothersall
[Reposting because I think my last message got mangled.] Hello all. I'm using Mk II. When I use the following setup to get dotted leaders between an index entry and its page number: \def\MyIndexTextCmd#1{#1\dotfill} \setupregister[Index][n=2,textcommand=\MyIndexTextCmd,distance=1em

Re: [NTG-context] Dotted leader in index entries

2010-11-06 Thread Wolfgang Schuster
Am 06.11.2010 um 12:12 schrieb Duncan Hothersall: [Reposting because I think my last message got mangled.] Your message came through but there was no example from you! Wolfgang ___ If your question is of interest

[NTG-context] Dotted leader in index entries

2010-11-04 Thread Duncan Hothersall
Hello all. [Using Mk II.] I need to produce an index which looks like this: Mainentry Subentry.3 Slightly longer subentry..5 See also X I have the following setup: \def\MyIndexTextCmd#1

[NTG-context] break after index

2010-10-26 Thread Steffen Wolfrum
Hi Hans, in strc-reg.mkiv I found your remark: % needs thinking ... bla\index{bla}. will break before the . but adding a % penalty is also no solution Is this problem solved, ie. is there a working solution? I am working on a book right now where the author set 4906 index marks

Re: [NTG-context] break after index

2010-10-26 Thread Jano Kula
Hi Steffen, On 10/26/2010 03:01 PM, Steffen Wolfrum wrote: I am working on a book right now where the author set 4906 index marks ... sometimes right-in-the-middle of a word, but most often behind (and before dot or comma). and what about to clean up the file with regular expression

Re: [NTG-context] break after index

2010-10-26 Thread Steffen Wolfrum
Hi Jano, Am 26.10.2010 um 18:03 schrieb Jano Kula: On 10/26/2010 03:01 PM, Steffen Wolfrum wrote: I am working on a book right now where the author set 4906 index marks ... sometimes right-in-the-middle of a word, but most often behind (and before dot or comma). and what about

[NTG-context] index: xml in mkiv

2010-09-25 Thread Jano Kula
Hello Hans, just to remind the other issues. The code from xml-mkiv.pdf doesn't work as expected. Only in \TestMode=2 the index is rendered as supposed. demo.tex + demo.xml below Jano %% % demo.tex \newcount\TestMode \TestMode=0 % expansion=xml %\TestMode=1 % expansion=yes, index

Re: [NTG-context] new beta (index)

2010-09-25 Thread Hans Hagen
, so some word in the index is triggering this ... no minimal example I guess btw: does the MkIV-structure-idea also provide an xml-alike start/stop for index marks? index termSchlüsselwort/term /index we have an experimental \setregisterentry [index] [specification][userdata] (I

Re: [NTG-context] new beta (index)

2010-09-24 Thread Steffen Wolfrum
Am 22.09.2010 um 16:52 schrieb Hans Hagen: On 22-9-2010 3:22, Alan BRASLAU wrote: Nice, but something is broken (of course, my minimal examples work, but not my 700+ page test file!): (thanks to Taco, I now understand the luatex error message) hm, so some word in the index is triggering

Re: [NTG-context] new beta (index)

2010-09-22 Thread Alan BRASLAU
[dejavu,11pt] \starttext \subject{before : Oo Öo oo öo} \placeregister[index][language=en,method=before] \par \subject{after : oo öo Oo Öo} \placeregister[index][language=en,method=after] \par \subject{first : Oo oo Öo öo} \placeregister[index][language=en,method=last] \par \subject

Re: [NTG-context] new beta (index)

2010-09-22 Thread Hans Hagen
On 22-9-2010 3:22, Alan BRASLAU wrote: Nice, but something is broken (of course, my minimal examples work, but not my 700+ page test file!): (thanks to Taco, I now understand the luatex error message) hm, so some word in the index is triggering this ... no minimal example I guess Hans

[NTG-context] attempt to index global 'references' (a nil value)

2010-08-24 Thread Peter Münster
Hello, Here a minimal example that generates that error: \usemodule[pre-stepwise] \setupinteraction[state=start] \starttext bla \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If

[NTG-context] strc-not.lua:87: attempt to index field '?' (a nil value)

2010-07-26 Thread Peter Münster
Hello, Perhaps I don't use localfootnotes the right way? Example: \starttext blub\footnote{blub} bla \startlocalfootnotes blub\footnote{blub} \placelocalfootnotes \stoplocalfootnotes \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

Re: [NTG-context] strc-not.lua:87: attempt to index field '?' (a nil value)

2010-07-26 Thread Hans Hagen
On 26-7-2010 11:33, Peter Münster wrote: Hello, Perhaps I don't use localfootnotes the right way? Example: \starttext blub\footnote{blub} bla \startlocalfootnotes blub\footnote{blub} \placelocalfootnotes \stoplocalfootnotes \stoptext fixed in next upload

[NTG-context] underscore in index entry

2010-07-06 Thread Shiv Shankar Dayal
Hi, I tried to put _ in index entry and am unable to do it. I tried following 1. \index{_shiv} 2. \index{\type{_shiv}} 3. \index{\textunderscore{} shiv} Please help. -- Best regards, Shiv Shankar Dayal ___ If your

Re: [NTG-context] underscore in index entry

2010-07-06 Thread Marco
On Tue, 6 Jul 2010 20:46:09 -0400, Shiv Shankar Dayal shivshankar.da...@gmail.com wrote: Hi, I tried to put _ in index entry and am unable to do it. I tried following 1. \index{_shiv} 2. \index{\type{_shiv}} 3. \index{\textunderscore{} shiv} _ is a special character for TeX. You can change

[NTG-context] LuaTeX error: attempt to index field '?' (a nil value)

2010-06-26 Thread Alan BRASLAU
latest minimals: $ context contextman ! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-not.lua:87: attempt to index field '?' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/strc-not.lua:87: in function 'listindex' ...text/tex/texmf

[NTG-context] bookmark for index

2010-05-20 Thread Matthias Weber
Dear all, \completeindex creates the bookmark index . I'd like to have the capitalized version Index. Is there a way to change that? Thanks, Matthias ___ If your question is of interest to others as well, please

Re: [NTG-context] bookmark for index

2010-05-20 Thread Hans Hagen
On 20-5-2010 6:01, Matthias Weber wrote: Dear all, \completeindex creates the bookmark index . I'd like to have the capitalized version Index. Is there a way to change that? \startchapter[title=Index,bookmark=TITLE] \placeregister[index] \stopchapter

Re: [NTG-context] bookmark for index

2010-05-20 Thread Matthias Weber
Thanks Hans, is there a mk2 solution as well? Matthias On May 20, 2010, at 1:01 PM, Hans Hagen wrote: On 20-5-2010 6:01, Matthias Weber wrote: Dear all, \completeindex creates the bookmark index . I'd like to have the capitalized version Index. Is there a way to change

Re: [NTG-context] bookmark for index

2010-05-20 Thread Hans Hagen
On 20-5-2010 7:33, Matthias Weber wrote: is there a mk2 solution as well? no, well, you could do macro magic like \unexpanded\def\mybookmarktitle{\firstofoneargument} \unexpanded\def\mybookmarktitle{\secondofoneargument} \title{\mybookmarktitle{Index}{INDEX}} with the right definition

Re: [NTG-context] index sorting and formatting mixed up

2010-05-14 Thread luigi scarso
On Fri, May 14, 2010 at 1:46 AM, Michael Saunders odrad...@gmail.com wrote: \setupregister[index][bd][pagestyle=bold] \starttext \index{bc}\index{be} This is a \index[bd::]{test}test. \page This is a less important \index{test}test. \page \placeindex \stoptext Confirmed: mkiv is different

Re: [NTG-context] index sorting and formatting mixed up

2010-05-14 Thread Michael Saunders
luigi scarso: \setupregister[index][bd][pagestyle=bold] \starttext \index{bc}\index{be} This is a \index[bd::]{test}test. \page This is a less important \index{test}test. \page \placeindex \stoptext Confirmed: mkiv is different from mkii. How is it to be done in MKIV? I could find

Re: [NTG-context] index sorting and formatting mixed up

2010-05-14 Thread luigi scarso
On Fri, May 14, 2010 at 4:07 PM, Michael Saunders odrad...@gmail.com wrote: luigi scarso: \setupregister[index][bd][pagestyle=bold] \starttext \index{bc}\index{be} This is a \index[bd::]{test}test. \page This is a less important \index{test}test. \page \placeindex \stoptext Confirmed

Re: [NTG-context] index sorting and formatting mixed up

2010-05-14 Thread Hans Hagen
On 14-5-2010 2:50, luigi scarso wrote: On Fri, May 14, 2010 at 1:46 AM, Michael Saundersodrad...@gmail.com wrote: \setupregister[index][bd][pagestyle=bold] \starttext \index{bc}\index{be} This is a \index[bd::]{test}test. \page This is a less important \index{test}test. \page \placeindex

[NTG-context] index sorting and formatting mixed up

2010-05-13 Thread Michael Saunders
\setupregister[index][bd][pagestyle=bold] \starttext \index{bc}\index{be} This is a \index[bd::]{test}test. \page This is a less important \index{test}test. \page \placeindex \stoptext ___ If your question

[NTG-context] line-break index bug

2010-04-12 Thread Steffen Wolfrum
Hi, I am sorry, but in ConTeXt ver: 2010.04.10 MKIV there still is this index/line-break bug! See example below please: \setuplayout[width=113mm,location=middle] \usetypescript[postscript] \definetypeface[postscript][rm][serif][times][default] \mainlanguage[de] \setupbodyfont

Re: [NTG-context] line-break index bug

2010-04-12 Thread Thomas A. Schmitz
On Apr 12, 2010, at 10:52 AM, Steffen Wolfrum wrote: Hi, I am sorry, but in ConTeXt ver: 2010.04.10 MKIV there still is this index/line-break bug! It's not a bug, it's explained somewhere in the manual. Put the \index entry before the indexed word, and all is well. Thomas

Re: [NTG-context] line-break index bug

2010-04-12 Thread Steffen Wolfrum
Am 12.04.2010 um 11:09 schrieb Thomas A. Schmitz: On Apr 12, 2010, at 10:52 AM, Steffen Wolfrum wrote: Hi, I am sorry, but in ConTeXt ver: 2010.04.10 MKIV there still is this index/line-break bug! It's not a bug, it's explained somewhere in the manual. Put the \index entry

Re: [NTG-context] line-break index bug

2010-04-12 Thread Wolfgang Schuster
Am 12.04.10 10:52, schrieb Steffen Wolfrum: Hi, I am sorry, but in ConTeXt ver: 2010.04.10 MKIV there still is this index/line-break bug! See example below please: \setuplayout[width=113mm,location=middle] \usetypescript[postscript] \definetypeface[postscript][rm][serif][times][default

Re: [NTG-context] line-break index bug

2010-04-12 Thread Steffen Wolfrum
Am 12.04.2010 um 15:41 schrieb Wolfgang Schuster: Am 12.04.10 10:52, schrieb Steffen Wolfrum: Hi, I am sorry, but in ConTeXt ver: 2010.04.10 MKIV there still is this index/line-break bug! See example below please: \setuplayout [width=113mm,location=middle] \usetypescript

[NTG-context] index / line-break bug

2010-03-21 Thread Steffen Wolfrum
Hi, in yesterday's beta (ConTeXt ver: 2010.03.20 22:59 MKIV) there still is this index/line-break bug, see example below please: \setuplayout[width=113mm,location=middle] \usetypescript[postscript] \definetypeface[postscript][rm][serif][times][default] \mainlanguage[de] \setupbodyfont

Re: [NTG-context] index / line-break bug

2010-03-21 Thread Wolfgang Schuster
Am 21.03.10 15:50, schrieb Steffen Wolfrum: Hi, in yesterday's beta (ConTeXt ver: 2010.03.20 22:59 MKIV) there still is this index/line-break bug, see example below please: \forcecolorhack insert a breakpoint in the text, what you can do is to move the index entry after the period

Re: [NTG-context] index / line-break bug

2010-03-21 Thread Steffen Wolfrum
Am 21.03.2010 um 17:17 schrieb Wolfgang Schuster: Am 21.03.10 15:50, schrieb Steffen Wolfrum: Hi, in yesterday's beta (ConTeXt ver: 2010.03.20 22:59 MKIV) there still is this index/line-break bug, see example below please: \forcecolorhack insert a breakpoint in the text, what you

[NTG-context] \completepublications does not create index entry

2010-03-11 Thread Tom
\completepublications creates a satisfactory bibliography but doesn't create an index entry. Is there a parameter that I don't know about that makes this happen? Tom Benjey 717-258-9733 voice 717-243-0074 fax Twitter: @TomBenjey

Re: [NTG-context] \completepublications does not create index entry

2010-03-11 Thread Aditya Mahajan
On Thu, 11 Mar 2010, Tom wrote: \completepublications creates a satisfactory bibliography but doesn't create an index entry. Is there a parameter that I don't know about that makes this happen? Erhm... why should the bibliography create an index entry? Did you mean an entry in table

Re: [NTG-context] \completepublications does not create index entry

2010-03-11 Thread Tom
Doh! Yes, I meant table of contents. I had index on my mind because the index follows the bibliography and it has an entry in the TOC. Tom Benjey 717-258-9733 voice 717-243-0074 fax Twitter: @TomBenjey -Original Message- From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun

Re: [NTG-context] \completepublications does not create index entry

2010-03-11 Thread Aditya Mahajan
On Thu, 11 Mar 2010, Tom wrote: Doh! Yes, I meant table of contents. I had index on my mind because the index follows the bibliography and it has an entry in the TOC. Indeed. MkII and MkIV behave differently with \completecontent. \usemodule[bib] \starttext \completecontent

Re: [NTG-context] \completepublications does not create index entry

2010-03-11 Thread Tom
-context] \completepublications does not create index entry On Thu, 11 Mar 2010, Tom wrote: Doh! Yes, I meant table of contents. I had index on my mind because the index follows the bibliography and it has an entry in the TOC. Indeed. MkII and MkIV behave differently with \completecontent

Re: [NTG-context] \completepublications does not create index entry

2010-03-11 Thread luigi scarso
On Fri, Mar 12, 2010 at 3:25 AM, Tom t...@tuxedo-press.com wrote: That did the trick. Now I know that I have MkII. Given test.tex, for context MkIV at command line run # context test.tex for context MkII run # texexec test.tex -- luigi

[NTG-context] Changing Index Format

2010-02-07 Thread Tom
Could someone point me to documentation that describes how to change the format of the index created by \placeindex and \completeindex? In particular, I want to get rid of the entries created for the letters of the alphabet because I find them an unnecessary use of space. Tom Benjey 717-258-9733

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
does the index sorting, is that texexec? in mkii yes, and in mkiv it's done in lua if you go for xml, an duse mkiv, then you can write your own sorting code as you can access the tree Hans

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

2009-11-20 Thread Taco Hoekwater
the time :-) \def\Genesis#1{\index[001 #1]{Genesis #1}} etc. Takes only 66 macros and it even saves you typing :) 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

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
ber...@pobox.com wrote: 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

[NTG-context] where to place \index

2009-11-06 Thread Oliver Buerschaper
Hi there, Reading the wiki I saw that \index{keyword}keyword should be used rather than keyword\index{keyword}. How should I proceed for names? For example \defineregister[person][people] Albert \person{Einstein, Albert}Einstein vs. \index{Einstein, Albert}Albert Einstein What happens

Re: [NTG-context] spac-ver.lua:580: attempt to index field 'spec'

2009-11-05 Thread Hans Hagen
Peter Münster wrote: Hello, With this test-file: \starttext \blank[force] bla \stoptext I get the following error: error: ...text/tex/texmf-context/tex/context/base/spac-ver.lua:580: attempt to index field 'spec' (a nil value) Workaround: \starttext \strut\blank bla \stoptext or \blank

[NTG-context] index entries inside footnotes

2009-10-18 Thread Thomas A. Schmitz
Hi all, for the book project I'm typesetting, I need two indexes. I discovered that there is a slight problem with index entries in footnotes in mkiv. Here's a minimal example: \starttext Cats\index{cats} \index{cats}and \footnote[1]{dogs\index{dogs} and} more \index{dogs}dogs

[NTG-context] index and LuaTeX

2009-09-11 Thread Bernd Militzer
Hello, using This is luatex, version beta-0.43.0-2009081911 ConTeXt  ver: 2009.09.09 14:31 MKIV  fmt: 2009.9.10  int: english/english The following code does not work like accepted, the index is OK, but  for index "last" and "Militzer" no interaction are possible ! % -

Re: [NTG-context] Urgent: Strange index problems

2009-09-10 Thread Xan
Thank VERY much, Taco. Do you recomand to substitute any $$ i \index with \mathematics? Regards, Xan. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] Urgent: Strange index problems

2009-09-10 Thread Xan
En/na Xan ha escrit: Thank VERY much, Taco. Do you recomand to substitute any $$ i \index with \mathematics? Regards, Xan. Sorry Taco, Bad news. It does not work: the same problem Xan. ___ If your question

Re: [NTG-context] Urgent: Strange index problems

2009-09-10 Thread Xan
En/na Xan ha escrit: En/na Xan ha escrit: Thank VERY much, Taco. Do you recomand to substitute any $$ i \index with \mathematics? Regards, Xan. Sorry Taco, Bad news. It does not work: the same problem Xan. Even with no math I get the same error: \startmydefinition Siguin $G$ un grup

Re: [NTG-context] Urgent: Strange index problems

2009-09-10 Thread Taco Hoekwater
Xan wrote: If I comment this code, then all is ok. Can you see all the code and take a sight if you detect the error? Perhaps an older run is interfering (stuff still in the .tuc file). After all, if there is no math, there should not be a math error either. Can you delete the .tuc file

Re: [NTG-context] Urgent: Strange index problems

2009-09-10 Thread Xan
Yes, Taco. With all files except source file deleted, and \mathematics instead of $$ \index works. Is it any know bug or so? Why is the reason of that?. Just curious. Xan. ___ If your question is of interest

Re: [NTG-context] Urgent: Strange index problems

2009-09-10 Thread Hans Hagen
Xan wrote: Yes, Taco. With all files except source file deleted, and \mathematics instead of $$ \index works. Is it any know bug or so? Why is the reason of that?. Just curious. there will no new tuc file made when you have a 'fatal' error; normally that works out ok, unless

Re: [NTG-context] Urgent: Strange index problems

2009-09-10 Thread Xan
Xan wrote: / Yes, Taco. With all files except source file deleted, and \mathematics // instead of $$ \index works. // // Is it any know bug or so? Why is the reason of that?. Just curious. / there will no new tuc file made when you have a 'fatal' error; normally that works out ok, unless

Re: [NTG-context] Urgent: Strange index problems

2009-09-10 Thread Hans Hagen
Xan wrote: Xan wrote: / Yes, Taco. With all files except source file deleted, and \mathematics // instead of $$ \index works. // // Is it any know bug or so? Why is the reason of that?. Just curious. / there will no new tuc file made when you have a 'fatal' error; normally that works out ok

Re: [NTG-context] Urgent: Strange index problems

2009-09-10 Thread Taco Hoekwater
\index entry (containing the simple math formula $k$) got cut off just before the closing $ for some reason that I can't figure out. Best wishes, Taco ___ If your question is of interest to others as well, please add

Re: [NTG-context] Urgent: Strange index problems

2009-09-10 Thread Hans Hagen
. It looks like Xan's \index entry (containing the simple math formula $k$) got cut off just before the closing $ for some reason that I can't figure out. btw, i noticed in one of the examples ... {amplada+mitjan respecte de \mathematics k+1 valors} so, that's then $k$ and not $k+1$ anyhow, what

[NTG-context] index and interaction

2009-09-09 Thread Bernd Militzer
accepted: % --- snip \setupcolors[state=start] \setupinteraction[state=start] % \starttext \input tufte \index[one]{one}\index[two]{two}\index[last]{last} % \page \placeindex[alternative=A] \stoptext % --- snip The index is OK, but no interaction are possible ! zur Seite(null) What is wrong

Re: [NTG-context] index and interaction

2009-09-09 Thread Willi Egger
/ english or This is LuaTeX, Version beta-0.43.0-2009081911 ConTeXt ver: 2009.08.19 17:10 MKIV fmt: 2009.9.7 int: english/ english the following code does not work like accepted: % --- snip \setupcolors[state=start] \setupinteraction[state=start] % \starttext \input tufte \index[one]{one}\index

Re: [NTG-context] Urgent: Strange index problems

2009-09-09 Thread Taco Hoekwater
Hi Xan, I forwarded your 'complete' document to myself but count not run it at all (my pgf is too old, I guess). At a guess, and especially because you said it is urgent, you could try this for the offending \index entry: \index [amplada+mitjana respecte de k+1 valors] {amplada+mitjan

Re: [NTG-context] index and interaction

2009-09-09 Thread Hans Hagen
Bernd Militzer wrote: The index is OK, but no interaction are possible ! fixed in next beta - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands

Re: [NTG-context] Urgent: Strange index problems

2009-09-08 Thread Xan
...?id #1\c!textcommand }{#2} \dostopattributes \dohandleregisterentry ...exthowto {\v!index }{#1} \fi \egroup \!!doneafalse \c!entryb ...ry {\v!index }{mitjan respecte de $k

[NTG-context] \sl in \index

2009-08-25 Thread Xan
Hi, If I put \index{{\sl something}} it appears in the first position of index. How can I solve that putting it alphabetically? Thanks in advance, Xan. ___ If your question is of interest to others as well, please

Re: [NTG-context] \sl in \index

2009-08-25 Thread Hans Hagen
Xan wrote: Hi, If I put \index{{\sl something}} it appears in the first position of index. How can I solve that putting it alphabetically? \index[something]{...} - Hans Hagen | PRAGMA

[NTG-context] \index does not behaves correctly with accents

2009-07-23 Thread Xan
Hi, When I have \index{àrea algebraica d'una paraula}\mysymbol{$area_a(w)$} then context puts me this in R entry of index. but when I have \index{\`{a}rea algebraica d'una paraula}\mysymbol{$area_a(w)$} Is it something knew? I have MKII. Xan. PS: Please, CCme

Re: [NTG-context] \index inserts whitespace

2009-07-11 Thread Hans Hagen
Wolfgang Schuster wrote: do you mean \flushatnextpar because this works yes, that mechanism - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands

Re: [NTG-context] \index inserts whitespace

2009-07-10 Thread Wolfgang Schuster
. Is there also a way to take care of situations where the \index command appear between two vertical skips, a stupid example is \starttext text \blank\index{text} \blank more text \stoptext In my document this appears in the form \setup[commanda]\index{commanda

Re: [NTG-context] \index inserts whitespace

2009-07-10 Thread Hans Hagen
Thanks, this works. Is there also a way to take care of situations where the \index command appear between two vertical skips, a stupid example is no, an index inserts something in the stream (after all it has to be anchored); in such a case you can try \EveryPar{\index{...}} (or use the delayed

Re: [NTG-context] \index inserts whitespace

2009-07-10 Thread Wolfgang Schuster
}{#3}{#4}}} % register key altnum entry Thanks, this works. Is there also a way to take care of situations where the \index command appear between two vertical skips, a stupid example is no, an index inserts something in the stream (after all it has to be anchored); in such a case you can try

[NTG-context] \index inserts whitespace

2009-07-09 Thread Wolfgang Schuster
Hi, the \index command creates additional whitespace in the output. \starttext \section{Knuth} \input knuth \page \section{Tufte}\index{tufte} \input tufte \stoptext Wolfgang ___ If your question

Re: [NTG-context] \index inserts whitespace

2009-07-09 Thread Hans Hagen
Wolfgang Schuster wrote: Hi, the \index command creates additional whitespace in the output. \starttext \section{Knuth} \input knuth \page \section{Tufte}\index{tufte} \input tufte \stoptext nasty ... the fifth argument must in in the par grabber (it used to be 4 args so this macro

<    1   2   3   4   5   6   7   8   >