Re: [NTG-context] register entries in footnotes

2020-04-26 Thread Hans Hagen
On 4/26/2020 4:35 PM, Thomas A. Schmitz wrote: A similar question has been asked three years ago, and Rik Kabel posted a partial solution, adapted here: \defineprocessor [Footnote] [right={ n}] \define[1]   \fnindex{\index[Footnote->]{#1}} \starttext This is a sentence with a term in the

[NTG-context] register entries in footnotes

2020-04-26 Thread Thomas A. Schmitz
A similar question has been asked three years ago, and Rik Kabel posted a partial solution, adapted here: \defineprocessor [Footnote] [right={ n}] \define[1] \fnindex{\index[Footnote->]{#1}} \starttext This is a sentence with a term in the index: cat\index{cat}. This sentence also has an

Re: [NTG-context] place single entry of a register, or filtering the terms of a register

2019-10-25 Thread Hans Hagen
On 10/25/2019 3:09 PM, mf wrote: Hello list, is there a way to place only one single entry of a register, or a selection of entries? I looked into strc-reg.mkiv and strc-reg.lua and i would answer "no, it's not possible". I could hack strc-reg.lua and define a command to do that,

[NTG-context] place single entry of a register, or filtering the terms of a register

2019-10-25 Thread mf
Hello list, is there a way to place only one single entry of a register, or a selection of entries? I looked into strc-reg.mkiv and strc-reg.lua and i would answer "no, it's not possible". I could hack strc-reg.lua and define a command to do that, but maybe a better solution

Re: [NTG-context] Bidi-related register problem

2019-01-27 Thread Hans Hagen
On 1/27/2019 7:15 PM, Rik Kabel wrote: That allows the compilation to complete, but method=three breaks other stuff. Try this: \starttext \setupdirections [bidi=on,method=three] \rightaligned{(( How is this?} \stoptext (I also see problems with boxes set in the margin where

Re: [NTG-context] Bidi-related register problem

2019-01-27 Thread Rik Kabel
On 1/27/2019 12:07, Hans Hagen wrote: On 1/27/2019 12:59 AM, Rik Kabel wrote: Here is a much-closer-to minimal example.   \setupregister   [index] [maxwidth=4cm]   \setupdirections [bidi=on,method=two]   \starttext   .\index{Mairzy doats and dozy doats and liddle lamzy divey}   \placeindex   

Re: [NTG-context] Bidi-related register problem

2019-01-27 Thread Hans Hagen
On 1/27/2019 12:59 AM, Rik Kabel wrote: Here is a much-closer-to minimal example.  \setupregister   [index] [maxwidth=4cm]  \setupdirections [bidi=on,method=two]  \starttext  .\index{Mairzy doats and dozy doats and liddle lamzy divey}  \placeindex  \stoptext With the \setupdirections

Re: [NTG-context] Bidi-related register problem

2019-01-26 Thread Rik Kabel
And shorter still, isolating the problem to something in \limitatetext:  \setupdirections [bidi=on,method=two]  \starttext  \limitatetext {Mairzy doats and dozy doats and liddle lamzy divey} {4cm}  \stoptext -- Rik

Re: [NTG-context] Bidi-related register problem

2019-01-26 Thread Rik Kabel
Here is a much-closer-to minimal example.  \setupregister   [index] [maxwidth=4cm]  \setupdirections [bidi=on,method=two]  \starttext  .\index{Mairzy doats and dozy doats and liddle lamzy divey}  \placeindex  \stoptext With the \setupdirections line removed, all is well. However, that line is

[NTG-context] Bidi-related register problem

2019-01-24 Thread Rik Kabel
Recent betas have introduced a bidi-related problem with register processing. In the following example, compilation generates a recoverable error when register processing has to trim an entry to fit maxwidth. The error is: luatex warning  > node filter: error: ...eXt/tex/texmf-context/

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Wolfgang Schuster
Rik Kabel schrieb am 27.11.18 um 22:27: What is unexpected is that the space does not appear in the body (non-footnote) text of the second paragraph. The difference between handling in notes and in body text seems discordant. \startparagraph does *not* start a paragraph. In the two

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Rik Kabel
On 11/27/2018 16:12, Wolfgang Schuster wrote: The space after the register entry is only ignored when you put it before the start of a paragraph because ConTeXt saves the content and flushes it at the start of the next paragraph. When the register entry appear within in a paragraph or when TeX

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Wolfgang Schuster
The space after the register entry is only ignored when you put it before the start of a paragraph because ConTeXt saves the content and flushes it at the start of the next paragraph. When the register entry appear within in a paragraph or when TeX is in horizontal mode (like in your footnote

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Rik Kabel
On 11/27/2018 08:43, Rik Kabel wrote: On 11/27/2018 05:38, mf wrote: In my setup, i have an index of names: \defineregister[Nome][...] The indexing of names can be toggled with a mode: --mode=AddNames The setup is something like this: \startmode[AddNames]   \Name[key]{term}\xmlflush{#1}

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Rik Kabel
On 11/27/2018 05:38, mf wrote: In my setup, i have an index of names: \defineregister[Nome][...] The indexing of names can be toggled with a mode: --mode=AddNames The setup is something like this: \startmode[AddNames]   \Name[key]{term}\xmlflush{#1} \stopmode \startnotmode[AddNames]  

[NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread mf
In my setup, i have an index of names: \defineregister[Nome][...] The indexing of names can be toggled with a mode: --mode=AddNames The setup is something like this: \startmode[AddNames] \Name[key]{term}\xmlflush{#1} \stopmode \startnotmode[AddNames] \xmlflush{#1} \stopnotmode I noticed

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread luigi scarso
On Thu, Nov 22, 2018 at 4:15 PM Ulrike Fischer wrote: > Am Thu, 22 Nov 2018 14:46:57 +0100 schrieb luigi scarso: > > >> > >> A palette entry index value of 0x is a special case indicating > >> that the text foreground color (defined by a higher-level client) > >> should be used and

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread Ulrike Fischer
Am Thu, 22 Nov 2018 14:46:57 +0100 schrieb luigi scarso: >> >> A palette entry index value of 0x is a special case indicating >> that the text foreground color (defined by a higher-level client) >> should be used and shall not be treated as actual index into CPAL >> ColorRecord array. >>

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread Hans Hagen
On 11/22/2018 2:12 PM, Ulrike Fischer wrote: A palette entry index value of 0x is a special case indicating that the text foreground color (defined by a higher-level client) should be used and shall not be treated as actual index into CPAL ColorRecord array. unrelated ... 0x

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread luigi scarso
On Thu, Nov 22, 2018 at 2:13 PM Ulrike Fischer wrote: > Am Thu, 22 Nov 2018 13:50:08 +0100 schrieb Hans Hagen: > > >> When I use this definitions I still get partly blue glyphs with this > >> preamble. Don't you get them? > > > well, i don't know what to expect > > Khaled mentioned this link

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread Ulrike Fischer
Am Thu, 22 Nov 2018 13:50:08 +0100 schrieb Hans Hagen: >> When I use this definitions I still get partly blue glyphs with this >> preamble. Don't you get them? > well, i don't know what to expect Khaled mentioned this link which shows how (harfbuzz-based) browsers like firefox interpret the

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread Hans Hagen
On 11/21/2018 9:04 PM, Ulrike Fischer wrote: Am Wed, 21 Nov 2018 20:37:29 +0100 schrieb luigi scarso: \definefontfeature[quran][mode=node,language=dflt,script=arab, init=yes,medi=yes,fina=yes,isol=yes, ccmp=yes,locl=yes,calt=yes, liga=yes,clig=yes,dlig=yes,rlig=yes,

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-21 Thread Ulrike Fischer
Am Wed, 21 Nov 2018 20:37:29 +0100 schrieb luigi scarso: > \definefontfeature[quran][mode=node,language=dflt,script=arab, > init=yes,medi=yes,fina=yes,isol=yes, >ccmp=yes,locl=yes,calt=yes, >liga=yes,clig=yes,dlig=yes,rlig=yes, >mark=yes,mkmk=yes,kern=yes,curs=yes, >

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-21 Thread luigi scarso
On Wed, Nov 21, 2018 at 7:04 PM Ulrike Fischer wrote: > Am Wed, 21 Nov 2018 18:46:44 +0100 schrieb Hans Hagen: > > > I'm not sure what yoy mwan with 0x as that's intercepted > > With this example (font from > https://github.com/alif-type/amiri/blob/master/AmiriQuranColored.ttf) > > a part of

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-21 Thread Ulrike Fischer
Am Wed, 21 Nov 2018 18:46:44 +0100 schrieb Hans Hagen: > I'm not sure what yoy mwan with 0x as that's intercepted With this example (font from https://github.com/alif-type/amiri/blob/master/AmiriQuranColored.ttf) a part of the glyphs are in blue. Khaled claims that this is wrong, that the

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-21 Thread Hans Hagen
On 11/21/2018 1:37 PM, Ulrike Fischer wrote: Am Wed, 21 Nov 2018 13:01:47 +0100 schrieb Ulrike Fischer: Khaled wrote that "is that [the code] uses the last palette color A bit too much deleted. It should say "it is a bug that ..." in context use the context interface (which uses a

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-21 Thread Ulrike Fischer
Am Wed, 21 Nov 2018 13:01:47 +0100 schrieb Ulrike Fischer: > Khaled wrote that "is that [the code] uses the last palette color A bit too much deleted. It should say "it is a bug that ..." -- Ulrike Fischer http://www.troubleshooting-tex.de/

[NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-21 Thread Ulrike Fischer
I tried to register a demo colorpalette: \starttext \directlua{fonts.handlers.otf.registerpalette("demo", { { g=1 }, %accents { b=1 }, %06dd { r=0.5, g=0.5, b=0.5 }, %unused? { g = 0.5, b=0, r=1 }, } )} blub \stoptext and got the error font-ocl.lua:76: attempt to call a nil va

Re: [NTG-context] Fwd: Custom sorting of "pseudo-language" in a register

2018-03-22 Thread Hans Hagen
On 3/22/2018 9:25 AM, luigi scarso wrote: -- Forwarded message -- From: John Grasty <johnpgra...@gmail.com> Date: Fri, Mar 16, 2018 at 4:15 PM Subject: [NTG-context] Custom sorting of "pseudo-language" in a register To: mailing list for ConTeXt users <ntg-cont

[NTG-context] Custom sorting of "pseudo-language" in a register

2018-03-16 Thread John Grasty
Lua LPEG to parse and normalize my citations so they are referenced in a uniform style. My problem comes in the register sorting. Hans, I saw where in the paste you have recommended a “pseudo-language” to implement a custom sort in such a situation. I have almost figured out how to accomplish

[NTG-context] register with section references (instead of pages)

2017-11-08 Thread Pablo Rodriguez
Dear list, I have this sample: \starttext \chapter{One} \index{one} \section{Two} \index{two} \subsection{Three} \index{three} \placeregister[index] \stoptext Is there any way to get section numbers in the index references instead of page numbers? I have

[NTG-context] ConTeXt meeting 2017 – register now!

2017-08-25 Thread Henning Hraban Ramm
Hi folks, don’t forget to register for ConTeXt meeting 2017 – it’s very soon! 11.–17. September in Germany, near Frankfurt http://meeting.contextgarden.net/2017/ Use the opportunity to get in contact with ConTeXt developers and users and hear about the bleeding edge of development! Of course

Re: [NTG-context] compressing register ranges

2017-06-16 Thread Florian Grammel
>> Using [compress=all] for registers yields somewhat puzzling results (1.0.4 >> (TeX Live 2017)). >> I would expect the register of the following code to become one single range >> "1--7", though context produces "1--2, 3--7". >> Is this the

Re: [NTG-context] compressing register ranges

2017-06-16 Thread Henning Hraban Ramm
Am 2017-06-16 um 17:42 schrieb Florian Grammel <florian.gram...@gmail.com>: > Using [compress=all] for registers yields somewhat puzzling results (1.0.4 > (TeX Live 2017)). > I would expect the register of the following code to become one single range > "1--7", thou

[NTG-context] compressing register ranges

2017-06-16 Thread Florian Grammel
Using [compress=all] for registers yields somewhat puzzling results (1.0.4 (TeX Live 2017)). I would expect the register of the following code to become one single range "1--7", though context produces "1--2, 3--7". Is this the expected behaviour? And if so: is there a

Re: [NTG-context] index(register) from an XML source

2017-01-14 Thread MF
> > Now an alternative approach I thought, because the index I'm > > working on > > is a biographical index, I mean a index of cited people, with a > > biographical profile. So every entry is a few lines long. > > That's why I thought to index only the ids in the text and use a > > textcommand in

Re: [NTG-context] index(register) from an XML source

2017-01-14 Thread Hans Hagen
On 1/14/2017 3:52 PM, MF wrote: Thank you, Hans. I had found a solution, then I saw your e-mail. Anyway I've learned a lot from it. My solution was something like this: function xml.functions.indexEntry(e) local animal = animals[e.at.idref] if animal then --[[

Re: [NTG-context] index(register) from an XML source

2017-01-14 Thread Alan Braslau
dule as follows: \defineregister [indexofauthors] \definebtrxregister [authors] [field=author, register=indexofauthors, method=always, dataset=default, alternative=invertedshort] ... \placeregister [indexofauthors] [compress=yes] This will create an index of all \cited authors

Re: [NTG-context] index(register) from an XML source

2017-01-14 Thread MF
Thank you, Hans. I had found a solution, then I saw your e-mail. Anyway I've learned a lot from it. My solution was something like this: function xml.functions.indexEntry(e)  local animal = animals[e.at.idref]  if animal then  --[[  context.Animal (  { animal.key

Re: [NTG-context] index(register) from an XML source

2017-01-14 Thread Hans Hagen
On 1/13/2017 6:10 PM, MF wrote: Hello list, please see this: \startbuffer[test] In this page there is a cat, a dog and a horse. In this page there's only a fox terrier. In this page you find a persian cat and a

[NTG-context] index(register) from an XML source

2017-01-13 Thread MF
Hello list, please see this: \startbuffer[test]   In this page there is a cat,   a dog  and a horse.     In this page there's only a fox terrier.     In this page you find a persian cat  and a horse.     Cat Dog

Re: [NTG-context] index-register automatic sorting

2016-05-25 Thread luigi scarso
On Tue, May 24, 2016 at 6:13 PM, Manuel Conzelmann <manol...@online.de> wrote: > hi everybody, > > if i place a register at the end of my document its sorted by page numbers > and not alphabetically. someone has an idea how to achieve this (from A to > Z)? > > if it wou

[NTG-context] index-register automatic sorting

2016-05-25 Thread Manuel Conzelmann
hi everybody, if i place a register at the end of my document its sorted by page numbers and not alphabetically. someone has an idea how to achieve this (from A to Z)? if it would be sorted alphabetically there would be only one indicator per letter: A B C D E F G at the moment

[NTG-context] register sorting

2016-05-25 Thread Manuel Conzelmann
hi everybody, if i place a register at the end of my document its sorted by page numbers and not alphabetically. someone has an idea how to achieve this (from A to Z)? if it would be sorted alphabetically there would be only one indicator per letter: A B C D E F G at the moment

Re: [NTG-context] Sorting index register

2016-05-24 Thread Wolfgang Schuster
Manuel Conzelmann <mailto:conze...@hs-pforzheim.de> 24. Mai 2016 um 16:10 How can i sort the register alphabetically, so that all indexes are sorted under max. 26 entries (a-z) instead of the default behaviour: sorted alphabetically per page order? At the moment it looks like GATKABF i

[NTG-context] Sorting index register

2016-05-24 Thread Manuel Conzelmann
How can i sort the register alphabetically, so that all indexes are sorted under max. 26 entries (a-z) instead of the default behaviour: sorted alphabetically per page order? At the moment it looks like GATKABF instead of ABFGKT Thx! Am 24.05.2016 15:08 schrieb "Meer, Hans van der"

[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] Register customization for backmatter page numbers

2015-08-01 Thread Pablo Rodriguez
entries appropriately. Can anyone suggest a way to do this, or some other method? Perhaps a pagecommand that compares the register item real page number to the highest real page number of the body? I would prefer a solution that does not require changing the register commands (\index

[NTG-context] Solved, was Re: Register customization for backmatter page numbers

2015-08-01 Thread Rik Kabel
and find no way to mark index entries appropriately. Can anyone suggest a way to do this, or some other method? Perhaps a pagecommand that compares the register item real page number to the highest real page number of the body? I would prefer a solution that does not require changing the register

Re: [NTG-context] Solved, was Re: Register customization for backmatter page numbers

2015-08-01 Thread Rik Kabel
at the defineconversionset and defineprocessor documentation and find no way to mark index entries appropriately. Can anyone suggest a way to do this, or some other method? Perhaps a pagecommand that compares the register item real page number to the highest real page number of the body? I would prefer a solution

[NTG-context] Register customization for backmatter page numbers

2015-07-31 Thread Rik
and defineprocessor documentation and find no way to mark index entries appropriately. Can anyone suggest a way to do this, or some other method? Perhaps a pagecommand that compares the register item real page number to the highest real page number of the body? I would prefer a solution that does

Re: [NTG-context] \seeindex and secondary index (register) levels

2014-03-19 Thread Hans Hagen
On 3/19/2014 1:11 AM, Rik Kabel wrote: How can I get \seeindex to refer to other than the top-level of an index entry? In the following MWE, I would like to link to /text+more/, not /text,/ and not /text+some/. That is, the highlight should include the name of the lower level(s). The actual link

Re: [NTG-context] \seeindex and secondary index (register) levels

2014-03-19 Thread Rik Kabel
On 2014-03-19 08:30, Hans Hagen wrote: On 3/19/2014 1:11 AM, Rik Kabel wrote: How can I get \seeindex to refer to other than the top-level of an index entry? In the following MWE, I would like to link to /text+more/, not /text,/ and not /text+some/. That is, the highlight should include the

Re: [NTG-context] Missinentries in index register

2014-03-19 Thread Hans Hagen
On 3/19/2014 4:50 PM, Rik Kabel wrote: Another index register buglet, possibly a regression. Two entries should be created, but only one appears. This does not occur with TL2013 context It does occur with the current (20140316) standalone beta. \starttext Why is there no AB entry

[NTG-context] Missinentries in index register

2014-03-19 Thread Rik Kabel
Another index register buglet, possibly a regression. Two entries should be created, but only one appears. This does not occur with TL2013 context It does occur with the current (20140316) standalone beta. \starttext Why is there no AB entry in this index with current beta

[NTG-context] Index register page entry numbers missing

2014-03-19 Thread Rik Kabel
In the following example, page number entries in the index are not displayed when a blank line is inserted in the text, but do appear without that blank. This happens with both the current 20140316 standalone beta and with TL2013. (I noticed this constructing MWEs for other index register

Re: [NTG-context] Index register page entry numbers missing

2014-03-19 Thread Hans Hagen
this constructing MWEs for other index register problems. It is likely not a problem in real life, but may provide insight into other issues.) \starttext Why do the entry page numbers disappear when a blank line follows this line, and reappear when the blank line is removed? (Current beta

[NTG-context] \seeindex and secondary index (register) levels

2014-03-18 Thread Rik Kabel
How can I get \seeindex to refer to other than the top-level of an index entry? In the following MWE, I would like to link to /text+more/, not /text,/ and not /text+some/. That is, the highlight should include the name of the lower level(s). The actual link should be to the page with the entry

[NTG-context] Regression in register processing in last beta

2014-03-16 Thread Jan Tosovsky
Dear All, I have to admit I use quite cumbersome code to get desired output, but while it was working in previous betas, now emergency stop is reported: 'Extra }, or forgotten \endgroup' Here is MWE: \setupalign[hz, hanging] \setupindenting[medium, yes] \setupnotation[footnote][align={hz,

Re: [NTG-context] Regression in register processing in last beta

2014-03-16 Thread Hans Hagen
On 3/16/2014 7:25 PM, Jan Tosovsky wrote: Dear All, I have to admit I use quite cumbersome code to get desired output, but while it was working in previous betas, now emergency stop is reported: 'Extra }, or forgotten \endgroup' Here is MWE: \setupalign[hz, hanging] \setupindenting[medium,

Re: [NTG-context] Regression in register processing in last beta

2014-03-16 Thread Jan Tosovsky
On 2014-03-16 Jan Tosovsky wrote: Dear All, I have to admit I use quite cumbersome code to get desired output, but while it was working in previous betas, now emergency stop is reported: 'Extra }, or forgotten \endgroup' Here is MWE: \setupalign[hz, hanging] \setupindenting[medium,

Re: [NTG-context] Regression in register processing in last beta

2014-03-16 Thread Jan Tosovsky
On 2014-03-16 Hans Hagen wrote: On 3/16/2014 7:25 PM, Jan Tosovsky wrote: Dear All, I have to admit I use quite cumbersome code to get desired output, but while it was working in previous betas, now emergency stop is reported: 'Extra }, or forgotten \endgroup' Here is MWE:

[NTG-context] Customize register format

2014-03-09 Thread Thangalin
Hi, I am trying to reproduce the following register layout: http://i.imgur.com/qXSK2VM.png Entries include a section name, page number, author, and author URL; the entries are formatted fairly differently from a standard index. So far I have: \setupinteraction[state=start,] \define\Punctuate

[NTG-context] register in xml

2013-06-11 Thread Thomas A. Schmitz
Hi, may I interest you in a rerun of a question I asked half a year ago? How do you do an index from xml? Here is my naive approach, which ends in all entries being filed under x, which is less than ideal. What would be the proper way of doing this? Thanks Thomas \starttext

Re: [NTG-context] register in xml

2013-06-11 Thread Wolfgang Schuster
Am 11.06.2013 um 12:59 schrieb Thomas A. Schmitz thomas.schm...@uni-bonn.de: Hi, may I interest you in a rerun of a question I asked half a year ago? How do you do an index from xml? Here is my naive approach, which ends in all entries being filed under x, which is less than ideal. What

Re: [NTG-context] register in xml

2013-06-11 Thread Thomas A. Schmitz
On 06/11/2013 01:08 PM, Wolfgang Schuster wrote: \expanded{\index{…}} Wolfgang Sigh... things can be so easy; I should have tried that myself! Thanks a lot, Wolfgang! Thomas ___ If your question is of

Re: [NTG-context] Problem with local installation - MKIV- register

2013-04-02 Thread Wolfgang
Hello Philipp, many thanks for your help! Wolfgang Am 02.04.2013 00:54, schrieb Philipp Gesang: Hi Wolfgang! ···date: 2013-04-02, Tuesday···from: WolfgangZ··· Hello, I have a problem with a using a register in my local installation (MKIV). The minimal example works on contextgarden

Re: [NTG-context] Problem with local installation - MKIV- register

2013-04-02 Thread Hans Hagen
for Erf, Erfs defined too (best check it) Am 02.04.2013 00:54, schrieb Philipp Gesang: Hi Wolfgang! ···date: 2013-04-02, Tuesday···from: WolfgangZ··· Hello, I have a problem with a using a register in my local installation (MKIV). The minimal example works on contextgarden. The example

[NTG-context] Problem with local installation - MKIV- register

2013-04-01 Thread WolfgangZ
Hello, I have a problem with a using a register in my local installation (MKIV). The minimal example works on contextgarden. The example: \defineregister[Erf][Erflist] \starttext \chapter{F53667} Hello world! \Erf{Bla} Fool \page \placeregister[Erf] \stoptext The error I get: mtx-context

Re: [NTG-context] Problem with local installation - MKIV- register

2013-04-01 Thread Philipp Gesang
Hi Wolfgang! ···date: 2013-04-02, Tuesday···from: WolfgangZ··· Hello, I have a problem with a using a register in my local installation (MKIV). The minimal example works on contextgarden. The example: \defineregister[Erf][Erflist] \defineregister[Erf] It doesn’t appear

Re: [NTG-context] Preventing page break in register between reference and page number

2012-11-10 Thread Wolfgang Schuster
Am 09.11.2012 um 13:43 schrieb H. Özoguz h.oezo...@mmnetz.de: I don't find this macro in strc-reg.mkiv I am using current version: 2012.05.30 11:26 What do I have to change? You need the beta version but before you do this make a copy of your current version. Even then don’t try

[NTG-context] Preventing page break in register between reference and page number

2012-11-09 Thread H. Özoguz
Hello there, I am relatively new to ConTeXt, now typing a small book in it. I have a problem with the register (index). This is an example: |\definepapersize[MyBook][A6] \setuppapersize[MyBook][A6] % Prints on paper the size of MyBook \starttext \index{A} blub \index{B} blub \index

Re: [NTG-context] Preventing page break in register between reference and page number

2012-11-09 Thread Hans Hagen
On 11/9/2012 9:08 AM, H. Özoguz wrote: Hello there, I am relatively new to ConTeXt, now typing a small book in it. I have a problem with the register (index). This is an example: |\definepapersize[MyBook][A6] \setuppapersize[MyBook][A6] % Prints on paper the size of MyBook \starttext \index

Re: [NTG-context] Preventing page break in register between reference and page number

2012-11-09 Thread Wolfgang Schuster
Am 09.11.2012 um 10:19 schrieb Hans Hagen pra...@wxs.nl: On 11/9/2012 9:08 AM, H. Özoguz wrote: Hello there, I am relatively new to ConTeXt, now typing a small book in it. I have a problem with the register (index). This is an example: […] |The page numer of the reference Long Long

Re: [NTG-context] Preventing page break in register between reference and page number

2012-11-09 Thread H. Özoguz
Am 09.11.2012 11:05, schrieb Wolfgang Schuster: Am 09.11.2012 um 10:19 schrieb Hans Hagen pra...@wxs.nl: On 11/9/2012 9:08 AM, H. Özoguz wrote: Hello there, I am relatively new to ConTeXt, now typing a small book in it. I have a problem with the register (index). This is an example

Re: [NTG-context] Preventing page break in register between reference and page number

2012-11-09 Thread luigi scarso
On Fri, Nov 9, 2012 at 1:43 PM, H. Özoguz h.oezo...@mmnetz.de wrote: I don't find this macro in strc-reg.mkiv I am using current version: 2012.05.30 11:26 What do I have to change? Grüße Huseyin strc-reg.mkiv update to the new release is an option ? -- luigi

[NTG-context] multi column index register broken

2012-07-16 Thread Andreas Mang
Dear all, Firstly, thanks for the fixes in the index register. Works nicely... However, I am facing an new problem with this very register: It seems that the current beta only works for index registers put in a single column (see below) or did the interface change? Cheers, Andreas VERSION

Re: [NTG-context] multi column index register broken

2012-07-16 Thread Hans Hagen
On 16-7-2012 23:44, Andreas Mang wrote: Dear all, Firstly, thanks for the fixes in the index register. Works nicely... However, I am facing an new problem with this very register: It seems that the current beta only works for index registers put in a single column (see below) or did

[NTG-context] [register] setup detailed formatting

2011-06-01 Thread Philipp Gesang
Hi all, according to the manual (current draft p. 238f.) the following should work: ···8 \setupinteraction[state=start] \defineregister[myreg][myreg] \setupregister[myreg][textstyle=italic,pagestyle=slanted] %% That’s what it’s about:

[NTG-context] Modifying the header of a Register : \setuphead or \setupregister not working

2011-05-27 Thread Mathieu DUPONT
Hi, How can one modify the header of a Register, after it apparently inherited from Chapter ?In the following example, I try to have the title INDEX at the same height as the title CHAPTER,but neither the \setuphead nor \setupregister commands seem to do anything.Is there another command

Re: [NTG-context] Modifying the header of a Register : \setuphead or \setupregister not working

2011-05-27 Thread Wolfgang Schuster
Am 27.05.2011 um 20:32 schrieb Mathieu DUPONT: Hi, How can one modify the header of a Register, after it apparently inherited from Chapter ? In the following example, I try to have the title INDEX at the same height as the title CHAPTER, but neither the \setuphead nor \setupregister

Re: [NTG-context] Modifying the header of a Register : \setuphead or \setupregister not working

2011-05-27 Thread Mathieu DUPONT
This is fixing a lot of problems I had, thank you ! Mathieu From: schuster.wolfg...@googlemail.com Date: Fri, 27 May 2011 20:46:01 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] Modifying the header of a Register : \setuphead or \setupregister not working Am 27.05.2011

Re: [NTG-context] Coupled register errors!

2011-05-12 Thread Verhaag, G.C.H.M.
what has happened to this feature? Are commands like \defineregister, \setupregister and \couple(d)register still valid ConTeXt commands? Currently I use ConTeXt ver: 2011.03.30 11:21 MKIV fmt: 2011.3.30 int: english/english. coupled registers are not (yet) implemented in mkiv (delayed till I

[NTG-context] Coupled register errors!

2011-05-11 Thread Verhaag, G.C.H.M.
and \couple(d)register still valid ConTeXt commands? Currently I use ConTeXt ver: 2011.03.30 11:21 MKIV fmt: 2011.3.30 int: english/english. Regards, Gerard Verhaag ___ If your question is of interest to others

Re: [NTG-context] Coupled register errors!

2011-05-11 Thread Hans Hagen
? Are commands like \defineregister, \setupregister and \couple(d)register still valid ConTeXt commands? Currently I use ConTeXt ver: 2011.03.30 11:21 MKIV fmt: 2011.3.30 int: english/english. coupled registers are not (yet) implemented in mkiv (delayed till I need it in some project) Hans

Re: [NTG-context] changing title of register displayed with \completeregistername

2011-02-09 Thread Wolfgang Schuster
Am 09.02.2011 um 08:46 schrieb Daniel Lyons: Hi, I'm trying to get a register to show a title other than the name of the register in the code, and not having much luck. For example, \defineregister[pgtype][pgtypes] \completepgtype produces a page with the title Pgtype, when I'd

[NTG-context] changing title of register displayed with \completeregistername

2011-02-08 Thread Daniel Lyons
Hi, I'm trying to get a register to show a title other than the name of the register in the code, and not having much luck. For example, \defineregister[pgtype][pgtypes] \completepgtype produces a page with the title Pgtype, when I'd like it to say PostgreSQL Types instead. (Also

Re: [NTG-context] register sorting

2010-11-04 Thread Steffen Wolfrum
Hi Hans, I tested all the combinations that Jano set up (see below) and additionally tried the same, but used ch instead of uc. But none of these runs gave this sorting result: East Prussia Eastern enlargement East-West Institute I would would sort it this way, but maybe I am simply wrong?

[NTG-context] register sorting

2010-10-29 Thread Steffen Wolfrum
Hi, I just installed todays beta and I am not sure if regoster sorting is working properly. Eg. I modify (see below) the example from tricky-002.tex and I would like to achieve ... accession Action Plan association But none of the four methods (before, after, first, last) gives this result!!

Re: [NTG-context] register sorting

2010-10-29 Thread Jano Kula
Hi Steffen, On 10/29/2010 10:39 PM, Steffen Wolfrum wrote: Hi, I just installed todays beta and I am not sure if regoster sorting is working properly. Eg. I modify (see below) the example from tricky-002.tex and I would like to achieve ... accession Action Plan association But none of the

Re: [NTG-context] Fwd: register broken on steffens machine

2010-10-12 Thread Hans Hagen
On 12-10-2010 1:10, Steffen Wolfrum wrote: Hi Taco, as it calls itself LuaTeX error ... maybe you could have a look at it and hopefully confirm that error? ! LuaTeX error text/tex/texmf-context/tex/context/base/sort-ini.lua:106: attempt to compare nil with number stack traceback:

Re: [NTG-context] Fwd: register broken on steffens machine

2010-10-12 Thread Steffen Wolfrum
Am 12.10.2010 um 13:18 schrieb Hans Hagen: btw, this is related to the somewhat weird feature of setting index entries at the end - i might remove that feature if it keeps interfering - When I have to deal with documents that were written in MSWord and export them to eg. TEI XML, it looks

Re: [NTG-context] register broken in latest beta!

2010-10-12 Thread Steffen Wolfrum
Am 12.10.2010 um 13:18 schrieb Hans Hagen: On 12-10-2010 1:10, Steffen Wolfrum wrote: Hi Taco, as it calls itself LuaTeX error ... maybe you could have a look at it and hopefully confirm that error? ! LuaTeX error text/tex/texmf-context/tex/context/base/sort-ini.lua:106:

[NTG-context] register broken in latest beta!

2010-10-11 Thread Steffen Wolfrum
Hi, todays beta gives an error with this test (taken from strc-reg.kmiv at line 35): \starttext \placeregister[index] test \index{aa} test \startregister[index][x]{bb} test \page test \page test \page test \stopregister[index][x] \stoptext ! LuaTeX error

Re: [NTG-context] register broken on steffens machine

2010-10-11 Thread Hans Hagen
On 11-10-2010 6:50, Steffen Wolfrum wrote: system error on line 8 in file index_ff.tex: LuaTeX error runs ok here ... maybe delete the tuc file helps? I found three invalid characters (form feed?) in strc-reg.mkiv: at line 549, 568, 632. indeed ff and there are probably lots of

Re: [NTG-context] change register entry separator

2010-10-08 Thread Jano Kula
Hello Hans, On 10/01/2010 11:20 PM, Hans Hagen wrote: On 1-10-2010 12:02, Jano Kula wrote: Hi, any way to change register entry and subentry separator from + to something else? Preferably to kanji character, so I'm sure it will not appear in the text. Entries and subentries are autoflushed

Re: [NTG-context] change register entry separator

2010-10-01 Thread Hans Hagen
On 1-10-2010 12:02, Jano Kula wrote: Hi, any way to change register entry and subentry separator from + to something else? Preferably to kanji character, so I'm sure it will not appear in the text. Entries and subentries are autoflushed, so it can be really anything. Other way around: I

[NTG-context] change register entry separator

2010-09-30 Thread Jano Kula
Hi, any way to change register entry and subentry separator from + to something else? Preferably to kanji character, so I'm sure it will not appear in the text. Entries and subentries are autoflushed, so it can be really anything. Other way around: I substitute + with PLUS in index terms

[NTG-context] realpage in register

2010-09-28 Thread Steffen Wolfrum
Hi, I want to set up a register that shows the number of userpage and the number of realpage (used in pdf numbering). I was thinking of something like ... \def\BothPageNumbers#1 {#1 (\realpageno[#1])} \setupregister[index][pagecommand=\BothPageNumbers] ... only, I don't know how to address

  1   2   >