;know" that a register entry is within a
footnote. But Hans never ceases to amaze me, so maybe there is a way
(short of applying special markup to these notes in the source)?
You can play with the following example, the main point use to use the
\setregisterentry command and pass the footno
::footnote}
{\setregisterentry
[index][keys:1=\xmlatt{#1}{key},entries:1=\xmlatt{#1}{key}][footnote={\rawcountervalue[footnote]}]}
{\setregisterentry[index][keys:1=\xmlatt{#1}{key},entries:1=\xmlatt{#1}{key}]}
\stopxmlsetups
\startxmlsetups xml:index
\page \placeregister [index
;know" that a register entry is within a
footnote. But Hans never ceases to amaze me, so maybe there is a way
(short of applying special markup to these notes in the source)?
You can play with the following example, the main point use to use the
\setregisterentry command and pass the footnote counter with
\setregisterentry [Russian] [entries:1={исчисление}, entries:2={n.
neutr.}, entries:3={cálculo}]
\setregisterentry [Russian] [entries:1={исчисление}, entries:2={n.
neutr.}, entries:3={cálculo}]
\setregisterentry [Russian] [entries:1={вероятность}, entries:2={n.
fem.},entries:3
ngroup
\getdummyparameters
[word=,
category=,
meaning=,
#1]%
\setregisterentry
[Russian]
[keys={\dummyparameter{word}},
entries:1={\dummyparameter{word}},
entries:2={\dummyparameter{category}},
entries:3={\dummyparameter{meaning}}]%
\en
headers. Is it fine to keep using
registers in this case? Is there a better mechanism for this task in
ConTeXt? Thank you in advance.
you can also use:
\setregisterentry
[Russian]
[keys={\dummyparameter{word}},
entries={\bold{\dummyparameter{word}}
\italic
Jano Kula schrieb am 10.10.2020 um 20:52:
Greetings!
One can can set register levels with keys and entries
\setregisterentry[MyIndex]
[keys:1=Sorting Key Level 1,
entries:1=Entry Level 1,
keys:2=Sorting Key Level 2,
entries:2=Entry Level 2]
Rewriting the code in lua
Greetings!
One can can set register levels with keys and entries
\setregisterentry[MyIndex]
[keys:1=Sorting Key Level 1,
entries:1=Entry Level 1,
keys:2=Sorting Key Level 2,
entries:2=Entry Level 2]
Rewriting the code in lua works until colon (:) is used.
\startluacode
A few questions on registers, and on processors used with registers:
Can processors be used on entries in \setregisterentry? My tests so far
have not been successful.
Can processors be used on one level of a two-level register
{\index{Name+Processor->quotation precis}? Again, no succ
that any index mechanism that is supposed to provide the
right page does a delayed write, so some kind of anchoring is there
(you could try \index{...}\null or maybe \setregisterentry)
Hans
Sorry, Hans. \index{...}\null isn't the solution either: I get an unwanted
additional empty page
a delayed write, so some kind of anchoring is there
(you could try \index{...}\null or maybe \setregisterentry)
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt
\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
On 26-5-2012 16:12, Alan Bowen wrote:
Thanks, Alan. Actually, I now think MKIV works without any trickery. I
was perhaps too eager to try a Lua solution. \Passage{Author+Text+Locus}
seems to work fine in the beta today.
If you dont' like the + you can do:
\setregisterentry
[Passage
\switchtobodyfont[50pt]
START\setregisterentry[index][label={Index_Label}]%
Test\dorecurse{10}{This is one long, long paragraph. }%
STOP\finishregisterentry[index][label={Index_Label},entries={Index entry}]
Test
\stoptext
Does it work on your machines?
Is the syntax changed, do I have to add a certain
Hi,
in current beta (2011.02.11 18:18 MKIV) set-/finishregisterentry is killed:
Empty pagenumbers only!
Please run attached example.
Steffen
---
\placeindex[method=first,criterium=all,compress=yes]
\starttext
\switchtobodyfont[50pt]
START\setregisterentry[index][label={Index_Label
lastrealpage is exactly the page
where the ending mark is set?
Attached you may find a minimal example.
Best,
Steffen
---
\starttext
\switchtobodyfont[50pt]
\input tufte \par
\setregisterentry[index][label={Index_Label}]%
Test\dorecurse{5}{This is are words, not paragraphs.
}\finishregisterentry
lastrealpage is exactly the page
where the ending mark is set?
Attached you may find a minimal example.
Best,
Steffen
---
\starttext
\switchtobodyfont[50pt]
\input tufte \par
\setregisterentry[index][label={Index_Label}]%
Test\dorecurse{5}{This is are words, not paragraphs.
}\finishregisterentry
Hi Steffen,
On 10/13/2010 07:23 PM, Steffen Wolfrum wrote:
Hi,
I don't understand the concept of entries in registerentry :o(
Say, you have this example:
\starttext
\placeregister[index]
\page
page 1
\setregisterentry[index]
[entries:1={eins},
entries:2={zwei},
entries:3={drei
Hi,
I don't understand the concept of entries in registerentry :o(
Say, you have this example:
\starttext
\placeregister[index]
\page
page 1
\setregisterentry[index]
[entries:1={eins},
entries:2={zwei},
entries:3={drei},
label=range]
\page
page 2
text
\page
page 3
\finishregisterentry
, so it can be
really anything.
Other way around: I substitute + with PLUS in index terms before
writing into the index, but which command is reading the sorted index
entries to change it back to + when typesetting the sorted index on
pages?
\setregisterentry[index]
[entries:1=...,
entries:2
substitute + with PLUS in index terms before
writing into the index, but which command is reading the sorted index
entries to change it back to + when typesetting the sorted index on
pages?
\setregisterentry[index]
[entries:1=...,
entries:2=...,
entries:3=...,
keys:1=...,
keys:2
, so some word in the index is triggering this ... no minimal example I guess
btw:
does the MkIV-structure-idea also provide an xml-alike start/stop for index
marks?
index
termSchlüsselwort/term
/index
we have an experimental \setregisterentry [index] [specification][userdata]
(I
22 matches
Mail list logo