From mboxrd@z Thu Jan 1 00:00:00 1970 From: rudolf.sykora@gmail.com (Rudolf Sykora) Date: Tue, 22 Mar 2011 18:10:43 +0100 Subject: [9fans] troff macros for typesetting books/longer texts Message-ID: Topicbox-Message-UUID: be6d17ec-ead6-11e9-9d60-3106f5b1d025 Hello everyone, please, does somebody know of any troff macros that were used to typeset books? Can one get hold of e.g. macros used to typeset e.g. "The AWK Programming Language" by Aho, Kernighan and Weinberger, or ?The Unix Programming Environment? by Kernighan and Pike? I want to particularly know how headings were programmed. I.e., how the name of a chapter that is only to appear on a page gets to its heading. I feel that either the file must be processed twice, or one must write a heading of a page only when the page is about to be completed (one would then back up to the heading position, write it, and only then continue). Thanks Ruda