force use of pandoc version >= 3.1.12.2
The `bin/pandoc-wrapper.sh` tool will verify that the ssytem has a recent enough version of `pandoc(1)`. We explain why we insist on `pandoc(1)`. version >= 3.1.12.2 in comments where the $PANDOC_MIN_VERSION is set. Added `--wrap=preserve` as a default argument to `pandoc(1)`. While this change will impact every HTML file generated, we believe this will improve the ability of someone to look at the generated HTML and correlate with the original markdown. Changed `bin/pandoc-wrapper.sh` VERSION from "1.4.2 2024-03-17" to "1.4.3 2024-03-18". Performed `make www` to achieve all of the above and to generate HTML using the new `--wrap=preserve` `pandoc(1)` mode.
This commit is contained in:
1 parent
9eb7a54e9f
commit
b0b212acb1
402 files changed
+37061
-55132
No files matched your search
+56
-87
@@ -129,9 +129,9 @@
|
||||
|
||||
<h2 id="author"><a name="author"></a>Author:</h2>
|
||||
<ul>
|
||||
<li>Name: <a href="../../authors.html#Yves-Marie_Morgan">Yves-Marie
|
||||
Morgan</a><br> Location: <a href="../../location.html#FR">FR</a> -
|
||||
<em>French Republic</em> (<em>France</em>) <br><br></li>
|
||||
<li>Name: <a href="../../authors.html#Yves-Marie_Morgan">Yves-Marie Morgan</a><br>
|
||||
Location: <a href="../../location.html#FR">FR</a> - <em>French Republic</em> (<em>France</em>)
|
||||
<br><br></li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
|
||||
@@ -143,9 +143,9 @@ Morgan</a><br> Location: <a href="../../location.html#FR">FR</a> -
|
||||
<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></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="bu">echo</span> <span class="st">"YYYY/MM/DD"</span> <span class="kw">|</span> <span class="ex">./morgan1</span></span></code></pre></div>
|
||||
<p>where <code>YYYY</code> is the four digit year, <code>MM</code> is
|
||||
the two digit month and <code>DD</code> is two digit day of the month.
|
||||
The arrow keys control the shifting of the date as follows:</p>
|
||||
<p>where <code>YYYY</code> is the four digit year, <code>MM</code> is the two digit month and <code>DD</code> is two
|
||||
digit day of the month. The arrow keys control the shifting of the date as
|
||||
follows:</p>
|
||||
<ul>
|
||||
<li>Right : go forwards one day.</li>
|
||||
<li>Left : go backwards one day.</li>
|
||||
@@ -154,73 +154,65 @@ The arrow keys control the shifting of the date as follows:</p>
|
||||
</ul>
|
||||
<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>
|
||||
<p>Use the same keys as described above to change the dates each time
|
||||
the program window is in focus.</p>
|
||||
<p>Use the same keys as described above to change the dates each time the program
|
||||
window is in focus.</p>
|
||||
<h2 id="judges-remarks">Judges’ remarks:</h2>
|
||||
<p>To verify the output, try echoing the date of an evening with a clear
|
||||
sky. Use binoculars and/or telescope as needed. In some cases you may
|
||||
need to wait for a better time of the evening. In a few cases, such as
|
||||
<p>To verify the output, try echoing the date of an evening with a clear sky.
|
||||
Use binoculars and/or telescope as needed. In some cases you may need
|
||||
to wait for a better time of the evening. In a few cases, such as
|
||||
the South Pole in the summer, you may need to move to a different
|
||||
observing site.</p>
|
||||
<h2 id="authors-remarks">Author’s remarks:</h2>
|
||||
<h3 id="instructions">Instructions</h3>
|
||||
<p>It displays the position of the 8 planets of the solar system around
|
||||
the Sun. The date given in the command line is in the format YYYY/MM/DD
|
||||
(year, month and day). The direction keys can be used to move in time
|
||||
:</p>
|
||||
<p>It displays the position of the 8 planets of the solar system around the Sun.
|
||||
The date given in the command line is in the format YYYY/MM/DD (year, month and
|
||||
day). The direction keys can be used to move in time :</p>
|
||||
<ul>
|
||||
<li>Left : go back 1 day.</li>
|
||||
<li>Right : go forward 1 day.</li>
|
||||
<li>Down : go back 20 days.</li>
|
||||
<li>Up : go forward 20 days.</li>
|
||||
</ul>
|
||||
<p>It handles correctly all leap years and the switch between <a
|
||||
href="https://en.wikipedia.org/wiki/Julian_calendar">Julian calendar</a>
|
||||
and <a href="https://en.wikipedia.org/wiki/Gregorian_calendar">Gregorian
|
||||
calendar</a> (10 days missing between 1582/10/04 and 1582/10/15).</p>
|
||||
<p>The scale is logarithmic to be able to display the <a
|
||||
href="http://news.bbc.co.uk/2/hi/5282440.stm">8 planets</a> without
|
||||
having <a href="https://science.nasa.gov/mercury">Mercury</a>, <a
|
||||
href="https://science.nasa.gov/venus/">Venus</a>, <a
|
||||
href="https://science.nasa.gov/earth/facts">Earth</a> and <a
|
||||
href="https://science.nasa.gov/mars">Mars</a> squeezed around the <a
|
||||
href="https://science.nasa.gov/sun/">Sun</a>.</p>
|
||||
<p>It handles correctly all leap years and the switch between <a href="https://en.wikipedia.org/wiki/Julian_calendar">Julian
|
||||
calendar</a> and
|
||||
<a href="https://en.wikipedia.org/wiki/Gregorian_calendar">Gregorian calendar</a> (10 days
|
||||
missing between 1582/10/04 and 1582/10/15).</p>
|
||||
<p>The scale is logarithmic to be able to display the <a href="http://news.bbc.co.uk/2/hi/5282440.stm">8
|
||||
planets</a> without having
|
||||
<a href="https://science.nasa.gov/mercury">Mercury</a>,
|
||||
<a href="https://science.nasa.gov/venus/">Venus</a>,
|
||||
<a href="https://science.nasa.gov/earth/facts">Earth</a> and
|
||||
<a href="https://science.nasa.gov/mars">Mars</a> squeezed around the
|
||||
<a href="https://science.nasa.gov/sun/">Sun</a>.</p>
|
||||
<p>The size is not proportional either.</p>
|
||||
<h3 id="bonus">Bonus</h3>
|
||||
<p>It also displays the position of 2 famous comets during their last
|
||||
approach:</p>
|
||||
<p>It also displays the position of 2 famous comets during their last approach:</p>
|
||||
<ul>
|
||||
<li>The <a
|
||||
href="https://science.nasa.gov/solar-system/comets/1p-halley/">first
|
||||
one</a> around the <a href="../../years.html#1986">third IOCCC</a>.</li>
|
||||
<li>The <a
|
||||
href="https://science.nasa.gov/solar-system/comets/c-1995-o1-hale-bopp/">second
|
||||
one</a> between the <a href="../../years.html#1996">thirteenth</a> and
|
||||
<a href="../../years.html#1998">fourteenth</a> IOCCC.</li>
|
||||
<li>The <a href="https://science.nasa.gov/solar-system/comets/1p-halley/">first one</a>
|
||||
around the <a href="../../years.html#1986">third IOCCC</a>.</li>
|
||||
<li>The <a href="https://science.nasa.gov/solar-system/comets/c-1995-o1-hale-bopp/">second
|
||||
one</a> between
|
||||
the <a href="../../years.html#1996">thirteenth</a> and <a href="../../years.html#1998">fourteenth</a> IOCCC.</li>
|
||||
</ul>
|
||||
<h3 id="limitations">Limitations</h3>
|
||||
<ul>
|
||||
<li>ASCII character set is assumed.</li>
|
||||
<li>A C99 compiler is required (for some <code>math.h</code>
|
||||
functions).</li>
|
||||
<li>A C99 compiler is required (for some <code>math.h</code> functions).</li>
|
||||
<li>The position should be correct for years between (-1000; +3000)</li>
|
||||
<li>The approximations done in the formula are OK for displaying the
|
||||
position around the <a href="https://science.nasa.gov/sun/">Sun</a> but
|
||||
not for other applications like <a
|
||||
href="https://en.wikipedia.org/wiki/Ephemeris">ephemeride</a> or sky
|
||||
view from <a href="https://science.nasa.gov/earth/facts">Earth</a>
|
||||
(angles may be off by 1 or 2 degrees sometimes).</li>
|
||||
<li>The approximations done in the formula are OK for displaying the position
|
||||
around the <a href="https://science.nasa.gov/sun/">Sun</a> but not for other applications
|
||||
like <a href="https://en.wikipedia.org/wiki/Ephemeris">ephemeride</a> or sky view from
|
||||
<a href="https://science.nasa.gov/earth/facts">Earth</a> (angles may be off by 1 or 2
|
||||
degrees sometimes).</li>
|
||||
</ul>
|
||||
<h3 id="obfuscation">Obfuscation</h3>
|
||||
<ul>
|
||||
<li>Reuse of 1 letter variables.</li>
|
||||
<li>Only the <code>main()</code> function with some <code>for</code>
|
||||
loops.</li>
|
||||
<li>Only the <code>main()</code> function with some <code>for</code> loops.</li>
|
||||
<li>Constants for orbital elements encoded in a string.</li>
|
||||
<li>Hexadecimal and decimal values used inconsistently.</li>
|
||||
<li>Comparisons order are not consistent.</li>
|
||||
<li>A lot of stuff is done in the different parts of the
|
||||
<code>for</code> loop.</li>
|
||||
<li>A lot of stuff is done in the different parts of the <code>for</code> loop.</li>
|
||||
</ul>
|
||||
<h3 id="compilation-warnings">Compilation warnings</h3>
|
||||
<p>With gcc 4.7.2 on Linux Ubuntu 12.10:</p>
|
||||
@@ -236,61 +228,38 @@ morgan1.c:55:13: warning: '&&' within '||' [-Wlogical-op
|
||||
morgan1.c:56:14: warning: '&&' within '||' [-Wlogical-op-parentheses]</code></pre>
|
||||
<p>This is due to most of the parentheses and braces being removed when
|
||||
unnecessary.</p>
|
||||
<p>To verify the display, you can look at one of these programs : *
|
||||
xephem : <a
|
||||
href="https://web.archive.org/web/20130310133219/http://www.clearskyinstitute.com/xephem/"
|
||||
class="uri">https://web.archive.org/web/20130310133219/http://www.clearskyinstitute.com/xephem/</a>
|
||||
* homeplanet : <a href="https://www.fourmilab.ch/homeplanet/"
|
||||
class="uri">https://www.fourmilab.ch/homeplanet/</a> * <a
|
||||
href="https://www.theplanetstoday.com"
|
||||
class="uri">https://www.theplanetstoday.com</a></p>
|
||||
<h2 id="copyright-and-cc-by-sa-4.0-license">Copyright and CC BY-SA 4.0
|
||||
License:</h2>
|
||||
<p>This file is Copyright (c) 2023 by Landon Curt Noll. All Rights
|
||||
Reserved. You are free to share and adapt this file under the terms of
|
||||
this license:</p>
|
||||
<p>To verify the display, you can look at one of these programs :
|
||||
* xephem : <a href="https://web.archive.org/web/20130310133219/http://www.clearskyinstitute.com/xephem/" class="uri">https://web.archive.org/web/20130310133219/http://www.clearskyinstitute.com/xephem/</a>
|
||||
* homeplanet : <a href="https://www.fourmilab.ch/homeplanet/" class="uri">https://www.fourmilab.ch/homeplanet/</a>
|
||||
* <a href="https://www.theplanetstoday.com" class="uri">https://www.theplanetstoday.com</a></p>
|
||||
<h2 id="copyright-and-cc-by-sa-4.0-license">Copyright and CC BY-SA 4.0 License:</h2>
|
||||
<p>This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
You are free to share and adapt this file under the terms of this license:</p>
|
||||
<pre><code>Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</code></pre>
|
||||
<p>For more information, see:
|
||||
https://creativecommons.org/licenses/by-sa/4.0/</p>
|
||||
<p>For more information, see: https://creativecommons.org/licenses/by-sa/4.0/</p>
|
||||
|
||||
<!-- END: this line ends content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
|
||||
<!-- START: this line starts content for HTML phase 22 by: bin/output-index-inventory.sh via bin/md2html.sh -->
|
||||
|
||||
<!-- START: this line starts content generated by: bin/output-index-inventory.sh -->
|
||||
|
||||
<h1 id="inventory-for-2013morgan1"><a name="inventory"></a>Inventory for
|
||||
2013/morgan1</h1>
|
||||
<h1 id="inventory-for-2013morgan1"><a name="inventory"></a>Inventory for 2013/morgan1</h1>
|
||||
<p><a href="#top">Jump to top</a></p>
|
||||
<h2 id="primary-files">Primary files</h2>
|
||||
<ul>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/morgan1/morgan1.c">morgan1.c</a>
|
||||
- entry source</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/morgan1/Makefile">Makefile</a>
|
||||
- entry Makefile</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/morgan1/morgan1.orig.c">morgan1.orig.c</a>
|
||||
- original source</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/morgan1/try.sh">try.sh</a>
|
||||
- how to run</li>
|
||||
<li><a href="2013_morgan1.tar.bz2">2013_morgan1.tar.bz2</a> - download
|
||||
entry source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/morgan1/morgan1.c">morgan1.c</a> - entry source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/morgan1/Makefile">Makefile</a> - entry Makefile</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/morgan1/morgan1.orig.c">morgan1.orig.c</a> - original source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/morgan1/try.sh">try.sh</a> - how to run</li>
|
||||
<li><a href="2013_morgan1.tar.bz2">2013_morgan1.tar.bz2</a> - download entry source</li>
|
||||
</ul>
|
||||
<h2 id="secondary-files">Secondary files</h2>
|
||||
<ul>
|
||||
<li><a href="index.html">index.html</a> - entry home page</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/morgan1/.entry.json">.entry.json</a>
|
||||
- description of entry in JSON</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/morgan1/.gitignore">.gitignore</a>
|
||||
- list of files that should not be committed under git</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/morgan1/.entry.json">.entry.json</a> - description of entry in JSON</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/morgan1/.gitignore">.gitignore</a> - list of files that should not be committed under git</li>
|
||||
<li><a href=".path">.path</a> - directory path from top directory</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/morgan1/README.md">README.md</a>
|
||||
- markdown source for index.html</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/morgan1/README.md">README.md</a> - markdown source for index.html</li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->
|
||||
|
||||
Reference in new issue
Block a user