[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
't showing the error, so something else in the document is causing it: \setvalue{W3}{this is text for W3} \defineregister[learnedshort][compress=yes] \setupregister[learnedshort][style=sansbold, textstyle=slanted, n=3, pagenumber=yes, indicator=no] % \defineregister[learnedlong][compress=yes] \set

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
the error, so something else in the document is causing it: \setvalue{W3}{this is text for W3} \defineregister[learnedshort][compress=yes] \setupregister[learnedshort][style=sansbold, textstyle=slanted, n=3, pagenumber=yes, indicator=no] % \defineregister[learnedlong][compress=yes] \set

[NTG-context] How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
} \defineregister[learnedshort][compress=yes] \setupregister[learnedshort][style=sansbold, textstyle=slanted, n=3, pagenumber=yes, indicator=no] % \defineregister[learnedlong][compress=yes] \setupregister[learnedlong][style=sansbold, textstyle=slanted, n=2, pagenumber=yes, indicator=no] % \define[1

Re: [NTG-context] How to add data from another PDF in index?

2023-02-26 Thread Joel via ntg-context
% > \defineregister[learnedshort][compress=yes] > \setupregister[learnedshort][style=sansbold, textstyle=slanted, n=2, > pagenumber=yes, indicator=no] % > \defineregister[learnedlong][compress=yes] > \setupregister[learnedlong][style=sansbold, textstyle=slanted, n=2, > pagenumber=yes, i

Re: [NTG-context] How to add data from another PDF in index?

2023-02-26 Thread Alan Braslau via ntg-context
his custom index using this code, in both the textbook and > workbook: % > \defineregister[learnedshort][compress=yes] > \setupregister[learnedshort][style=sansbold, textstyle=slanted, n=2, > pagenumber=yes, indicator=no] % > \defineregister[learnedlong][compress=yes] > \setupre

Re: [NTG-context] How to add data from another PDF in index?

2023-02-24 Thread Alan Braslau via ntg-context
: > I am making a textbook and workbook set. > I have this custom index using this code, in both the textbook and > workbook: % > \defineregister[learnedshort][compress=yes] > \setupregister[learnedshort][style=sansbold, textstyle=slanted, n=2, > pagenumber=yes, indicator=no] %

[NTG-context] How to add data from another PDF in index?

2023-02-23 Thread Joel via ntg-context
I am making a textbook and workbook set. I have this custom index using this code, in both the textbook and workbook: % \defineregister[learnedshort][compress=yes] \setupregister[learnedshort][style=sansbold, textstyle=slanted, n=2, pagenumber=yes, indicator=no] % \defineregister[learnedlong

[NTG-context] setupregister/placeregister

2023-02-10 Thread Alan Braslau via ntg-context
Hello, The criterium key in setupregister (so placeregister, placeindex, ...) takes the following values: criterium local text current previous all section all: places all entries of the document section: (part, chapter, section, ...) places entries associated with that structure element

[NTG-context] Why won't custom indexes work when the value comes from \getvalue?

2023-01-21 Thread Joel via ntg-context
\getvalue{} is placed inside, it can't find the value. Any suggestions? --Joel \defineregister[coreidea][compress=yes]\setupregister[coreidea][style=sansbold, textstyle=slanted, n=2, pagenumber=yes, indicator=no] \define[1]\setcoreidea{%     \coreidea{#1}% } \setvalue{secret1}{this won't work

Re: [NTG-context] setupregister with realpage?

2022-09-24 Thread Hans Hagen via ntg-context
On 9/24/2022 3:30 AM, Benjamin Buchmuller wrote: Thank you, Hans! This works, I get all the correct page references! I didn't know about cont-new.mkxl to temporarily store "hacks". I assume the file is updated with each release? Is there a way to store local hacks, e.g., in texmf-local? I

Re: [NTG-context] setupregister with realpage?

2022-09-23 Thread Benjamin Buchmuller via ntg-context
aybe it's not a file). For future reference, this is how I am using the hack: \def\MyRegisterPageCommand#1{\currentregisterrealpage} \setupregister[MyRegisterA][pagecommand=\MyRegisterPageCommand] \setupregister[MyRegisterB][pagecommand=\MyRegisterPageCommand] > On Sep 23, 2022, at 17:47, Hans Hag

Re: [NTG-context] setupregister with realpage?

2022-09-23 Thread Hans Hagen via ntg-context
On 9/23/2022 11:08 PM, Benjamin Buchmuller via ntg-context wrote: Dear list, \setuplist has the convenient option [pagenumber=realpage] \setupregister has not (yet). How can I get the realpagenumber instead of the userpagenumber for the register indices? I tried \def\MyPageCommand#1

[NTG-context] setupregister with realpage?

2022-09-23 Thread Benjamin Buchmuller via ntg-context
Dear list, \setuplist has the convenient option [pagenumber=realpage] \setupregister has not (yet). How can I get the realpagenumber instead of the userpagenumber for the register indices? I tried \def\MyPageCommand#1{\realpagenumber} \setupregister[MyIndex][pagecommand=\MyPageCommand

Re: [NTG-context] sorting for particular sub entries to register

2022-02-01 Thread jbf via ntg-context
in every instance? \setupregister[index][n=1,method={zc,pc,zm,pm,uc},style=WORD] \defineprocessor[special][style=italic] \starttext P\index[Plenary+periti]{Plenary Council+{\it periti} (experts)} B\index[Plenary+beriti]{Plenary Council+{\it beriti} (experts)} A\index[Plenary+aeriti]{Plenary Council

Re: [NTG-context] sorting for particular sub entries to register

2022-01-31 Thread Robert via ntg-context
nstances, > 40 or more in some cases). However, I did not ask for a 'simple' solution, > just a solution! Thank you. > > Julian > > On 1/2/22 11:09, Adam Reviczky wrote: >> Hi Julian, >> >> How about using the keys in every instance? >> >&g

Re: [NTG-context] sorting for particular sub entries to register

2022-01-31 Thread jbf via ntg-context
Reviczky wrote: Hi Julian, How about using the keys in every instance? \setupregister[index][n=1,method={zc,pc,zm,pm,uc},style=WORD] \defineprocessor[special][style=italic] \starttext P\index[Plenary+periti]{Plenary Council+{\it periti} (experts)} B\index[Plenary+beriti]{Plenary Council+{\it beriti

Re: [NTG-context] sorting for particular sub entries to register

2022-01-31 Thread Adam Reviczky via ntg-context
Hi Julian, How about using the keys in every instance? \setupregister[index][n=1,method={zc,pc,zm,pm,uc},style=WORD] \defineprocessor[special][style=italic] \starttext P\index[Plenary+periti]{Plenary Council+{\it periti} (experts)} B\index[Plenary+beriti]{Plenary Council+{\it beriti} (experts

[NTG-context] sorting for particular sub entries to register

2022-01-31 Thread jbf via ntg-context
. The processor is not for the 'periti' case above but I use it for book titles. \setupregister[index][n=1,method={zc,pc,zm,pm,uc},style=WORD] \defineprocessor[special][style=italic] In the periti case it is the \it command that clearly interferes with correct alphabetic positioning in the sub entry

Re: [NTG-context] registers, how to ignore quote marks

2022-01-28 Thread Adam Reviczky via ntg-context
l one? > > My index setup at the moment is as follows: > > \defineregister[index][compress=yes] > > \setupregister[index][n=1] > > \defineprocessor[special][style=italic] > > The only hint I could gain from the wiki was that it might depend on using > a method key in

[NTG-context] registers, how to ignore quote marks

2022-01-28 Thread jbf via ntg-context
put \index{‘Innovative’} then ‘Innovative’ is sorted under ‘ instead of under the letter I. How do I get my indexing to ignore the quote marks, at the very least the initial one? My index setup at the moment is as follows: \defineregister[index][compress=yes] \setupregister[index][n=1

Re: [NTG-context] How to create an index that refers to multiple other books?

2022-01-18 Thread Joel via ntg-context
I tried adding 'pageprefixsegments' to setupregister, but cannot find any value that adds anything, ex. pageprefixsegments={WB1} pageprefixsegments=part:number How does it work? I'd be fine if the index listed pages like "WB1 3" meaning "Workbook 1, page 3", it isn't idea

Re: [NTG-context] How to create an index that refers to multiple other books?

2022-01-18 Thread Hans Hagen via ntg-context
in the textbook which standards are used. I've used the following code to create such an index, if I simply place `\learned{}` somewhere containing the standard's ID, it creates a custom index entry, and `\placelearned` displays that index. \defineregister[learned][compress=yes] \setupregister

Re: [NTG-context] How to create an index that refers to multiple other books?

2022-01-18 Thread Henning Hraban Ramm via ntg-context
the files, but I'm not sure how the index could tell readers which of the five "page 5's" (for example) the index is referring to. --Joel In this case, you could use \part per workbook and use pageprefixsegments in \setupregister to add the part number in front of the page number. Ot

Re: [NTG-context] How to create an index that refers to multiple other books?

2022-01-18 Thread Joel via ntg-context
it creates a custom index entry, and `\placelearned` displays that index. \defineregister[learned][compress=yes] \setupregister[learned][style=sansbold, textstyle=slanted, n=1, pagenumber=yes] \starttext         \learned{CCSS+W.7.3}     \input knuth         \learned{CCSS+W.7.3}     \input knuth       

[NTG-context] How to create an index that refers to multiple other books?

2022-01-18 Thread Joel via ntg-context
the following code to create such an index, if I simply place `\learned{}` somewhere containing the standard's ID, it creates a custom index entry, and `\placelearned` displays that index. \defineregister[learned][compress=yes] \setupregister[learned][style=sansbold, textstyle=slanted, n=1

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

2022-01-17 Thread Henning Hraban Ramm via ntg-context
Here is my minimum working example: \defineregister[listdates][compress=yes] \setupregister[listdates][style=sansbold, textstyle=slanted, n=1, pagenumber=yes] \define[2]\dateis{%     \listdates{#1~\emdash ~#2}% }% \starttext \dateis{1900s+1911}{Some event happened} \dateis{1900s+1912}{Yet an

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

2022-01-17 Thread Joel via ntg-context
tdates][compress=yes] \setupregister[listdates][style=sansbold, textstyle=slanted, n=1, pagenumber=yes] \define[2]\dateis{%     \listdates{#1~\emdash ~#2}% }% \starttext \dateis{1900s+1911}{Some event happened} \dateis{1900s+1912}{Yet another event happened} \dateis{1900s+1912}{Another event happ

Re: [NTG-context] new upload

2021-12-01 Thread Hans Hagen via ntg-context
] \setupbodyfont[dejavu] \defineregister [Russian] [n=1, command=\Words, pagenumber=no, language=ru, textalternative=horizontal, distance=0pt] \setupregister [Russian] [2] [textstyle=bold,left={, }] \setupregister [Russian] [3] [textstyle=italic,left={, }] % word category meaning

Re: [NTG-context] Concerning dictionaries. glossaries and related in ConTeXt

2021-11-26 Thread Hans Hagen via ntg-context
age[es] \enableexperiments[fonts.compact] \setupbodyfont[dejavu] % computer-modern-unicode] \setuphead[chapter] [alternative=middle] \defineregister[Russian] \setupregister[Russian] [expansion=yes, balance=no, n=2, command=\Words, pagenumber=no, language=ru] \def\Ruso[#1]% {\begi

Re: [NTG-context] Concerning dictionaries. glossaries and related in ConTeXt

2021-11-26 Thread Hans Hagen via ntg-context
entries inside a document. I attach an example of what I achieved: \unprotect \mainlanguage[\s!es] \enableexperiments[fonts.compact] \setupbodyfont[computer-modern-unicode] \setuphead[chapter]   [\c!alternative=\v!middle] \defineregister[Russian] \setupregister[Russian]   [\c!expansion=\v!yes

[NTG-context] Concerning dictionaries. glossaries and related in ConTeXt

2021-11-26 Thread Jairo A. del Rio via ntg-context
: \unprotect \mainlanguage[\s!es] \enableexperiments[fonts.compact] \setupbodyfont[computer-modern-unicode] \setuphead[chapter] [\c!alternative=\v!middle] \defineregister[Russian] \setupregister[Russian] [\c!expansion=\v!yes, \c!balance=\v!no, \c!n=2, \c!command=\Words, \c!pagenumber

[NTG-context] Generating HTML

2021-10-11 Thread Hans Åberg via ntg-context
ot;, though. — html-test.tex — \definefontfamily [mainface][math][stix] \setupbodyfont[mainface,10pt] \setupinteraction[state=start, click=yes, focus=standard, color=darkblue] \setupbackend[export=yes] % Exporting HTML/XML \defineregister [index] \setupregister [index] [indi

Re: [NTG-context] Indexing redux

2021-08-26 Thread Rik Kabel via ntg-context
der][color=orange]    \define\seealsoindex\seeindex    \define\seealsounderindex\seeindex    \define\seeunderindex\seeindex    \setupinteraction [state=start]    \setupregister    [index][balance=no,check=no] %% seeindex entries may start on the same line as their head entry

Re: [NTG-context] register for biblical citations

2021-04-16 Thread jbf
be made explicit: (\setupregister[bibcit][language=biblical,before=,indicator=no] but that makes no difference either. Same result. Seemingly random index. Julian On 16/4/21 8:06 pm, Hans Hagen wrote: On 4/16/2021 11:47 AM, jbf wrote: Hans, thanks for your ingenious solution

Re: [NTG-context] register for biblical citations

2021-04-16 Thread r . ermers
het volgende > geschreven: > > There was no mention of the indicator anywhere in what I copied from your > example. I did try indicator=no just now in case it should be made explicit: > > (\setupregister[bibcit][language=biblical,before=,indicator=no] > > but that makes no dif

Re: [NTG-context] register for biblical citations

2021-04-16 Thread jbf
There was no mention of the indicator anywhere in what I copied from your example. I did try indicator=no just now in case it should be made explicit: (\setupregister[bibcit][language=biblical,before=,indicator=no] but that makes no difference either. Same result. Seemingly random index

Re: [NTG-context] register for biblical citations

2021-04-16 Thread jbf
uld allows me to get as far as 66 (if I were to need every biblical book)? Julian On 16/4/21 5:24 pm, Hans Hagen wrote: On 4/15/2021 11:28 AM, jbf wrote: My simple MWE: \defineregister[bibcit] \setupregister[bibcit][% indicator=no, before=] text... \bibcit[a]{Gen 3:6 (MAC) }Gen 3:6

Re: [NTG-context] register for biblical citations

2021-04-16 Thread Hans Hagen
On 4/15/2021 11:28 AM, jbf wrote: My simple MWE: \defineregister[bibcit] \setupregister[bibcit][% indicator=no, before=] text... \bibcit[a]{Gen 3:6 (MAC) }Gen 3:6 (and so one for each Genesis reference, then moving on to Leviticus with [b] etc.) In other words, I have used the key

Re: [NTG-context] register for biblical citations

2021-04-15 Thread jbf
My simple MWE: \defineregister[bibcit] \setupregister[bibcit][% indicator=no, before=] text... \bibcit[a]{Gen 3:6 (MAC) }Gen 3:6 (and so one for each Genesis reference, then moving on to Leviticus with [b] etc.) In other words, I have used the key option [] using the alphabet

Re: [NTG-context] Index formatting difference LMTX and MkIV redux

2020-11-17 Thread Rik Kabel
,    cutspace=1in,   leftmargin=0.65in,  rightmargin=0.65in] \setupregister   [index] [n=2, balance=no, maxwidth=4cm] \starttext \startchapter[title={Index Test}] \index{Anonymous+Felix quem faciunt aliena pericula cautum} \index

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
ntended (no balancing, full left column). What’s wrong? Can I influence this e.g. with penalties? (Screenshots were too big...) Hraban \setuppapersize[A6] \setupbodyfont[16pt] \setupregister[index][balance=no,indicator=no] \showframe \starttext %\setinjector[index][10][{\column}] %\showin

[NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
Hello again, still struggling with indexes. (1) \setupregister’s before and after go around the indicator. e.g. \setupregister[][indicator=no,after={XX}] never shows that XX, since after is only used after the indicator, while before also works without. I was hoping for a hook at the end

[NTG-context] Index formatting difference LMTX and MkIV redux

2020-10-21 Thread Rik Kabel
  [pinched crown quarto] \setuplayout [width=fit,   backspace=1.4in,    cutspace=1in,   leftmargin=0.65in,  rightmargin=0.65in] \setupregister   [index] [n=2, balance=no, maxwidth=4cm] \starttext \startchapter[title

Re: [NTG-context] force index entries without page number

2020-09-04 Thread mf
thing like this: Carolyne in the main text results in a \index[miller_carolyne]{v18in231} In another place of the XML there's a record like this: Miller, Carolyne ... The deeptextcommand parameter of \setupregister is set to a macro that takes the ID and gives back the text of the perso

Re: [NTG-context] strange behavior with \groupedcommand in recent versions of LMTX

2020-09-01 Thread Hans Hagen
works):   \input ward\wordorparagraphright{same line, right} \stoptext Unfortunately the grouped version is the one I need, because it's used in a register, and it would give an error if not defined through \groupedcommand: \setupre

[NTG-context] strange behavior with \groupedcommand in recent versions of LMTX

2020-09-01 Thread mf
optext Unfortunately the grouped version is the one I need, because it's used in a register, and it would give an error if not defined through \groupedcommand: \setupregister[myregister] [pageleft=\wordorparagraphright\bgroup,pageright=\

Re: [NTG-context] Definition of \registerpagerange (Henning Hraban Ramm)

2020-05-06 Thread Hynek, Stefan
Am Mittwoch, den 06.05.2020, 06:55 +0200 schrieb ntg-context- requ...@ntg.nl: > This doesn’t answer your question, but I found: > > \setupregister[index][compress=yes] % 14, 15 becomes 14-15 > \setupregister[index][compress=text] % 14, 15 becomes 14f. > > To change the "f.

Re: [NTG-context] Definition of \registerpagerange

2020-05-05 Thread Henning Hraban Ramm
> Am 05.05.2020 um 10:35 schrieb Hynek, Stefan : > > Hello fellow ConTeXies, > > since April 2019 it is possible to use \setupregister with > compress=text which is a fine addition and has its use cases. > Unfortunately, I am confronted with the demand to style th

[NTG-context] Definition of \registerpagerange

2020-05-05 Thread Hynek, Stefan
Hello fellow ConTeXies, since April 2019 it is possible to use \setupregister with compress=text which is a fine addition and has its use cases. Unfortunately, I am confronted with the demand to style the registers with 'f.' for a following single page and else with page ranges. Since

Re: [NTG-context] index with chapter and section numbers

2019-11-07 Thread Hans Hagen
? well, the info is actually there already so i added a new option (that you then wikify) ... \setupregister [index] [pagesegments=1:4, pagemethod=section] \starttext \chapter {one} \section {alpha} x\index {whatever 1}x\index {whatever 2}x\index {whatever 2}x \page x\index

Re: [NTG-context] formatting index entries: alphabetical order in Unicode

2019-08-22 Thread Robert Zydenbos
by copy-and-paste. Not the most elegant of solutions, but it works. :-) > On 22. Aug 2019, at 01:58, Richard Mahoney | Indica et Buddhica > wrote: > > Robert, > > In IV one can do something such as this: > > % Registers (Indices) > > \defineregister[TIB] > &g

Re: [NTG-context] formatting index entries: alphabetical order in Unicode

2019-08-21 Thread Richard Mahoney | Indica et Buddhica
Robert, In IV one can do something such as this: % Registers (Indices) \defineregister[TIB] \setupregister[TIB][indicator=yes,compress=yes] and then in the body: \TIB[don du gner ba]{don du gñer ba : patthanā : wish}don du gñer ba'i phyir rdzogs par byed do \TIB[non mons]{ñon moṅs : kilesa

[NTG-context] registers: subentry indentation different from word--number gap?

2019-07-12 Thread Sanjoy Mahajan
I don't think the current behavior is a bug, so the following is a feature request: With the following fairly minimal example \setupregister[index][indicator=no, distance=0.5em] \starttext ABC\index{x}DEF\index{x+yyz} \blank \placeindex \stoptext the distance parameter sets (1

[NTG-context] mapping seeregister command to xml

2019-07-04 Thread Thomas A. Schmitz
ription[\xmlatt{#1}{sort}]{\xmlflush{#1}}{\xmlatt{#1}{target}}} \stopxmlsetups \defineregister[inscription][inscriptions] \setupregister[inscription][pagestyle=, textstyle=, location=right, prefix=none,

[NTG-context] registers: setting pageleft parameter by index term

2019-04-29 Thread mf
}. \page Bar\index{bar}. \page Baz\index{baz}. \page \placeindex \stoptext The pageleft parameter of \setupindex (\setupregister) is normally set to " p.~", but it gets redefined to " P.~" for the second term in the index ("baz"). Here i'm using a counter and i ch

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Henning Hraban Ramm
Am 2019-04-03 um 13:30 schrieb Hans Hagen : > On 4/3/2019 10:56 AM, Henning Hraban Ramm wrote: >> Am 2019-04-02 um 18:53 schrieb Hans Hagen : >>> On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: >>>> Ahoi, >>>> with \setupregister[compress=yes], inde

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Hans Hagen
On 4/3/2019 10:56 AM, Henning Hraban Ramm wrote: Am 2019-04-02 um 18:53 schrieb Hans Hagen : On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: Ahoi, with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s great. But (at least in German publications) it’s usual that 1,2

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Henning Hraban Ramm
Am 2019-04-02 um 18:53 schrieb Hans Hagen : > On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: >> Ahoi, >> with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s >> great. >> But (at least in German publications) it’s usual that 1,2 becomes 1f

Re: [NTG-context] LMTX deeptextcommand issue

2019-04-02 Thread Hans Hagen
\IndexSta te}#1} \define[1]\IndexCommand {\setfalse\IndexState \setbox\scratchbox\hbox{#1}% \ifconditional\IndexState \column \fi \box\nextbox} does \unexpanded\def\IndexCommand#1% { work? \defineregister[indexname][indexnames] \setupregister[indexname][command=\Word

[NTG-context] LMTX deeptextcommand issue

2019-04-02 Thread Jan Tosovsky
{\setfalse\IndexState \setbox\scratchbox\hbox{#1}% \ifconditional\IndexState \column \fi \box\nextbox} \defineregister[indexname][indexnames] \setupregister[indexname][command=\Word, textcommand=\IndexCommand, deeptextcommand=\IndexInternalCommand] \defineregister[indexsubject

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-02 Thread Hans Hagen
On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: Ahoi, with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s great. But (at least in German publications) it’s usual that 1,2 becomes 1f. and 1,2,3 becomes 1ff. Is it possible to configure it that way? it should

[NTG-context] index "compress" option / collapsing of page numbers

2019-04-02 Thread Henning Hraban Ramm
Ahoi, with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s great. But (at least in German publications) it’s usual that 1,2 becomes 1f. and 1,2,3 becomes 1ff. Is it possible to configure it that way? Greetlings, Hraban --- https://www.fiee.net http

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

[NTG-context] Bidi-related register problem

2019-01-24 Thread Rik Kabel
led properly. This is a recent change; bidi=global worked a few months ago. (I have not tried with LTR text in a default-RTL document). % macros=mkvi \defineregister[Mindex] \setupregister [Mindex] [n=2, maxwidth=4cm, bala

Re: [NTG-context] Sorting registers method for "uppercase like lowercase, diacritics ignored"

2019-01-20 Thread Henning Hraban Ramm
I don’t know if this setup is supposed to work with \place..., for me \setupregister[method={zm,pm,zc,zm,uc}] works. Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD Am 2019-01-20 um 21:59 schrieb Marcus Vinicius

Re: [NTG-context] Sorting registers method for "uppercase like lowercase, diacritics ignored"

2019-01-20 Thread Thomas A. Schmitz
case, if you merely want to get rid of all distinctions between upper- and lowercase, accents, etc., you could use Lua (slightly modified example): \mainlanguage[pt] \defineregister [nome] \setupregister [nome] [ language=pt, n=1, ] \startluacode userdata = userda

[NTG-context] Documentation of change / Evolving documents

2019-01-19 Thread Axel Kielhorn
] \setupbodyfont[11pt] \defineregister [change] \setupregister [change] [ indicator=no %% no letter style=sansbold, %% headings textstyle=slanted,%% entries pagestyle=bolditalic, %% page refs n=1, %% columns ] \def\ChangeV#1#2{\change{#1+#2}\doifmode

Re: [NTG-context] Possible seeindex enhancement

2018-10-27 Thread Rik Kabel
s? -- Rik Following up on my post, here is an MWE demonstrating the lack of interaction, which is expected because {also obliteration} is not indexed: \setupinteraction [state=start] \setupregister[index] [check=no] \seeindex {pseu

Re: [NTG-context] index with more than one column?

2018-08-26 Thread Wolfgang Schuster
Try it without the columns environment in your document, i.e. \startchapter[title=\mytitle{Register}] \placeregister[index] \stopchapter Hans van der Meer schrieb am 26.08.18 um 17:48: Could the following setup I used be the culprit? \setupregister[index][pagestyle=slanted,textstyle=small

Re: [NTG-context] seeindex problem with recent betas

2018-08-09 Thread Rik Kabel
On 8/8/2018 23:48, Wolfgang Schuster wrote: \setupregister[index][check=no] Wolfgang Thank you, Wolfgang. I saw the discussion on the list, but missed it in i-context.pdf. Wiki updated. -- Rik ___ If your

Re: [NTG-context] seeindex problem with recent betas

2018-08-08 Thread Wolfgang Schuster
\setupregister[index][check=no] Wolfgang Rik Kabel schrieb am 09.08.18 um 04:32: With older versions of ConTeXt (including that in TL18) seeindex entries pointing to a multi-level (plussed) index entry worked (visually, at least) without complaint. The output might look like: Digby

[NTG-context] issue with balanced columns

2018-07-15 Thread Pablo Rodriguez
][em=italic, x=.95] \setupregister[index] [language=gr, indicator=no, before=, after=, distance=3ex, textstyle=\tfx, pagenumber=no, n=2, align={verybroad, hz,hanging}, method={zm,zc}] \starttext

Re: [NTG-context] Overriding / redefining / disabling standard commands

2018-06-26 Thread Wolfgang Schuster
Alan Braslau <mailto:braslau.l...@comcast.net> 26. Juni 2018 um 04:00 On Mon, 25 Jun 2018 20:50:51 -0400 \setupregister[index][referencing=off] This option doesn’t exist in MkIV and there is no other option to disable \index. Wo

Re: [NTG-context] Overriding / redefining / disabling standard commands

2018-06-25 Thread Rik Kabel
, but it takes as well an optional argument preceding the required argument, and so these fail. The best solution would seem to be one which does not require knowledge of the number of required and optional arguments, but that might be a stretch. That is why I asked for help. \setupregister[index

Re: [NTG-context] Overriding / redefining / disabling standard commands

2018-06-25 Thread Alan Braslau
re commands other than \index that might > >> also benefit from similar treatment. > >> > > \def\MyIndex#1{\index{#1}} > > > > is one route. > > > > Another might be > > > > \let\index\gobbleoneargument > > > > (use at your risk) &g

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

2018-06-10 Thread Henning Hraban Ramm
anguage=cz" in the setup, and the language key is not documented. > Hans, please add the replacement > { "ß", "ss" } > to definitions['DIN 5007-1'] and definitions['DIN 5007-2'] > Thank you! Wikified: http://wiki.contextgarden.net/Command/setupregister htt

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

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

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

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

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

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

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

2018-06-10 Thread Pablo Rodriguez
> I know I can influence sort order for single entries, but I’d like a general > setting. Hi Hraban, I think this may achieve what you want: \setupregister[index][method={zm,zc}] I hope it helps, Pablo > (Diacritics are handled as wanted.) > > > \starttext > \stru

Re: [NTG-context] \seeindex with subentries

2018-06-08 Thread Alan Braslau
, 8 Jun 2018 21:44:13 +0200 Henning Hraban Ramm wrote: > This MWE: > > """ > \setupinteraction[state=start] > \setupregister[index][n=1] > > \starttext > My \index{dog}dog is a \index{dog+bullterrier}bullterrier. > He doesn't like \index{cat}cats. > T

[NTG-context] \seeindex with subentries

2018-06-08 Thread Henning Hraban Ramm
This MWE: """ \setupinteraction[state=start] \setupregister[index][n=1] \starttext My \index{dog}dog is a \index{dog+bullterrier}bullterrier. He doesn't like \index{cat}cats. There are a lot of \index{cat+stray}stray cats, but only a few of them are \index{cat+Siamese}Siamese

Re: [NTG-context] roadmap

2018-05-15 Thread MF
t > documented (in fact that imo is also a it up to the one requesting > such > features). > Touché! I've added them to the wiki. I was already updating that page of the wiki (\setupregister) on Friday, but also realized that it was way behind the syntax you can check with setup-en.

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
lax \setbox\scratchbox=\hbox{#1}\newdimen\scratchWidth \scratchWidth=\wd\scratchbox \ifdim\scratchWidth < 0.9\textwidth \w ordright{#1}% \else \par \startalignment[flushright]#1\stopalign ment \fi} \setupregister [index] [n=1, alternative=A, distance=0pt, pa

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread Hans Hagen
{\origstartregisterpages#1\bgroup } \unexpanded\def\stopregisterpages{\egroup\origstopregisterpages}} \def\resetregisterpagescommand{% \let\startregisterpages=\origstartregisterpages% \let\stopregisterpages=\origstopregisterpages} \setupregister[index][n=1,alternative=A] \starttext \CONTEXT\index{\ConTeXt

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread Wolfgang Schuster
\registerparameter\c!pageleft} \unexpanded\def\stopregisterpages {\registerparameter\c!pageright \dostoptagged \endgroup} \protect \setupregister [index] [n=1, alternative=A, distance=0pt, pageleft=\wordright\bgroup, pageright=\egroup] \starttext \CONTEXT\index{\ConTeXt

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
\stopregisterpages{\egroup\origstopregisterpages}} \def\resetregisterpagescommand{% \let\startregisterpages=\origstartregisterpages% \let\stopregisterpages=\origstopregisterpages} \setupregister[index][n=1,alternative=A] \starttext \CONTEXT\index{\ConTeXt} \page \LATEX\index{\LaTeX} \page

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
roup } \unexpanded\def\stopregisterpages{\egroup\origstopregisterpages} \setupregister[index][n=1,alternative=A] \starttext \CONTEXT\index{\ConTeXt} \page \LATEX\index{\LaTeX} \page \CONTEXT\index{\ConTeXt} \page \placeindex \stoptext I've also learned about \groupedcommand, which i did not know

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-09 Thread Wolfgang Schuster
. \setupregister [index] [n=1, alternative=A, textcommand=\groupedcommand{}{\hfill\quad}] Wolfgang MF <mailto:mass...@fastwebnet.it> 9. Mai 2018 um 17:09 Hello list, i'd like moving the page numbers in my index to the right, with a \wordright. \setupregister[index][n=1,alter

[NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-09 Thread MF
Hello list, i'd like moving the page numbers in my index to the right, with a \wordright. \setupregister[index][n=1,alternative=A] \starttext \CONTEXT\index{\ConTeXt} \page \LATEX\index{\LaTeX} \page \CONTEXT\index{\ConTeXt} \page \placeindex \stoptext The index is at page 4. I want to move

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

2018-03-22 Thread Hans Hagen
f.char, utf.byte local sorters = sorters local definitions = sorters.definitions local replacementoffset = sorters.constants.replacementoffset local variables = interfaces.variables local gen = utfchar(r

Re: [NTG-context] \completeindex and \setuparranging

2018-03-20 Thread Wolfgang Schuster
lse_5T][width=\textwidth]\index{Valse a 5 temps} \blank \externalfigure[Valse8Temps][width=\textwidth]\index{Valse à 8 temps} \externalfigure[ValseEcossaise][width=\textwidth]\index{Valse écossaise} \page \setupregister[index] [n=2,pagestyle=bold] \completeindex \stoptext Your index doesn’

Re: [NTG-context] \completeindex and \setuparranging

2018-03-19 Thread survoje
\externalfigure[Valse8Temps][width=\textwidth]\index{Valse à 8 temps} \externalfigure[ValseEcossaise][width=\textwidth]\index{Valse écossaise} \page \setupregister[index]  [n=2,pagestyle=bold] \completeindex \stoptext - Never mind ! I will do it in A4. Thank you for your

Re: [NTG-context] \completeindex and \setuparranging

2018-03-19 Thread Wolfgang Schuster
dscape] \setuparranging[2UP] \setupregister[index][n=2, pagestyle=bold] \starttext \externalfigure[Alaude][width=\textwidth]\index{Alaude} \blank \externalfigure[Andro][width=\textwidth]\index{Andro} \page \completeindex \stoptext - and running by &q

[NTG-context] \completeindex and \setuparranging

2018-03-19 Thread Gerard
: - \placeindex does not mark the pages - \completeindex only marks page 19 (the last page) That's the context : --- \setuppapersize[A5][A4,landscape] \setuparranging[2UP] \setupregister[index][n=2,     pagestyle=bold] \starttext \externalfigure[Alaude][width=\textwidth

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

2018-03-16 Thread John Grasty
(replacementoffset + 27) sorters.definitions['bbt'] = { replacements = { { "Geneza", gen }, { "Eksodus", exo }, { "Janez", jn }, }, orders = { gen, exo, jn } } \stopluacode \mainlanguage[sl] \defineregister[booksort] \setupreg

Re: [NTG-context] about \placeindex: uppercase initial and lowercase initial, two languages

2018-01-28 Thread Pablo Rodriguez
uppercase and lowercase initial. > [...] > Is there a way to make index combining the lowercase and the uppercase > together as follows? > > s > set > simple statements > … > Squeeze theorem Hi Jeong, "method={zm, zc}" is your friend here: \setupregister

Re: [NTG-context] Registers and getparameters

2018-01-23 Thread Otared Kavian
On 23 Jan 2018, at 10:19, Hans Hagen <pra...@wxs.nl> wrote: > > On 1/22/2018 8:26 PM, Wolfgang Schuster wrote: >>> […] >> You have to add \expanded, i.e. \expanded{\speakers{...}}. > > or maybe try the 'expanded' option > > \setupregister > [speakers]

  1   2   3   >