'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
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
}
\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
%
> \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
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
:
> 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] %
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
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
\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
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
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
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
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
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
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
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
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
. 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
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
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
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
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
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
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
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
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
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
]
\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
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
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
:
\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
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
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
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
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
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
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
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
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
, 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
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
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
[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
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
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
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=\
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.
> 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
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
?
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
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
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
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
ription[\xmlatt{#1}{sort}]{\xmlflush{#1}}{\xmlatt{#1}{target}}}
\stopxmlsetups
\defineregister[inscription][inscriptions]
\setupregister[inscription][pagestyle=,
textstyle=,
location=right,
prefix=none,
}.
\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
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
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
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
\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
{\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
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
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
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
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
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
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
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
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
]
\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
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
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
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
\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
][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
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
, 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 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
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
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!
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
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
> 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
, 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
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
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.
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
{\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
\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
\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
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
.
\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
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
f.char, utf.byte
local sorters = sorters
local definitions = sorters.definitions
local replacementoffset = sorters.constants.replacementoffset
local variables = interfaces.variables
local gen = utfchar(r
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’
\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
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
:
- \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
(replacementoffset + 27)
sorters.definitions['bbt'] = {
replacements = {
{ "Geneza", gen },
{ "Eksodus", exo },
{ "Janez", jn },
},
orders = {
gen, exo, jn
}
}
\stopluacode
\mainlanguage[sl]
\defineregister[booksort]
\setupreg
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
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 - 100 of 291 matches
Mail list logo