Join macro: tables destroy 'Normal' style
Posted: 2022-05-05 21:51:20
I started this as a reply in the thread 'Merging files into one document' but here's a new thread because I now know more precisely what's happening.
Suppose two or more files are concatenated using the Join macro, and at least one file contains a Nisus table. In the resulting joined file, all paragraphs that previously used the style 'Normal' will have either no style applied, or else a style named '43510' or some other inexplicable number. That apparently applies to all instances of Normal-style paragraphs, whether they come before or after the Nisus table. No other styles seem to affected.
The styles that are affected revert back to what I suppose is a basic Nisus style, with line spacing set to 1 line and space/after set to zero. (That's not the default style I use.)
Does anyone understand this bug or can suggest how to fix it?
A conjecture: if I replace all Normal style paragraphs (before using the Join macro) with a style called say NormalSafe, with identical formatting to Normal, perhaps all will be well. That would suggest that it's the style at the top of the style hierarchy that gets damaged.
Suppose two or more files are concatenated using the Join macro, and at least one file contains a Nisus table. In the resulting joined file, all paragraphs that previously used the style 'Normal' will have either no style applied, or else a style named '43510' or some other inexplicable number. That apparently applies to all instances of Normal-style paragraphs, whether they come before or after the Nisus table. No other styles seem to affected.
The styles that are affected revert back to what I suppose is a basic Nisus style, with line spacing set to 1 line and space/after set to zero. (That's not the default style I use.)
Does anyone understand this bug or can suggest how to fix it?
A conjecture: if I replace all Normal style paragraphs (before using the Join macro) with a style called say NormalSafe, with identical formatting to Normal, perhaps all will be well. That would suggest that it's the style at the top of the style hierarchy that gets damaged.