[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: @defun and @defvr in the "same" block?
From: |
Gavin Smith |
Subject: |
Re: @defun and @defvr in the "same" block? |
Date: |
Sun, 5 Feb 2023 21:09:53 +0000 |
On Mon, Nov 21, 2022 at 11:37:10AM -0800, Raymond Toy wrote:
> I'm converting some old documents written with Scribe. The conversion is
> pretty straightforward since the syntax between Scribe and Texinfo are
> really pretty close.
>
> However, I've run into a small issue. The original Scribe did things like:
>
> @defun[fun {check-region-query-size}, args {@i[region]}]
> @defhvar1[var {Region Query Size}, val {30}]
> @f[check-region-query-size] counts the lines in @i[region], and if their
> number
>
> <description>
>
> @enddefun
For what it's worth, I downloaded the source for the manual following
the instructions at https://www.cons.org/cmucl/hemlock/index.html to
look at it.
@defun and @defhvar were not builtin Scribe commands as far as I can tell.
They are not mentioned in any of the documents about Scribe I've been
able to see.
In the Hemlock sources they are defined under src/database/hem.lib,
src/database/dbolio.lib and other files, apparently to use the same features
as Bolio. (I believe that "Dover" in these files refers to a model of
printer.)
Scribe seems to have been a very large influence on Texinfo but the
definition commands appear to have come from Bolio.
- Re: @defun and @defvr in the "same" block?,
Gavin Smith <=