Commits

Anonymous committed e7b6dd7

renicing docu

Comments (0)

Files changed (2)

     width: 900px;
     min-height: 768px;
     background-color: white;
-    font-family: Arial,Helvetica,FreeSans
+    font-family: Sans-serif;
+    font-size: 12pt;
 }
 
 em {
 
 code {
     background: #f0f0f0;
+    font-size: 11pt;
+    line-height: 120%;
+    vertical-align: 2%;
 }
 
 pre {
 
 #headline {
     color: black;
-    font-size: x-large;
+    font-size: 18pt;
     font-weight: normal;
     border-bottom-width: 1px;
     border-bottom-style: solid;
     border-left-width: 1px;
     border-left-style: dotted;
     padding: 10px;
-    font-size: small;
+    font-size: 10pt;
+}
+
+.head {
+    font-size: 12pt;
+    font-weight: bold;
 }
 
 #entries {
     width: 569px;
     padding-left: 10px;
     padding-right: 10px;
-    font-size: small;
+    font-size: 10pt;
 }
 
 #bottom {
 }
 
 h1, h2 {
-    font-size: medium;
+    font-size: 12pt;
     color: darkblue;
 }
 
 }
 
 h3 {
-    font-size: medium;
+    font-size: 12pt;
     color: black;
 }
 
 h4 {
-    font-size: medium;
+    font-size: 12pt;
     color: black;
 }
 
 h5 {
-    font-size: medium;
+    font-size: 12pt;
     font-weight: normal;
     font-style: italic;
     color: black;
 }
 
 .subscript {
-    font-size: small;
+    font-size: 10pt;
     border-bottom-width: 1px;
     border-bottom-style: dotted;
     margin-bottom: 1em;
 }
 
 .small {
-    font-size: small;
+    font-size: 10pt;
     margin-bottom: 1em;
     padding-bottom: 1em;
 }

docs/heading.en.yinc2

 
 decl glossary(border=1) alias table;
 
-decl ne is a {
-    content;
-    br;
+decl ne(*href) alias li {
+    a href=*href content;
 };
 
+decl P(class="head") alias p;
+
 div id="headline" {
     p > pyPEG – a PEG Parser-Interpreter in Python
     div class="small" {
 }
 
 div id="navigation" {
-    h1 a href="index.html" > How to use pyPEG
+    P a href="index.html" > How to use pyPEG
     include xml index.xml
-    h1 a href="grammar_elements.html" > Grammar Elements
+    P a href="grammar_elements.html" > Grammar Elements
     include xml grammar_elements.xml
-    h1 a href="parser_engine.html" > Parser Engine
+    P a href="parser_engine.html" > Parser Engine
     include xml parser_engine.xml
 
-    h1 "I want this!";
-    ne "dist/pyPEG-2.0.0.tar.gz", "Download pyPEG 2";
-    br;
-    ne "LICENSE.txt", "License";
-    ne "http://www.pibit.ch", "Commercial support for pyPEG";
-    br;
-    ne "http://fdik.org/yml", "YML is using pyPEG";
+    P "I want this!";
+    menu {
+        ne "dist/pyPEG-2.0.0.tar.gz" > Download pyPEG 2
+        ne "LICENSE.txt" > License
+        ne "http://www.pibit.ch" > Commercial support for pyPEG
+        ne "http://fdik.org/yml" > YML is using pyPEG
+    }
 }