Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread erik quanstrom
>> I believe it won't be hard to write a script to >> translate bibtech references to refer's > > I have a refer contrib package, mostly based on forsyth's port but which > includes a few tweeks and bib2ref.c which attempts, rather naïvely, to do > this translation. i put both on my system last y

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread Steve Simon
> I believe it won't be hard to write a script to > translate bibtech references to refer's I have a refer contrib package, mostly based on forsyth's port but which includes a few tweeks and bib2ref.c which attempts, rather naïvely, to do this translation. -Steve

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread Lyndon Nerenberg (VE6BBM/VE7TFX)
> 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 nu

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread Rudolf Sykora
> 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 aske

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread Brian L. Stuart
> Note, that neither plainTex nor troff handle > cross-references, > automatic equation numbering, footnote numbering, table of > contents, > etc. Nonetheless, mainly these listed features are often so > needed. > ... What I am > trying to get > is something like eplain, but for troff. And I wanted

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread Rudolf Sykora
> seem to provide any documentation for the me macros, though.  I'm > pretty sure Stevens talked about index creation on his web site, and > you might want to check Brian Kernighan's web pages as well. > > --lyndon Yes, that's true. He discusses an index production. Basically, if I remember, he us

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread Stanley Lieber
> 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 w

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread Lyndon Nerenberg (VE6BBM/VE7TFX)
> Just now I am reading "Unix Text Processing" by Dale Dougherty and Tim > O'Reilly, a freely available book (pmartin proposes it as well). There > are several chapters on the topic, so perhaps I'll get what I want in > the end. I was going to mention that one, but I figured it was so long out of

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread Rudolf Sykora
> But as I said before, this is not for me a religious case. It happens > that I made my way with TeX (LaTeX was not my cup of tea from the very > beginning) without knowing troff. Anyway, I do keep an eye on what you do with KerTeX. I appreciate this. Having seen those >1GB TeX distributions out

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread tlaronde
On Tue, Mar 22, 2011 at 10:00:12PM +0100, Rudolf Sykora wrote: > > Note, that neither plainTex nor troff handle cross-references, > automatic equation numbering, footnote numbering, table of contents, > etc. Nonetheless, mainly these listed features are often so needed. Well I use a package calle

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread Steve Simon
> There's 'Document formatting and Typesetting on the Unix System, Vol. I &II' > by Narain Gehani and Steven Lally. They're available on alibris at a cheap > price. secconded, excellent books. R.S. Bourne's "The Unix System" has some macros for writing books in it, though I was never clear wethe

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread Rudolf Sykora
> the Teχbook may be authoratative, but it's by no means short. This is the argument I'd stand by. I read the TeXBook and used (plain)Tex much before ever touching troff, thus I have a good idea about how it is written and explained. Being a physicist, I use latex for writing articles. I have disc

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread pmarin
A very gentle introduction about Troff macros is "A TROFF Tutorial" by Kernighan. (http://www.kohala.com/start/troff/troff.html) A great and complete book with macros like you are looking for is "Unix Text Processing". You can download it from http://oreilly.com/openbook/utp/ On Tue, Mar 22, 20

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread Anthony Sorace
On Mar 22, 2011, at 3:50 PM, Jacob Todd wrote: > There's 'Document formatting and Typesetting on the Unix System, Vol. I &II' > by Narain Gehani and Steven Lally. They're available on alibris at a cheap > price. I unfortunately haven't had time to read them yet. I know there's also > more liste

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread Jacob Todd
There's 'Document formatting and Typesetting on the Unix System, Vol. I &II' by Narain Gehani and Steven Lally. They're available on alibris at a cheap price. I unfortunately haven't had time to read them yet. I know there's also more listed at troff.org. On Mar 22, 2011 2:46 PM, wrote: > On Tue,

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread erik quanstrom
>> the Te?book may be authoratative, but it's by no means short. > > You can get started with the very first chapters. And once you stumble > upon something more special, you pick up the book. > > 300 pages without the appendices, and with exercices it's short; and > exhaustive. Compare with book

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread tlaronde
On Tue, Mar 22, 2011 at 12:08:21PM -0700, Bakul Shah wrote: > > Most TeX users are actually latex users, not raw TeX so the > TeXbook is not terribly useful. But there are good books on > latex and there is a wealth of material online (& many > packages that work with latex). With TeXworks and Te

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread Bakul Shah
On Tue, 22 Mar 2011 19:46:17 BST tlaro...@polynum.com wrote: > > If there is no good short authoritative book on troff, and if you are > not already proficient in troff, try TeX instead simply because of the > TeXbook if not something else. Most TeX users are actually latex users, not raw TeX so

Re: [9fans] drawterm bug

2011-03-22 Thread erik quanstrom
> i feel your pain. i went through the process for a patch queue to support ARM. > > FYI, when i mentioned this to Russ, he said I could email him the > patch. I think if it's small enough it's probably the best way. unfortunately, i need this patch asap. it's causing real problems on machines i

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread tlaronde
On Tue, Mar 22, 2011 at 02:48:58PM -0400, erik quanstrom wrote: > >> > >> If there is no good short authoritative book on troff, and if you are > >> not already proficient in troff, try TeX instead simply because of the > >> TeXbook if not something else. > > > > And mind you, I know for sure the

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread erik quanstrom
>> >> If there is no good short authoritative book on troff, and if you are >> not already proficient in troff, try TeX instead simply because of the >> TeXbook if not something else. > > And mind you, I know for sure there is TeX for Plan9---even if I'm the > only one interested in it; but it is

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread tlaronde
On Tue, Mar 22, 2011 at 07:46:17PM +0100, tlaronde wrote: > > If there is no good short authoritative book on troff, and if you are > not already proficient in troff, try TeX instead simply because of the > TeXbook if not something else. And mind you, I know for sure there is TeX for Plan9---even

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread tlaronde
On Tue, Mar 22, 2011 at 11:21:55AM -0700, Lyndon Nerenberg wrote: > [...] > > In either case, the customizations are locked in with the document source > and don't get distributed. Or they are so tied in with a specific document > that they're of no practical use as standalone tools. > > [...]

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread Lyndon Nerenberg
Actually, I know of both mentioned places. But, as far as I know, the very macros are not discussed anywhere. But I may be, of course, wrong. My guess is these works fall into two categories: 1) the author uses (say) ms, and extends it with macros in the document source code to achieve the bit

Re: [9fans] drawterm bug

2011-03-22 Thread Jeff Sickel
On Mar 22, 2011, at 12:51 PM, erik quanstrom wrote: >> back in the right order. Needs work, well, time, it takes time. > > hey, wait a second ... i thought that was the whole point of hg, > to save time. :-) It does, as long as you don't use certain extensions. > there were some definate got

Re: [9fans] drawterm bug

2011-03-22 Thread Skip Tavakkolian
i feel your pain. i went through the process for a patch queue to support ARM. FYI, when i mentioned this to Russ, he said I could email him the patch. I think if it's small enough it's probably the best way. On Tue, Mar 22, 2011 at 10:40 AM, erik quanstrom wrote: > that was an ordeal.  here's t

Re: [9fans] drawterm bug

2011-03-22 Thread erik quanstrom
> back in the right order. Needs work, well, time, it takes time. hey, wait a second ... i thought that was the whole point of hg, to save time. :-) there were some definate gotchas - hg diff doesn't do the right thing with a patch queue. - hg qpush is terribly misnamed; and hg push --mq is jus

Re: [9fans] drawterm bug

2011-03-22 Thread Jeff Sickel
On Mar 22, 2011, at 9:40 AM, erik quanstrom wrote: > hg is a pain, so the drawterm-fixes patch queue broke as > soon as russ pulled in some changes. i'll try to work out > how to get this up while causing minimal chaos. I've found that using hg mq stacks of patches are a pain. But that's just m

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread Rudolf Sykora
On 22 March 2011 18:30, Lyndon Nerenberg wrote: > http://troff.org has some good information.  I especially recommend Richard > Stevens' notes on typesetting (TCP Illustrated et al) at > http://www.kohala.com/start/ (see the 'Typesetting' section towards the end Actually, I know of both mentioned

Re: [9fans] drawterm bug

2011-03-22 Thread erik quanstrom
that was an ordeal. here's the patch queue https://bitbucket.org/quanstro/drawterm-fixes/changesets - erik

Re: [9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread Lyndon Nerenberg
http://troff.org has some good information. I especially recommend Richard Stevens' notes on typesetting (TCP Illustrated et al) at http://www.kohala.com/start/ (see the 'Typesetting' section towards the end of that page). --lyndon

[9fans] troff macros for typesetting books/longer texts

2011-03-22 Thread Rudolf Sykora
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

Re: [9fans] drawterm bug

2011-03-22 Thread erik quanstrom
On Mon Mar 21 11:38:22 EDT 2011, quans...@quanstro.net wrote: > this is drawterm on osx 10.6 to plan 9. > > i don't have time to investigate right now, but here's the bug > looks like sign extension. > > minooka; cp /mnt/term/tmp/file.gz . > cp: error reading /mnt/term/tmp/file.gz: negative i/o o