[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RTF for emacs
From: |
Emanuel Berg |
Subject: |
Re: RTF for emacs |
Date: |
Tue, 27 May 2014 02:38:26 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
By the way, speaking of tables - did you know there can
be tables in the Unix man pages?
I think it looks awesome and I don't understand why the
man page writers don't employ it more often. Perhaps
they don't know about it or perhaps they just don't
enjoy spending time with documentation.
I did a bit of that a long time ago and the groff looks
like this:
.TS
box tab(@);
llllll.
okt@dec@hex@tecken@namn@skrivs i C
_
000@0@00@NUL@@\e0
001@1@01@SOH@start of heading
002@2@02@ST@start of text
003@3@03@ET@end of text
004@4@04@EOT@end of transmission
005@5@05@ENQ@enquiry
006@6@06@ACK@acknowledge
etc. etc.
.TE
Explanation:
.TS is (I suppose) "table start", and
.TE is "table end";
box tab(@); sets the tab delimiter char (for reasons
long forgotten, the default wouldn't do in this case -
perhaps it conflicted with the data somehow);
llllll. is the alignment of the cells, i.e, left;
and, the underscore symbolizes a straight line.
Here is a dump to show how it looks [1], the
full source [2], and a mini-tutorial [3] (ancient stuff
but should be mostly correct).
[1] http://user.it.uu.se/~embe8573/man_sv/ascii_dumps/in_urxvt.png
[2] http://user.it.uu.se/~embe8573/man_sv/ascii_files/ascii.7
[3] http://user.it.uu.se/~embe8573/man_sv/index.html
--
underground experts united:
http://user.it.uu.se/~embe8573
Re: RTF for emacs, Emanuel Berg, 2014/05/25
Message not availableRe: RTF for emacs,
Emanuel Berg <=
Re: RTF for emacs, Charles Philip Chan, 2014/05/25
Re: RTF for emacs, Robert Thorpe, 2014/05/25
Re: RTF for emacs, Charles Philip Chan, 2014/05/25
Re: RTF for emacs, Emanuel Berg, 2014/05/26
Re: RTF for emacs, Emanuel Berg, 2014/05/26
Re: RTF for emacs, Emanuel Berg, 2014/05/26