From 3290b27f9f394936c32da8afa53d9b25fd968aa9 Mon Sep 17 00:00:00 2001 From: nsz Date: Thu, 21 Jul 2011 22:57:28 +0200 Subject: [PATCH] readme fix, +ann2html todo --- README | 45 +++++++++++++++++++++------------------------ ann2html.sh | 2 ++ 2 files changed, 23 insertions(+), 24 deletions(-) rewrite README (62%) diff --git a/README b/README dissimilarity index 62% index 64f9c24..c3492b2 100644 --- a/README +++ b/README @@ -1,24 +1,21 @@ -the c standard working draft documents are only -available in a hard to handle pdf format -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 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 - -unfortunately some information is lost/garbled -(most notably mathematical notations around -floating point specs, and diff marks wrt previous -standards) +the c standard working draft documents are only +available in a hard to handle pdf format +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 and some +automated as well as manual cleanups + +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 +(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 { -- 2.11.4.GIT