Closed jhosman closed 11 years ago
No, no specific reason we've been stripping them out. Traditionally, when we do new editions of previous books, we usually do strip out the indexterms, because most of our indexers prefer to start over from scratch when indexing a new edition. But postprod updates are something different.
How about we add parameterized handling for indexterms in the stylesheets, so that if you supply a param like strip-indexterms, it drops the indexterms; otherwise, it back-converts them to AsciiDoc markup?
Okay, great idea. Sounds like it shouldn't be too complicated to add that functionality. I'll take a look at it this week.
Added handling for indexterms. Converts them by default; To strip them out, run with strip-indexterms=true
We've been getting an increasing number of db to asc conversion requests internally for postprod update books. Many of them are being re-indexed after the fact, since this script pulls out all the indexterms. Should we consider adding handling for indexterms, or is there a more pressing reason we've been removing them?