From a8bf694a7522eea9509c3013bef903fcb3f33380 Mon Sep 17 00:00:00 2001 From: Never Date: Wed, 10 Dec 2025 22:23:15 +0100 Subject: [PATCH] fixes --- public_html/eh/eh/eh/eh-eh/Makefile | 14 +++++++------- public_html/eh/eh/eh/eh-eh/about.html | 11 +++++++---- .../eh/eh/eh/eh-eh/{articles => }/article-1.html | 7 +++---- public_html/eh/eh/eh/eh-eh/index.html | 3 +-- .../eh-eh/{articles => }/random-linux-utils.html | 7 +++---- 5 files changed, 21 insertions(+), 21 deletions(-) rename public_html/eh/eh/eh/eh-eh/{articles => }/article-1.html (95%) rename public_html/eh/eh/eh/eh-eh/{articles => }/random-linux-utils.html (95%) diff --git a/public_html/eh/eh/eh/eh-eh/Makefile b/public_html/eh/eh/eh/eh-eh/Makefile index 713c76f..eeb3cf7 100644 --- a/public_html/eh/eh/eh/eh-eh/Makefile +++ b/public_html/eh/eh/eh/eh-eh/Makefile @@ -1,8 +1,8 @@ -template := $(abspath ./pandoc/template.html) -style := $(abspath ./pandoc/style.css) +template := pandoc/template.html +style := pandoc/style.css -article_list := $(abspath ./articles.json) -list_template := $(abspath ./pandoc/meta-json-template.txt) +article_list := articles.json +list_template := pandoc/meta-json-template.txt articles := $(patsubst %.md,%.html,$(wildcard articles/*.md)) @@ -14,13 +14,13 @@ clean: rm index.html about.html; $(articles): %.html: %.md - pandoc $< --template $(template) --css $(style) --highlight-style zenburn --mathml --toc --output $@; \ + pandoc $< --template $(template) --css $(style) --highlight-style zenburn --mathml --toc --output $(notdir $@); \ jq '.articles += [$(shell pandoc $< --template $(list_template))]' $(article_list) > articles.json.tmp; cat ./articles.json.tmp > articles.json; rm ./articles.json.tmp; index.html: index.md $(articles) - pandoc $< --template $(template) --css $(style) --metadata-file $(article_list) --output $@ + pandoc $< --template $(template) --css $(style) --metadata-file $(article_list) --highlight-style zenburn --mathml --toc --output $@ about.html: about.md - pandoc $< --template $(template) --css $(style) --output $@ + pandoc $< --template $(template) --css $(style) --highlight-style zenburn --mathml --toc --output $@ diff --git a/public_html/eh/eh/eh/eh-eh/about.html b/public_html/eh/eh/eh/eh-eh/about.html index e113d0a..7dd2873 100644 --- a/public_html/eh/eh/eh/eh-eh/about.html +++ b/public_html/eh/eh/eh/eh-eh/about.html @@ -20,9 +20,8 @@ margin: 0 0.8em 0.2em -1.6em; vertical-align: middle; } - .display.math{display: block; text-align: center; margin: 0.5rem auto;} - +
+

Stuff

-

$$ \sum_{i=1}^k i = \frac{k(k+1)}{2} -$$

+

i=1ki=k(k+1)2 \sum_{i=1}^k i = \frac{k(k+1)}{2}

diff --git a/public_html/eh/eh/eh/eh-eh/articles/article-1.html b/public_html/eh/eh/eh/eh-eh/article-1.html similarity index 95% rename from public_html/eh/eh/eh/eh-eh/articles/article-1.html rename to public_html/eh/eh/eh/eh-eh/article-1.html index 5ee71d6..6c3dc50 100644 --- a/public_html/eh/eh/eh/eh-eh/articles/article-1.html +++ b/public_html/eh/eh/eh/eh-eh/article-1.html @@ -22,9 +22,8 @@ vertical-align: middle; } /* CSS for syntax highlighting */ - html { -webkit-text-size-adjust: 100%; } pre > code.sourceCode { white-space: pre; position: relative; } - pre > code.sourceCode > span { display: inline-block; line-height: 1.25; } + pre > code.sourceCode > span { line-height: 1.25; } pre > code.sourceCode > span:empty { height: 1.2em; } .sourceCode { overflow: visible; } code.sourceCode > span { color: inherit; text-decoration: inherit; } @@ -35,7 +34,7 @@ } @media print { pre > code.sourceCode { white-space: pre-wrap; } - pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; } + pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; } } pre.numberSource code { counter-reset: source-line 0; } @@ -86,7 +85,7 @@ code span.vs { color: #cc9393; } /* VerbatimString */ code span.wa { color: #7f9f7f; font-weight: bold; } /* Warning */ - +