🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #250206

including text verbatim in GNU Troff?

#250206
From: Ivan Shmakov
Date: Sat, 05 May 2012 15:18
37 lines
2755 bytes
>>>>> Anton Shepelev <anton.txt@g{oogle}mail.com> writes:

	[Cross-posting to news:comp.text and dropping news:news.misc and
	news:news.software.readers from Followup-To:, for the question
	has little or no relation to the netnews technology whatsover.]

[...]

 > When quoting code in paper-oriented documents, I use an environment
 > without these mappings, like:

 > Normal text with correct apostrophes, hyphends and minuses
 > .(VERBATIM
 > My code...
 > .)VERBATIM
 > Back to normal text.

	What macro package defines this one, BTW?  All that I've found
	so far are the -mm's (as bundled with GNU Troff 1.20.1) .VERBON
	and .VERBOFF macros.

PS.  Is there a macro similar to LaTeX's \today for GNU Troff?  Or,
	actually, I'd be more interested in an ISO 8601-based version,
	akin to the following \todayiso one for LaTeX.

\newcommand \twodigits [1] {%
  \ifnum #1<10 0\fi
  \number #1}

\newcommand \todayiso {%
  \number \year-\twodigits \month-\twodigits \day}

[...]

-- 
FSF associate member #7257
Technical Details
Message-ID: <86sjfe1wrl.fsf_-_@gray.siamics.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.text.mbox.zip!pr3ni7230pbb.0!nntp.google.com!news2.google.com!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail
References: <jncak8$cla$2@dont-email.me> <86pqatbycz.fsf@gray.siamics.net> <20120428114426.6b653c88434e8c4d2afa8761@g{oogle}mail.com> <864ns2abjk.fsf@gray.siamics.net> <jnk989$hki$1@dont-email.me> <86pqap93c8.fsf_-_@gray.siamics.net> <jnn2ni$8tm$1@dont-email.me> <6dq3pfgf3ew5$.1o5piajt849zx.dlg@40tude.net> <jnpev2$hf7$2@dont-email.me> <fnurm80qplig$.dlg@justacineast.motzarella.org> <20120502120631.67e961108e3948e99929d422@g{oogle}mail.com> <4fa12b5c$3$fuzhry+tra$mr2ice@news.patriot.net> <20120503190432.be6bc270f1de3a090a49a93c@g{oogle}mail.com> <4fa2ba57$9$fuzhry+tra$mr2ice@news.patriot.net> <20120504131053.95d007f3881e461d72ea7540@g{oogle}mail.com>

Show Full Headers
Complete Article Headers
Message-ID: <86sjfe1wrl.fsf_-_@gray.siamics.net>
Subject: including text verbatim in GNU Troff?
Date: Sat, 05 May 2012 22:18:54 +0700
From: Ivan Shmakov <oneingray@gmail.com>
References: <jncak8$cla$2@dont-email.me> <86pqatbycz.fsf@gray.siamics.net> <20120428114426.6b653c88434e8c4d2afa8761@g{oogle}mail.com> <864ns2abjk.fsf@gray.siamics.net> <jnk989$hki$1@dont-email.me> <86pqap93c8.fsf_-_@gray.siamics.net> <jnn2ni$8tm$1@dont-email.me> <6dq3pfgf3ew5$.1o5piajt849zx.dlg@40tude.net> <jnpev2$hf7$2@dont-email.me> <fnurm80qplig$.dlg@justacineast.motzarella.org> <20120502120631.67e961108e3948e99929d422@g{oogle}mail.com> <4fa12b5c$3$fuzhry+tra$mr2ice@news.patriot.net> <20120503190432.be6bc270f1de3a090a49a93c@g{oogle}mail.com> <4fa2ba57$9$fuzhry+tra$mr2ice@news.patriot.net> <20120504131053.95d007f3881e461d72ea7540@g{oogle}mail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.text.mbox.zip!pr3ni7230pbb.0!nntp.google.com!news2.google.com!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail
Received: by 10.68.134.197 with SMTP id pm5mr1032824pbb.6.1336231137261;
Newsgroups: comp.text,news.misc,news.software.readers
Followup-To: comp.text
Organization: Aioe.org NNTP Server
Lines: 36
NNTP-Posting-Host: FtDGZaUx6k7Bzdiv4MgYAg.user.speranza.aioe.org
Mime-Version: 1.0
X-Complaints-To: abuse@aioe.org
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)
X-Notice: Filtered by postfilter v. 0.8.2
Cancel-Lock: sha1:qajRVZEM5bwFcdZuSdU8AZkskUU=
Content-Type: text/plain; charset=us-ascii