Re: @defun and @defvr in the "same" block?

2023-02-11 Thread Raymond Toy
On Sun, Feb 5, 2023 at 1:09 PM Gavin Smith wrote: > 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. > > >

Re: @defun and @defvr in the "same" block?

2023-02-05 Thread Gavin Smith
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 di

Re: @defun and @defvr in the "same" block?

2022-12-17 Thread Raymond Toy
On Fri, Dec 16, 2022 at 11:31 PM Gavin Smith wrote: > On Fri, Dec 16, 2022 at 03:01:06PM -0800, Raymond Toy wrote: > > > You can do this using @deffn and @deffnx instead, at the expense of > also > > > needing to specify "Function" on the first line: > > > > > > @deffn {Function}

Re: @defun and @defvr in the "same" block?

2022-12-16 Thread Gavin Smith
On Fri, Dec 16, 2022 at 03:01:06PM -0800, Raymond Toy wrote: > > You can do this using @deffn and @deffnx instead, at the expense of also > > needing to specify "Function" on the first line: > > > > @deffn {Function} {check-region-query-size} {region} > > @deffnx {@sansserif{He

Re: @defun and @defvr in the "same" block?

2022-12-16 Thread Raymond Toy
On Fri, Dec 16, 2022 at 11:17 AM Gavin Smith wrote: > On Fri, Dec 16, 2022 at 08:40:43AM -0800, Raymond Toy wrote: > > I tried this out with my translated Scribe document for one entry. The > > entry looks like > > > > @defun {check-region-query-size} {region} > > @defunx {Hemlock Variable} {Reg

Re: @defun and @defvr in the "same" block?

2022-12-16 Thread Gavin Smith
On Fri, Dec 16, 2022 at 08:40:43AM -0800, Raymond Toy wrote: > I tried this out with my translated Scribe document for one entry. The > entry looks like > > @defun {check-region-query-size} {region} > @defunx {Hemlock Variable} {Region Query Size} @val{30}@useindex{vr} > description > @end defun

Re: @defun and @defvr in the "same" block?

2022-12-16 Thread Raymond Toy
On Thu, Dec 15, 2022 at 1:17 PM Gavin Smith wrote: > On Tue, Nov 22, 2022 at 09:56:42PM +, Gavin Smith wrote: > > Interesting to see the Scribe document - I don't think I've seen one > > before. > > > > I think that @deffn and @defvrx etc. could be mixed, although > > the @def* commands have

Re: @defun and @defvr in the "same" block?

2022-12-15 Thread Gavin Smith
On Tue, Nov 22, 2022 at 09:56:42PM +, Gavin Smith wrote: > Interesting to see the Scribe document - I don't think I've seen one > before. > > I think that @deffn and @defvrx etc. could be mixed, although > the @def* commands have long been an area where changes could be > made to be more gener

Re: @defun and @defvr in the "same" block?

2022-11-25 Thread Raymond Toy
On Tue, Nov 22, 2022 at 11:17 PM Gavin Smith wrote: > On Wed, Nov 23, 2022 at 07:14:53AM +, Gavin Smith wrote: > > Brian Reid's 1980 thesis (referenced on Wikipedia) is still available > > on the Internet Archive: > https://web.archive.org/web/20140407073459/http://reports-archive.adm.cs.cmu.

Re: @defun and @defvr in the "same" block?

2022-11-22 Thread Gavin Smith
On Wed, Nov 23, 2022 at 07:14:53AM +, Gavin Smith wrote: > Brian Reid's 1980 thesis (referenced on Wikipedia) is still available > on the Internet Archive: > https://web.archive.org/web/20140407073459/http://reports-archive.adm.cs.cmu.edu/anon/scan/CMU-CS-81-100.pdf Also an earlier (and typo

Re: @defun and @defvr in the "same" block?

2022-11-22 Thread Gavin Smith
On Tue, Nov 22, 2022 at 04:47:08PM -0800, Raymond Toy wrote: > On Tue, Nov 22, 2022 at 1:56 PM Gavin Smith > wrote: > > > On Tue, Nov 22, 2022 at 07:21:05AM -0800, Raymond Toy wrote: > > > Oh, and for the record, look at > > > https://cmucl.common-lisp.dev/doc/encycmuclopedia/devenv/cim.ps for th

Re: @defun and @defvr in the "same" block?

2022-11-22 Thread Raymond Toy
On Tue, Nov 22, 2022 at 1:56 PM Gavin Smith wrote: > On Tue, Nov 22, 2022 at 07:21:05AM -0800, Raymond Toy wrote: > > Oh, and for the record, look at > > https://cmucl.common-lisp.dev/doc/encycmuclopedia/devenv/cim.ps for the > > original Scribe version. Look at the bottom of page 7. > > > > For

Re: @defun and @defvr in the "same" block?

2022-11-22 Thread Gavin Smith
On Tue, Nov 22, 2022 at 07:21:05AM -0800, Raymond Toy wrote: > I personally find it kind of weird to mix deffn and defvrx in the same > block. If I were writing this from scratch, I would have separated them. > But this is a conversion of an old Scribe doc, so that's way too much > effort. I migh

Re: @defun and @defvr in the "same" block?

2022-11-22 Thread Patrice Dumas
On Tue, Nov 22, 2022 at 07:21:05AM -0800, Raymond Toy wrote: > On Tue, Nov 22, 2022 at 12:59 AM Patrice Dumas wrote: > > I personally find it kind of weird to mix deffn and defvrx in the same > block. If I were writing this from scratch, I would have separated them. > But this is a conversion of

Re: @defun and @defvr in the "same" block?

2022-11-22 Thread Raymond Toy
On Tue, Nov 22, 2022 at 12:59 AM Patrice Dumas wrote: > On Mon, Nov 21, 2022 at 08:35:01PM -0600, Jacob Bachmeyer wrote: > > Patrice Dumas wrote: > > > Currently yes. But indeed, it would be natural in that case to follow > > > @deffn by @defvarx. I think that it would not be hard to implement

Re: @defun and @defvr in the "same" block?

2022-11-22 Thread Patrice Dumas
On Mon, Nov 21, 2022 at 08:35:01PM -0600, Jacob Bachmeyer wrote: > Patrice Dumas wrote: > > Currently yes. But indeed, it would be natural in that case to follow > > @deffn by @defvarx. I think that it would not be hard to implement that > > in texi2any, but I am not sure that we want to have tha

Re: @defun and @defvr in the "same" block?

2022-11-21 Thread Jacob Bachmeyer
Patrice Dumas wrote: On Mon, Nov 21, 2022 at 11:37:10AM -0800, Raymond Toy wrote: 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}] @enddefun This basically looks

Re: @defun and @defvr in the "same" block?

2022-11-21 Thread Patrice Dumas
On Mon, Nov 21, 2022 at 11:37:10AM -0800, Raymond Toy wrote: > 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}] > @enddefun > > This basically looks like as if I'

@defun and @defvr in the "same" block?

2022-11-21 Thread Raymond Toy
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]}