|
2 | 2 | <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head> |
3 | 3 |
|
4 | 4 | <meta charset="utf-8"> |
5 | | -<meta name="generator" content="quarto-1.6.25"> |
| 5 | +<meta name="generator" content="quarto-1.5.57"> |
6 | 6 |
|
7 | 7 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> |
8 | 8 |
|
9 | 9 | <meta name="author" content="Jane Doe"> |
10 | 10 | <meta name="author" content="John Doe"> |
11 | | -<meta name="dcterms.date" content="2024-10-13"> |
| 11 | +<meta name="dcterms.date" content="2024-10-16"> |
12 | 12 | <meta name="keywords" content="key1, key2, key3"> |
13 | 13 | <meta name="description" content="This document provides a template based on the quarto system for contributions to Computo, using the quarto journal extension, the Jupyter kernel (Python user) and venv+pip to set-up the dependencies."> |
14 | 14 |
|
|
88 | 88 | <script src="template-computo-python_files/libs/quarto-html/tippy.umd.min.js"></script> |
89 | 89 | <script src="template-computo-python_files/libs/quarto-html/anchor.min.js"></script> |
90 | 90 | <link href="template-computo-python_files/libs/quarto-html/tippy.css" rel="stylesheet"> |
91 | | -<link href="template-computo-python_files/libs/quarto-html/quarto-syntax-highlighting-6f7931aacaeb22aa467d6667c6f1725d.css" rel="stylesheet" id="quarto-text-highlighting-styles"> |
| 91 | +<link href="template-computo-python_files/libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles"> |
92 | 92 | <script src="template-computo-python_files/libs/bootstrap/bootstrap.min.js"></script> |
93 | 93 | <link href="template-computo-python_files/libs/bootstrap/bootstrap-icons.css" rel="stylesheet"> |
94 | | -<link href="template-computo-python_files/libs/bootstrap/bootstrap-bd987972e5885778c45a80ac90485a07.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light"> |
| 94 | +<link href="template-computo-python_files/libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light"> |
| 95 | +<script src="template-computo-python_files/libs/quarto-contrib/pseudocode-2.4.1/pseudocode.min.js"></script> |
| 96 | +<link href="template-computo-python_files/libs/quarto-contrib/pseudocode-2.4.1/pseudocode.min.css" rel="stylesheet"> |
95 | 97 | <style> |
96 | 98 |
|
97 | 99 | .quarto-title-block .quarto-title-banner h1, |
|
210 | 212 | <div> |
211 | 213 | <div class="quarto-title-meta-heading">Published</div> |
212 | 214 | <div class="quarto-title-meta-contents"> |
213 | | - <p class="date">October 13, 2024</p> |
| 215 | + <p class="date">October 16, 2024</p> |
214 | 216 | </div> |
215 | 217 | </div> |
216 | 218 |
|
217 | 219 | <div> |
218 | 220 | <div class="quarto-title-meta-heading">Modified</div> |
219 | 221 | <div class="quarto-title-meta-contents"> |
220 | | - <p class="date-modified">October 13, 2024</p> |
| 222 | + <p class="date-modified">October 16, 2024</p> |
221 | 223 | </div> |
222 | 224 | </div> |
223 | 225 |
|
@@ -398,16 +400,16 @@ <h2 data-number="2.3" class="anchored" data-anchor-id="python-code"><span class= |
398 | 400 | <span id="cb3-4"><a href="#cb3-4" aria-hidden="true" tabindex="-1"></a><span class="fu">jupyter</span><span class="kw">:</span><span class="at"> python3</span></span> |
399 | 401 | <span id="cb3-5"><a href="#cb3-5" aria-hidden="true" tabindex="-1"></a><span class="pp">---</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div> |
400 | 402 | <p><code>python</code> code chunks may be embedded as follows:</p> |
401 | | -<div id="350bc59f" class="cell" data-execution_count="1"> |
| 403 | +<div id="b5b97f39" class="cell" data-execution_count="1"> |
402 | 404 | <details class="code-fold"> |
403 | 405 | <summary>Hide/Show the code</summary> |
404 | 406 | <div class="sourceCode cell-code" id="cb4"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> numpy <span class="im">as</span> np</span> |
405 | 407 | <span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a>x <span class="op">=</span> np.random.normal(<span class="dv">0</span>, <span class="dv">1</span>, <span class="dv">10</span>)</span> |
406 | 408 | <span id="cb4-3"><a href="#cb4-3" aria-hidden="true" tabindex="-1"></a>x</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div> |
407 | 409 | </details> |
408 | 410 | <div class="cell-output cell-output-display" data-execution_count="1"> |
409 | | -<pre><code>array([ 1.62006075, -0.35178515, 0.55209458, 2.28314068, -0.61579271, |
410 | | - 1.12008553, -1.46972026, -1.85182821, -1.51808932, 1.70274536])</code></pre> |
| 411 | +<pre><code>array([-0.23788703, 0.634127 , -0.24433812, 0.25353522, 0.41089287, |
| 412 | + 0.89342388, 1.39188217, -0.7706414 , -0.39636496, 0.5776391 ])</code></pre> |
411 | 413 | </div> |
412 | 414 | </div> |
413 | 415 | </section> |
@@ -628,7 +630,7 @@ <h1 class="unnumbered">References</h1> |
628 | 630 | publisher = {Société Française de Statistique}, |
629 | 631 | title = {Template for Contribution to {Computo}}, |
630 | 632 | journal = {Computo}, |
631 | | - date = {2024-10-13}, |
| 633 | + date = {2024-10-16}, |
632 | 634 | url = {https://computo.sfds.asso.fr/template-computo-quarto}, |
633 | 635 | doi = {xxxx}, |
634 | 636 | issn = {2824-7795}, |
@@ -1449,6 +1451,38 @@ <h1 class="unnumbered">References</h1> |
1449 | 1451 | <span id="cb13-325"><a href="#cb13-325" aria-hidden="true" tabindex="-1"></a>:::</span></code><button title="Copy to Clipboard" class="code-copy-button" data-in-quarto-modal=""><i class="bi"></i></button></pre></div> |
1450 | 1452 | </div></div></div></div></div> |
1451 | 1453 | </div> <!-- /content --> |
| 1454 | + <script type="text/javascript"> |
| 1455 | + (function(d) { |
| 1456 | + d.querySelectorAll(".pseudocode-container").forEach(function(el) { |
| 1457 | + let pseudocodeOptions = { |
| 1458 | + indentSize: el.dataset.indentSize || "1.2em", |
| 1459 | + commentDelimiter: el.dataset.commentDelimiter || "//", |
| 1460 | + lineNumber: el.dataset.lineNumber === "true" ? true : false, |
| 1461 | + lineNumberPunc: el.dataset.lineNumberPunc || ":", |
| 1462 | + noEnd: el.dataset.noEnd === "true" ? true : false, |
| 1463 | + titlePrefix: el.dataset.captionPrefix || "Algorithm" |
| 1464 | + }; |
| 1465 | + pseudocode.renderElement(el.querySelector(".pseudocode"), pseudocodeOptions); |
| 1466 | + }); |
| 1467 | + })(document); |
| 1468 | + (function(d) { |
| 1469 | + d.querySelectorAll(".pseudocode-container").forEach(function(el) { |
| 1470 | + let captionSpan = el.querySelector(".ps-root > .ps-algorithm > .ps-line > .ps-keyword") |
| 1471 | + if (captionSpan !== null) { |
| 1472 | + let captionPrefix = el.dataset.captionPrefix + " "; |
| 1473 | + let captionNumber = ""; |
| 1474 | + if (el.dataset.pseudocodeNumber) { |
| 1475 | + captionNumber = el.dataset.pseudocodeNumber + " "; |
| 1476 | + if (el.dataset.chapterLevel) { |
| 1477 | + captionNumber = el.dataset.chapterLevel + "." + captionNumber; |
| 1478 | + } |
| 1479 | + } |
| 1480 | + captionSpan.innerHTML = captionPrefix + captionNumber; |
| 1481 | + } |
| 1482 | + }); |
| 1483 | + })(document); |
| 1484 | + </script> |
| 1485 | + |
1452 | 1486 |
|
1453 | 1487 |
|
1454 | 1488 |
|
|
0 commit comments