On 4/17/2021 7:04 AM, jbf wrote:
necessarily understand the Lua code, but I did take the trouble to look
As with many such features, indeed we use lua but most of the concepts
originate in by now decades old mkii. These replacement tricks that can
drive sorting actually come from there. But
You will be happy to know that this works perfectly, and naturally I
extended the pattern to cover another 30 books or so. I don't
necessarily understand the Lua code, but I did take the trouble to look
through sort-ini.lua to get some kind of idea of what was happening and
basically to underst
Okay, that's all clear enough. Thank you. I'll keep working at it.
Julian
On 16/4/21 11:08 pm, Hans Hagen wrote:
On 4/16/2021 12:22 PM, jbf wrote:
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 expli
I did, actually. But maybe I can play with that a bit further. My first
attempt at doing that was unsuccessful (when I got to 'z' I thought I
might be able to then go 'za' etc). I'll keep playing, but Hans' luacode
approach might ultimately be the solution for me. He's given me the
principles;
You are correct on both counts; it is not quite random (just not what I
was looking for😁 ) and yes, the abbreviated book title needs to be in
the mix as well, just in case it also ends up throwing things out. But,
as you can see subsequently, each contribution is making things clearer
(for me,
On 4/16/2021 12:22 PM, jbf wrote:
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:
You use a couple of chartacters that will be filtered (crlf and so). Try
weird ones, like:
sorters.definitio
It seems that the items are actually not randomly listed.
It appears to me that the list is sorted on the chapter number, and then the
verse number. The abbreviated book title is not involved in this sorting order,
which it should be.
Robert
> Op 16 apr. 2021, om 12:22 heeft jbf het volgend
> Am 16.04.2021 um 11:47 schrieb jbf :
>
> So, not sure where to go from here. Could I perhaps return to my earlier
> question, which indicated that by using the keyword approach [a] [b] and so
> on, as far as [z] I was at least getting a passable result, but how could I
> continue past [z]? C
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.
Juli
On 4/16/2021 11:47 AM, jbf wrote:
Hans, thanks for your ingenious solution but there is still a way to go
I suspect!
I implemented (copy-paste) precisely the solution offered and I get an
index but with some strange results ! Notice that in my previous own
solution (but only as far as 26 book
Hans, thanks for your ingenious solution but there is still a way to go
I suspect!
I implemented (copy-paste) precisely the solution offered and I get an
index but with some strange results ! Notice that in my previous own
solution (but only as far as 26 books!) I at least got an index in the
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 opti
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
change
On 4/14/2021 11:16 PM, jbf wrote:
I am wondering if anyone has had to set up a register (index) for
biblical citations, where the order is not alphabetical but the order of
the biblical books themselves, so, for example, citations from Genesis
(e.g. Gen 1:1; Gen 6:4; Ex 15:2; Deut 12:8 etc. etc
I am wondering if anyone has had to set up a register (index) for
biblical citations, where the order is not alphabetical but the order of
the biblical books themselves, so, for example, citations from Genesis
(e.g. Gen 1:1; Gen 6:4; Ex 15:2; Deut 12:8 etc. etc). I am not at all
sure how to ach
On 4/26/2020 4:35 PM, Thomas A. Schmitz wrote:
A similar question has been asked three years ago, and Rik Kabel posted
a partial solution, adapted here:
\defineprocessor [Footnote] [right={ n}]
\define[1]
\fnindex{\index[Footnote->]{#1}}
\starttext
This is a sentence with a term in the in
A similar question has been asked three years ago, and Rik Kabel posted
a partial solution, adapted here:
\defineprocessor [Footnote] [right={ n}]
\define[1]
\fnindex{\index[Footnote->]{#1}}
\starttext
This is a sentence with a term in the index: cat\index{cat}. This
sentence also has an i
Dear list,
I have this sample:
\starttext
\chapter{One}
\index{one}
\section{Two}
\index{two}
\subsection{Three}
\index{three}
\placeregister[index]
\stoptext
Is there any way to get section numbers in the index references instead
of page numbers?
I have sear
hi everybody,
if i place a register at the end of my document its sorted by page
numbers and not alphabetically. someone has an idea how to achieve this
(from A to Z)?
if it would be sorted alphabetically there would be only one indicator
per letter:
A B C D E F G
at the moment it lo
Is there a sort method that can be specified for register sorts that
will ignore unicode quote marks (“‘’”) in the same way that primes ("')
are ignored. This was asked in 2010
(http://www.mail-archive.com/ntg-context@ntg.nl/msg51348.html) and not
answered. It is still a problem.
Is there a s
Hi Rik,
sorry for top-posting, but I’m not sure whether I understand your request.
I wonder whether the following sample points in the right direction:
\setuppapersize[A6]
\setuppagenumber[way=bypart, prefix=yes, prefixset=chapter]
\startsectionblockenvironment[bodypart]
\set
List,
I have a book with frontmatter, bodymatter, and backmatter. The
frontmatter is pagenumbered with lc roman, and the bodymatter and
backmatter are numbered, all by block.
The backmatter contain a glossary, pagenotes, bibliography, and an
index. In addition to the frontmatter and the body
On 06/11/2013 01:08 PM, Wolfgang Schuster wrote:
\expanded{\index{…}}
Wolfgang
Sigh... things can be so easy; I should have tried that myself! Thanks a
lot, Wolfgang!
Thomas
___
If your question is of interes
Am 11.06.2013 um 12:59 schrieb Thomas A. Schmitz :
> Hi,
>
> may I interest you in a rerun of a question I asked half a year ago? How do
> you do an index from xml? Here is my naive approach, which ends in all
> entries being filed under "x," which is less than ideal. What would be the
> prop
Hi,
may I interest you in a rerun of a question I asked half a year ago? How
do you do an index from xml? Here is my naive approach, which ends in
all entries being filed under "x," which is less than ideal. What would
be the proper way of doing this?
Thanks
Thomas
\starttext
\startbuffer
Hi all,
according to the manual (current draft p. 238f.) the following
should work:
···8<
\setupinteraction[state=start]
\defineregister[myreg][myreg]
\setupregister[myreg][textstyle=italic,pagestyle=slanted]
%% That’s what it’s about:
Hi Hans,
I tested all the combinations that Jano set up (see below) and additionally
tried the same, but used ch instead of uc.
But none of these runs gave this sorting result:
East Prussia
Eastern enlargement
East-West Institute
I would would sort it this way, but maybe I am simply wrong?
Hi Steffen,
On 10/29/2010 10:39 PM, Steffen Wolfrum wrote:
Hi,
I just installed todays beta and I am not sure if regoster sorting is working
properly.
Eg. I modify (see below) the example from tricky-002.tex and I would like to
achieve ...
accession
Action Plan
association
But none of the
Hi,
I just installed todays beta and I am not sure if regoster sorting is working
properly.
Eg. I modify (see below) the example from tricky-002.tex and I would like to
achieve ...
accession
Action Plan
association
But none of the four methods (before, after, first, last) gives this result!!
Am 12.10.2010 um 13:18 schrieb Hans Hagen:
> On 12-10-2010 1:10, Steffen Wolfrum wrote:
>>
>>
>> Hi Taco,
>>
>> as it calls itself "LuaTeX" error ... maybe you could have a look at it and
>> hopefully confirm that error?
>>
>>
>> ! LuaTeX error text/tex/texmf-context/tex/context/base/so
On 11-10-2010 6:50, Steffen Wolfrum wrote:
system> error on line 8 in file index_ff.tex: LuaTeX error
runs ok here ... maybe delete the tuc file helps?
I found three invalid characters (form feed?) in strc-reg.mkiv: at line 549,
568, 632.
indeed ff and there are probably lots of th
Hi,
todays beta gives an error with this test (taken from strc-reg.kmiv at line 35):
\starttext
\placeregister[index]
test \index{aa} test \startregister[index][x]{bb} test \page test \page test
\page test \stopregister[index][x]
\stoptext
! LuaTeX error ...text/tex/texmf-context/tex/cont
On 18-5-2010 4:13, Thomas Floeren wrote:
\setupinteraction[state=start]
\startsectionblockenvironment[bodypart]
\setupuserpagenumber[number=1]
\stopsectionblockenvironment
\starttext
\startfrontmatter
\page[dummy]
\page[dummy]
\stopfrontmatter
\startbodymatter
\page[dummy]
bla\index{b
Hi,
when I place an interactive register in mkIV, and then in the PDF click the
pagenumber (in the index), it takes me to the wrong page; it seems to go to the
absolute pdf page number(?).
Example:
\setupinteraction[state=start]
\startsectionblockenvironment[bodypart]
\setupuserpage
Finding simple \at[] statements inadequate for glossaries (where there
might be zero, one, or several page references per entry), I'm
experimenting with registers, but I'm not getting the expected
results:
\defineregister[glind][glinds]
\setupregister[glind][style=\it]
\setupinteraction[state=star
Hi,
for fine-tuning the TOC I use e.g. ...
\writebetweenlist [section] {\def\TOCstyle{\switchtobodyfont[9pt]
\setupinterlinespace[line=11.15pt]}}
... for adjusting the vertical space and thus the page breaks.
Is is possible to do something similar to the register?
Steffen
__
Vit Zyka wrote:
> Jupi!
>
> Both patches (space & 4-level entry) work well as I can test them till
> now. I will do some testing on a real and big document in a near future.
>
> Do you intend to incorporate both patches to the distribution?
well, i always do such things directly in the sour
Jupi!
Both patches (space & 4-level entry) work well as I can test them till
now. I will do some testing on a real and big document in a near future.
Do you intend to incorporate both patches to the distribution?
Thank you Hans for extremely quick solutions
Vit
Hans Hagen wrote:
> Vit Zyka
Vit Zyka wrote:
> Dear ConTeXters,
>
> there are 3 topics dealing with register (index):
>
> 1. [Spurious space] There are entries like
> \registerpage{index}{,}{5}{2--1-1-0-1-0-0-0--1}{2}
> in a *.tuo file. Since the definition (core-reg.tex)
> \def\dosetpageregisterpage#1#2#3#4#
Dear ConTeXters,
there are 3 topics dealing with register (index):
1. [Spurious space] There are entries like
\registerpage{index}{,}{5}{2--1-1-0-1-0-0-0--1}{2}
in a *.tuo file. Since the definition (core-reg.tex)
\def\dosetpageregisterpage#1#2#3#4#5#6%
{\doifreglevelelse[
Am 26.10.2006 um 10:32 schrieb Hans Hagen:
>
> hm, you really want to do that now?
>
>
Yes, please: the printing house is wating for the book today...
> i'll make a beta that can do:
>
>
> \placeregister[index]
>
> \placeregister[index][file=testtest]
>
> so, you can copy test.tuo to testtest.t
On Oct 25, 2006, at 10:45 PM, Hans Hagen wrote:
> in mkiv there will be more control because we may move index
> handling in mem
>
> Hans
>
OK, since we're speaking of registers, may I repeat my question from
last weekend and add something that could be a bug? First, here's the
question:
Steffen Wolfrum wrote:
> Sorry, same problem here as with your other posting:
> How should I use this hack?
>
> Given that I have a source TEX document (providing the \index{Keyword
> and the \placeregister{index}} and those TUI and TOU files.
> Where should I store the line below in order to man
Sorry, same problem here as with your other posting:
How should I use this hack?
Given that I have a source TEX document (providing the \index{Keyword
and the \placeregister{index}} and those TUI and TOU files.
Where should I store the line below in order to manipulate (filter?)
the TUO?
Do I
Steffen Wolfrum wrote:
> Hi,
>
> I am not sure how a ConTeXt index register is generated and what role
> the tui and tuo files play.
> But could it be possible to manually "fine tune" the generated register?
>
> Something like from ...
>
> Keywords
> -- secret 35
> -- popular 25, 26, 27, 88, 89
Hi,
I am not sure how a ConTeXt index register is generated and what role
the tui and tuo files play.
But could it be possible to manually "fine tune" the generated register?
Something like from ...
Keywords
-- secret 35
-- popular 25, 26, 27, 88, 89
... to ...
Keywords see also Commands
-
Quick question - how do I alter the width of the hanging indent of a
register entry which is too long to fit on one line?
I want to differentiate sub-entries, which each have an indent of 1em
more than the previous level, from the indentation of longer entries,
which by default is also set to 1em.
I make an example here:
%% BEGIN
\setupinteraction[state=start]
\setupcolors[state=start]
\definecolor[BackBrand][black]
\definecolor[Brand][white]
\newcount\ICfdigit
\newif\ifDoZero \DoZerotrue
\newif\ifDoOne\DoOnetrue
\newif\ifDoTwo\DoTwotrue
\newif\ifD
luigi scarso wrote:
> I'm using register with numeric values, eg
> \defineregister[MyReg][MyRegs]
> \starttext
> 123\MyReg[123]
> 345\MyReg[345]
> aaa\MyReg[aaa]
> \page
> \placeMyReg
> \stoptext
>
> but there aren't head as for entry 'aaa'.
> I'm looking into core-reg, but I've not ideas.
>
num
I'm using register with numeric values, eg
\defineregister[MyReg][MyRegs]
\starttext
123\MyReg[123]
345\MyReg[345]
aaa\MyReg[aaa]
\page
\placeMyReg
\stoptext
but there aren't head as for entry 'aaa'.
I'm looking into core-reg, but I've not ideas.
luigi
> \startregister[index]{Menippean}
> \stopregister[index]
>
> and it works. However, when I try to replace [index] with my own key
> (because I have overlapping ranges)
>
> \startregister[satire]{Menippean}
> \stopregister[satire]
>
> I get errors: ...
Hi Thomas.
The first [...] in the \star
On Feb 23, 2006, at 12:10 PM, Duncan Hothersall wrote:
>
> Hi Thomas.
>
> The first [...] in the \startregister command is the name of the
> register itself, then there is a second one for the sort key/range
> identifier. So you want:
>
> \startregister[index][Menippean]{Menippean}
> \stopregiste
Thomas A. Schmitz wrote:
> Hi all,
>
> I must be obtuse, but I can't find the answer to this easy question:
> to define a register range, I was using this:
>
> \startregister[index]{Menippean}
> \stopregister[index]
>
> and it works. However, when I try to replace [index] with my own key
>
Hi all,
I must be obtuse, but I can't find the answer to this easy question:
to define a register range, I was using this:
\startregister[index]{Menippean}
\stopregister[index]
and it works. However, when I try to replace [index] with my own key
(because I have overlapping ranges)
\startreg
Bug or feature?
In a register (such as the index), a command like
\index[key]{entry}
creates an index entry sorted as 'key', and there exists also
\startregister[key]{entry} ... \stopregister[key]
which creates a page range. As far as I can tell, the [key] here plays
two roles - the ID of the rang
55 matches
Mail list logo