the booklet continues

main
Stephen Kerr 2 years ago
parent 46a44b2f98
commit 1e1eed56c1

@ -1,16 +1,46 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head> <head>
<script src="paged.js/paged.polyfill.js"></script> <meta charset="utf-8" />
<link href="paged.js/pagedjs.css" rel="stylesheet" type="text/css"> <meta name="generator" content="pandoc" />
<link href="print.css" rel="stylesheet" type="text/css" media="print"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>booklet</title>
<meta charset="UTF-8"> <style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<link rel="stylesheet" href="style.css" />
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head> </head>
<body> <body>
<nav id="TOC" role="doc-toc">
<ul>
<li><a
href="#sometimes-the-world-as-it-is-and-the-world-as-it-could-be-are-devastatingly-close-to-each-other."
id="toc-sometimes-the-world-as-it-is-and-the-world-as-it-could-be-are-devastatingly-close-to-each-other.">Sometimes
the world as it is and the world as it could be are devastatingly close
to each other.</a></li>
<li><a href="#the-superstructure-text-adventure-game"
id="toc-the-superstructure-text-adventure-game">the superstructure text
adventure game</a></li>
</ul>
</nav>
<p>The history of Tarot Cards According to History</p> <p>The history of Tarot Cards According to History</p>
<p>Some Gossip on gossip</p> <p>Some Gossip on gossip yay — title: Fortnite author: Stephen</p>
<p>yay</p> <hr />
<div id="fortnite" class="has-images">
<h1 <h1
id="sometimes-the-world-as-it-is-and-the-world-as-it-could-be-are-devastatingly-close-to-each-other.">Sometimes id="sometimes-the-world-as-it-is-and-the-world-as-it-could-be-are-devastatingly-close-to-each-other.">Sometimes
the world as it is and the world as it could be are devastatingly close the world as it is and the world as it could be are devastatingly close
@ -47,10 +77,10 @@ src="fortnite-3.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-2.jpg" alt="screenshot from Fortnite" /> <img src="fortnite-2.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-1.jpg" alt="screenshot from Fortnite" /> <img src="fortnite-1.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-0.jpg" alt="screenshot from Fortnite" /></p> src="fortnite-0.jpg" alt="screenshot from Fortnite" /></p>
</div>
<p>i deleted it woops. i want to write a paragraph about my mindfulness <p>i deleted it woops. i want to write a paragraph about my mindfulness
game here.</p> game here.</p>
<h1 id="the-superstructure-text-adventure-game">the superstructure text <h1 id="the-superstructure-text-adventure-game">the superstructure text
adventure game</h1> adventure game</h1>
</body> </body>
</html> </html>

@ -0,0 +1,33 @@
The history of Tarot Cards According to History
Some Gossip on gossip
yay
---
title: Fortnite
author: Stephen
---
:::::{#fortnite .has-images}
# Sometimes the world as it is and the world as it could be are devastatingly close to each other.
Is there any point in imagining something that is so similar to the nightmare we already live in? The future is a dream but it's just that dream where you remember putting your keys somewhere but where, and you're wandering around looking for them for what feels like hours. Was it real or not isnt important you were still there. Why are we staying here, what's even here for us? If you don't get them, they'll get you first. Then you wake up and you still can't find the fucking keys. But sometimes it's sunny and you're standing there and there's something cinematic about the whole thing, is it worth it just to be there for that maybe. There's really no difference between a dream about falling and a dream about flying. You search the entire planet, all seven planets, drinking every last drop, and still no fucking keys. You're just watching the whole thing anyway so enjoy it I guess. If you get the rifle you can use the scope on it to see things in the distance, but then again maybe you don't need to see that far. The start is always the best part. Maybe I left them in the bathroom for some reason? Can I help them, even one of them? They are all so busy killing each other I don't think they can hear. The forests are beautiful here. One time I sat down with some of the bots and really got to know them. Until the players arrive they just sit there together, chatting. They're really nice actually. And then a player ran up beside us, saw that we weren't trying to hurt them, and left. Maybe they were helped, or changed somehow.
The only reason I'm still here is because you're still here. 😋
![screenshot from Fortnite](fortnite-10.jpg)
![screenshot from Fortnite](fortnite-9.jpg)
![screenshot from Fortnite](fortnite-8.jpg)
![screenshot from Fortnite](fortnite-7.jpg)
![screenshot from Fortnite](fortnite-6.jpg)
![screenshot from Fortnite](fortnite-3.jpg)
![screenshot from Fortnite](fortnite-2.jpg)
![screenshot from Fortnite](fortnite-1.jpg)
![screenshot from Fortnite](fortnite-0.jpg)
:::::
i deleted it woops. i want to write a paragraph about my mindfulness game here.
# the superstructure text adventure game

@ -8,6 +8,7 @@ import subprocess
print("---------") print("---------")
all_html = "" all_html = ""
all_md = ""
folders = glob("content/*") folders = glob("content/*")
print(folders) print(folders)
@ -24,49 +25,38 @@ for folder in folders:
file = file.replace(" ", "\ ") file = file.replace(" ", "\ ")
print(file) print(file)
html_file = file.replace(".md", ".html") # html_file = file.replace(".md", ".html")
pandoc_cmd = "pandoc -s -c style.css -f markdown -t html " + file + " -o " + html_file # pandoc_cmd = "pandoc -s -c style.css -f markdown -t html " + file + " -o " + html_file
os.system(pandoc_cmd) # os.system(pandoc_cmd)
print("standalone html files saved!") # print("standalone html files saved!")
pandoc2 = "pandoc -f markdown -t html " + file # pandoc2 = "pandoc -f markdown -t html " + file
html_data = subprocess.run(pandoc2, capture_output=True, text=True).stdout # html_data = subprocess.run(pandoc2, capture_output=True, text=True).stdout
#editing the html before creatings the main file # #editing the html before creatings the main file
# filename = os.path.basename(file) # # filename = os.path.basename(file)
# print("filename", filename) # # print("filename", filename)
html_data = html_data.replace('<img src="','<img src="' + folder + '/') # # html_data = html_data.replace('<img src="','<img src="' + folder + '/')
print("This is the html data: ", html_data) # print("This is the html data: ", html_data)
# and then collect all that content into a variable called "all_html" # # and then collect all that content into a variable called "all_html"
# add this content to all_html # # add this content to all_html
all_html = all_html + html_data # all_html = all_html + html_data
md_data = open(file).read()
all_md += "\n"+md_data
#create md and use pandoc to convert to html
output = open("booklet.md", "w")
output.write(all_md)
output.close()
pandoc_md = "pandoc -s --toc -c style.css -f markdown -t html booklet.md -o booklet.html"
os.system(pandoc_md)
print("booklet html files saved!")
#take all the css files and write to main css
print("----------")
print(all_html)
template = f"""<!DOCTYPE html>
<html>
<head>
<script src="paged.js/paged.polyfill.js"></script>
<link href="paged.js/pagedjs.css" rel="stylesheet" type="text/css">
<link href="print.css" rel="stylesheet" type="text/css" media="print">
<meta charset="UTF-8">
</head>
<body>
{ all_html }
</body>
</html>
"""
output = open("booklet.html", "w")
output.write(template)
# Now open this page in the browser, remember: paged.js needs to be accessed through a webserver. # Now open this page in the browser, remember: paged.js needs to be accessed through a webserver.

@ -30,6 +30,7 @@
<h1 class="title">Fortnite</h1> <h1 class="title">Fortnite</h1>
<p class="author">Stephen</p> <p class="author">Stephen</p>
</header> </header>
<div id="fortnite" class="has-images">
<h1 <h1
id="sometimes-the-world-as-it-is-and-the-world-as-it-could-be-are-devastatingly-close-to-each-other.">Sometimes id="sometimes-the-world-as-it-is-and-the-world-as-it-could-be-are-devastatingly-close-to-each-other.">Sometimes
the world as it is and the world as it could be are devastatingly close the world as it is and the world as it could be are devastatingly close
@ -66,5 +67,6 @@ src="fortnite-3.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-2.jpg" alt="screenshot from Fortnite" /> <img src="fortnite-2.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-1.jpg" alt="screenshot from Fortnite" /> <img src="fortnite-1.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-0.jpg" alt="screenshot from Fortnite" /></p> src="fortnite-0.jpg" alt="screenshot from Fortnite" /></p>
</div>
</body> </body>
</html> </html>

@ -4,6 +4,7 @@ author: Stephen
--- ---
:::::{#fortnite .has-images}
# Sometimes the world as it is and the world as it could be are devastatingly close to each other. # Sometimes the world as it is and the world as it could be are devastatingly close to each other.
Is there any point in imagining something that is so similar to the nightmare we already live in? The future is a dream but it's just that dream where you remember putting your keys somewhere but where, and you're wandering around looking for them for what feels like hours. Was it real or not isnt important you were still there. Why are we staying here, what's even here for us? If you don't get them, they'll get you first. Then you wake up and you still can't find the fucking keys. But sometimes it's sunny and you're standing there and there's something cinematic about the whole thing, is it worth it just to be there for that maybe. There's really no difference between a dream about falling and a dream about flying. You search the entire planet, all seven planets, drinking every last drop, and still no fucking keys. You're just watching the whole thing anyway so enjoy it I guess. If you get the rifle you can use the scope on it to see things in the distance, but then again maybe you don't need to see that far. The start is always the best part. Maybe I left them in the bathroom for some reason? Can I help them, even one of them? They are all so busy killing each other I don't think they can hear. The forests are beautiful here. One time I sat down with some of the bots and really got to know them. Until the players arrive they just sit there together, chatting. They're really nice actually. And then a player ran up beside us, saw that we weren't trying to hurt them, and left. Maybe they were helped, or changed somehow. Is there any point in imagining something that is so similar to the nightmare we already live in? The future is a dream but it's just that dream where you remember putting your keys somewhere but where, and you're wandering around looking for them for what feels like hours. Was it real or not isnt important you were still there. Why are we staying here, what's even here for us? If you don't get them, they'll get you first. Then you wake up and you still can't find the fucking keys. But sometimes it's sunny and you're standing there and there's something cinematic about the whole thing, is it worth it just to be there for that maybe. There's really no difference between a dream about falling and a dream about flying. You search the entire planet, all seven planets, drinking every last drop, and still no fucking keys. You're just watching the whole thing anyway so enjoy it I guess. If you get the rifle you can use the scope on it to see things in the distance, but then again maybe you don't need to see that far. The start is always the best part. Maybe I left them in the bathroom for some reason? Can I help them, even one of them? They are all so busy killing each other I don't think they can hear. The forests are beautiful here. One time I sat down with some of the bots and really got to know them. Until the players arrive they just sit there together, chatting. They're really nice actually. And then a player ran up beside us, saw that we weren't trying to hurt them, and left. Maybe they were helped, or changed somehow.
@ -18,4 +19,5 @@ The only reason I'm still here is because you're still here. 😋
![screenshot from Fortnite](fortnite-3.jpg) ![screenshot from Fortnite](fortnite-3.jpg)
![screenshot from Fortnite](fortnite-2.jpg) ![screenshot from Fortnite](fortnite-2.jpg)
![screenshot from Fortnite](fortnite-1.jpg) ![screenshot from Fortnite](fortnite-1.jpg)
![screenshot from Fortnite](fortnite-0.jpg) ![screenshot from Fortnite](fortnite-0.jpg)
:::::

@ -1 +1 @@
p{color: purple} #fortnite p{color: purple}
Loading…
Cancel
Save