On 1/13/2025 8:52 PM, Keith McKay wrote:
Thanks for your reply Hans. The h2's all have the same format except that the id attribute changes for each h2, which is to be expected. I tried \chapter{xmltext{#1}} as you suggested, and still the same problem. I've created a new tex file, which only contains the problematic files and compiled it. Still the same problem. I also removed the id attribute from the h2's, since I don't use that for typesetting and still the same effect. So I think I'll leave it tonight and start from scratch tomorrow and have a look through some other books I've typeset. I'll let you know how I get on. Thanks for your suggestions.
strip down the xml to a few chapters (titles plus a few lines of text per chapter) and send the lot to me and i'll have a look Hans ps \showmakeup[line,glue] might give a clue ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------