List of Invalid index Entries
i have imported ms word documents index entries (cyrillic , latin alphabetet, quotation marks etc. ).
now want generate index , have alert:
"the index not generated.
one or more index entries contain invalid characters.
please delete invalid characters index entries".
where can find complete list of characters adobe defines invalid?
don't think preflight should check , mark such characters?
olfarr wrote:
i have imported ms word documents index entries (cyrillic , latin alphabetet, quotation marks etc. ).
now want generate index , have alert:
"the index not generated.
one or more index entries contain invalid characters.
please delete invalid characters index entries".
either word or indesign add null character @ end of index entry. yup, "sometimes". not "always", not "never". null character invalid in every text string.
if problem, can remove them short javascript:
indextopics = app.activedocument.indexes[0].topics; (i=0; i<indextopics.length; i++) indextopics[i].name = indextopics[i].name.replace(string.fromcharcode(0), '');
-- way check if problem run it, try regenerate index
the script not check sub-topics; if have these , still doesn't work, script needs expanding.
internally, strings inside indesign coded unicode. null (u+0000) invalid character in contexts, others such u+fffe (not-a-character), u+1fff (not existing unicode), , u+d801 (only half of 2-code combined unicode). depends on context well: hard return legal inside text (surely?) illegal inside index entry.
don't think preflight should check , mark such characters?
i'd rather have indesign not import invalid characters begin with!
More discussions in InDesign
adobe
Comments
Post a Comment