ffer[buf:dict:xxx]}]
\setupsection[section][placehead=hidden,aftersection=\pagebreak]
\definelinenumbering[Poem][step=5,continue=yes]
\defineregister[Dict][pagenumber=no,indicator=no,n=2,criterium=section,before=,textcommand=\bf]
\starttext
\startsection[title=pageA]
\startlines
\startlinenumbering
xt(userdata.Mapping[name] or name)
end
%%% environment
\loadluafile[lookups.lua]
\defineregister[Location][]
\define[1]\LocIndex{\expanded{\Location{%
\ctxlua{userdata.Lookup("#1")
Hraban
___
If
Hans’ manuals are also often "in progress".
A visible TODO marker might help – I’m using the following in my book to
keep track of incomplete sections:
\defineregister[todos]
\define[1]\TODO{\inouter{\tt\color[red]{TODO}}\expanded{\todos{\structurevariable{title}}}\color[re
s you see it isn'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[learne
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
or W3}
\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]
%
\def
Am 27.06.23 um 21:01 schrieb Wolfgang Schuster via ntg-context:
Henning Hraban Ramm via ntg-context schrieb am 27.06.2023 um 20:55:
\defineregister[todos]
% add a "todos" index entry with the current section title
\define[1]\TODO{\todos{\structurevariable{title}}}
\chapter{Someth
Henning Hraban Ramm via ntg-context schrieb am 27.06.2023 um 20:55:
\defineregister[todos]
% add a "todos" index entry with the current section title
\define[1]\TODO{\todos{\structurevariable{title}}}
\chapter{Something}
\TODO{This is still empty!}
% at the end of the book
\chapter
I think I had a good idea how to keep an overview of the “todos” in my
book project:
\defineregister[todos]
% add a "todos" index entry with the current section title
\define[1]\TODO{\todos{\structurevariable{title}}}
\chapter{Something}
\TODO{This is still empty!}
% at the end o
t;animals --> dogs" under "a".
I’d suggest to cook your own macro, e.g. for a book with a lot of person
index entries, I used a lookup table to unify different spellings or
name changes (married, titles etc.) like this:
"""% environment:
\loadluafile[lookups] %
mpty \page
\placeregister[index]
\stoptext
% index-2.tex
\setupinteraction[state=start]
\defineregister[xedni]
\useregister[workbook][index-1][index][WB ]
\starttext
test \index{onemore TB.1} \page
test \index{another TB.1} \page
test \index{entry TB.1} \page
test \in
x{whatever WB.1} \page empty \page
test \index{common}\page empty \page
\placeregister[index]
\stoptext
% index-2.tex
\setupinteraction[state=start]
\defineregister[xedni]
\useregister[workbook][index-1][index][WB ]
\starttext
test \index{onemore TB.1} \page
test \index{
:
> 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
when
\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
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
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]
\set
andard'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, pagenumber=yes]
\starttext
\learned{CCSS+W.7.3}
\input knuth
\learned{CCSS+W.7.3}
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[learned][style=sansbold, textstyle=sl
-- Joel
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+19
o add
visible month and day details, that would be even more confusing to the index
as I have to print it in American order.
Second, when it compiles it is not printing the page number, instead prints
"[Entry not flushed]".
-- Joel
Here is my minimum working example:
\definere
ge[es]
\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 me
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
yping 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=\
ieved:
\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!pagen
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
ch would
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 to
ds, but I hope this will be
useful.
\defineregister[myindex]
%Sorry for the funny names
\def\myindexspaced#1{%
\splitstring{#1}\at{ }\to\myindexoneone\and\myindexonetwo%
\myindex[\myindexonetwo,\myindexoneone]{\myindexonetwo,\space\emph{\myindexoneone}}%
}
\def\myindexcomma#1{%
\split
Oh, I would do it another way, as processors aren't very happy with
commands which split "strings". The drawback of my quick and dirty method
is the need for additional commands, but I hope this will be useful.
\defineregister[myindex]
%Sorry for the funny names
\def\
Rio wrote:
Hi. In latest LMTX (2021.01.07 16:59), your example works as expected:
\defineregister[myindex]
\defineprocessor[style][style=italic]%Isn't another name available?
\starttext
In \myindex{style->Observer, The}{\em The Observer} of 31 July 2018
\placemyindex%
\stoptext
Jair
Rio wrote:
Hi. In latest LMTX (2021.01.07 16:59), your example works as expected:
\defineregister[myindex]
\defineprocessor[style][style=italic]%Isn't another name available?
\starttext
In \myindex{style->Observer, The}{\em The Observer} of 31 July 2018
\placemyindex%
\stoptext
Jair
Hi. In latest LMTX (2021.01.07 16:59), your example works as expected:
\defineregister[myindex]
\defineprocessor[style][style=italic]%Isn't another name available?
\starttext
In \myindex{style->Observer, The}{\em The Observer} of 31 July 2018
\placemyindex%
\stoptext
Jairo
El jue,
. The Observer
MWE
\defineregister[myindex]
\defineprocessor[style][style=italic]
\starttext
In \myindex{style->Observer, The} {\em The Observer} of 31 July 2018
\stoptext
The only result I am getting is:
->Observer, The 223
But what I want is /Observer, The/ (in other words,
r
\placeindex[criterium=???]
\stoptext
i guess the opposite makes more sense: combine different registers and
then have different entries (kind of categories)
\defineregister[one]
\defineregister[two]
\starttext
one \one{alpha}
two \two{beta}
\subject{ONE} \placeregister[one]
\subject{TWO}
ontents 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
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 : k
einscription[\xmlatt{#1}{sort}]{\xmlflush{#1}}{\xmlatt{#1}{target}}}
\stopxmlsetups
\defineregister[inscription][inscriptions]
\setupregister[inscription][pagestyle=,
textstyle=,
location=right,
prefix=none,
\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
e not handled 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,
them. For your 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
us
]
\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
wrote:
In my setup, i have an index of names:
\defineregister[Nome][...]
The indexing of names can be toggled with a mode: --mode=AddNames
The setup is something like this:
\startmode[AddNames]
\Name[key]{term}\xmlflush{#1}
\stopmode
\startnotmode[AddNames]
\xmlflush{#1}
\stopnotmode
I
On 11/27/2018 08:43, Rik Kabel wrote:
On 11/27/2018 05:38, mf wrote:
In my setup, i have an index of names:
\defineregister[Nome][...]
The indexing of names can be toggled with a mode: --mode=AddNames
The setup is something like this:
\startmode[AddNames]
\Name[key]{term}\xmlflush{#1
On 11/27/2018 05:38, mf wrote:
In my setup, i have an index of names:
\defineregister[Nome][...]
The indexing of names can be toggled with a mode: --mode=AddNames
The setup is something like this:
\startmode[AddNames]
\Name[key]{term}\xmlflush{#1}
\stopmode
\startnotmode[AddNames
In my setup, i have an index of names:
\defineregister[Nome][...]
The indexing of names can be toggled with a mode: --mode=AddNames
The setup is something like this:
\startmode[AddNames]
\Name[key]{term}\xmlflush{#1}
\stopmode
\startnotmode[AddNames]
\xmlflush{#1}
\stopnotmode
I noticed
You forgot the second argument for \startregister and \stopregister.
\defineregister[TesT]
\starttext
\startregister[TesT][one]{samples}
\input knuth
\page
\startregister[TesT][two]{more}
\input ward
\stopregister[TesT][one]
\page zapf
\stopregister[TesT][two]
\blank[3*big
In the latest beta (2018.08.10),
\defineregister[TesT]
\starttext
\startregister[TesT]{samples}
\input knuth
\page
\input ward
\stopregister[TesT]
\blank[3*big]
\placeregister[TesT]
\stoptext
produces on page 2 the index entry
*samples 1*
when one expects
*samples 1–2*
Alan
ent
"Matthew", "Mark", "Luke", "John", "Acts", "Romans", "1
Corinthians",
"2 Corinthians", "Galatians", "Ephesians", "Philippians",
"Colossians",
"1 Thessalonians"
(replacementoffset + 27)
sorters.definitions['bbt'] = {
replacements = {
{ "Geneza", gen },
{ "Eksodus", exo },
{ "Janez", jn },
},
orders = {
gen, exo, jn
}
}
\stopluacode
\mainlanguage[sl]
\defineregister[booksort]
help me in
this matter?
When you replace \getparameters with \setvariables you can set a command
which is applied each time when you set new values.
\defineregister[speakers]
\setupregister
[speakers]
[style=sansbold,
n=2]
\startbuffer[pagetalk]
\doflushatpar
{\ex
K.
%%% begin register-talks.tex
\setupinteraction[state=start]
\defineregister[speakers]
\setupregister
[speakers]
[style=sansbold,
n=2]
\startbuffer[pagetalk]
\doflushatpar
{\expanded{\speakers{\getvariable{talk}{speakername}}}%
\expanded{\pagereference[talk:\getvariable{talk
s only the last name in the list instead of getting each
speaker name.
The following is a (not so minimal…) example. Can anyone help me in
this matter?
When you replace \getparameters with \setvariables you can set a command
which is applied each time when you set new values.
\definere
help me in this matter?
Thanks in advance for your attention and time!
Best regards: OK
%%% begin register-speaker.tex
\defineregister[speakers]
\setupregister[speakers] [
style=sansbold, %% headings
n=2, %% columns
]
\define\MakePageTalk{%
\reference[ref
t;
> \mainlanguage[de]
> \setupsynonyms [abbreviation] [textstyle=normal]
>
> \abbreviation{Abt.}{Abteilung}
> \abbreviation{ADN}{Allgemeiner Deutscher Nachrichtendienst}
> \abbreviation{AFL}{American Federation of Labor}
> \abbreviation{ANC}{African National Congress}
> \abbreviation{AV}
abbreviation{AFL}{American Federation of Labor}
>> \abbreviation{ANC}{African National Congress}
>> \abbreviation{AV}{Auslandsvertretung}
>> \abbreviation{BArch}{Bundesarchiv}
>>
>> \defineregister[Sach][
>> pagestyle=normal,
>> compress=yes,
>&g
;
> \abbreviation{Abt.}{Abteilung}
> \abbreviation{ADN}{Allgemeiner Deutscher Nachrichtendienst}
> \abbreviation{AFL}{American Federation of Labor}
> \abbreviation{ANC}{African National Congress}
> \abbreviation{AV}{Auslandsvertretung}
> \abbreviation{BArch}{Bundesarchiv}
>
&g
Labor}
\abbreviation{ANC}{African National Congress}
\abbreviation{AV}{Auslandsvertretung}
\abbreviation{BArch}{Bundesarchiv}
\defineregister[Sach][
pagestyle=normal,
compress=yes,
indicator=no,
]
\setupregister[Sach][style=normal]
\def\Abk#1{\Sach{\infull{#1} (#1)}{\sc\lowercase{#1}}}
%\def
y main problem, cf mwe below)
2) is a bit cumbersome to use as it requires the user to keep track of
keys, as explained in your link from contextgarden.
Best,
Florian.
>
> \defineregister [demo] [demoes]
> \starttext
>
> 1
> \demo{Demorange}
>
> \page[yes]
&
er switch to get the ranges to be collapsed completely?
Also: There wouldn't be a shorthand to define explicit ranges? LaTeX has
\index{Demorange|(} to \index{Demorange|)} which is actually very convenient.
Best regards,
Florian.
\defineregister [demo] [demoes]
\starttext
1
\demo{Demora
Hans,
I have the following source:
\mainlanguage[agr]
\setupbodyfont[dejavu]
\defineregister[indexgr][indexgrs]
\setupregister[indexgr][pagenumber=no, balance=yes]
\define[1]\grcindx{#1\index{#1}\indexgr{#1}}
\setupregisters[n=3, pagenumber=no, method=default
roach better?
>
> comparable
>
> btw, you can better use deeptextcommand as textcommand gets
> something
> more passed
>
I think I've understood (thanks Hans):
\startbuffer[test]
In this page there is a cat,
a dog and a horse.
In this pa
On Sat, 14 Jan 2017 15:52:25 +0100
MF wrote:
> Now an alternative approach I thought, because the index I'm working
> on is a biographical index, I mean a index of cited people, with a
> biographical profile.
One can create an index with the publications module as follows:
\
and a horse.
Cat
Dog
Horse
\stopbuffer
\defineregister[Animal][Animals]
\startxmlsetups xml:mysetup
\xmlsetsetup{#1}{text|div|p|name|i|index|entry}{xml:*}
\stopxmlsetups
\xmlregistersetup{xml:mysetup}
\startxmlsetups xml:text
\xmlflush{#1}
\stopxmlsetups
\startxmls
Dog
Horse
\stopbuffer
\defineregister[Animal][Animals]
\startxmlsetups xml:mysetup
\xmlsetsetup{#1}{text|div|p|name|i|index|entry}{xml:*}
\stopxmlsetups
\xmlregistersetup{xml:mysetup}
\startxmlsetups xml:text
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:div
\xmlflush{#1}
gt; \newif\iffirstFIDXpage
>
> \def\textcommand#1{#1\global\firstFIDXpagetrue}
> \def\pagecommand#1{\iffirstFIDXpage (p.~\fi \global\firstFIDXpagefalse #1}
> \def\stopregisterpages{)\dostoptagged\endgroup}
>
> \defineregister[fidx]
> \setupregister[fidx][%
> n=1, align=no,
>
nd#1{\iffirstFIDXpage (p.~\fi \global\firstFIDXpagefalse #1}
\def\stopregisterpages{)\dostoptagged\endgroup}
\defineregister[fidx]
\setupregister[fidx][%
n=1, align=no,
%alternative=B,
compress=yes,
indicator=no,
textcommand=\textcommand,
pagecom
like this?:
>>>>
>>>> \placefigure[top][someref]{\externalfigure[somepic]}\reference[someref]{Hraban
>>>> Ramm}
>>>>
>>>> \ref[t][someref] (\at{p.}[someref]) % put this in some command that is
>>>> called by \listoffigures
>>
>> Extension: I need to integrate some unnumbered pages into the list, like the
>> cover.
>
> Ok, I can use registers for that:
>
> \defineregister[fidx]
> \setupregister[fidx][%
> n=1,
> compress=yes,
> indicator=no,
> distance=0.5em,
>
t{p.}[someref]) % put this in some command that is called
> by \listoffigures ?
>
>
> Extension: I need to integrate some unnumbered pages into the list, like the
> cover.
Ok, I can use registers for that:
\defineregister[fidx]
\setupregister[fidx][%
n=1,
co
normal,
]
\defineregister[Index]
\setupregister [Index][n=2,
command=\Word,
balance=no,
compress=yes,
]
\starttexdefinition unexpanded index
\dosingleempty\dostar
n]
\defineprocessor[notBack] [style=normal]
\defineregister [Index]
\setupregister [Index] [n=2,command=\Word,balance=no,compress=yes]
--
rik
___
If your question is of interest to others as well, please add
I currently have a problem setting the indices of a book. A minimal example
\defineregister[mouse][mice]
\setupregister[mouse][n=2,balance=no]
\defineregister[house][houses]
\setupregister[house][n=2,balance=no]
\starttext
rodents\mouse{rats+large}
home\house{ranch+split-level}
\page
\stopitemize}
% #1 - Author; #2 - Author URL; #3 - Section title
\define[3]\PhotographerIndexEntry{%
\setregisterentry[PhotographerIndex][entries={#1}][
title={#3},
author={#1},
authorurl={#2},
]{}
}
\defineregister[PhotographerIndex][
n=1,
indicator=no,
textcommand=\TextCommand
pinteraction[state=start]
> >> \placebookmarks[chapter]
> >> \setupinteractionscreen[option=bookmark]
> >>
> >> \defineregister[indexname][indexnames]
> >> \defineregister[indexsubject][indexsubjects]
> >> \setupheadtext[indexname=Name Index]
> >> \setu
On 11/26/2013 8:03 PM, Jan Tosovsky wrote:
On 2013-11-18 Jan Tosovsky wrote:
when I specify custom titles for my registers, they are ignored in
bookmarks:
\setupinteraction[state=start]
\placebookmarks[chapter]
\setupinteractionscreen[option=bookmark]
\defineregister[indexname][indexnames
On 2013-11-18 Jan Tosovsky wrote:
>
> when I specify custom titles for my registers, they are ignored in
> bookmarks:
>
> \setupinteraction[state=start]
> \placebookmarks[chapter]
> \setupinteractionscreen[option=bookmark]
>
> \defineregister[indexname][in
Dear All,
when I specify custom titles for my registers, they are ignored in
bookmarks:
\setupinteraction[state=start]
\placebookmarks[chapter]
\setupinteractionscreen[option=bookmark]
\defineregister[indexname][indexnames]
\defineregister[indexsubject][indexsubjects]
\setupheadtext[indexname
,right=\eTD,
first=\bTR,last=\eTR,
before=\bTABLE,after=\eTABLE,
setups=MyTableWrong]
\defineregister[Correctliste][style=slanted,pagestyle=bold,indicator=no]
\setupregister[Correctliste][coupling=yes]
\def\Listright#1{\Correctliste{#1}{#1}}
\defineregister[Wrongliste][style=slanted
d parent Erfs for Erf, Erfs defined too (best
check it)
Am 02.04.2013 00:54, schrieb Philipp Gesang:
Hi Wolfgang!
·
Hello,
I have a problem with a using a register in my local installation
(MKIV). The minimal example works on contextgarden.
The example:
\defineregister
Hello Philipp,
many thanks for your help!
Wolfgang
Am 02.04.2013 00:54, schrieb Philipp Gesang:
Hi Wolfgang!
·
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
Hi Wolfgang!
·
> 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 to be documented anywher
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
[Kidd]
\page[makeup]
\stopcomponent
The registers are defined in an environment file as follows;
%Passages
\defineregister[Passage][Passages]
\setupregister[Passage][n=3,%
balance=yes,%
pagestyle={\switchtobodyfont[9.6pt]\em},%
textstyle={\switchtobodyfont[9.6pt]},%
criterium=all,%
intera
s/lines). For instance,
>> 123.4--56 is mapped to abcdaaaeaafg
>> MKII does not seem to sort digit-based keys reliably; MKIV does, and you
>> can just pad out the digits with zeros. The complete sort key that worked
>> was the catenation of the author, text, an
aaaeaafg
MKII does not seem to sort digit-based keys reliably; MKIV does, and you can
just pad out the digits with zeros. The complete sort key that worked was the
catenation of the author, text, and locus key, which is similar to what you
have.
MKII:
\defineregister[Passage][Passages]
...
%
case, up
> to 1 pages/lines). For instance,
> 123.4--56 is mapped to abcdaaaeaafg
> MKII does not seem to sort digit-based keys reliably; MKIV does, and you
> can just pad out the digits with zeros. The complete sort key that worked
> was the catenation of the author, tex
locus key, which is similar to what you
have.
MKII:
\defineregister[Passage][Passages]
...
% interface to register -- \locuskey indirectly returns a key in \nextkey
\def\MyPassage#1#2#3{\locuskey{#3}\expandoneargafter\doMyPassage{\nextkey}{#1}{#2}{#3}}
\def\doMyPassage#1#2#3#4{\Passage[#2#3#1]{{#2}+{
:
\defineregister[Passage][Passages]
\setupregister[Passage][n=1,%
balance=yes,%
pagestyle=\tfx\em,%
textstyle=\tfx,%
criterium=all,%
interaction={pagenumber},%
]
\setupregister[Passage][indicator=no,distance=0.5em]
\starttext
See \Passage{Simplicius+{\em In de caelo}+483.15--19}483.15--19
I should add, perhaps, that I am using MKII, since adapting this project to
MKIV is not feasible.
A.
On Fri, May 11, 2012 at 11:45 AM, Alan Bowen wrote:
> I am trying to construct an index of passages and have run into a curious
> problem:
>
> The test file is:
> \definer
On 04/26/2012 10:14 PM, Alan BRASLAU wrote:
> On Thu, 26 Apr 2012 19:18:55 +0900
> S Barmeier wrote:
>
>> \defineregister[Music][Musics]
>
> Musics?
>
> Alan
Hey, that wasn't me..
On Thu, Apr 26, 2012 12:53:57 +0200,
Philipp Gesang wrote
> You want the ?compress? switch in placeregister, or indicate
> ranges with \{start,stop}register:
>
>
> \defineregister [demo] [demoes]
> \s
On Thu, 26 Apr 2012 19:18:55 +0900
S Barmeier wrote:
> \defineregister[Music][Musics]
Musics?
Alan
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-cont
m is discussed on a number of consecutive
> pages, usually a range is given in the index, like 144-53, or 143 ff.
You want the “compress” switch in placeregister, or indicate
ranges with \{start,stop}register:
····
\definer
Leaving out the plural in \setupregister gives you the setup you set up.
\defineregister[Note][Notes]
\setupregister[Note][n=2,pagestyle=small,textstyle=normal]
\defineregister[Text][Texts]
\setupregister[Text][n=2,textstyle=normal,pagestyle=normal]
\defineregister[Music][Musics]
\setupregister
On Fri, Jul 15, 2011 at 2:50 AM, Brian Wedde wrote:
> Minimal example:
>
>
> \enableregime[utf]
> \defineregister[Index][Indeces]
> \starttext
> \Index{x}x.
> \pagebreak
> \placeIndex
> \stoptext
>
>
> When compiling, TeXUtils has a heart attack:
>
>
Minimal example:
\enableregime[utf]
\defineregister[Index][Indeces]
\starttext
\Index{x}x.
\pagebreak
\placeIndex
\stoptext
When compiling, TeXUtils has a heart attack:
. . .
TeXUtil | parsing file .tui
TeXUtil | fatal error in plugin (processing): invalid multibyte escape
/tex
1 - 100 of 159 matches
Mail list logo