]> Cypherpunks.ru repositories - nncp.git/commitdiff
Include CSS through --css-include for simplicity
authorSergey Matveev <stargrave@stargrave.org>
Sun, 28 Feb 2021 08:33:59 +0000 (11:33 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 28 Feb 2021 08:33:59 +0000 (11:33 +0300)
doc/nncp.html.do
doc/nncp.info.do
doc/style.css

index 3295cddb9a74b53127ff785e0508732409728607..17b042bc2aadbdb5a8cb37cfa2d56410ea7fc9ec 100644 (file)
@@ -1,5 +1,5 @@
 rm -fr nncp.html
-MAKEINFO_OPTS="$MAKEINFO_OPTS --html"
+MAKEINFO_OPTS="$MAKEINFO_OPTS --html --css-include style.css"
 MAKEINFO_OPTS="$MAKEINFO_OPTS --set-customization-variable SHOW_TITLE=0"
 MAKEINFO_OPTS="$MAKEINFO_OPTS --set-customization-variable DATE_IN_HEADER=1"
 MAKEINFO_OPTS="$MAKEINFO_OPTS --set-customization-variable TOP_NODE_UP_URL=index.html"
index 6b0c858066748e667f341f82d3ab3c063fd71c7a..6eb4e48e4e8d4c6e828814183d8b76d2fd6c7935 100644 (file)
@@ -5,5 +5,4 @@ ${MAKEINFO:-makeinfo} \
     $MAKEINFO_OPTS \
     --set-customization-variable CLOSE_QUOTE_SYMBOL=\" \
     --set-customization-variable OPEN_QUOTE_SYMBOL=\" \
-    --set-customization-variable CSS_LINES="`cat style.css`" \
     --output $3 index.texi
index 17f3b71cb358b255b2328e68226338fff4186fed..0d2e65ba5cd86080c50fbc98d1190060aae73e14 100644 (file)
@@ -1,4 +1,3 @@
-<style type="text/css"><!--
 body {
     margin: auto;
     width: 80em;
@@ -8,4 +7,3 @@ h1, h2, h3, h4 { text-align: center }
 h1, h2, h3, h4, strong { color: #900090 }
 pre { background-color: #CCCCCC }
 table, th, td { border: 1px solid black ; border-collapse: collapse }
---></style>