Merge pull request #2622 from xexyl/part-04-html
This commit is contained in:
6 files changed
+62
-52
No files matched your search
+25
-24
@@ -16,7 +16,9 @@ Now open the output using your favourite
|
||||
have a `pgm` viewer then we suggest the [netpbm
|
||||
toolkit](https://netpbm.sourceforge.net) to convert the image to a graphics
|
||||
format that you can view. Most graphical web browsers can display PNG or JPEG
|
||||
images.
|
||||
images. See the
|
||||
FAQ on "[netpbm](../../faq.html#netpbm)"
|
||||
for help.
|
||||
|
||||
|
||||
## Try:
|
||||
@@ -25,7 +27,7 @@ images.
|
||||
./try.sh
|
||||
```
|
||||
|
||||
NOTE: technically the text is supposed to be in all lower case but the script
|
||||
**NOTE**: technically the text is supposed to be in all lower case but the script
|
||||
does use some upper case letters for demonstration purposes.
|
||||
|
||||
|
||||
@@ -33,19 +35,20 @@ does use some upper case letters for demonstration purposes.
|
||||
|
||||
Did you know that in the first edition of [The
|
||||
Hobbit](https://tolkiengateway.net/wiki/The_Hobbit),
|
||||
[Gollum](https://www.glyphweb.com/arda/g/gollum.html) was willing to give
|
||||
up the ring? It was not the Ruling Ring, the [One Ring](https://www.glyphweb.com/arda/o/onering.html),
|
||||
the Ring of Power or
|
||||
[Gollum](https://www.glyphweb.com/arda/g/gollum.html) was willing to give up the
|
||||
ring? It was not the Ruling Ring, the [One
|
||||
Ring](https://www.glyphweb.com/arda/o/onering.html), the Ring of Power or
|
||||
anything like that: it was simply a literary device that could make one
|
||||
invisible. When [Bilbo](https://www.glyphweb.com/arda/b/bilbobaggins.html) won
|
||||
the famous [Riddle-game](https://www.glyphweb.com/arda/r/riddlegame.html) Gollum went to fetch the Ring -
|
||||
not to kill and eat Bilbo but to give it to him! But Bilbo had already found it
|
||||
just like in the later editions. Gollum profusely apologised and begged for
|
||||
forgiveness. Bilbo told him never mind because he would have had it anyway. But
|
||||
he'd let him off on one condition: that he show him the way out. It was at this
|
||||
point that Bilbo slipped the ring on and Gollum saw him vanish and understood
|
||||
that he already found it. But there was no call of thief and no hatred of Bilbo.
|
||||
It was not until a sequel was called for that this was changed.
|
||||
the famous [Riddle-game](https://www.glyphweb.com/arda/r/riddlegame.html) Gollum
|
||||
went to fetch the Ring - not to kill and eat Bilbo but to give it to him! But
|
||||
Bilbo had already found it just like in the later editions. Gollum profusely
|
||||
apologised and begged for forgiveness. Bilbo told him never mind because he
|
||||
would have had it anyway. But he'd let him off on one condition: that he show
|
||||
him the way out. It was at this point that Bilbo slipped the ring on (in the
|
||||
same way as the later editions) and Gollum saw him vanish and understood that
|
||||
Bilbo had the ring. But there was no call of thief and no hatred of Bilbo. It
|
||||
was not until a sequel was called for that this was changed.
|
||||
|
||||
If you want to read the first edition they reprinted it some years back: `The
|
||||
Hobbit Facsimile First Edition`. The details are also discussed in [History of
|
||||
@@ -56,8 +59,9 @@ Rings](https://en.wikipedia.org/wiki/The_Lord_of_the_Rings) of a twelve volume s
|
||||
History of the
|
||||
Hobbit](https://tolkiengateway.net/wiki/The_History_of_The_Hobbit).
|
||||
|
||||
Fun fact: at first Gollum was akin to a goblin-kind but this was immediately
|
||||
struck out.
|
||||
Fun fact: at first Gollum was akin to a
|
||||
[goblin](https://www.glyphweb.com/arda/g/goblins.html)-kind but this was immediately
|
||||
struck out and he became a Hobbit.
|
||||
|
||||
p.s. [Frodo](https://www.glyphweb.com/arda/f/frodobaggins.html) lives!
|
||||
|
||||
@@ -71,10 +75,8 @@ some circumflexes missing! That's okay though due to I/O of the entry and in
|
||||
earlier drafts sometimes the `û` had no diacritic but `h` after the `u` in
|
||||
it (and other times nothing). The real text is:
|
||||
|
||||
```
|
||||
Ash nazg durbatulûk, ash nazg gimbatul,
|
||||
ash nazg thrakatulûk agh burzum-ishi krimpatul.
|
||||
```
|
||||
> Ash nazg durbatulûk, ash nazg gimbatul,<br>
|
||||
> ash nazg thrakatulûk agh burzum-ishi krimpatul.
|
||||
|
||||
which when translated from [Black
|
||||
Speech](https://www.glyphweb.com/arda/b/blackspeech.html):
|
||||
@@ -86,16 +88,15 @@ Speech](https://www.glyphweb.com/arda/b/blackspeech.html):
|
||||
|
||||
into the [Common Tongue](https://www.glyphweb.com/arda/c/commontongue.html) reads:
|
||||
|
||||
```
|
||||
One Ring to rule them all, One Ring to find them,
|
||||
One Ring to bring them all and in the darkness bind them.
|
||||
```
|
||||
> One Ring to rule them all, One Ring to find them,<br>
|
||||
> One Ring to bring them all and in the darkness bind them.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
This program takes a single command line argument, transcribes the
|
||||
argument text into Tolkien's Elvish letters, and writes the
|
||||
argument text into [Tolkien](https://www.tolkienestate.com/life/biography/)'s
|
||||
[Elvish](https://www.glyphweb.com/arda/e/elvish.html) letters, and writes the
|
||||
transcription to standard output as a [portable
|
||||
graymap](https://en.wikipedia.org/wiki/Netpbm#PGM_example) (PGM) file.
|
||||
|
||||
|
||||
+29
-20
@@ -416,27 +416,30 @@ Location: <a href="../../location.html#SG">SG</a> - <em>Republic of Singapore</e
|
||||
have a <code>pgm</code> viewer then we suggest the <a href="https://netpbm.sourceforge.net">netpbm
|
||||
toolkit</a> to convert the image to a graphics
|
||||
format that you can view. Most graphical web browsers can display PNG or JPEG
|
||||
images.</p>
|
||||
images. See the
|
||||
FAQ on “<a href="../../faq.html#netpbm">netpbm</a>”
|
||||
for help.</p>
|
||||
<h2 id="try">Try:</h2>
|
||||
<pre><code> ./try.sh</code></pre>
|
||||
<p>NOTE: technically the text is supposed to be in all lower case but the script
|
||||
<p><strong>NOTE</strong>: technically the text is supposed to be in all lower case but the script
|
||||
does use some upper case letters for demonstration purposes.</p>
|
||||
<h2 id="judges-remarks">Judges’ remarks:</h2>
|
||||
<p>Did you know that in the first edition of <a href="https://tolkiengateway.net/wiki/The_Hobbit">The
|
||||
Hobbit</a>,
|
||||
<a href="https://www.glyphweb.com/arda/g/gollum.html">Gollum</a> was willing to give
|
||||
up the ring? It was not the Ruling Ring, the <a href="https://www.glyphweb.com/arda/o/onering.html">One Ring</a>,
|
||||
the Ring of Power or
|
||||
<a href="https://www.glyphweb.com/arda/g/gollum.html">Gollum</a> was willing to give up the
|
||||
ring? It was not the Ruling Ring, the <a href="https://www.glyphweb.com/arda/o/onering.html">One
|
||||
Ring</a>, the Ring of Power or
|
||||
anything like that: it was simply a literary device that could make one
|
||||
invisible. When <a href="https://www.glyphweb.com/arda/b/bilbobaggins.html">Bilbo</a> won
|
||||
the famous <a href="https://www.glyphweb.com/arda/r/riddlegame.html">Riddle-game</a> Gollum went to fetch the Ring -
|
||||
not to kill and eat Bilbo but to give it to him! But Bilbo had already found it
|
||||
just like in the later editions. Gollum profusely apologised and begged for
|
||||
forgiveness. Bilbo told him never mind because he would have had it anyway. But
|
||||
he’d let him off on one condition: that he show him the way out. It was at this
|
||||
point that Bilbo slipped the ring on and Gollum saw him vanish and understood
|
||||
that he already found it. But there was no call of thief and no hatred of Bilbo.
|
||||
It was not until a sequel was called for that this was changed.</p>
|
||||
the famous <a href="https://www.glyphweb.com/arda/r/riddlegame.html">Riddle-game</a> Gollum
|
||||
went to fetch the Ring - not to kill and eat Bilbo but to give it to him! But
|
||||
Bilbo had already found it just like in the later editions. Gollum profusely
|
||||
apologised and begged for forgiveness. Bilbo told him never mind because he
|
||||
would have had it anyway. But he’d let him off on one condition: that he show
|
||||
him the way out. It was at this point that Bilbo slipped the ring on (in the
|
||||
same way as the later editions) and Gollum saw him vanish and understood that
|
||||
Bilbo had the ring. But there was no call of thief and no hatred of Bilbo. It
|
||||
was not until a sequel was called for that this was changed.</p>
|
||||
<p>If you want to read the first edition they reprinted it some years back: <code>The Hobbit Facsimile First Edition</code>. The details are also discussed in <a href="https://tolkiengateway.net/wiki/The_History_of_Middle-earth">History of
|
||||
Middle-earth (HoMe)</a> VI, <a href="https://tolkiengateway.net/wiki/The_Return_of_the_Shadow">The Return of the
|
||||
Shadow</a>, part one of
|
||||
@@ -444,8 +447,9 @@ the history of <a href="https://en.wikipedia.org/wiki/The_Lord_of_the_Rings">The
|
||||
Rings</a> of a twelve volume set - as well as in <a href="https://tolkiengateway.net/wiki/The_History_of_The_Hobbit">The
|
||||
History of the
|
||||
Hobbit</a>.</p>
|
||||
<p>Fun fact: at first Gollum was akin to a goblin-kind but this was immediately
|
||||
struck out.</p>
|
||||
<p>Fun fact: at first Gollum was akin to a
|
||||
<a href="https://www.glyphweb.com/arda/g/goblins.html">goblin</a>-kind but this was immediately
|
||||
struck out and he became a Hobbit.</p>
|
||||
<p>p.s. <a href="https://www.glyphweb.com/arda/f/frodobaggins.html">Frodo</a> lives!</p>
|
||||
<h3 id="an-important-aside--">An important aside :-)</h3>
|
||||
<p>BTW: if you haven’t read <a href="https://en.wikipedia.org/wiki/The_Lord_of_the_Rings">The Lord of the
|
||||
@@ -454,19 +458,24 @@ You’ll find out the source of the text above though you’ll see that there ar
|
||||
some circumflexes missing! That’s okay though due to I/O of the entry and in
|
||||
earlier drafts sometimes the <code>û</code> had no diacritic but <code>h</code> after the <code>u</code> in
|
||||
it (and other times nothing). The real text is:</p>
|
||||
<pre><code> Ash nazg durbatulûk, ash nazg gimbatul,
|
||||
ash nazg thrakatulûk agh burzum-ishi krimpatul.</code></pre>
|
||||
<blockquote>
|
||||
<p>Ash nazg durbatulûk, ash nazg gimbatul,<br>
|
||||
ash nazg thrakatulûk agh burzum-ishi krimpatul.</p>
|
||||
</blockquote>
|
||||
<p>which when translated from <a href="https://www.glyphweb.com/arda/b/blackspeech.html">Black
|
||||
Speech</a>:</p>
|
||||
<p><img src="One_Ring_inscription.png"
|
||||
alt="The inscription, in the Black Speech of Mordor, on the One Ring"
|
||||
width=690 height=127></p>
|
||||
<p>into the <a href="https://www.glyphweb.com/arda/c/commontongue.html">Common Tongue</a> reads:</p>
|
||||
<pre><code> One Ring to rule them all, One Ring to find them,
|
||||
One Ring to bring them all and in the darkness bind them.</code></pre>
|
||||
<blockquote>
|
||||
<p>One Ring to rule them all, One Ring to find them,<br>
|
||||
One Ring to bring them all and in the darkness bind them.</p>
|
||||
</blockquote>
|
||||
<h2 id="authors-remarks">Author’s remarks:</h2>
|
||||
<p>This program takes a single command line argument, transcribes the
|
||||
argument text into Tolkien’s Elvish letters, and writes the
|
||||
argument text into <a href="https://www.tolkienestate.com/life/biography/">Tolkien</a>’s
|
||||
<a href="https://www.glyphweb.com/arda/e/elvish.html">Elvish</a> letters, and writes the
|
||||
transcription to standard output as a <a href="https://en.wikipedia.org/wiki/Netpbm#PGM_example">portable
|
||||
graymap</a> (PGM) file.</p>
|
||||
<p>The specific transcription mode is the <a href="https://www.glyphweb.com/arda/b/blackspeech.html">Black
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
make
|
||||
```
|
||||
|
||||
There is an alt version for rogue players, vi(m) users and Dvorak typist (i.e.
|
||||
those who need `hljk` for moving left, right, down and up). See [alternate
|
||||
code](#alternate-code) below.
|
||||
There is an alternate version for rogue players, vi(m) users and Dvorak typist
|
||||
(i.e. those who need `hljk` for moving left, right, down and up). See
|
||||
[Alternate code](#alternate-code) below.
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
@@ -409,9 +409,9 @@ Location: <a href="../../location.html#NZ">NZ</a> - <em>New Zealand</em></li>
|
||||
<!-- BEFORE: 1st line of markdown file: 2004/arachnid/README.md -->
|
||||
<h2 id="to-build">To build:</h2>
|
||||
<pre><code> make</code></pre>
|
||||
<p>There is an alt version for rogue players, vi(m) users and Dvorak typist (i.e.
|
||||
those who need <code>hljk</code> for moving left, right, down and up). See <a href="#alternate-code">alternate
|
||||
code</a> below.</p>
|
||||
<p>There is an alternate version for rogue players, vi(m) users and Dvorak typist
|
||||
(i.e. those who need <code>hljk</code> for moving left, right, down and up). See
|
||||
<a href="#alternate-code">Alternate code</a> below.</p>
|
||||
<h2 id="to-use">To use:</h2>
|
||||
<pre><code> ./arachnid [mazefile]</code></pre>
|
||||
<h2 id="try">Try:</h2>
|
||||
|
||||
@@ -17,7 +17,7 @@ There is an alternate version that is unobfuscated, provided by the author in
|
||||
Then use your web browser to visit `http://localhost:8008/`. When you're
|
||||
finished make sure to kill `hibachi`.
|
||||
|
||||
NOTE: you must be in the `build` directory when running `hibachi-start.sh` for
|
||||
**NOTE**: you must be in the `build` directory when running `hibachi-start.sh` for
|
||||
this to work right.
|
||||
|
||||
|
||||
|
||||
@@ -415,7 +415,7 @@ Location: <a href="../../location.html#CA">CA</a> - <em>Canada</em></li>
|
||||
<pre><code> cd build; ./hibachi-start.sh &</code></pre>
|
||||
<p>Then use your web browser to visit <code>http://localhost:8008/</code>. When you’re
|
||||
finished make sure to kill <code>hibachi</code>.</p>
|
||||
<p>NOTE: you must be in the <code>build</code> directory when running <code>hibachi-start.sh</code> for
|
||||
<p><strong>NOTE</strong>: you must be in the <code>build</code> directory when running <code>hibachi-start.sh</code> for
|
||||
this to work right.</p>
|
||||
<h2 id="alternate-code">Alternate code:</h2>
|
||||
<p>This version, contained in <code>src-alt/</code>, is an unobfuscated version provided by
|
||||
|
||||
Reference in new issue
Block a user