[#3006] mismatched quotation — "stevan apter" <apter@...>

ruby documentation uses a punctuation convention i've never seen

13 messages 2000/05/27

[ruby-talk:02817] Re: www.rubycentral.com - Reference

From: Dave Thomas <Dave@...>
Date: 2000-05-15 03:45:58 UTC
List: ruby-talk #2817
"Michael Neumann" <neumann@s-direktnet.de> writes:

> I (perhaps) found some errors in the Reference at www.rubycentral.com.
> 
> In class "String" in section "instance methods":
>     {:1595:*}:1595: str * anInteger -> aString
>     {:1598:+}:1598: str + aString -> aNewString
> 
> What's the {:1595:*}....?

To convert LaTeX to XML, the first stage is to tag the matching
braces, so I go through and convert (say)

   \chapter{Now I'm \emph{really} mad}

to
   \chapter{:1:Now I'm \emph{:2:really}:2: mad}:1:

Then I can process structures depth first and perform the
translation. However, there are many special cases, and it looks as if 
a couple got through the net. Thanks for pointing them out--I'll see
what I can do to fix them.

Dave

In This Thread