R7RS-small document available as HTML?

179 views
Skip to first unread message

Ciprian Dorin Craciun

unread,
Aug 25, 2014, 11:24:26 AM8/25/14
to chibi-...@googlegroups.com
[Although this question doesn't strictly relate to Chibi Scheme, I
will try my luck, especially since the author of Chibi is one of the
editors.] :)

Therefore, as the subject suggests, is there somewhere an HTML
version of the R7RS available? (I mean not the PDF one translated to
HTML with two columns, etc., but a "proper" HTML rendering.)

I downloaded the LaTeX sources from [1], and tried the following
transformers:
* `latex2html` [2], which although does output "something", it
doesn't properly format the text or the code; thus the output isn't
quite usable;
* Hevea [3], which errors out due to "missing style" (it seems it
doesn't like the `algol60` document class);

Thanks,
Ciprian.


[1] http://trac.sacrideo.us/wg/wiki
[2] http://www.latex2html.org/
[3] http://hevea.inria.fr/

John Cowan

unread,
Aug 25, 2014, 12:51:55 PM8/25/14
to chibi-...@googlegroups.com, scheme-...@scheme-reports.org
Ciprian Dorin Craciun scripsit:

> [Although this question doesn't strictly relate to Chibi Scheme, I
> will try my luck, especially since the author of Chibi is one of the
> editors.] :)

The right place is scheme-...@scheme-reports.org.

> Therefore, as the subject suggests, is there somewhere an HTML
> version of the R7RS available? (I mean not the PDF one translated to
> HTML with two columns, etc., but a "proper" HTML rendering.)

Not at present.

> I downloaded the LaTeX sources from [1], and tried the following
> transformers:

I tried Aubrey Jaffer's rrrs2txi after teaching it to believe in R7RS
(change "(r 6" to "(r 7" and "r6rs" to "r7rs" in two places), but its TeX
parser doesn't like some of our notation. You can install SCM and SLIB
from <http://people.csail.mit.edu/jaffer/SCM.html> and then download
the script from <http://people.csail.mit.edu/jaffer/rrrs2txi.scm> if
you want to experiment with it.

Given texinfo format, texi2any will get you HTML.

--
John Cowan http://www.ccil.org/~cowan co...@ccil.org
"Hacking is the true football." --F.W. Campbell (1863) in response to a
successful attempt to ban shin-kicking from soccer. Today, it's biting.

Dirk Theisen

unread,
Aug 26, 2014, 12:31:48 PM8/26/14
to chibi-...@googlegroups.com
Hi, Ciprian!

I’m also interested in this.

However, after digging deeper into the current state of the art of conversion, it seems that a manual conversion would probably the only solution that would offer offer decent results.

But, I’d like to be proven wrong here.

A custom (chibi) scheme-based filter would probably also do the job with the additional benefit that it might also work on future versions of the standard document.

Grreetings,
Dirk
> --
> You received this message because you are subscribed to the Google Groups "chibi-scheme" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to chibi-scheme...@googlegroups.com.
> To post to this group, send email to chibi-...@googlegroups.com.
> Visit this group at http://groups.google.com/group/chibi-scheme.
> For more options, visit https://groups.google.com/d/optout.

Justin Ethier

unread,
Aug 26, 2014, 7:35:25 PM8/26/14
to chibi-...@googlegroups.com
I did a manual conversion of r7rs for the husk scheme manual using latex2html. There is still a fair amount of work to do to convert the full document, but if you are going to do a manual conversion anyway it might give you a head start. In particular you would need to convert it again to get images for the grammar and such, as those sections were not converted as they were not deemed necessary for the manual at this time.

You can also view the sources here on GitHub. 

Anyway, just trying to help out. No hard feelings if you pass on this :)

Thanks,

Justin
Reply all
Reply to author
Forward
0 new messages