Hi Johannes,
I would agree, because if we require the reader to have the electronic
> I asked both on Facebook and some internal publishers lists and the
> answer seems to be that word indexes continue to be extremely important.
version to look up the index, we make the paper version redundant.
Also, to take a long view, can we guarantee that the electronic index
will be available in 20 or 30 years when the paperback is still in some
library somewhere? Back in my college days of the early 90's, research
abstracts were on CD-ROM and today most new computers don't have a CD
drive.
Publishers in the UK at that time used Syquest or Iomega drives, and you
never see those any more. You would have trouble finding a computer with
the correct SCSI connector, even if you still had a working drive.
Great to hear these features are coming along :-)
Cheers!
Daniel
Cheers!
Daniel
hey johannes and daniel,
addressing paragraphs actually sounds like a way which could be worth
investigating.
All the best Gideon
-----Ursprüngliche Nachricht-----
Von: Daniel James [mailto:daniel...@sourcefabric.org]
Gesendet: Montag, 10. Juni 2013 13:45
An: Johannes Wilm
Cc: bookty...@googlegroups.com; Booktype; Internal Aloha Editor Dev;
Gideon Lehmann
Betreff: Re: [booktype-dev] Re: word index
Hi Gideon,
If we use paragraph numbers, does that mean we need to generate a new
> addressing paragraphs actually sounds like a way which could be worth
> investigating.
index each time someone adds or removes a paragraph break? We might need
to regenerate the index on chapter save only, rather than with each
edit, to limit the computational expense.
Very cool to be able to have unique URLs for each paragraph
automatically, though (for uses such as academic citations). Each <p>
tag in the body text could have a randomly generated id.
It would be easier to list just the chapter name in the index, but that
wouldn't suit books with long chapters.
Also there would need to be an edit feature for the index chapter, so we
would need to figure out how to do the locking (e.g. someone is editing
the index while another person saves a chapter).
Cheers!
Daniel
Hi Johannes,
> In a live WYSIWYG book editing environment, something that BooktypeCan we get away with only checking references on chapter save?
> currently doesn't have and won't have according to current plans, at
> least not in 2013, every key stroke would have to check whether all
> references are still were they used to be.
That is simpler, but if you want web accessible references (URLs) you
> I think you would just have a mechanism that counts how many <p>
> elements there are before the one with the reference in it which would
> be invoked at epub-compile time. No need to give them all paragraphs IDs.
have the problem of indexes getting broken between versions, whenever
paragraphs are added or removed. How about making the paragraph id a
hash of the content of that element? Then you would have a way to check
for changes, only re-indexing when it was actually needed (i.e. scan for
paragraphs which have changed).
If you had a chapter URL ending in a hash that no longer existed, you
could use a rewrite rule to display the chapter rather than a 404, or
even a message such as 'That reference no longer exists'. Ideally we
would combine Booktype book version URLs with these references so that
you could be sure to find a reference, as long as you were looking at
the right version of the book.
Editors might want to remove ordinary words which have slipped into the
> The index function, at least for now, will be autogeneration only. What
> kinds of things would you want to edit in it?
index. Presumably there's a common word exclusion list, but it might not
be available for every language. Perhaps the exclusion list should be
editable from the book settings page.
Cheers!
Daniel
Hi Johannes,
Ah, I see. High quality index, but time consuming.
> Within the normal text, you can press a button that says something like
> "add index term". The user then gets to enter an index term. Within the
> editor it will then be represented by a green dot or something similar.
I was thinking it would be an automatic index of all non-common words
and short phrases, using something like
http://code.google.com/p/maui-indexer/
Cheers!
Daniel
Hi Johannes,
I suppose you could auto-generate the index, then manually edit it to
> a good index does not just link terms in the text. It may say "In
> Nicaragua, the poor gained access to more buying power and the rich
> stayed the same in the early 2000s" and link that to
> Nicaragua->economy->income gap->2000s . The terms "economy" and "income
> gap" are not mentioned within the text.
group terms like these. The manual indexing could then be crowd-sourced
from readers etc.
As much as I appreciate a high-quality, manually curated index, there
has got to be a way of making it quicker and easier. Also, traditional
indexers did not have permalinks available to them...
I think that depends on the publisher. I wrote a book for Apress and was
> In non-fiction books, the author is responsible for the index.
never asked to create the index myself.
Cheers!
Daniel