From 1bc7964e2a30128af8e75a3ca002de40f9c2a89c Mon Sep 17 00:00:00 2001
From: hyung-hwan
Date: Thu, 13 Dec 2007 03:45:15 +0000
Subject: [PATCH]
---
ase/doc/doc.css | 68 ++++++++++++++-------------------------
ase/doc/quickstart-en.man | 8 +++--
ase/rel/doc.awk | 14 ++++----
3 files changed, 36 insertions(+), 54 deletions(-)
diff --git a/ase/doc/doc.css b/ase/doc/doc.css
index 0f6bdfb0..d3b72d86 100644
--- a/ase/doc/doc.css
+++ b/ase/doc/doc.css
@@ -26,55 +26,16 @@ h3 { font-size: 110%; padding-left: 10px; }
h4 { font-size: 105%; padding-left: 15px; }
h5 { font-size: 100%; padding-left: 20px; }
-.header
-{
- font-family: verdana, tahoma;
- font-size: 120%;
- font-weight: bold;
- #padding-right: 20px;
- text-decoration: none;
- border-bottom: 1px solid black;
-}
-
-.footer
-{
- font-family: "times new roman", tahoma;
- font-size: 14px;
- #padding-right: 20px;
- text-decoration: none;
- text-align: right;
- border-top: 1px solid black;
-}
-
-.contents
-{
- font-family: "times new roman", tahoma;
- font-size: 95%;
-}
-
-.maintext
-{
- font-size: 90%;
- #color: #555555;
- color: black;
- padding-left: 20px;
- padding-right: 20px;
- line-height: 1.3;
- text-align: justify;
-}
-
-pre.code
+pre.ase
{
font-family: "Courier New", "Lucida TypeWriter", monotype, fixed;
- font-size: 80%;
+ font-size: 85%;
padding: 6px 6px 6px 6px;
- xbackground-color: #000000;
- xcolor: #FFD700;
#border: 1px dashed #779098;
#border: 1px solid #779098;
border: none;
- color: white;
- background-color: black;
+ color: #000000;
+ background: #DBE2F1;
}
.linenum
@@ -82,5 +43,24 @@ pre.code
font-weight: bold;
}
+table.ase {
+ border-spacing: 0px;
+ border-collapse: collapse;
+ font-size: 90%;
+}
+table.ase th {
+ font-weight: bold;
+ padding: 0.1em 0.5em;
+ border-bottom: 2px solid #FFFFFF;
-
+ background: #687EAB;
+ color: #FFFFFF;
+ text-align: center;
+}
+table.ase td {
+ text-align: right;
+ border-bottom: 2px solid #FFFFFF;
+ padding: 0.1em 0.5em;
+ background: #DBE2F1;
+ vertical-align: top;
+}
diff --git a/ase/doc/quickstart-en.man b/ase/doc/quickstart-en.man
index 536df675..48fed0d4 100644
--- a/ase/doc/quickstart-en.man
+++ b/ase/doc/quickstart-en.man
@@ -135,14 +135,16 @@ Language Difference
! REMARKS
|-
| Statement terminator Semicolon
+| n/a
+| n/a
|-
| function abc()
this is very nice hello world...
| function abc ()
-|
+| n/a
|---------------------------------------
| return in BEGIN or END
+|
+|
|}}
-
-
diff --git a/ase/rel/doc.awk b/ase/rel/doc.awk
index 88ce6a2d..13e39006 100644
--- a/ase/rel/doc.awk
+++ b/ase/rel/doc.awk
@@ -152,7 +152,7 @@ header && !/^\.[[:alpha:]]+[[:space:]]/ {
print "
";
para_started = 0;
}
- print "";
+ print "";
mode = 1;
}
else if (/^\[\[\[$/) # [[[
@@ -185,7 +185,7 @@ header && !/^\.[[:alpha:]]+[[:space:]]/ {
para_started = 0;
}
- print "
";
+ print "";
mode = 4;
table_row_count = 0;
}
@@ -288,7 +288,7 @@ header && !/^\.[[:alpha:]]+[[:space:]]/ {
if (table_row_line_count > 0)
print ((table_in_th)? "": "");
if (table_row_count > 0) print "";
- print "";
+ print "
";
table_row_count++;
table_row_line_count = 0;
}
@@ -296,7 +296,7 @@ header && !/^\.[[:alpha:]]+[[:space:]]/ {
{
if (table_row_line_count > 0)
print ((table_in_th)? "": "");
- print "";
+ print " | ";
print " ";
table_in_th = 1;
table_row_line_count++;
@@ -305,7 +305,7 @@ header && !/^\.[[:alpha:]]+[[:space:]]/ {
{
if (table_row_line_count > 0)
print ((table_in_th)? " | ": "");
- print "";
+ print " | ";
print_text (substr ($0, 3, length($0)-2));
table_in_th = 1;
table_row_line_count++;
@@ -314,7 +314,7 @@ header && !/^\.[[:alpha:]]+[[:space:]]/ {
{
if (table_row_line_count > 0)
print ((table_in_th)? " | ": "");
- print "";
+ print " | ";
print " ";
table_in_th = 0;
table_row_line_count++;
@@ -323,7 +323,7 @@ header && !/^\.[[:alpha:]]+[[:space:]]/ {
{
if (table_row_line_count > 0)
print ((table_in_th)? "": " | ");
- print "";
+ print " | ";
print_text (substr ($0, 3, length($0)-2));
table_in_th = 0;
table_row_line_count++;
|