From: nsz Date: Thu, 21 Jul 2011 20:57:28 +0000 (+0200) Subject: readme fix, +ann2html todo X-Git-Url: http://nsz.repo.hu/git/?p=c-standard;a=commitdiff_plain;h=3290b27f9f394936c32da8afa53d9b25fd968aa9 readme fix, +ann2html todo --- diff --git a/README b/README index 64f9c24..c3492b2 100644 --- a/README +++ b/README @@ -5,20 +5,17 @@ http://www.open-std.org/jtc1/sc22/wg14/www/documents this project provides plain text and html versions of the c99 and the c1x standards -the conversion is done using pdftotext -layout -with some cleanups, see translit.sh and tohtml.sh -scripts +the conversion is done using pdftotext and some +automated as well as manual cleanups -the html version is best viewed in a 120 char wide -terminal with terminal based browser -(original text layout is used, structuring the text -properly would take considerable amount of effort) - -features: - internal links - one page, easy to grep ascii only text +n????.txt: + ascii version +n????.pre.html: + html version with links but without formatting (original layout) + best viewed in a 120 char wide terminal and text based browser +n????.html: + html version with formatted text (partly manually done) unfortunately some information is lost/garbled -(most notably mathematical notations around -floating point specs, and diff marks wrt previous -standards) +(eg. emphasized and bold text, mathematical notations around +floating point specs, and diff marks wrt previous standards) diff --git a/ann2html.sh b/ann2html.sh index 500e36a..509e3a2 100755 --- a/ann2html.sh +++ b/ann2html.sh @@ -1,5 +1,7 @@ #!/bin/sh +# todo: opt + export LC_ALL=C awk ' BEGIN {