Skip to content

Commit

Permalink
Fix bugs.
Browse files Browse the repository at this point in the history
Fix typos.
Fix examples.
Fix index link styles.
Fix document markers/stream.
  • Loading branch information
orenbenkiki committed Mar 15, 2009
1 parent e2c2417 commit 9fe2207
Show file tree
Hide file tree
Showing 8 changed files with 3,670 additions and 3,843 deletions.
20 changes: 10 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ $(HTML): single_html.xsl preprocess_html.xsl
$(XSLTPROC) single_html.xsl $*.dbk > $*.html

.dbk.pdf: single_fo.xsl Render-X-license.txt catalog docbook_xslt
$(XSLTPROC) --param generate.toc "''" single_fo.xsl $*.dbk > tmp.xml
$(XSLTPROC) --param generate.toc "''" single_fo.xsl $*.dbk | sed 's/\xa0/\ /g;s/\xa9/\©/' > tmp.xml
$(XEP) tmp.xml -ps $*.ps
ps2pdf $*.ps
rm tmp.xml
rm tmp*.xml

.dia.eps:
@echo "Export $*.eps using Pango fonts"
Expand All @@ -104,29 +104,29 @@ $(HTML): single_html.xsl preprocess_html.xsl
# dia --export-to-format eps-pango $*.dia

changes.pdf: changes.dbk Render-X-license.txt catalog docbook_xslt
$(XSLTPROC) single_fo.xsl changes.dbk > tmp1.xml
sed 's/Chapter.//g' < tmp1.xml > tmp2.xml
$(XSLTPROC) single_fo.xsl changes.dbk | sed 's/\xa0/\&#160;/g;s/\xa9/\&#169;/' > tmp1.xml
sed 's/Chapter\xa0//g;s/\xa0/\&#160;/g' < tmp1.xml > tmp2.xml
$(XEP) tmp2.xml -ps changes.ps
ps2pdf changes.ps
rm tmp1.xml tmp2.xml
rm tmp*.xml

type.pdf: type.dbk Render-X-license.txt catalog docbook_xslt
$(XSLTPROC) single_fo.xsl type.dbk > tmp1.xml
$(XSLTPROC) single_fo.xsl type.dbk | sed 's/\xa0/\&#160;/g;s/\xa9/\&#169;/' > tmp1.xml
sed 's/11em/24em/g' < tmp1.xml > tmp2.xml
$(XEP) tmp2.xml -ps type.ps
ps2pdf type.ps
rm tmp1.xml tmp2.xml
rm tmp*.xml

spec.pdf: spec.dbk \
preprocess_fo.pl preprocess_ps.pl catalog docbook_xslt \
$(EPS_IMAGES) Render-X-license.txt
$(XSLTPROC) preprocess_fo.xsl spec.dbk > tmp1.xml
$(XSLTPROC) single_fo.xsl tmp1.xml > tmp2.xml
$(XSLTPROC) single_fo.xsl tmp1.xml | sed 's/\xa0/\&#160;/g;s/\xa9/\&#169;/' > tmp2.xml
perl preprocess_fo.pl tmp2.xml > tmp3.xml
$(XEP) tmp3.xml -ps tmp3.ps
perl preprocess_ps.pl tmp3.ps > spec.ps
ps2pdf spec.ps
rm tmp1.xml tmp2.xml tmp3.xml tmp3.ps
rm tmp*.xml

spec.html: spec.dbk \
preprocess_png.sed preprocess_html.pl catalog docbook_xslt \
Expand All @@ -137,7 +137,7 @@ spec.html: spec.dbk \
$(XSLTPROC) preprocess_html.xsl tmp1.xml > tmp2.xml
$(XSLTPROC) single_html.xsl tmp2.xml > tmp3.xml
perl preprocess_html.pl tmp3.xml > spec.html
rm tmp1.xml tmp2.xml tmp3.xml
#rm tmp*.xml

docbook_xslt:
ln -s $(DOCBOOK_XSLT) docbook_xslt
7 changes: 3 additions & 4 deletions single_html.css
Original file line number Diff line number Diff line change
Expand Up @@ -225,15 +225,14 @@ span.honorific > code.literal {
a[href^="#"] {
text-decoration: none;
color: black;
background-color: green;
background: url(term.png) no-repeat bottom right;
border-bottom: 1px dotted gray;
}

a[href^="#"]:hover,
div.indexdiv a,
div.toc a {
text-decoration: underline;
background: none;
border-bottom: none;
color: blue;
}

Expand All @@ -243,7 +242,7 @@ pre.synopsis a {

table.productionset a {
background-color: #E0F8F8;
background: none;
border-bottom: none;
}

a.preferred {
Expand Down
1,813 changes: 1,003 additions & 810 deletions spec.dbk

Large diffs are not rendered by default.

Binary file modified styles2.dia
Binary file not shown.
Loading

0 comments on commit 9fe2207

Please sign in to comment.