improved indentation and whitespace for markdown code blocks
All code blocks in markdown have been intended by at least 4 spaces. We add `--tab-stop=8` to all `pandoc(1)` executions in order to set a better tab stop indentation, especially for tab intended code blocks. Changed `bin/pandoc-wrapper.sh` VERSION from "1.5.3 2024-03-26" to "1.6 2024-03-31". Fixed `1991/brnstnd/sorta.README.md` so that the sorta code is code blocks. Removed unneeded paragraph group in copyright in `inc/footer.default.html`. Fixed excess whitespace after list Author on entry `index.html` page. Changed `bin/output-index-author.sh` VERSION from "1.5.2 2024-03-26" to "1.6 2024-03-31". Performed `make www` to perform the above and test under macOS. TODO: Fix the problem of the initial line of code being extra intended. TODO: Fix excess whitespace around code that is inline.
This commit is contained in:
1 parent
b84c27ce02
commit
a996f8d2b8
734 files changed
+16723
-16963
No files matched your search
+33
-35
@@ -132,8 +132,7 @@
|
||||
<h2 id="author"><a name="author"></a>Author:</h2>
|
||||
<ul>
|
||||
<li>Name: <a href="../../authors.html#Mary_Ann_Horton">Mary Ann Horton</a><br>
|
||||
Location: <a href="../../location.html#US">US</a> - <em>United States of America</em> (<em>United States</em>)
|
||||
<br><br></li>
|
||||
Location: <a href="../../location.html#US">US</a> - <em>United States of America</em> (<em>United States</em>)</li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
|
||||
@@ -142,22 +141,22 @@ Location: <a href="../../location.html#US">US</a> - <em>United States of America
|
||||
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
|
||||
|
||||
<h2 id="to-build">To build:</h2>
|
||||
<div class="sourceCode" id="cb1"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">make</span> all</span></code></pre></div>
|
||||
<div class="sourceCode" id="cb1"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a> <span class="fu">make</span> all</span></code></pre></div>
|
||||
<h2 id="to-use">To use:</h2>
|
||||
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./horton</span> A B C D</span></code></pre></div>
|
||||
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./horton</span> A B C D</span></code></pre></div>
|
||||
<p><code>A</code>, <code>B</code>, <code>C</code> and <code>D</code> are numeric arguments.</p>
|
||||
<h2 id="try">Try:</h2>
|
||||
<div class="sourceCode" id="cb3"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./try.sh</span></span></code></pre></div>
|
||||
<div class="sourceCode" id="cb3"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./try.sh</span></span></code></pre></div>
|
||||
<h2 id="alternate-code">Alternate code:</h2>
|
||||
<p>This confuses cb greatly. See <a href="horton.alt.c">horton.alt.c</a> for an unobfuscated/enhanced
|
||||
version.</p>
|
||||
<h3 id="alternate-build">Alternate build:</h3>
|
||||
<div class="sourceCode" id="cb4"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="fu">make</span> alt</span></code></pre></div>
|
||||
<div class="sourceCode" id="cb4"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a> <span class="fu">make</span> alt</span></code></pre></div>
|
||||
<h3 id="alternate-use">Alternate use:</h3>
|
||||
<div class="sourceCode" id="cb5"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./horton.alt</span> A B C D</span></code></pre></div>
|
||||
<div class="sourceCode" id="cb5"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./horton.alt</span> A B C D</span></code></pre></div>
|
||||
<p>Where A, B, C and D are numbers like with <code>horton</code>.</p>
|
||||
<h3 id="alternate-try">Alternate try:</h3>
|
||||
<div class="sourceCode" id="cb6"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./try.alt.sh</span></span></code></pre></div>
|
||||
<div class="sourceCode" id="cb6"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./try.alt.sh</span></span></code></pre></div>
|
||||
<h2 id="judges-remarks">Judges’ remarks:</h2>
|
||||
<p>Try to figure out how this program prints, for a given slope, the
|
||||
right character. And for extra credit, try to figure out which
|
||||
@@ -177,35 +176,34 @@ cogs in the wheels of the grand plot to overthrow the cubics!</p>
|
||||
<p>Oh, by the way, it uses a self-contained graphtab and frame buffer.
|
||||
It’s easily modified to graph <em>any</em> 96x160 bitmap on a dumb terminal.</p>
|
||||
<p>See the <a href="gtface.c">gtface</a> program for another example. Try:</p>
|
||||
<div class="sourceCode" id="cb7"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb7-1"><a href="#cb7-1" aria-hidden="true" tabindex="-1"></a><span class="fu">make</span> gtface</span>
|
||||
<span id="cb7-2"><a href="#cb7-2" aria-hidden="true" tabindex="-1"></a><span class="ex">./gtface</span> <span class="op"><</span> gtface.data</span></code></pre></div>
|
||||
<div class="sourceCode" id="cb7"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb7-1"><a href="#cb7-1" aria-hidden="true" tabindex="-1"></a> <span class="fu">make</span> gtface</span>
|
||||
<span id="cb7-2"><a href="#cb7-2" aria-hidden="true" tabindex="-1"></a> <span class="ex">./gtface</span> <span class="op"><</span> gtface.data</span></code></pre></div>
|
||||
<p>For more information, see my article</p>
|
||||
<p><a href="login_sept92-pp28-31.pdf">Using GraphTab; USENIX ;login: Sept/Oct 1992, pages 28-31</a>.</p>
|
||||
<pre><code>
|
||||
MMMM,M,MM"MM,,,
|
||||
,,MMMMMMMMM"""""""",
|
||||
,MMMMM""" ",
|
||||
,MMM" "
|
||||
MMM M
|
||||
MM
|
||||
MM" " M
|
||||
M " , ,,,,, ,,,,,,,,,MM
|
||||
"MMMM"M,MMMMM MMMM M M"MMM,
|
||||
,M"MMMM"MM"MMM""M""MMMM""M"M
|
||||
, MM M M,M M" "M",, M "M "
|
||||
M ,M," ,M "M, ,,,", M
|
||||
M , M"MMM",,M,M,,""" , ,
|
||||
",," , " "MMMMMMMM " , "
|
||||
,M , ""M,MMMMMMMM,M " ,,
|
||||
,MM, MMMMMMMMMMMMMM,", M,
|
||||
M,M,MM"M"M" """M"MM,M M
|
||||
,MMMMMM M,MMMMM"M MM""M
|
||||
M MMMMMM,M M"M"" M MMMM", ,
|
||||
"M"MMMMMMMMMM"M ,MMMMM M ,,
|
||||
"" MMMMMMM,M,MM,M,,,MMM"M ,
|
||||
," , "MMMMMMM"MM"M,,,,MMMMM , ,,
|
||||
M ," MMMMMM"MM""M ,MMMMM,M, M
|
||||
, MMMM,MMMM"M"M"M,MM,M,", "</code></pre>
|
||||
<pre><code> MMMM,M,MM"MM,,,
|
||||
,,MMMMMMMMM"""""""",
|
||||
,MMMMM""" ",
|
||||
,MMM" "
|
||||
MMM M
|
||||
MM
|
||||
MM" " M
|
||||
M " , ,,,,, ,,,,,,,,,MM
|
||||
"MMMM"M,MMMMM MMMM M M"MMM,
|
||||
,M"MMMM"MM"MMM""M""MMMM""M"M
|
||||
, MM M M,M M" "M",, M "M "
|
||||
M ,M," ,M "M, ,,,", M
|
||||
M , M"MMM",,M,M,,""" , ,
|
||||
",," , " "MMMMMMMM " , "
|
||||
,M , ""M,MMMMMMMM,M " ,,
|
||||
,MM, MMMMMMMMMMMMMM,", M,
|
||||
M,M,MM"M"M" """M"MM,M M
|
||||
,MMMMMM M,MMMMM"M MM""M
|
||||
M MMMMMM,M M"M"" M MMMM", ,
|
||||
"M"MMMMMMMMMM"M ,MMMMM M ,,
|
||||
"" MMMMMMM,M,MM,M,,,MMM"M ,
|
||||
," , "MMMMMMM"MM"M,,,,MMMMM , ,,
|
||||
M ," MMMMMM"MM""M ,MMMMM,M, M
|
||||
, MMMM,MMMM"M"M"M,MM,M,", "</code></pre>
|
||||
<!--
|
||||
|
||||
Copyright © 1984-2024 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
Reference in new issue
Block a user