From mboxrd@z Thu Jan 1 00:00:00 1970 From: rudolf.sykora@gmail.com (Rudolf Sykora) Date: Tue, 22 Mar 2011 23:31:27 +0100 Subject: [9fans] troff macros for typesetting books/longer texts In-Reply-To: <248295.9502.qm@web83904.mail.sp1.yahoo.com> References: <248295.9502.qm@web83904.mail.sp1.yahoo.com> Message-ID: Topicbox-Message-UUID: bf603e18-ead6-11e9-9d60-3106f5b1d025 > I'd suggest digging around for macro sets people created for > various schools' thesis and dissertation formats. ?I expect > several of us have done that and have included auto numbering > of chapters, sections, equations, tables, figures, etc. Well, I tried google... and... :( That's why I asked. I actually know how to do the numbering of eqs, figures, tables (all the same principle, I use a ~10-line awk/sed script to do this), chapters (for this slightly modified .NH is ok). I know to use 'refer' for references (I believe it won't be hard to write a script to translate bibtech references to refer's), even index production shouldn't be difficult with the help of Bentley's paper (and I guess I even won't need this right now). I have only hesitated over the way (as described in my original, 1st, post) how references that *depend on physical placement* of certain text are to be coped with. (As with my page headings; or---probably even harder so that at least 2-runs of troff are inevitable---references to page numbers where sth is mentioned. But I really need just the headings now.) Thanks! Ruda