Compare commits

..

3 Commits

Author SHA1 Message Date
BodgeMaster 1cba1cec4a 03 A Simple Errand: fill in the end of the chapter 2023-10-09 19:00:56 +02:00
BodgeMaster 962b6f2a19 03 A Simple Errand: language improvements 2023-10-09 18:58:48 +02:00
BodgeMaster c1fb12f378 ToC: Fix a grammar error and an issue where chapters could be shuffled
Yes, I just assumed that `find` returns a nicely sorted list of files.
Now, I’m running them through `sort` to ensure the list is actually sorted.
2023-10-09 18:38:24 +02:00
3 changed files with 24 additions and 19 deletions

View File

@ -45,8 +45,8 @@
<p> <p>
<span class="speech">Next stop: Central Square</span><br /> <span class="speech">Next stop: Central Square</span><br />
Annie looks up. That&apos;s the station she has to get off at. She only Annie looks up. That&apos;s the station she has to get off at. She only
needs to be at work in the afternoon so she decided to get the manual for needs to be at work in the afternoon so she decided to get that manual
Jack. for Jack.
</p> </p>
<p> <p>
The train comes to a halt in the station. Annie steps out onto the The train comes to a halt in the station. Annie steps out onto the
@ -61,12 +61,12 @@
<p> <p>
Annie walks down the stairs and steps onto the square. It is brightly Annie walks down the stairs and steps onto the square. It is brightly
illuminated by a large glowing sphere made of yellow and brown glass illuminated by a large glowing sphere made of yellow and brown glass
tiles suspended on steel cables hanging from four office complexes that tiles, suspended on steel cables that hang from four office complexes
tower over the rest of the buildings. To the right is the library, a towering over the rest of the buildings. To the right is the library,
large building with a facade of sandstone blocks. The front features a large building with a facade of sandstone blocks. The front features
large pillars and a staircase spanning the entire width of the building large pillars and a staircase spanning the entire width of the building
making it look like an ancient temple. The wall behind the pillars has giving it the look of an ancient temple. The wall behind the pillars has
multiple rows of windows revealing that the building has multiple stories. multiple rows of windows.
</p> </p>
<p> <p>
Annie makes her way up the stairs and enters through the large wooden Annie makes her way up the stairs and enters through the large wooden
@ -78,29 +78,34 @@
<span class="speech">Uhm... Actually, no</span>, Annie replies as she <span class="speech">Uhm... Actually, no</span>, Annie replies as she
takes her library card and a piece of paper out of her bag.<br /> takes her library card and a piece of paper out of her bag.<br />
<span class="speech">I have a quite unusual request. I am looking <span class="speech">I have a quite unusual request. I am looking
for</span> - she glances at the piece of paper - <span class="speech">a for</span> &ndash; she glances at the piece of paper &ndash;
manual for a B three three F Y dash A F bunker door.</span><br /> <span class="speech">a manual for a B three three F Y dash A F bunker
door.</span><br />
The guy types into his terminal for a moment. Annie places her library The guy types into his terminal for a moment. Annie places her library
card on the counter. With a worried look, he turns back to her: <br /> card on the counter. With a worried look, he turns back to her: <br />
<span class="speech">I&apos;m afraid, that information has recently been <span class="speech">I&apos;m afraid, that it has recently been
classified. There is a note about terrorism in here.</span><br /> classified. There is a note about terrorism in here.</span><br />
<span class="speech">So there is no way to get it?</span><br /> <span class="speech">So there is no way to get it?</span><br />
He musters her for a second, then he takes the card and scribbles He musters her for a second, then he takes the card and scribbles
something on it before putting it back. <br /> something on it before putting it back. <br />
<span class="speech">I can check you against a list of people with <span class="speech">I can check you against a list of people with
security clearance. One moment, I&apos;ll get it.</span><br /> security clearance. One moment, I&apos;ll get it.</span><br />
He gestures and nods towards the exit. Then, he turns around and walks He gestures towards the exit. Then, he turns around and walks towards a
towards a door on the left, seemingly taking his sweet time. Annie gets door to the left, seemingly taking his sweet time. Annie gets the
the message, grabs her library card and makes a swift exit. Just as she message, grabs her library card and makes a swift exit. Just as she
leaves, she hears him call out to someone else: <br /> leaves, she hears him call out to someone else: <br />
<span class="speech">Dorothy, she left. What do I put on the list?</span> <span class="speech">Dorothy, she left. What do I put on the list?</span>
<br /> <br />
<span class="comment"> Input on how to format this dialog is appreciated. <span class="comment"> Input on how to format this dialog is appreciated.
</span><br />
<span class="comment"> heavy door falls shut, Annie hurries back to the
train station and gets on the first train that comes, she takes out her
library card and checks the note - such and such station, 10:30 PM
</span> </span>
</p> </p>
<p>
Annie is already half-way down the stairs by the time the heavy door
falls shut. Quickly, she walks back to the station. A train is coming.
She hurries up the stairs and gets on. The doors close and it begins to
move. Annie catches her breath and takes her library card out to look at
it. The note written on it reads: &quot;Meet me at 10:30PM tonight,
&lt;metro station&gt;&quot;.
</p>
<p class="copyright">Copyright &#169; 2023 Jan Danielzick (aka. BodgeMaster) &ndash; All rights reserved.</p><script>let spans = ["<span class=\"paper_green\">", "<span>"];let paper_sections = document.getElementsByClassName("paper");for (let i = 0; i < paper_sections.length; i++) {let lines = paper_sections[i].innerHTML.split("\n");let result = "";for (let j = 0; j < lines.length; j++) {result = result + spans[j%2] + lines[j] + " ".repeat(80-lines[j].length) + "</span>\n";}paper_sections[i].innerHTML = result;}</script></body></html> <p class="copyright">Copyright &#169; 2023 Jan Danielzick (aka. BodgeMaster) &ndash; All rights reserved.</p><script>let spans = ["<span class=\"paper_green\">", "<span>"];let paper_sections = document.getElementsByClassName("paper");for (let i = 0; i < paper_sections.length; i++) {let lines = paper_sections[i].innerHTML.split("\n");let result = "";for (let j = 0; j < lines.length; j++) {result = result + spans[j%2] + lines[j] + " ".repeat(80-lines[j].length) + "</span>\n";}paper_sections[i].innerHTML = result;}</script></body></html>

View File

@ -2,7 +2,7 @@
cp html_resources/index_template.html index.html cp html_resources/index_template.html index.html
function genlinks { function genlinks {
for FILE in $(find . -maxdepth 1 -type f -name "*-*.html"); do for FILE in $(find . -maxdepth 1 -type f -name "*-*.html" | sort); do
echo -ne " <li><a href=\"$FILE\">\n" echo -ne " <li><a href=\"$FILE\">\n"
grep -oe "<title>.*</title>" $FILE | sed -e 's/<title> / /;s| </title>||' grep -oe "<title>.*</title>" $FILE | sed -e 's/<title> / /;s| </title>||'
echo " </a></li>" echo " </a></li>"

View File

@ -17,7 +17,7 @@
<p> <p>
Below, in the table of contents, you find links to all the chapters. Below, in the table of contents, you find links to all the chapters.
There is also a <a href="./notes/">collection of notes</a> that, while not There is also a <a href="./notes/">collection of notes</a> that, while not
particularly well maintained, might be interesting (in case you missed particularly well-maintained, might be interesting (in case you missed
the link: <a href="./notes/">here</a>). the link: <a href="./notes/">here</a>).
<p> <p>
Table of Contents: Table of Contents: