scribble icon indicating copy to clipboard operation
scribble copied to clipboard

racketblock always prints decimal numbers

Open pnwamk opened this issue 8 years ago • 2 comments

racketblock throws away the original format of numbers in code, replacing them with their equivalent decimal representation.

For instance, this example produces a document with 255 instead of #xff:

#lang scribble/base
@(require scribble/manual)

@racketblock[#xff]

pnwamk avatar Nov 18 '15 18:11 pnwamk

Yes, that's a limitation of racketblock. The code form uses a different approach that preserves the original format of a number.

mflatt avatar Nov 18 '15 18:11 mflatt

Could we fix this by using the same syntax property approach that's used for []?

samth avatar Nov 18 '15 18:11 samth