dyoo / whalesong

Whalesong: Racket to JavaScript compiler
http://hashcollision.org/whalesong
250 stars 30 forks source link

typesetting error for "--" in manual #18

Closed dougo closed 13 years ago

dougo commented 13 years ago

The manual says "–compress-javascript" when it should say "--compress-javascript" (i.e. the two hyphens turn into a Unicode dash). Same for "--verbose". This is pretty minor, but I was temporarily confused about whether it meant one hyphen or two...

dyoo commented 13 years ago

On Mon, Sep 5, 2011 at 8:35 PM, dougo reply@reply.github.com wrote:

The manual says "–compress-javascript" when it should say "--compress-javascript" (i.e. the two hyphens turn into a Unicode dash).  Same for "--verbose".  This is pretty minor, but I was temporarily confused about whether it meant one hyphen or two...

I see. I probably will need to use the non-breaking hyphen character described in http://docs.racket-lang.org/scribble/base.html#(def._((lib._scribble/base..rkt)._-~7e-))

Thanks; I'll patch the docs shortly.

dougo commented 13 years ago

I think you can use verbatim?

On Mon, Sep 5, 2011 at 9:26 PM, dyoo reply@reply.github.com wrote:

On Mon, Sep 5, 2011 at 8:35 PM, dougo reply@reply.github.com wrote:

The manual says "–compress-javascript" when it should say "--compress-javascript" (i.e. the two hyphens turn into a Unicode dash).  Same for "--verbose".  This is pretty minor, but I was temporarily confused about whether it meant one hyphen or two...

I see.  I probably will need to use the non-breaking hyphen character described in http://docs.racket-lang.org/scribble/base.html#(def._((lib._scribble/base..rkt)._-~7e-))

Thanks; I'll patch the docs shortly.

Reply to this email directly or view it on GitHub: https://github.com/dyoo/whalesong/issues/18#issuecomment-2007925

dyoo commented 13 years ago

On Mon, Sep 5, 2011 at 9:30 PM, dougo reply@reply.github.com wrote:

I think you can use verbatim?

But that would be too easy, right? :)

Doh! Thanks. Verbatim it is then.

dyoo commented 13 years ago

Will be fixed with https://github.com/dyoo/whalesong/commit/f0ccc5c5123751d0ea3d77433f18f2cc006dc7a0. Closing issue.