[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

Re: [NTG-context] realpage in register

2010-09-28 Thread luigi scarso
On Tue, Sep 28, 2010 at 12:37 PM, Steffen Wolfrum cont...@st.estfiles.de wrote: 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

Re: [NTG-context] Tagged register

2010-09-27 Thread Hans Hagen
On 26-9-2010 8:49, Steffen Wolfrum wrote: argument \t!registerpagerange i'll fix this - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands

[NTG-context] Tagged register

2010-09-26 Thread Steffen Wolfrum
the combination of a tagged pdf with collapsed register ...) Steffen === ! Undefined control sequence. system error on line 26 in file Ohnee-Titel.tex: Undefined control sequence ... 16 \starttext 17 \placeregister[index][compress=yes] \blank[2*big] 18 \page 19

Re: [NTG-context] Register interaction (page references) [mkIV]

2010-05-20 Thread Hans Hagen
On 18-5-2010 4:13, Thomas Floeren wrote: \setupinteraction[state=start] \startsectionblockenvironment[bodypart] \setupuserpagenumber[number=1] \stopsectionblockenvironment \starttext \startfrontmatter \page[dummy] \page[dummy] \stopfrontmatter \startbodymatter \page[dummy]

[NTG-context] Register interaction (page references) [mkIV]

2010-05-18 Thread Thomas Floeren
Hi, when I place an interactive register in mkIV, and then in the PDF click the pagenumber (in the index), it takes me to the wrong page; it seems to go to the absolute pdf page number(?). Example: \setupinteraction[state=start] \startsectionblockenvironment[bodypart

[NTG-context] tlig not active in register

2010-03-17 Thread Piotr Kopszak
Dear list, I'd love to provide a minimal example but before I figure out how to do that a short question: I'm using the same font in the body text and registers: Jannon Text, tex ligatures via fontfeatures work in the body text but not in registers in page scopes. Any ideas? Piotr --

Re: [NTG-context] tlig not active in register

2010-03-17 Thread Piotr Kopszak
Is there a simple way to force replacing of double hyphen by a unicode en dash in registers? P. 2010/3/17 Piotr Kopszak kops...@gmail.com: Dear list, I'd love to provide a minimal example but before I figure out how to do that a  short question: I'm using the same font in the body text and

Re: [NTG-context] tlig not active in register

2010-03-17 Thread Hans Hagen
On 17-3-2010 19:30, Piotr Kopszak wrote: Is there a simple way to force replacing of double hyphen by a unicode en dash in registers? can you make a test file that shows the problem -

Re: [NTG-context] tlig not active in register

2010-03-17 Thread Piotr Kopszak
Here it is, for archives only, as the bug is no longer there with today's minimals. I noticed it with context version of 2009.09.25 23:52. Evidently time to update. \setupregister[index][pagestyle=\it] \usetypescript[iwona] \switchtobodyfont[iwona] \starttext first \index[first]{first item}

Re: [NTG-context] Can not register the callback functions in MkIV

2010-02-19 Thread Yanrui Li
2010/2/19 Yanrui Li liyanrui...@gmail.com Hi, Now it seems that we have not allowed to register the callback functions since beta 2010.02.18. For example: \startluacode local old_pre_linebreak_filter = callback.find ('pre_linebreak_filter') local function my_pre_linebreak_filter (head

Re: [NTG-context] Can not register the callback functions in MkIV

2010-02-19 Thread Hans Hagen
On 19-2-2010 13:21, Yanrui Li wrote: 2010/2/19 Yanrui Liliyanrui...@gmail.com Hi, Now it seems that we have not allowed to register the callback functions since beta 2010.02.18. For example: \startluacode local old_pre_linebreak_filter = callback.find ('pre_linebreak_filter') local

[NTG-context] Can not register the callback functions in MkIV

2010-02-18 Thread Yanrui Li
Hi, Now it seems that we have not allowed to register the callback functions since beta 2010.02.18. For example: \startluacode local old_pre_linebreak_filter = callback.find ('pre_linebreak_filter') local function my_pre_linebreak_filter (head, groupcode) if old_pre_linebreak_filter

[NTG-context] Alphabetical order in register

2009-11-27 Thread Gerhard Kugler
Hello, the German umlauts are not sorted correctly in a register. How can I change their positions? Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ If your

Re: [NTG-context] Alphabetical order in register

2009-11-27 Thread Piotr Kopszak
Did you remember about \language[de] in the preamble? 2009/11/27, Gerhard Kugler pra...@psychotherapie-kugler.de: Hello, the German umlauts are not sorted correctly in a register. How can I change their positions? Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http

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

2009-11-20 Thread berend
Taco == Taco Hoekwater t...@elvenkind.com writes: Taco You could pre-assign a zero-padded number to each book Taco (Genesis=001, Exodus=002), and use that number inside the Taco square brackets. Right, but that would be extremely annoying to type in all the time :-) I'm looking for

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

2009-11-20 Thread Hans Hagen
ber...@pobox.com wrote: Taco == Taco Hoekwater t...@elvenkind.com writes: Taco You could pre-assign a zero-padded number to each book Taco (Genesis=001, Exodus=002), and use that number inside the Taco square brackets. Right, but that would be extremely annoying to type in all the

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

2009-11-20 Thread Taco Hoekwater
ber...@pobox.com wrote: Taco == Taco Hoekwater t...@elvenkind.com writes: Taco You could pre-assign a zero-padded number to each book Taco (Genesis=001, Exodus=002), and use that number inside the Taco square brackets. Right, but that would be extremely annoying to type in all the

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

Re: [NTG-context] 'See also' entries in register

2008-09-13 Thread Willi Egger
Dear Duncan, its a long time since you posted this ... After the fun in Bohinj, I try to catch up ... I do not know which version of Context you use. With ConTeXt ver: 2008.08.11 11:45 MKIV fmt: 2008.8.11 int: english/english I get the desired result i.e. the page-number behind

Re: [NTG-context] 'See also' entries in register

2008-08-27 Thread Duncan Hothersall
No response to this - can I ask, is this a case of a bug in a mkII feature that is replaced in mkIV so isn't worth fixing? Understandable if so, just wanted to check... Duncan I wrote: \starttext I wish I was going to the ConTeXt\index{ConTeXt} meeting this year to enjoy all the

Re: [NTG-context] 'See also' entries in register

2008-08-27 Thread Hans Hagen
Duncan Hothersall wrote: No response to this - can I ask, is this a case of a bug in a mkII feature that is replaced in mkIV so isn't worth fixing? Understandable if so, just wanted to check... i'll reply in private -

[NTG-context] 'See also' entries in register

2008-08-18 Thread Duncan Hothersall
I know everyone is preparing for fun in Bohinj (and I am gutted that I am missing it this year) but it would be really great if someone had the chance to work out how to fix this problem: \starttext I wish I was going to the ConTeXt\index{ConTeXt} meeting this year to enjoy all the

Re: [NTG-context] Finish register sorting (was LuaTeX problems)

2008-07-09 Thread Wolfgang Schuster
On Fri, Jul 4, 2008 at 9:37 AM, Hans Hagen [EMAIL PROTECTED] wrote: Wolfgang Schuster wrote: On Thu, Jul 3, 2008 at 8:21 PM, Tomi Lindberg [EMAIL PROTECTED] wrote: 2008/7/3, Wolfgang Schuster [EMAIL PROTECTED]: I wrote a sorter for finish but we should test it before it can be included.

Re: [NTG-context] Finish register sorting (was LuaTeX problems)

2008-07-09 Thread Arthur Reutenauer
[51] = z, [53] = Ã¥, [55] = ä, [57] = ö, Indeed, the UTF-8 encoding has been badly interpreted as Windows-1252, it seems (and then recoded back in UTF-8 :-) I attach the correctly encoded file (I also corrected “finish” :-) Arthur -- filename : sort-lan.lua -- comment : companion

Re: [NTG-context] Finish register sorting (was LuaTeX problems)

2008-07-04 Thread Wolfgang Schuster
On Thu, Jul 3, 2008 at 8:21 PM, Tomi Lindberg [EMAIL PROTECTED] wrote: 2008/7/3, Wolfgang Schuster [EMAIL PROTECTED]: I wrote a sorter for finish but we should test it before it can be included. I'll give it a try later. And just by glancing there's an ordering error - 'å' should be before

Re: [NTG-context] Finish register sorting (was LuaTeX problems)

2008-07-04 Thread Hans Hagen
Wolfgang Schuster wrote: On Thu, Jul 3, 2008 at 8:21 PM, Tomi Lindberg [EMAIL PROTECTED] wrote: 2008/7/3, Wolfgang Schuster [EMAIL PROTECTED]: I wrote a sorter for finish but we should test it before it can be included. I'll give it a try later. And just by glancing there's an ordering

Re: [NTG-context] Finish register sorting (was LuaTeX problems)

2008-07-04 Thread Tomi Lindberg
That seems to work perfectly. Big thanks to Wolfgang. -- Tomi Lindberg ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Finish register sorting (was LuaTeX problems)

2008-07-03 Thread Wolfgang Schuster
On Thu, Jul 3, 2008 at 12:08 AM, Hans Hagen [EMAIL PROTECTED] wrote: Tomi Lindberg wrote: 2008/6/30, Wolfgang Schuster [EMAIL PROTECTED]: What language do you use for your document, indices work in MkIV currently only for english, dutch, czech and german. My document is in Finnish so that

Re: [NTG-context] Finish register sorting (was LuaTeX problems)

2008-07-03 Thread Tomi Lindberg
2008/7/3, Wolfgang Schuster [EMAIL PROTECTED]: I wrote a sorter for finish but we should test it before it can be included. I'll give it a try later. And just by glancing there's an ordering error - 'å' should be before 'ä'. I assume I just add the luacode section to my environment, switch

Re: [NTG-context] exploring register options

2008-02-14 Thread Wolfgang Schuster
On Wed, Feb 13, 2008 at 10:19 PM, Henning Hraban Ramm [EMAIL PROTECTED] wrote: Am 2008-02-13 um 16:20 schrieb Bart Wise: I'm relatively new to ConTeXt, but I did stumble on a way to get right-aligned page numbers. \def\MyIndexTextCmd#1{#1\hfill}

Re: [NTG-context] exploring register options

2008-02-13 Thread Bart Wise
Hraban, I'm relatively new to ConTeXt, but I did stumble on a way to get right-aligned page numbers. \def\MyIndexTextCmd#1{#1\hfill} \setupregister[index][textcommand=\MyIndexTextCmd] Bart On Tuesday January 29 2008, Henning Hraban Ramm wrote: Can someone tell me, if the following options of

Re: [NTG-context] index register justification

2008-02-11 Thread Taco Hoekwater
Steffen Wolfrum wrote: Hi, just by chance I found this minimal example and (while showgrid) had a closer look at it: \defineregister[Index][Indeces] \showframe\showgrid \starttext \dorecurse{100}{ boo\Index{boo} Boo\Index{Boo} foo\Index{foo} Foo\Index{Foo} goo\Index{goo}

[NTG-context] index register justification

2008-02-11 Thread Steffen Wolfrum
Hi, just by chance I found this minimal example and (while showgrid) had a closer look at it: \defineregister[Index][Indeces] \showframe\showgrid \starttext \dorecurse{100}{ boo\Index{boo} Boo\Index{Boo} foo\Index{foo} Foo\Index{Foo} goo\Index{goo} Goo\Index{Goo} \page }

Re: [NTG-context] header to register

2008-01-30 Thread Thomas A. Schmitz
On Jan 29, 2008, at 5:35 PM, Wolfgang Schuster wrote: Try this: \starttext text\textellipsis text\unknown \stoptext I prefer the second line (there a short discussion about this topic a long time ago). Wolfgang Hi Wolfgang, isn't this just a bug in lmodern? In any decent font,

Re: [NTG-context] header to register

2008-01-30 Thread Idris Samawi Hamid
On Wed, 30 Jan 2008 01:43:46 -0700, Thomas A. Schmitz [EMAIL PROTECTED] wrote: \starttext text\textellipsis text\unknown \stoptext I prefer the second line (there a short discussion about this topic a long time ago). Wolfgang Hi Wolfgang, isn't this just a bug in lmodern? In any

Re: [NTG-context] header to register

2008-01-30 Thread Henning Hraban Ramm
Am 2008-01-30 um 16:48 schrieb Idris Samawi Hamid: isn't this just a bug in lmodern? In any decent font, \textellipsis in fact gives exactly the output you get from \unknown here. There may be historical reasons why the glyph looks that way in cm and lm, but it certainly is unexpected

Re: [NTG-context] header to register

2008-01-29 Thread Wolfgang Schuster
On Jan 28, 2008 9:10 PM, Henning Hraban Ramm [EMAIL PROTECTED] wrote: Am 2008-01-28 um 09:16 schrieb Wolfgang Schuster: On Jan 23, 2008 10:04 PM, Henning Hraban Ramm [EMAIL PROTECTED] wrote: Am 2008-01-22 um 11:31 schrieb Wolfgang Schuster: You could try to write \expanded{index{#1}} and

Re: [NTG-context] header to register

2008-01-29 Thread Wolfgang Schuster
On Jan 29, 2008 3:31 PM, Idris Samawi Hamid [EMAIL PROTECTED] wrote: On Tue, 29 Jan 2008 03:51:01 -0700, Wolfgang Schuster [EMAIL PROTECTED] wrote: You could use \unknown What should that do? And where/how would I use it? Please don't expect me to know any lowlevel commands... Hi

Re: [NTG-context] header to register

2008-01-29 Thread Idris Samawi Hamid
On Tue, 29 Jan 2008 09:35:12 -0700, Wolfgang Schuster [EMAIL PROTECTED] wrote: One can also use \textellipsis, which is more obvious ;-) Try this: \starttext text\textellipsis text\unknown \stoptext I prefer the second line So do I. But I still use \dots mostly so I did not realize

Re: [NTG-context] header to register

2008-01-29 Thread Idris Samawi Hamid
On Tue, 29 Jan 2008 03:51:01 -0700, Wolfgang Schuster [EMAIL PROTECTED] wrote: You could use \unknown What should that do? And where/how would I use it? Please don't expect me to know any lowlevel commands... Hi Henning, \unknown is no low level command, it is ConTeXt's command to

[NTG-context] exploring register options

2008-01-29 Thread Henning Hraban Ramm
Can someone tell me, if the following options of \setupregister are supposed to have some effect (I couldn't see any): style (pagestyle and textstyle work) command (pagecommand and textcommand work) location (Just fixed the texshow description.) I didn't check those (also undocumented):

Re: [NTG-context] header to register (SOLVED)

2008-01-29 Thread Henning Hraban Ramm
Am 2008-01-29 um 21:01 schrieb Henning Hraban Ramm: Here's a rather minimal working example that shows the index problem (even if not the failure with my actual project): \setuphead[chapter][page=no, number=no, textcommand=\MyTitle] Sorry, in this case it's solvable with

Re: [NTG-context] header to register

2008-01-29 Thread Henning Hraban Ramm
Am 2008-01-29 um 18:48 schrieb Idris Samawi Hamid: So do I. But I still use \dots mostly so I did not realize the difference; I thought they were the same (or forgot they are different). Why the different definitions I wonder? Till then I'll proabably \let\textellipsis=\unknown. (there

Re: [NTG-context] header to register

2008-01-28 Thread Wolfgang Schuster
On Jan 23, 2008 10:04 PM, Henning Hraban Ramm [EMAIL PROTECTED] wrote: Am 2008-01-22 um 11:31 schrieb Wolfgang Schuster: You could try to write \expanded{index{#1}} and use deeptextcommand=\TitleFrame. Thank you, I always forget about \expanded, and I didn't know about deeptextcommand at

Re: [NTG-context] header to register

2008-01-28 Thread Henning Hraban Ramm
Am 2008-01-28 um 09:16 schrieb Wolfgang Schuster: On Jan 23, 2008 10:04 PM, Henning Hraban Ramm [EMAIL PROTECTED] wrote: Am 2008-01-22 um 11:31 schrieb Wolfgang Schuster: You could try to write \expanded{index{#1}} and use deeptextcommand=\TitleFrame. Thank you, I always forget about

Re: [NTG-context] header to register

2008-01-23 Thread Henning Hraban Ramm
Am 2008-01-22 um 11:31 schrieb Wolfgang Schuster: You could try to write \expanded{index{#1}} and use deeptextcommand=\TitleFrame. Thank you, I always forget about \expanded, and I didn't know about deeptextcommand at all... But it doesn't work, it stops with: TitelNoToc : - Inhalt

Re: [NTG-context] header to register

2008-01-22 Thread Wolfgang Schuster
On Jan 21, 2008 9:04 PM, Henning Hraban Ramm [EMAIL PROTECTED] wrote: Am 2008-01-21 um 10:33 schrieb Wolfgang Schuster: My .tuo file contains lines like: \listentry{Titel}{2}{}{nihil ita ut videtur}{2--0-1-0-0-0-0-0--1}{3}% ... \registerpage{index}{,}{1}{\dowritetolist \@@koppeling

Re: [NTG-context] header to register

2008-01-22 Thread Wolfgang Schuster
On Jan 21, 2008 9:04 PM, Henning Hraban Ramm [EMAIL PROTECTED] wrote: Am 2008-01-21 um 10:33 schrieb Wolfgang Schuster: My .tuo file contains lines like: \listentry{Titel}{2}{}{nihil ita ut videtur}{2--0-1-0-0-0-0-0--1}{3}% ... \registerpage{index}{,}{1}{\dowritetolist \@@koppeling

Re: [NTG-context] header to register

2008-01-21 Thread Wolfgang Schuster
On Jan 19, 2008 9:51 PM, Henning Hraban Ramm [EMAIL PROTECTED] wrote: Ahoi! For a songbook I need a alphabetically sorted TOC. As easy workaround I tried to use an register/index. But I'd like to get my headers into the index without typing \index all the time. But with my following setup I

Re: [NTG-context] header to register

2008-01-21 Thread Henning Hraban Ramm
Am 2008-01-21 um 10:33 schrieb Wolfgang Schuster: My .tuo file contains lines like: \listentry{Titel}{2}{}{nihil ita ut videtur}{2--0-1-0-0-0-0-0--1}{3}% ... \registerpage{index}{,}{1}{\dowritetolist \@@koppeling {}{nihil ita ut videtur}\v!head }}\fi \executeifdefined {\??ko Titel\c!

[NTG-context] header to register

2008-01-19 Thread Henning Hraban Ramm
Ahoi! For a songbook I need a alphabetically sorted TOC. As easy workaround I tried to use an register/index. But I'd like to get my headers into the index without typing \index all the time. But with my following setup I get only garbage numbers instead of my titles: \setuphead[Titel

[NTG-context] register

2008-01-04 Thread Steffen Wolfrum
Hi, for fine-tuning the TOC I use e.g. ... \writebetweenlist [section] {\def\TOCstyle{\switchtobodyfont[9pt] \setupinterlinespace[line=11.15pt]}} ... for adjusting the vertical space and thus the page breaks. Is is possible to do something similar to the register? Steffen

Re: [NTG-context] register: spurious space one more entry level ask

2007-09-20 Thread Hans Hagen
Vit Zyka wrote: Jupi! Both patches (space 4-level entry) work well as I can test them till now. I will do some testing on a real and big document in a near future. Do you intend to incorporate both patches to the distribution? well, i always do such things directly in the source

[NTG-context] register: spurious space one more entry level ask

2007-09-19 Thread Vit Zyka
Dear ConTeXters, there are 3 topics dealing with register (index): 1. [Spurious space] There are entries like \registerpage{index}{,}{5}{2--1-1-0-1-0-0-0--1}{2} in a *.tuo file. Since the definition (core-reg.tex) \def\dosetpageregisterpage#1#2#3#4#5#6% {\doifreglevelelse

Re: [NTG-context] register: spurious space one more entry level ask

2007-09-19 Thread Hans Hagen
Vit Zyka wrote: Dear ConTeXters, there are 3 topics dealing with register (index): 1. [Spurious space] There are entries like \registerpage{index}{,}{5}{2--1-1-0-1-0-0-0--1}{2} in a *.tuo file. Since the definition (core-reg.tex) \def\dosetpageregisterpage#1#2#3#4#5#6

Re: [NTG-context] register: spurious space one more entry level ask

2007-09-19 Thread Vit Zyka
wrote: Dear ConTeXters, there are 3 topics dealing with register (index): 1. [Spurious space] There are entries like \registerpage{index}{,}{5}{2--1-1-0-1-0-0-0--1}{2} in a *.tuo file. Since the definition (core-reg.tex) \def\dosetpageregisterpage#1#2#3#4#5#6

[NTG-context] TOC (was: register) fine tuning

2007-02-14 Thread Steffen Wolfrum
Hi Hans, fine-tuning a TOC is horrible when you have a lot of tables and figures in a larger project: you have to wait and wait and wait … Could you also provide a comparable solution like the one below (for the placeregister), please? Something like … \completecontent[file=testtest] That

Re: [NTG-context] Fwd: coupling register with head

2006-12-16 Thread Taco Hoekwater
Idris Samawi Hamid wrote: Dear knights, I sent this earlier, never got a response... I'm sure I'm not the first to ask this question, seems like a pretty common register-task. But if it's impossible, please let me know that too! This is not trivial, because \head does not create

Re: [NTG-context] Fwd: coupling register with head

2006-12-16 Thread Idris Samawi Hamid
Hi Taco, On Sat, 16 Dec 2006 01:53:13 -0700, Taco Hoekwater [EMAIL PROTECTED] wrote: Idris Samawi Hamid wrote: Dear knights, I sent this earlier, never got a response... I'm sure I'm not the first to ask this question, seems like a pretty common register-task. But if it's impossible

[NTG-context] Fwd: coupling register with head

2006-12-15 Thread Idris Samawi Hamid
Dear knights, I sent this earlier, never got a response... I'm sure I'm not the first to ask this question, seems like a pretty common register-task. But if it's impossible, please let me know that too! Best Idris --- Forwarded message --- From: Idris Samawi Hamid [EMAIL PROTECTED

Re: [NTG-context] register fine tuning

2006-10-26 Thread Steffen Wolfrum
I have to start a new file with a kind of \input command? Steffen Am 25.10.2006 um 22:45 schrieb Hans Hagen: Steffen Wolfrum wrote: Hi, I am not sure how a ConTeXt index register is generated and what role the tui and tuo files play. But could it be possible to manually fine tune

<    1   2   3   >