17
votes

Is there an HTML version of n1256.pdf (ISO C99+TC3), or a recommended way to convert it to html or another less-painful format for browsing? All of the pdf converters I've tried have given very poor results, especially in failing to convert the "fi" ligatures to something more easily searchable, but also just with respect to basic formatting.

Here is the original for reference:

http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf

2
Tried Gmail's "View as HTML"? I know, silly! - jweyrich
+1 for that pdf. I was going to ask a question about retrieving that - BlackBear
Which PDF converters have you tried? - Adam Rosenfield
@BlackBear: you might be interested in Where do I find the current C or C++ standard documents?. - jweyrich
Google won't process such large files. I've tried pdftotext, pdftohtml, etc. with fairly poor results, including both ligature issues and symbols turning into random meaningless PUA characters. I suppose a lot of this could be fixed with a script tailored to postprocess the output, so perhaps I should revise my question to ask for such a script... :-) - R.. GitHub STOP HELPING ICE

2 Answers

16
votes

It seems to be the last draft prior to standardization, rather than C99+TC3, but here's an excellent copy:

http://busybox.net/~landley/c99-draft.html

Edit: And here is C99+TC3: http://port70.net/~nsz/c/c99/n1256.html

And the C11 draft: http://port70.net/~nsz/c/c1x/n1570.html

1
votes

Best match so far: http://c0x.coding-guidelines.com/

This web site contains a modified version of N1256. It includes wording that has been deleted from C99 (i.e., in struck through form) and wording that does used to appear in C99 (i.e., in underlined form).

The formatting is pretty crude, though…