v1.1.0 Refactor
|
|
@ -4,25 +4,11 @@
|
|||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "c87664783c6ed11a",
|
||||
"id": "eb3c2fdcbf97f193",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "f34ae8bbfb2ffa45",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "chapters/00_Introduction.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
},
|
||||
"icon": "lucide-file",
|
||||
"title": "00_Introduction"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "b8c0b940e83a0cce",
|
||||
"id": "9aca980657068944",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
|
|
@ -35,8 +21,7 @@
|
|||
"title": "01_Getting_Started"
|
||||
}
|
||||
}
|
||||
],
|
||||
"currentTab": 1
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "vertical"
|
||||
|
|
@ -93,7 +78,8 @@
|
|||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 314.5
|
||||
"width": 314.5,
|
||||
"collapsed": true
|
||||
},
|
||||
"right": {
|
||||
"id": "90580ebd1e9dc8ca",
|
||||
|
|
@ -251,6 +237,16 @@
|
|||
"icon": "lucide-ghost",
|
||||
"title": "mathpad-view"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "26673915b7984368",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "mathpad-view",
|
||||
"state": {},
|
||||
"icon": "sigma",
|
||||
"title": "Mathpad"
|
||||
}
|
||||
}
|
||||
],
|
||||
"currentTab": 4
|
||||
|
|
@ -262,48 +258,54 @@
|
|||
},
|
||||
"left-ribbon": {
|
||||
"hiddenItems": {
|
||||
"obsidian-excalidraw-plugin:New drawing": false,
|
||||
"mathpad:Open Mathpad": false,
|
||||
"obsidian-kanban:Create new board": false,
|
||||
"switcher:Open quick switcher": false,
|
||||
"graph:Open graph view": false,
|
||||
"canvas:Create new canvas": false,
|
||||
"templates:Insert template": false,
|
||||
"command-palette:Open command palette": false,
|
||||
"bases:Create new base": false
|
||||
"bases:Create new base": false,
|
||||
"obsidian-excalidraw-plugin:New drawing": false,
|
||||
"mathpad:Open Mathpad": false,
|
||||
"obsidian-kanban:Create new board": false
|
||||
}
|
||||
},
|
||||
"active": "b8c0b940e83a0cce",
|
||||
"active": "9aca980657068944",
|
||||
"lastOpenFiles": [
|
||||
"conf/sedSNuLNp",
|
||||
"conf/sedYBewXK",
|
||||
"conf/sedEJ4vx7",
|
||||
"conf/sedhZUvts",
|
||||
"conf/sedX6LM6n",
|
||||
"conf/sedvTzKO0",
|
||||
"conf/sedlEPqb2",
|
||||
"conf/sed1eOKK3",
|
||||
"conf/sedXLODGr",
|
||||
"conf/sedFPuOSH",
|
||||
"conf/sedkL7Ngv",
|
||||
"conf/sedtMLy1q",
|
||||
"chapters/AppendixA.md",
|
||||
"chapters/00_Introduction.md",
|
||||
"build/html/lib/img/unit-circle-with-tau.png",
|
||||
"build/html/lib/img/unit-circle-with-pi.png.png",
|
||||
"build/html/lib/img/unit-circle-with-pi.png",
|
||||
"build/html/lib/img/udir-proximity.png",
|
||||
"build/html/lib/img/directed-proximity.png",
|
||||
"build/html/lib/img/Unit_circle_angles_color.png",
|
||||
"build/html/lib/img/UAFLogo_A_blue.png",
|
||||
"build/html/lib/img/UAFLogo_A_black.png",
|
||||
"build/html/lib/img/UAF.png",
|
||||
"build/html/lib/img/UAF-ACEP.png",
|
||||
"chapters/01_Getting_Started.md",
|
||||
"chapters/02_Features.md",
|
||||
"build/basic-book-builder.html",
|
||||
"templates/epub.yaml",
|
||||
"conf/frontmatter-md.html",
|
||||
"build/basic-book-builder.tex",
|
||||
"templates/markdown.yaml",
|
||||
"build/basic-book-builder.pdf",
|
||||
"templates/latex.yaml",
|
||||
"build/basic-book-builder.epub",
|
||||
"templates/pdf.yaml",
|
||||
"templates/html.yaml",
|
||||
"chapters/Glossary.md",
|
||||
"chapters/Terminology.md",
|
||||
"chapters/Preface.md",
|
||||
"chapters/Index.md",
|
||||
"chapters/Bibliography.md",
|
||||
"chapters/Citations.md",
|
||||
"chapters/Appendix.md",
|
||||
"build/basic-book-builder.md",
|
||||
"lib/img/UAF-ACEP.png",
|
||||
"build/lib/img/UAF-ACEP.png",
|
||||
"LICENSE.md",
|
||||
"README.md",
|
||||
"build/lib/img/ACEP Logo for Canvas.png",
|
||||
"build/lib/img/ACEP Logo.png",
|
||||
"build/lib/img/ACEP-50px.png",
|
||||
"build/lib/img/ACEP.png",
|
||||
"build/lib/img/ACEPLogo.png",
|
||||
"build/lib/img/UAF.png",
|
||||
"build/lib/img/UAFLogo_A_black.png",
|
||||
"build/lib/img/UAFLogo_A_blue.png",
|
||||
"chapters/Citations.md",
|
||||
"chapters/Terminology.md",
|
||||
"pm/Book Action Items.md",
|
||||
"chapters/Unitfication.md",
|
||||
"chapters/03_Cylindrical_Spacetime.md",
|
||||
|
|
@ -314,12 +316,6 @@
|
|||
"pm/Outline.md",
|
||||
"Chapters/01_Conciousness.md",
|
||||
"chapters/06_Acausal_Computation.md",
|
||||
"chapters/05_Causality.md",
|
||||
"Chapters/00_Introduction.md",
|
||||
"Chapters/04_State_Space_Locality.md",
|
||||
"Chapters/02_Unitfication.md",
|
||||
"Chapters/Unitfication.md",
|
||||
"Chapters/07_Consciousness_Continued.md",
|
||||
"lib/citations/wolframWhatConsciousnessNew2021.md"
|
||||
"chapters/05_Causality.md"
|
||||
]
|
||||
}
|
||||
148
Makefile
|
|
@ -1,41 +1,133 @@
|
|||
PANDOC = pandoc
|
||||
XELATEX = xelatex -interaction=nonstopmode -halt-on-error -file-line-error
|
||||
BASE = conf/pandoc.yaml
|
||||
METADATA = conf/metadata.yaml
|
||||
|
||||
all: pdf epub html latex markdown
|
||||
# Extract metadata fields
|
||||
META_NAME := $(shell sed -n 's/^name:[[:space:]]*//p' $(METADATA))
|
||||
|
||||
pdf:
|
||||
@mkdir -p build
|
||||
@scripts/build-frontmatter.sh conf/metadata.yaml templates/pdf.yaml conf/pdf.yaml
|
||||
@scripts/build-frontmatter.sh conf/metadata.yaml templates/frontmatter.tex conf/frontmatter.tex
|
||||
$(PANDOC) --defaults=$(BASE) --defaults=conf/pdf.yaml
|
||||
|
||||
epub:
|
||||
@mkdir -p build/media
|
||||
@scripts/build-frontmatter.sh conf/metadata.yaml templates/epub.yaml conf/epub.yaml
|
||||
@scripts/build-frontmatter.sh conf/metadata.yaml templates/frontmatter.html conf/frontmatter.html
|
||||
$(PANDOC) --defaults=$(BASE) --defaults=conf/epub.yaml
|
||||
# ============================================================
|
||||
# Independent build paths
|
||||
# ============================================================
|
||||
LATEX_BUILD = build/latex
|
||||
PDF_BUILD = build/pdf
|
||||
HTML_BUILD = build/html
|
||||
EPUB_BUILD = build/epub
|
||||
MD_BUILD = build/md
|
||||
|
||||
html:
|
||||
@mkdir -p build/lib/img build/lib/mathjax build/conf
|
||||
cp -r lib/img build/lib/
|
||||
cp -r lib/diag build/lib/
|
||||
cp -r lib/mathjax build/lib/
|
||||
cp conf/style.css build/conf/
|
||||
@scripts/build-frontmatter.sh conf/metadata.yaml templates/html.yaml conf/html.yaml
|
||||
@scripts/build-frontmatter.sh conf/metadata.yaml templates/frontmatter.html conf/frontmatter.html
|
||||
$(PANDOC) --defaults=$(BASE) --defaults=conf/html.yaml
|
||||
|
||||
all: html pdf markdown
|
||||
|
||||
|
||||
# ---------------------------------------------
|
||||
# LATEX PHASE (Pandoc → LaTeX)
|
||||
# ---------------------------------------------
|
||||
latex:
|
||||
@mkdir -p build
|
||||
@scripts/build-frontmatter.sh conf/metadata.yaml templates/latex.yaml conf/latex.yaml
|
||||
@scripts/build-frontmatter.sh conf/metadata.yaml templates/frontmatter.tex conf/frontmatter.tex
|
||||
$(PANDOC) --defaults=$(BASE) --defaults=conf/latex.yaml
|
||||
rm -rf $(LATEX_BUILD)
|
||||
mkdir -p $(LATEX_BUILD)/lib/img
|
||||
mkdir -p $(LATEX_BUILD)/lib/diag
|
||||
|
||||
# Assets
|
||||
cp -r lib/img/* $(LATEX_BUILD)/lib/img/
|
||||
@if [ -d lib/diag ]; then cp -r lib/diag/* $(LATEX_BUILD)/lib/diag/ 2>/dev/null || true; fi
|
||||
|
||||
# Metadata replacement
|
||||
@scripts/replace-metadata.sh $(METADATA) templates/header.tex conf/header.tex
|
||||
@scripts/replace-metadata.sh $(METADATA) templates/latex.yaml conf/latex.yaml
|
||||
@scripts/replace-metadata.sh $(METADATA) templates/frontmatter.tex conf/frontmatter.tex
|
||||
|
||||
# Pandoc → LaTeX
|
||||
$(PANDOC) \
|
||||
--output=$(LATEX_BUILD)/$(META_NAME).tex \
|
||||
--metadata=output-file:$(META_NAME) \
|
||||
--defaults=$(BASE) --defaults=conf/latex.yaml -t latex
|
||||
|
||||
# XeLaTeX first pass
|
||||
cd $(LATEX_BUILD) && $(XELATEX) $(META_NAME).tex
|
||||
|
||||
# ---------------------------------------------
|
||||
# INDEX PHASE
|
||||
# ---------------------------------------------
|
||||
index: latex
|
||||
cd $(LATEX_BUILD) && \
|
||||
(test -f $(META_NAME).idx && makeindex $(META_NAME) || true)
|
||||
|
||||
# ---------------------------------------------
|
||||
# PDF PHASE (final XeLaTeX runs)
|
||||
# ---------------------------------------------
|
||||
pdf: index
|
||||
mkdir -p $(PDF_BUILD)
|
||||
|
||||
cd $(LATEX_BUILD) && $(XELATEX) $(META_NAME).tex
|
||||
cd $(LATEX_BUILD) && $(XELATEX) $(META_NAME).tex
|
||||
|
||||
cp $(LATEX_BUILD)/$(META_NAME).pdf $(PDF_BUILD)/$(META_NAME).pdf
|
||||
@echo "PDF written to: $(PDF_BUILD)/$(META_NAME).pdf"
|
||||
|
||||
open $(PDF_BUILD)/$(META_NAME).pdf
|
||||
|
||||
# ============================================================
|
||||
# HTML
|
||||
# ============================================================
|
||||
html:
|
||||
rm -rf $(HTML_BUILD)
|
||||
mkdir -p $(HTML_BUILD)/lib/img $(HTML_BUILD)/lib/diag $(HTML_BUILD)/lib/mathjax $(HTML_BUILD)/conf
|
||||
|
||||
cp -r lib/img $(HTML_BUILD)/lib/
|
||||
cp -r lib/diag $(HTML_BUILD)/lib/
|
||||
cp -r lib/mathjax $(HTML_BUILD)/lib/
|
||||
cp conf/style.css $(HTML_BUILD)/conf/
|
||||
|
||||
# HTML metadata
|
||||
scripts/replace-metadata.sh $(METADATA) templates/html.yaml conf/html.yaml
|
||||
scripts/replace-metadata.sh $(METADATA) templates/frontmatter.html conf/frontmatter.html
|
||||
|
||||
# Build HTML
|
||||
$(PANDOC) --defaults=$(BASE) --defaults=conf/html.yaml \
|
||||
-o $(HTML_BUILD)/$(META_NAME).html
|
||||
|
||||
@echo "Produced $(HTML_BUILD)/$(META_NAME).html"
|
||||
|
||||
open $(HTML_BUILD)/$(META_NAME).html
|
||||
|
||||
# ============================================================
|
||||
# EPUB
|
||||
# ============================================================
|
||||
epub:
|
||||
rm -rf $(EPUB_BUILD)
|
||||
mkdir -p $(EPUB_BUILD)/media
|
||||
|
||||
scripts/replace-metadata.sh $(METADATA) templates/epub.yaml conf/epub.yaml
|
||||
scripts/replace-metadata.sh $(METADATA) templates/frontmatter.html conf/frontmatter.html
|
||||
|
||||
$(PANDOC) --defaults=$(BASE) --defaults=conf/epub.yaml \
|
||||
-o $(EPUB_BUILD)/$(META_NAME).epub
|
||||
|
||||
@echo "Produced $(EPUB_BUILD)/$(META_NAME).epub"
|
||||
|
||||
|
||||
# ============================================================
|
||||
# MARKDOWN
|
||||
# ============================================================
|
||||
markdown:
|
||||
@mkdir -p build
|
||||
@scripts/build-frontmatter.sh conf/metadata.yaml templates/markdown.yaml conf/markdown.yaml
|
||||
@scripts/build-frontmatter.sh conf/metadata.yaml templates/frontmatter-md.html conf/frontmatter-md.html
|
||||
$(PANDOC) --defaults=$(BASE) --defaults=conf/markdown.yaml
|
||||
rm -rf $(MD_BUILD)
|
||||
mkdir -p $(MD_BUILD)
|
||||
cp -r lib/img $(MD_BUILD)/lib/
|
||||
cp -r lib/diag $(MD_BUILD)/lib/
|
||||
cp -r lib/mathjax $(MD_BUILD)/lib/
|
||||
|
||||
scripts/replace-metadata.sh $(METADATA) templates/markdown.yaml conf/markdown.yaml
|
||||
scripts/replace-metadata.sh $(METADATA) templates/frontmatter-md.html conf/frontmatter-md.html
|
||||
|
||||
$(PANDOC) --defaults=$(BASE) --defaults=conf/markdown.yaml \
|
||||
-o $(MD_BUILD)/$(META_NAME).md
|
||||
|
||||
@echo "Produced $(MD_BUILD)/$(META_NAME).md"
|
||||
|
||||
|
||||
# ============================================================
|
||||
# CLEAN
|
||||
# ============================================================
|
||||
clean:
|
||||
rm -rf build
|
||||
|
|
|
|||
|
|
@ -0,0 +1,370 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="generator" content="pandoc" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||
<title>Basic Book Builder</title>
|
||||
<style>
|
||||
/* Default styles provided by pandoc.
|
||||
** See https://pandoc.org/MANUAL.html#variables-for-html for config info.
|
||||
*/
|
||||
code{white-space: pre-wrap;}
|
||||
span.smallcaps{font-variant: small-caps;}
|
||||
div.columns{display: flex; gap: min(4vw, 1.5em);}
|
||||
div.column{flex: auto; overflow-x: auto;}
|
||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
||||
/* The extra [class] is a hack that increases specificity enough to
|
||||
override a similar rule in reveal.js */
|
||||
ul.task-list[class]{list-style: none;}
|
||||
ul.task-list li input[type="checkbox"] {
|
||||
font-size: inherit;
|
||||
width: 0.8em;
|
||||
margin: 0 0.8em 0.2em -1.6em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
|
||||
/* CSS for citations */
|
||||
div.csl-bib-body { }
|
||||
div.csl-entry {
|
||||
clear: both;
|
||||
}
|
||||
.hanging-indent div.csl-entry {
|
||||
margin-left:2em;
|
||||
text-indent:-2em;
|
||||
}
|
||||
div.csl-left-margin {
|
||||
min-width:2em;
|
||||
float:left;
|
||||
}
|
||||
div.csl-right-inline {
|
||||
margin-left:2em;
|
||||
padding-left:1em;
|
||||
}
|
||||
div.csl-indent {
|
||||
margin-left: 2em;
|
||||
} </style>
|
||||
<link rel="stylesheet" href="conf/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="frontmatter">
|
||||
|
||||
<!-- Title Page -->
|
||||
<h1 class="titlepage" style="margin-top:3em; font-size:2.4em; text-align:center;">Basic Book Builder</h1>
|
||||
<h2 style="text-align:center; font-weight:normal;">A Pandoc template for building books and articles</h2>
|
||||
|
||||
<div style="text-align:center; margin:2em 0;">
|
||||
<img src="lib/img/UAF-ACEP.png" alt="Cover illustration" style="max-width:350px;">
|
||||
</div>
|
||||
|
||||
<hr style="margin:3em 0;">
|
||||
|
||||
|
||||
<!-- Metadata Page -->
|
||||
<div style="text-align:left; margin-top:5em;">
|
||||
|
||||
<h2>Basic Book Builder</h2>
|
||||
<i>A Pandoc template for building books and articles</i>
|
||||
|
||||
<table style="margin-top:2em; width:50%; border-collapse:collapse;">
|
||||
<tbody>
|
||||
<tr><td style="font-weight:bold;">Author</td><td>John Haverlack</td></tr>
|
||||
<tr><td style="font-weight:bold;">Version</td><td>1.1.0</td></tr>
|
||||
<tr><td style="font-weight:bold;">Date</td><td>2026-02-04</td></tr>
|
||||
<tr><td style="font-weight:bold;">ISBN:</td><td>UNSPECIFIED</td></tr>
|
||||
<tr><td style="font-weight:bold;">DOI:</td><td>UNSPECIFIED</td></tr>
|
||||
<tr><td style="font-weight:bold;">Maturity</td><td>BETA</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<p>Copyright © 2026 Alaska Center for Energy and Power</p>
|
||||
|
||||
<h3>Licensing</h3>
|
||||
|
||||
<h4>Open Source Edition (PDF and HTML)</h4>
|
||||
<p>Licensed under the Creative Commons Attribution-NoDerivatives 4.0 International License
|
||||
<ul>
|
||||
<li>License: <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC BY-ND 4.0</a></li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<!-- <h4>Commercial Edition (ebook and print)</h4>
|
||||
<p>All Rights Reserved. No part of the EPUB or printed editions may be reproduced or redistributed without permission.</p> -->
|
||||
|
||||
</div>
|
||||
|
||||
<hr style="margin:4em 0;">
|
||||
|
||||
<!-- Image attribution + perception note (PDF analog) -->
|
||||
<!-- <div style="width:100%; text-align:left; display:block; margin:1em 0;">
|
||||
<h2>Cover Illustration</Code></h2>
|
||||
</div>
|
||||
<div style="max-width:40em; margin:auto;">
|
||||
Cover illustration by <a href="$img-attribution-url$">$img-attribution$</a>.
|
||||
</div> -->
|
||||
|
||||
</div>
|
||||
|
||||
<!-- <hr style="margin:4em 0;">
|
||||
|
||||
<div style="max-width:40em; margin:auto;">
|
||||
<div style="width:100%; text-align:center; display:block; margin:1em 0; font-style: italic;">
|
||||
This book is dedicated to ****.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr style="margin:4em 0;"> -->
|
||||
|
||||
<script>
|
||||
window.MathJax = {
|
||||
tex: { inlineMath: [['$', '$'], ['\\(', '\\)']] },
|
||||
svg: { fontCache: 'global' }
|
||||
};
|
||||
</script>
|
||||
<script src="lib/mathjax/tex-mml-chtml.js"></script>
|
||||
<header id="title-block-header">
|
||||
<h1 class="title">Basic Book Builder</h1>
|
||||
</header>
|
||||
<nav id="TOC" role="doc-toc">
|
||||
<h2 id="toc-title">Contents</h2>
|
||||
<ul>
|
||||
<li><a href="#preface" id="toc-preface">Preface</a></li>
|
||||
<li><a href="#introduction" id="toc-introduction">Introduction</a></li>
|
||||
<li><a href="#getting-started" id="toc-getting-started">Getting
|
||||
Started</a>
|
||||
<ul>
|
||||
<li><a href="#installing-pre-requisites"
|
||||
id="toc-installing-pre-requisites">Installing Pre-Requisites</a>
|
||||
<ul>
|
||||
<li><a href="#required" id="toc-required">Required</a></li>
|
||||
<li><a href="#optional" id="toc-optional">Optional</a></li>
|
||||
</ul></li>
|
||||
<li><a href="#editing-the-configuration"
|
||||
id="toc-editing-the-configuration">Editing the Configuration</a></li>
|
||||
</ul></li>
|
||||
<li><a href="#editing-the-book" id="toc-editing-the-book">Editing the
|
||||
Book</a>
|
||||
<ul>
|
||||
<li><a href="#configuration"
|
||||
id="toc-configuration">Configuration</a></li>
|
||||
<li><a href="#frontmatter-config"
|
||||
id="toc-frontmatter-config">FrontMatter Config</a></li>
|
||||
<li><a href="#editing-the-content" id="toc-editing-the-content">Editing
|
||||
the Content</a>
|
||||
<ul>
|
||||
<li><a href="#citations" id="toc-citations">Citations</a></li>
|
||||
</ul></li>
|
||||
<li><a href="#usage-building-the-book"
|
||||
id="toc-usage-building-the-book">Usage: Building the Book</a></li>
|
||||
</ul></li>
|
||||
<li><a href="#glossary" id="toc-glossary">Glossary</a></li>
|
||||
<li><a href="#bibliography" id="toc-bibliography">Bibliography</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<h1 class="unnumbered" id="preface">Preface</h1>
|
||||
<p>Preface t the Book…</p>
|
||||
<h1 id="introduction">Introduction</h1>
|
||||
<p>This is a basic book (or article) builder template based on a Pandoc
|
||||
build process in conjunction with a number of other tools to generate
|
||||
PDF, ODT, HTML, LaTex, Markdown, and Epub book output formats from
|
||||
Markdown source content , which can optionally be edited as an Obsidian
|
||||
vault.</p>
|
||||
<p>This book builder template has been curated by John Haverlack.<span
|
||||
class="citation" data-cites="JohnHaverlackACEP">(<a
|
||||
href="#ref-JohnHaverlackACEP" role="doc-biblioref"><em>John
|
||||
<span>Haverlack</span> <span>ACEP</span></em>, n.d.</a>)</span></p>
|
||||
<h1 id="getting-started">Getting Started</h1>
|
||||
<h2 id="installing-pre-requisites">Installing Pre-Requisites</h2>
|
||||
<p>For Debian / ZorinOS and likely Ubuntu based systems.</p>
|
||||
<div class="callout-caution">
|
||||
<p><strong>TODO</strong></p>
|
||||
<p> It would be nice to roll a setup script to take care of this.</p>
|
||||
</div>
|
||||
<h3 id="required">Required</h3>
|
||||
<h4 id="pandoc">Pandoc</h4>
|
||||
<ul>
|
||||
<li>https://pandoc.org/</li>
|
||||
<li><a
|
||||
href="https://github.com/jgm/pandoc/releases/tag/3.8.2.1">Download</a></li>
|
||||
</ul>
|
||||
<blockquote>
|
||||
<p><code>sudo apt install https://github.com/jgm/pandoc/releases/download/3.8.2.1/pandoc-3.8.2.1-1-amd64.deb</code></p>
|
||||
</blockquote>
|
||||
<h4 id="code-editor">Code Editor</h4>
|
||||
<div class="callout-established">
|
||||
<p><strong>Code Editor</strong></p>
|
||||
<p> <a href="https://vscodium.com/">VSCodium</a> is recommend for
|
||||
privacy (telemetry/tracking) reasons - https://vscodium.com/</p>
|
||||
</div>
|
||||
<p>But any text editor will work. #### make</p>
|
||||
<pre><code>sudo apt install make</code></pre>
|
||||
<h4 id="jq-and-yq">jq and yq</h4>
|
||||
<pre><code>sudo apt install jq yq</code></pre>
|
||||
<h4 id="texlive">texlive</h4>
|
||||
<blockquote>
|
||||
<p><code>sudo apt install texlive texlive-xetex texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra</code></p>
|
||||
</blockquote>
|
||||
<h4 id="mathjax">MathJax</h4>
|
||||
<ul>
|
||||
<li>https://www.mathjax.org/</li>
|
||||
</ul>
|
||||
<pre><code>wget https://registry.npmjs.org/mathjax/-/mathjax-3.2.2.tgz
|
||||
tar xzf mathjax-3.2.2.tgz
|
||||
mv package/es5/* lib/mathjax
|
||||
rm -rf package mathjax-3.2.2.tgz</code></pre>
|
||||
<div class="callout-caution">
|
||||
<p><strong>TODO</strong></p>
|
||||
<p> This need to be rolled into a setup script.</p>
|
||||
</div>
|
||||
<h3 id="optional">Optional</h3>
|
||||
<p>The following are not strictly requires to use this book builder
|
||||
template.</p>
|
||||
<h4 id="obsidian">Obsidian</h4>
|
||||
<div class="callout-established">
|
||||
<p><strong>Highly Recommended</strong></p>
|
||||
<p> Editing book chapter content in Obsidian is a very productive means
|
||||
for editing Markdown source content.</p>
|
||||
</div>
|
||||
<ul>
|
||||
<li>https://obsidian.md/</li>
|
||||
<li><a
|
||||
href="https://github.com/obsidianmd/obsidian-releases/releases/download/v1.9.14/obsidian_1.9.14_amd64.deb">Deb
|
||||
Package</a></li>
|
||||
</ul>
|
||||
<pre><code>sudo apt install https://github.com/obsidianmd/obsidian-releases/releases/download/v1.9.14/obsidian_1.9.14_amd64.deb</code></pre>
|
||||
<h4 id="zotero">Zotero</h4>
|
||||
<div class="callout-established">
|
||||
<p><strong>Highly Recommended</strong></p>
|
||||
<p> If you need to managed citations and references, Zotero integration
|
||||
is highly recommended.</p>
|
||||
</div>
|
||||
<ul>
|
||||
<li>https://www.zotero.org/</li>
|
||||
</ul>
|
||||
<pre><code>sudo cp ./scripts/deps/zotero.list /etc/apt/sources.list.d/</code></pre>
|
||||
<pre><code>sudo apt update</code></pre>
|
||||
<pre><code>sudo apt install zotero</code></pre>
|
||||
<h5 id="better-bibtex-for-zotero">Better BibTex for Zotero</h5>
|
||||
<p>Install the Better BibTex Plugin for Zotero - Zotero > Tool >
|
||||
Plugins</p>
|
||||
<h5 id="export-citations.bib">Export citations.bib</h5>
|
||||
<ul>
|
||||
<li>Zotero > File > Export Library > Format: Better BibTeX</li>
|
||||
<li><label><input type="checkbox" />Keep Updated</label></li>
|
||||
<li><label><input type="checkbox" />Save to:
|
||||
~/Documents/Lib/zotero.bib</label></li>
|
||||
<li><label><input type="checkbox" />Symlink your
|
||||
~/Documents/Lib/Citations.bib to
|
||||
basic-book-builder/lib/zotero.bib</label></li>
|
||||
</ul>
|
||||
<h5 id="zotero-connector-browser-plugin">Zotero Connector Browser
|
||||
Plugin</h5>
|
||||
<ul>
|
||||
<li>https://chromewebstore.google.com/detail/zotero-connector/ekhagklcjbdpajgpjgmbionohlpdbjgc</li>
|
||||
</ul>
|
||||
<p>Provides you the ability to auto add Web resources to your Zotero
|
||||
citation database.</p>
|
||||
<h4 id="lmodern">lmodern</h4>
|
||||
<pre><code>sudo apt install lmodern</code></pre>
|
||||
<h4 id="epubcheck">epubcheck</h4>
|
||||
<pre><code>sudo apt install epubcheck</code></pre>
|
||||
<h4 id="foliate">foliate</h4>
|
||||
<p>An EPub Reader</p>
|
||||
<ul>
|
||||
<li>https://johnfactotum.github.io/foliate/</li>
|
||||
</ul>
|
||||
<pre><code>sudo apt install https://github.com/johnfactotum/foliate/releases/download/2.6.4/com.github.johnfactotum.foliate_2.6.4_all.deb</code></pre>
|
||||
<h4 id="calibre">calibre</h4>
|
||||
<p>An EPub Reader</p>
|
||||
<ul>
|
||||
<li>https://calibre-ebook.com</li>
|
||||
</ul>
|
||||
<pre><code>sudo apt install calibre</code></pre>
|
||||
<h2 id="editing-the-configuration">Editing the Configuration</h2>
|
||||
<h1 id="editing-the-book">Editing the Book</h1>
|
||||
<h3 id="configuration">Configuration</h3>
|
||||
<p>There are a number of other config files for each format:</p>
|
||||
<pre><code>conf/
|
||||
├── epub-metadata.xml
|
||||
├── epub_template.html
|
||||
├── epub.yaml
|
||||
├── frontmatter_epub.md
|
||||
├── frontmatter_epub.xhtml
|
||||
├── frontmatter.html
|
||||
├── frontmatter.tex
|
||||
├── header.tex
|
||||
├── html.yaml
|
||||
├── latex.yaml
|
||||
├── markdown.yaml
|
||||
├── metadata.yaml
|
||||
├── pandoc.yaml
|
||||
├── pdf.yaml
|
||||
├── style.css
|
||||
└── style_epub.css
|
||||
</code></pre>
|
||||
<h4 id="main-config-files">Main Config Files</h4>
|
||||
<ul>
|
||||
<li>metadata.yaml - Set Title, etc</li>
|
||||
<li>pandoc.yaml - Main Pandoc Config #### Per format Configs</li>
|
||||
<li><code>pdf.yaml</code></li>
|
||||
<li><code>html.yaml</code></li>
|
||||
<li><code>latex.yaml</code></li>
|
||||
<li><code>epub.yaml</code></li>
|
||||
</ul>
|
||||
<h3 id="frontmatter-config">FrontMatter Config</h3>
|
||||
<p>There are 2 Version of the FrontMatter for PDF, and HTML bases
|
||||
formats that set the Title, Author, Verizon, Copyright, etc…</p>
|
||||
<ul>
|
||||
<li><code>frontmatter.tex</code></li>
|
||||
<li><code>frontmatter.html</code></li>
|
||||
<li><code>frontmatter_epub.*</code> - Work in Progress</li>
|
||||
</ul>
|
||||
<blockquote>
|
||||
<p>There is probably a better way to do this.</p>
|
||||
</blockquote>
|
||||
<h2 id="editing-the-content">Editing the Content</h2>
|
||||
<p>To edit the book open the <code>basic-book-builder</code> directory
|
||||
as an Obsidian Vault.</p>
|
||||
<ul>
|
||||
<li>Edit the Markdown content in the <code>chapters</code>
|
||||
directory.</li>
|
||||
</ul>
|
||||
<h3 id="citations">Citations</h3>
|
||||
<blockquote>
|
||||
<p>Note: the Zotero database needs configured to export automatically to
|
||||
<code>lib/citations.bib</code></p>
|
||||
</blockquote>
|
||||
<p>To insert a Zotero Citation - Ensure the Zotero App and DB are
|
||||
running on you system. - Alt + I (to insert citation) - Search for and
|
||||
select citation reference</p>
|
||||
<h2 id="usage-building-the-book">Usage: Building the Book</h2>
|
||||
<h4 id="pdf">PDF</h4>
|
||||
<pre><code>make pdf</code></pre>
|
||||
<h4 id="html">HTML</h4>
|
||||
<pre><code>make html</code></pre>
|
||||
<h4 id="latex">LaTex</h4>
|
||||
<pre><code>make latex</code></pre>
|
||||
<h4 id="markdown">Markdown</h4>
|
||||
<pre><code>make markdown</code></pre>
|
||||
<h4 id="epub">EPub</h4>
|
||||
<blockquote>
|
||||
<p>Note: This ePub configuration still needs tuning.</p>
|
||||
</blockquote>
|
||||
<pre><code>make epub</code></pre>
|
||||
<p>Appendix A</p>
|
||||
<p>First Appendix</p>
|
||||
<h1 class="unnumbered" id="glossary">Glossary</h1>
|
||||
<ul>
|
||||
<li><strong>AI</strong> - Artificial Intelligence</li>
|
||||
<li></li>
|
||||
</ul>
|
||||
<h1 class="unnumbered" id="bibliography">Bibliography</h1>
|
||||
<div id="refs" class="references csl-bib-body hanging-indent"
|
||||
role="list">
|
||||
<div id="ref-JohnHaverlackACEP" class="csl-entry" role="listitem">
|
||||
<em>John <span>Haverlack</span> <span>ACEP</span></em>. n.d.
|
||||
Https://www.uaf.edu/acep/about/our-team/john-haverlack.php.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,251 @@
|
|||
/* ------------------------------
|
||||
Base book typography
|
||||
------------------------------ */
|
||||
|
||||
body {
|
||||
font-family: "Libertinus Serif", Georgia, serif;
|
||||
max-width: 42em;
|
||||
margin: auto;
|
||||
padding: 3rem 1.25rem;
|
||||
line-height: 1.65;
|
||||
background: #fff;
|
||||
color: #111;
|
||||
}
|
||||
|
||||
/* ------------------------------
|
||||
Headings
|
||||
------------------------------ */
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
font-family: "Libertinus Sans", sans-serif;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.1rem;
|
||||
}
|
||||
|
||||
h1.titlepage {
|
||||
border-bottom: 2px solid #ddd;
|
||||
padding-bottom: 0.4rem;
|
||||
margin-top: 2em;
|
||||
margin-bottom: 0.6em;
|
||||
}
|
||||
|
||||
h1.title {
|
||||
display: none;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
/* ------------------------------
|
||||
Front matter page
|
||||
------------------------------ */
|
||||
|
||||
.frontmatter {
|
||||
text-align: center;
|
||||
margin-top: 10vh;
|
||||
}
|
||||
|
||||
.frontmatter img {
|
||||
max-width: 30%;
|
||||
margin: 2rem auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* ------------------------------
|
||||
Lists / paragraphs
|
||||
------------------------------ */
|
||||
|
||||
p {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
padding-left: 1.5em;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
/* ------------------------------
|
||||
Math block spacing
|
||||
------------------------------ */
|
||||
|
||||
.math.display {
|
||||
margin: 1.2em 0;
|
||||
}
|
||||
|
||||
/* ------------------------------
|
||||
Callouts (final tuned spacing)
|
||||
------------------------------ */
|
||||
|
||||
.callout-established,
|
||||
.callout-proposed,
|
||||
.callout-speculative,
|
||||
.callout-caution,
|
||||
.callout-warning,
|
||||
.callout-danger {
|
||||
border-radius: 6px;
|
||||
padding: 5px; /* internal padding */
|
||||
margin-top: 5px; /* external spacing tightened */
|
||||
margin-bottom: 5px;
|
||||
border-left: 6px solid;
|
||||
background: #fefefe;
|
||||
}
|
||||
|
||||
/* Title line */
|
||||
.callout-established p:first-child strong,
|
||||
.callout-proposed p:first-child strong,
|
||||
.callout-speculative p:first-child strong,
|
||||
.callout-caution p:first-child strong,
|
||||
.callout-warning p:first-child strong,
|
||||
.callout-danger p:first-child strong {
|
||||
display: block;
|
||||
font-family: "Libertinus Sans", sans-serif;
|
||||
font-weight: 600;
|
||||
font-size: 1.05rem;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
/* Paragraphs inside callouts */
|
||||
.callout-established p,
|
||||
.callout-proposed p,
|
||||
.callout-speculative p,
|
||||
.callout-caution p,
|
||||
.callout-warning p,
|
||||
.callout-danger p {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
line-height: 1.45; /* slightly condensed text spacing */
|
||||
}
|
||||
|
||||
/* Remove top margin on first paragraph, bottom on last */
|
||||
.callout-established p:first-child,
|
||||
.callout-proposed p:first-child,
|
||||
.callout-speculative p:first-child,
|
||||
.callout-caution p:first-child,
|
||||
.callout-warning p:first-child,
|
||||
.callout-danger p:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
.callout-established p:last-child,
|
||||
.callout-proposed p:last-child,
|
||||
.callout-speculative p:last-child,
|
||||
.callout-caution p:last-child,
|
||||
.callout-warning p:last-child,
|
||||
.callout-danger p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Math inside callouts */
|
||||
.callout-established .math.display,
|
||||
.callout-proposed .math.display,
|
||||
.callout-speculative .math.display,
|
||||
.callout-caution .math.display,
|
||||
.callout-warning .math.display,
|
||||
.callout-danger .math.display {
|
||||
margin: 0.4em 0;
|
||||
}
|
||||
|
||||
/* Colors */
|
||||
.callout-established {
|
||||
background: #e8f7e8;
|
||||
border-left-color: #3a8d3a;
|
||||
}
|
||||
.callout-proposed {
|
||||
background: #e8f0ff;
|
||||
border-left-color: #3b6dd8;
|
||||
}
|
||||
.callout-speculative {
|
||||
background: #f7e8ff;
|
||||
border-left-color: #8b2be2;
|
||||
}
|
||||
|
||||
.callout-caution {
|
||||
background: #fff0e8;
|
||||
border-left-color: #f5a22f;
|
||||
}
|
||||
|
||||
.callout-warning {
|
||||
background: #fff0e8;
|
||||
border-left-color: #f5a22f;
|
||||
}
|
||||
|
||||
.callout-danger {
|
||||
background: #ffe8e8;
|
||||
border-left-color: #d83b3a;
|
||||
}
|
||||
|
||||
/* ------------------------------
|
||||
Images (in body content)
|
||||
------------------------------ */
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
margin: 1.2em auto;
|
||||
}
|
||||
|
||||
/* ------------------------------
|
||||
Blockquotes (normal ones)
|
||||
------------------------------ */
|
||||
|
||||
blockquote {
|
||||
border-left: 4px solid #ccc;
|
||||
padding-left: 1em;
|
||||
font-style: italic;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
/* ------------------------------
|
||||
Horizontal rule
|
||||
------------------------------ */
|
||||
|
||||
hr {
|
||||
margin: 3rem 0;
|
||||
border: none;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
|
||||
/* ------------------------------
|
||||
Code (rare in your book)
|
||||
------------------------------ */
|
||||
|
||||
code {
|
||||
background: #f3f3f3;
|
||||
padding: 0.1em 0.3em;
|
||||
border-radius: 4px;
|
||||
font-size: 0.95em;
|
||||
}
|
||||
|
||||
/* Force all header cells to left-align their text */
|
||||
table thead th {
|
||||
text-align: left !important;
|
||||
vertical-align: bottom; /* optional: aligns nicely with text baseline */
|
||||
padding: 4px 8px; /* optional: consistent spacing */
|
||||
}
|
||||
|
||||
/* Make data cells match if you want consistent left alignment */
|
||||
table tbody td {
|
||||
text-align: left;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
||||
/* Optional: keep math inline nicely aligned */
|
||||
table td .math,
|
||||
table th .math {
|
||||
display: inline-block;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
/* Optional: make math display nicely aligned */
|
||||
table td .math.display,
|
||||
table th .math.display {
|
||||
display: block;
|
||||
margin: 0.4em 0;
|
||||
}
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 7.0 KiB |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 41 KiB |
|
After Width: | Height: | Size: 8.9 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 41 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
|
After Width: | Height: | Size: 9.9 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 350 350"><path fill="#aaa" d="M0 0h350v350H0z"/><g transform="translate(175 175)"><circle r="3"/><g fill="none" stroke-linecap="square"><g id="a"><path stroke="#eee" d="m-8-106 4-12H9"/><path stroke="#777" d="m9-118-4 12H-8"/></g><use xlink:href="#a" transform="rotate(12)"/><use xlink:href="#a" transform="rotate(24)"/><use xlink:href="#a" transform="rotate(36)"/><use xlink:href="#a" transform="rotate(48)"/><use xlink:href="#a" transform="rotate(60)"/><use xlink:href="#a" transform="rotate(72)"/><use xlink:href="#a" transform="rotate(84)"/><use xlink:href="#a" transform="rotate(96)"/><use xlink:href="#a" transform="rotate(108)"/><use xlink:href="#a" transform="rotate(120)"/><use xlink:href="#a" transform="rotate(132)"/><use xlink:href="#a" transform="rotate(144)"/><use xlink:href="#a" transform="rotate(156)"/><use xlink:href="#a" transform="rotate(168)"/><use xlink:href="#a" transform="rotate(180)"/><use xlink:href="#a" transform="rotate(-12)"/><use xlink:href="#a" transform="rotate(-24)"/><use xlink:href="#a" transform="rotate(-36)"/><use xlink:href="#a" transform="rotate(-48)"/><use xlink:href="#a" transform="rotate(-60)"/><use xlink:href="#a" transform="rotate(-72)"/><use xlink:href="#a" transform="rotate(-84)"/><use xlink:href="#a" transform="rotate(-96)"/><use xlink:href="#a" transform="rotate(-108)"/><use xlink:href="#a" transform="rotate(-120)"/><use xlink:href="#a" transform="rotate(-132)"/><use xlink:href="#a" transform="rotate(-144)"/><use xlink:href="#a" transform="rotate(-156)"/><use xlink:href="#a" transform="rotate(-168)"/><g id="b"><path stroke="#eee" d="m10-135-4-12H-7"/><path stroke="#777" d="m-7-147 4 12h13"/></g><use xlink:href="#b" transform="rotate(10)"/><use xlink:href="#b" transform="rotate(20)"/><use xlink:href="#b" transform="rotate(30)"/><use xlink:href="#b" transform="rotate(40)"/><use xlink:href="#b" transform="rotate(50)"/><use xlink:href="#b" transform="rotate(60)"/><use xlink:href="#b" transform="rotate(70)"/><use xlink:href="#b" transform="rotate(80)"/><use xlink:href="#b" transform="rotate(90)"/><use xlink:href="#b" transform="rotate(100)"/><use xlink:href="#b" transform="rotate(110)"/><use xlink:href="#b" transform="rotate(120)"/><use xlink:href="#b" transform="rotate(130)"/><use xlink:href="#b" transform="rotate(140)"/><use xlink:href="#b" transform="rotate(150)"/><use xlink:href="#b" transform="rotate(160)"/><use xlink:href="#b" transform="rotate(170)"/><use xlink:href="#b" transform="rotate(180)"/><use xlink:href="#b" transform="rotate(-10)"/><use xlink:href="#b" transform="rotate(-20)"/><use xlink:href="#b" transform="rotate(-30)"/><use xlink:href="#b" transform="rotate(-40)"/><use xlink:href="#b" transform="rotate(-50)"/><use xlink:href="#b" transform="rotate(-60)"/><use xlink:href="#b" transform="rotate(-70)"/><use xlink:href="#b" transform="rotate(-80)"/><use xlink:href="#b" transform="rotate(-90)"/><use xlink:href="#b" transform="rotate(-100)"/><use xlink:href="#b" transform="rotate(-110)"/><use xlink:href="#b" transform="rotate(-120)"/><use xlink:href="#b" transform="rotate(-130)"/><use xlink:href="#b" transform="rotate(-140)"/><use xlink:href="#b" transform="rotate(-150)"/><use xlink:href="#b" transform="rotate(-160)"/><use xlink:href="#b" transform="rotate(-170)"/></g></g></svg>
|
||||
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 9.9 KiB |
|
After Width: | Height: | Size: 9.9 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 101 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
|
@ -0,0 +1 @@
|
|||
!function(){"use strict";var t,a,e,o={667:function(t,a){a.q=void 0,a.q="3.2.2"},669:function(t,a,e){var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(a,"__esModule",{value:!0}),a.ActionConfiguration=a.ActionMethods=void 0;var n=e(251),i=o(e(193)),r=e(871),u=o(e(360));a.ActionMethods={},a.ActionMethods.Macro=u.default.Macro,a.ActionMethods.Toggle=function(t,a){for(var e,o=[];"\\endtoggle"!==(e=t.GetArgument(a));)o.push(new i.default(e,t.stack.env,t.configuration).mml());t.Push(t.create("node","maction",o,{actiontype:"toggle"}))},a.ActionMethods.Mathtip=function(t,a){var e=t.ParseArg(a),o=t.ParseArg(a);t.Push(t.create("node","maction",[e,o],{actiontype:"tooltip"}))},new r.CommandMap("action-macros",{toggle:"Toggle",mathtip:"Mathtip",texttip:["Macro","\\mathtip{#1}{\\text{#2}}",2]},a.ActionMethods),a.ActionConfiguration=n.Configuration.create("action",{handler:{macro:["action-macros"]}})},955:function(t,a){MathJax._.components.global.isObject,MathJax._.components.global.combineConfig,MathJax._.components.global.combineDefaults,a.r8=MathJax._.components.global.combineWithMathJax,MathJax._.components.global.MathJax},251:function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.Configuration=MathJax._.input.tex.Configuration.Configuration,a.ConfigurationHandler=MathJax._.input.tex.Configuration.ConfigurationHandler,a.ParserConfiguration=MathJax._.input.tex.Configuration.ParserConfiguration},871:function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.parseResult=MathJax._.input.tex.SymbolMap.parseResult,a.AbstractSymbolMap=MathJax._.input.tex.SymbolMap.AbstractSymbolMap,a.RegExpMap=MathJax._.input.tex.SymbolMap.RegExpMap,a.AbstractParseMap=MathJax._.input.tex.SymbolMap.AbstractParseMap,a.CharacterMap=MathJax._.input.tex.SymbolMap.CharacterMap,a.DelimiterMap=MathJax._.input.tex.SymbolMap.DelimiterMap,a.MacroMap=MathJax._.input.tex.SymbolMap.MacroMap,a.CommandMap=MathJax._.input.tex.SymbolMap.CommandMap,a.EnvironmentMap=MathJax._.input.tex.SymbolMap.EnvironmentMap},193:function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=MathJax._.input.tex.TexParser.default},360:function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=MathJax._.input.tex.base.BaseMethods.default}},n={};function i(t){var a=n[t];if(void 0!==a)return a.exports;var e=n[t]={exports:{}};return o[t].call(e.exports,e,e.exports,i),e.exports}t=i(955),a=i(667),e=i(669),MathJax.loader&&MathJax.loader.checkVersion("[tex]/action",a.q,"tex-extension"),(0,t.r8)({_:{input:{tex:{action:{ActionConfiguration:e}}}}})}();
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(){"use strict";var t,a,e,o={667:function(t,a){a.q=void 0,a.q="3.2.2"},133:function(t,a,e){var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(a,"__esModule",{value:!0}),a.BboxConfiguration=a.BboxMethods=void 0;var n=e(251),i=e(871),r=o(e(402));a.BboxMethods={},a.BboxMethods.BBox=function(t,a){for(var e,o,n,i=t.GetBrackets(a,""),l=t.ParseArg(a),x=i.split(/,/),M=0,s=x.length;M<s;M++){var c=x[M].trim(),d=c.match(/^(\.\d+|\d+(\.\d*)?)(pt|em|ex|mu|px|in|cm|mm)$/);if(d){if(e)throw new r.default("MultipleBBoxProperty","%1 specified twice in %2","Padding",a);var f=u(d[1]+d[3]);f&&(e={height:"+"+f,depth:"+"+f,lspace:f,width:"+"+2*parseInt(d[1],10)+d[3]})}else if(c.match(/^([a-z0-9]+|\#[0-9a-f]{6}|\#[0-9a-f]{3})$/i)){if(o)throw new r.default("MultipleBBoxProperty","%1 specified twice in %2","Background",a);o=c}else if(c.match(/^[-a-z]+:/i)){if(n)throw new r.default("MultipleBBoxProperty","%1 specified twice in %2","Style",a);n=p(c)}else if(""!==c)throw new r.default("InvalidBBoxProperty",'"%1" doesn\'t look like a color, a padding dimension, or a style',c)}e&&(l=t.create("node","mpadded",[l],e)),(o||n)&&(e={},o&&Object.assign(e,{mathbackground:o}),n&&Object.assign(e,{style:n}),l=t.create("node","mstyle",[l],e)),t.Push(l)};var p=function(t){return t},u=function(t){return t};new i.CommandMap("bbox",{bbox:"BBox"},a.BboxMethods),a.BboxConfiguration=n.Configuration.create("bbox",{handler:{macro:["bbox"]}})},955:function(t,a){MathJax._.components.global.isObject,MathJax._.components.global.combineConfig,MathJax._.components.global.combineDefaults,a.r8=MathJax._.components.global.combineWithMathJax,MathJax._.components.global.MathJax},251:function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.Configuration=MathJax._.input.tex.Configuration.Configuration,a.ConfigurationHandler=MathJax._.input.tex.Configuration.ConfigurationHandler,a.ParserConfiguration=MathJax._.input.tex.Configuration.ParserConfiguration},871:function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.parseResult=MathJax._.input.tex.SymbolMap.parseResult,a.AbstractSymbolMap=MathJax._.input.tex.SymbolMap.AbstractSymbolMap,a.RegExpMap=MathJax._.input.tex.SymbolMap.RegExpMap,a.AbstractParseMap=MathJax._.input.tex.SymbolMap.AbstractParseMap,a.CharacterMap=MathJax._.input.tex.SymbolMap.CharacterMap,a.DelimiterMap=MathJax._.input.tex.SymbolMap.DelimiterMap,a.MacroMap=MathJax._.input.tex.SymbolMap.MacroMap,a.CommandMap=MathJax._.input.tex.SymbolMap.CommandMap,a.EnvironmentMap=MathJax._.input.tex.SymbolMap.EnvironmentMap},402:function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=MathJax._.input.tex.TexError.default}},n={};function i(t){var a=n[t];if(void 0!==a)return a.exports;var e=n[t]={exports:{}};return o[t].call(e.exports,e,e.exports,i),e.exports}t=i(955),a=i(667),e=i(133),MathJax.loader&&MathJax.loader.checkVersion("[tex]/bbox",a.q,"tex-extension"),(0,t.r8)({_:{input:{tex:{bbox:{BboxConfiguration:e}}}}})}();
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(){"use strict";var t,a,o,e={667:function(t,a){a.q=void 0,a.q="3.2.2"},986:function(t,a,o){var e=this&&this.__values||function(t){var a="function"==typeof Symbol&&Symbol.iterator,o=a&&t[a],e=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&e>=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")},n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(a,"__esModule",{value:!0}),a.BoldsymbolConfiguration=a.rewriteBoldTokens=a.createBoldToken=a.BoldsymbolMethods=void 0;var r=o(251),i=n(o(748)),l=o(108),s=o(871),u=o(348),d={};function x(t,a,o,e){var n=u.NodeFactory.createToken(t,a,o,e);return"mtext"!==a&&t.configuration.parser.stack.env.boldsymbol&&(i.default.setProperty(n,"fixBold",!0),t.configuration.addNode("fixBold",n)),n}function p(t){var a,o;try{for(var n=e(t.data.getList("fixBold")),r=n.next();!r.done;r=n.next()){var s=r.value;if(i.default.getProperty(s,"fixBold")){var u=i.default.getAttribute(s,"mathvariant");null==u?i.default.setAttribute(s,"mathvariant",l.TexConstant.Variant.BOLD):i.default.setAttribute(s,"mathvariant",d[u]||u),i.default.removeProperties(s,"fixBold")}}}catch(t){a={error:t}}finally{try{r&&!r.done&&(o=n.return)&&o.call(n)}finally{if(a)throw a.error}}}d[l.TexConstant.Variant.NORMAL]=l.TexConstant.Variant.BOLD,d[l.TexConstant.Variant.ITALIC]=l.TexConstant.Variant.BOLDITALIC,d[l.TexConstant.Variant.FRAKTUR]=l.TexConstant.Variant.BOLDFRAKTUR,d[l.TexConstant.Variant.SCRIPT]=l.TexConstant.Variant.BOLDSCRIPT,d[l.TexConstant.Variant.SANSSERIF]=l.TexConstant.Variant.BOLDSANSSERIF,d["-tex-calligraphic"]="-tex-bold-calligraphic",d["-tex-oldstyle"]="-tex-bold-oldstyle",d["-tex-mathit"]=l.TexConstant.Variant.BOLDITALIC,a.BoldsymbolMethods={},a.BoldsymbolMethods.Boldsymbol=function(t,a){var o=t.stack.env.boldsymbol;t.stack.env.boldsymbol=!0;var e=t.ParseArg(a);t.stack.env.boldsymbol=o,t.Push(e)},new s.CommandMap("boldsymbol",{boldsymbol:"Boldsymbol"},a.BoldsymbolMethods),a.createBoldToken=x,a.rewriteBoldTokens=p,a.BoldsymbolConfiguration=r.Configuration.create("boldsymbol",{handler:{macro:["boldsymbol"]},nodes:{token:x},postprocessors:[p]})},955:function(t,a){MathJax._.components.global.isObject,MathJax._.components.global.combineConfig,MathJax._.components.global.combineDefaults,a.r8=MathJax._.components.global.combineWithMathJax,MathJax._.components.global.MathJax},251:function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.Configuration=MathJax._.input.tex.Configuration.Configuration,a.ConfigurationHandler=MathJax._.input.tex.Configuration.ConfigurationHandler,a.ParserConfiguration=MathJax._.input.tex.Configuration.ParserConfiguration},348:function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.NodeFactory=MathJax._.input.tex.NodeFactory.NodeFactory},748:function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=MathJax._.input.tex.NodeUtil.default},871:function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.parseResult=MathJax._.input.tex.SymbolMap.parseResult,a.AbstractSymbolMap=MathJax._.input.tex.SymbolMap.AbstractSymbolMap,a.RegExpMap=MathJax._.input.tex.SymbolMap.RegExpMap,a.AbstractParseMap=MathJax._.input.tex.SymbolMap.AbstractParseMap,a.CharacterMap=MathJax._.input.tex.SymbolMap.CharacterMap,a.DelimiterMap=MathJax._.input.tex.SymbolMap.DelimiterMap,a.MacroMap=MathJax._.input.tex.SymbolMap.MacroMap,a.CommandMap=MathJax._.input.tex.SymbolMap.CommandMap,a.EnvironmentMap=MathJax._.input.tex.SymbolMap.EnvironmentMap},108:function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.TexConstant=MathJax._.input.tex.TexConstants.TexConstant}},n={};function r(t){var a=n[t];if(void 0!==a)return a.exports;var o=n[t]={exports:{}};return e[t].call(o.exports,o,o.exports,r),o.exports}t=r(955),a=r(667),o=r(986),MathJax.loader&&MathJax.loader.checkVersion("[tex]/boldsymbol",a.q,"tex-extension"),(0,t.r8)({_:{input:{tex:{boldsymbol:{BoldsymbolConfiguration:o}}}}})}();
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(){"use strict";var t,e,a,n={667:function(t,e){e.q=void 0,e.q="3.2.2"},774:function(t,e,a){var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.CancelConfiguration=e.CancelMethods=void 0;var o=a(251),i=a(108),r=a(871),c=n(a(398)),l=a(975);e.CancelMethods={},e.CancelMethods.Cancel=function(t,e,a){var n=t.GetBrackets(e,""),o=t.ParseArg(e),i=c.default.keyvalOptions(n,l.ENCLOSE_OPTIONS);i.notation=a,t.Push(t.create("node","menclose",[o],i))},e.CancelMethods.CancelTo=function(t,e){var a=t.GetBrackets(e,""),n=t.ParseArg(e),o=t.ParseArg(e),r=c.default.keyvalOptions(a,l.ENCLOSE_OPTIONS);r.notation=[i.TexConstant.Notation.UPDIAGONALSTRIKE,i.TexConstant.Notation.UPDIAGONALARROW,i.TexConstant.Notation.NORTHEASTARROW].join(" "),n=t.create("node","mpadded",[n],{depth:"-.1em",height:"+.1em",voffset:".1em"}),t.Push(t.create("node","msup",[t.create("node","menclose",[o],r),n]))},new r.CommandMap("cancel",{cancel:["Cancel",i.TexConstant.Notation.UPDIAGONALSTRIKE],bcancel:["Cancel",i.TexConstant.Notation.DOWNDIAGONALSTRIKE],xcancel:["Cancel",i.TexConstant.Notation.UPDIAGONALSTRIKE+" "+i.TexConstant.Notation.DOWNDIAGONALSTRIKE],cancelto:"CancelTo"},e.CancelMethods),e.CancelConfiguration=o.Configuration.create("cancel",{handler:{macro:["cancel"]}})},955:function(t,e){MathJax._.components.global.isObject,MathJax._.components.global.combineConfig,MathJax._.components.global.combineDefaults,e.r8=MathJax._.components.global.combineWithMathJax,MathJax._.components.global.MathJax},251:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Configuration=MathJax._.input.tex.Configuration.Configuration,e.ConfigurationHandler=MathJax._.input.tex.Configuration.ConfigurationHandler,e.ParserConfiguration=MathJax._.input.tex.Configuration.ParserConfiguration},398:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=MathJax._.input.tex.ParseUtil.default},871:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.parseResult=MathJax._.input.tex.SymbolMap.parseResult,e.AbstractSymbolMap=MathJax._.input.tex.SymbolMap.AbstractSymbolMap,e.RegExpMap=MathJax._.input.tex.SymbolMap.RegExpMap,e.AbstractParseMap=MathJax._.input.tex.SymbolMap.AbstractParseMap,e.CharacterMap=MathJax._.input.tex.SymbolMap.CharacterMap,e.DelimiterMap=MathJax._.input.tex.SymbolMap.DelimiterMap,e.MacroMap=MathJax._.input.tex.SymbolMap.MacroMap,e.CommandMap=MathJax._.input.tex.SymbolMap.CommandMap,e.EnvironmentMap=MathJax._.input.tex.SymbolMap.EnvironmentMap},108:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.TexConstant=MathJax._.input.tex.TexConstants.TexConstant},975:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.ENCLOSE_OPTIONS=MathJax._.input.tex.enclose.EncloseConfiguration.ENCLOSE_OPTIONS,e.EncloseMethods=MathJax._.input.tex.enclose.EncloseConfiguration.EncloseMethods,e.EncloseConfiguration=MathJax._.input.tex.enclose.EncloseConfiguration.EncloseConfiguration}},o={};function i(t){var e=o[t];if(void 0!==e)return e.exports;var a=o[t]={exports:{}};return n[t].call(a.exports,a,a.exports,i),a.exports}t=i(955),e=i(667),a=i(774),MathJax.loader&&MathJax.loader.checkVersion("[tex]/cancel",e.q,"tex-extension"),(0,t.r8)({_:{input:{tex:{cancel:{CancelConfiguration:a}}}}})}();
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(){"use strict";var e,t,a,n={667:function(e,t){t.q=void 0,t.q="3.2.2"},286:function(e,t,a){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,a=t&&e[t],n=0;if(a)return a.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CenternotConfiguration=t.filterCenterOver=void 0;var o=a(251),i=r(a(193)),u=r(a(748)),l=a(871),p=r(a(360));function c(e){var t,a,r=e.data;try{for(var o=n(r.getList("centerOver")),i=o.next();!i.done;i=o.next()){var l=i.value,p=u.default.getTexClass(l.childNodes[0].childNodes[0]);null!==p&&u.default.setProperties(l.parent.parent.parent.parent.parent.parent,{texClass:p})}}catch(e){t={error:e}}finally{try{i&&!i.done&&(a=o.return)&&a.call(o)}finally{if(t)throw t.error}}}new l.CommandMap("centernot",{centerOver:"CenterOver",centernot:["Macro","\\centerOver{#1}{{\u29f8}}",1]},{CenterOver:function(e,t){var a="{"+e.GetArgument(t)+"}",n=e.ParseArg(t),r=new i.default(a,e.stack.env,e.configuration).mml(),o=e.create("node","TeXAtom",[new i.default(a,e.stack.env,e.configuration).mml(),e.create("node","mpadded",[e.create("node","mpadded",[n],{width:0,lspace:"-.5width"}),e.create("node","mphantom",[r])],{width:0,lspace:"-.5width"})]);e.configuration.addNode("centerOver",r),e.Push(o)},Macro:p.default.Macro}),t.filterCenterOver=c,t.CenternotConfiguration=o.Configuration.create("centernot",{handler:{macro:["centernot"]},postprocessors:[c]})},955:function(e,t){MathJax._.components.global.isObject,MathJax._.components.global.combineConfig,MathJax._.components.global.combineDefaults,t.r8=MathJax._.components.global.combineWithMathJax,MathJax._.components.global.MathJax},251:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Configuration=MathJax._.input.tex.Configuration.Configuration,t.ConfigurationHandler=MathJax._.input.tex.Configuration.ConfigurationHandler,t.ParserConfiguration=MathJax._.input.tex.Configuration.ParserConfiguration},748:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=MathJax._.input.tex.NodeUtil.default},871:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.parseResult=MathJax._.input.tex.SymbolMap.parseResult,t.AbstractSymbolMap=MathJax._.input.tex.SymbolMap.AbstractSymbolMap,t.RegExpMap=MathJax._.input.tex.SymbolMap.RegExpMap,t.AbstractParseMap=MathJax._.input.tex.SymbolMap.AbstractParseMap,t.CharacterMap=MathJax._.input.tex.SymbolMap.CharacterMap,t.DelimiterMap=MathJax._.input.tex.SymbolMap.DelimiterMap,t.MacroMap=MathJax._.input.tex.SymbolMap.MacroMap,t.CommandMap=MathJax._.input.tex.SymbolMap.CommandMap,t.EnvironmentMap=MathJax._.input.tex.SymbolMap.EnvironmentMap},193:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=MathJax._.input.tex.TexParser.default},360:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=MathJax._.input.tex.base.BaseMethods.default}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return n[e].call(a.exports,a,a.exports,o),a.exports}e=o(955),t=o(667),a=o(286),MathJax.loader&&MathJax.loader.checkVersion("[tex]/centernot",t.q,"tex-extension"),(0,e.r8)({_:{input:{tex:{centernot:{CenternotConfiguration:a}}}}})}();
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(){"use strict";var o,a,t,e={667:function(o,a){a.q=void 0,a.q="3.2.2"},888:function(o,a,t){Object.defineProperty(a,"__esModule",{value:!0}),a.ColorConfiguration=a.ColorV2Methods=void 0;var e=t(871),n=t(251);a.ColorV2Methods={Color:function(o,a){var t=o.GetArgument(a),e=o.stack.env.color;o.stack.env.color=t;var n=o.ParseArg(a);e?o.stack.env.color=e:delete o.stack.env.color;var r=o.create("node","mstyle",[n],{mathcolor:t});o.Push(r)}},new e.CommandMap("colorv2",{color:"Color"},a.ColorV2Methods),a.ColorConfiguration=n.Configuration.create("colorv2",{handler:{macro:["colorv2"]}})},955:function(o,a){MathJax._.components.global.isObject,MathJax._.components.global.combineConfig,MathJax._.components.global.combineDefaults,a.r8=MathJax._.components.global.combineWithMathJax,MathJax._.components.global.MathJax},251:function(o,a){Object.defineProperty(a,"__esModule",{value:!0}),a.Configuration=MathJax._.input.tex.Configuration.Configuration,a.ConfigurationHandler=MathJax._.input.tex.Configuration.ConfigurationHandler,a.ParserConfiguration=MathJax._.input.tex.Configuration.ParserConfiguration},871:function(o,a){Object.defineProperty(a,"__esModule",{value:!0}),a.parseResult=MathJax._.input.tex.SymbolMap.parseResult,a.AbstractSymbolMap=MathJax._.input.tex.SymbolMap.AbstractSymbolMap,a.RegExpMap=MathJax._.input.tex.SymbolMap.RegExpMap,a.AbstractParseMap=MathJax._.input.tex.SymbolMap.AbstractParseMap,a.CharacterMap=MathJax._.input.tex.SymbolMap.CharacterMap,a.DelimiterMap=MathJax._.input.tex.SymbolMap.DelimiterMap,a.MacroMap=MathJax._.input.tex.SymbolMap.MacroMap,a.CommandMap=MathJax._.input.tex.SymbolMap.CommandMap,a.EnvironmentMap=MathJax._.input.tex.SymbolMap.EnvironmentMap}},n={};function r(o){var a=n[o];if(void 0!==a)return a.exports;var t=n[o]={exports:{}};return e[o](t,t.exports,r),t.exports}o=r(955),a=r(667),t=r(888),MathJax.loader&&MathJax.loader.checkVersion("[tex]/colorv2",a.q,"tex-extension"),(0,o.r8)({_:{input:{tex:{colorv2:{ColorV2Configuration:t}}}}})}();
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(){"use strict";var t,a,e,n={667:function(t,a){a.q=void 0,a.q="3.2.2"},359:function(t,a,e){var n,o=this&&this.__values||function(t){var a="function"==typeof Symbol&&Symbol.iterator,e=a&&t[a],n=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(a,"__esModule",{value:!0}),a.ConfigMacrosConfiguration=void 0;var r=e(251),p=e(74),l=e(871),s=i(e(945)),u=e(924),c=i(e(432)),M=e(975),x="configmacros-map",f="configmacros-env-map";a.ConfigMacrosConfiguration=r.Configuration.create("configmacros",{init:function(t){new l.CommandMap(x,{},{}),new l.EnvironmentMap(f,s.default.environment,{},{}),t.append(r.Configuration.local({handler:{macro:[x],environment:[f]},priority:3}))},config:function(t,a){!function(t){var a,e,n=t.parseOptions.handlers.retrieve(x),i=t.parseOptions.options.macros;try{for(var r=o(Object.keys(i)),p=r.next();!p.done;p=r.next()){var l=p.value,s="string"==typeof i[l]?[i[l]]:i[l],M=Array.isArray(s[2])?new u.Macro(l,c.default.MacroWithTemplate,s.slice(0,2).concat(s[2])):new u.Macro(l,c.default.Macro,s);n.add(l,M)}}catch(t){a={error:t}}finally{try{p&&!p.done&&(e=r.return)&&e.call(r)}finally{if(a)throw a.error}}}(a),function(t){var a,e,n=t.parseOptions.handlers.retrieve(f),i=t.parseOptions.options.environments;try{for(var r=o(Object.keys(i)),p=r.next();!p.done;p=r.next()){var l=p.value;n.add(l,new u.Macro(l,c.default.BeginEnv,[!0].concat(i[l])))}}catch(t){a={error:t}}finally{try{p&&!p.done&&(e=r.return)&&e.call(r)}finally{if(a)throw a.error}}}(a)},items:(n={},n[M.BeginEnvItem.prototype.kind]=M.BeginEnvItem,n),options:{macros:(0,p.expandable)({}),environments:(0,p.expandable)({})}})},955:function(t,a){MathJax._.components.global.isObject,MathJax._.components.global.combineConfig,MathJax._.components.global.combineDefaults,a.r8=MathJax._.components.global.combineWithMathJax,MathJax._.components.global.MathJax},74:function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.isObject=MathJax._.util.Options.isObject,a.APPEND=MathJax._.util.Options.APPEND,a.REMOVE=MathJax._.util.Options.REMOVE,a.OPTIONS=MathJax._.util.Options.OPTIONS,a.Expandable=MathJax._.util.Options.Expandable,a.expandable=MathJax._.util.Options.expandable,a.makeArray=MathJax._.util.Options.makeArray,a.keys=MathJax._.util.Options.keys,a.copy=MathJax._.util.Options.copy,a.insert=MathJax._.util.Options.insert,a.defaultOptions=MathJax._.util.Options.defaultOptions,a.userOptions=MathJax._.util.Options.userOptions,a.selectOptions=MathJax._.util.Options.selectOptions,a.selectOptionsFromKeys=MathJax._.util.Options.selectOptionsFromKeys,a.separateOptions=MathJax._.util.Options.separateOptions,a.lookup=MathJax._.util.Options.lookup},251:function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.Configuration=MathJax._.input.tex.Configuration.Configuration,a.ConfigurationHandler=MathJax._.input.tex.Configuration.ConfigurationHandler,a.ParserConfiguration=MathJax._.input.tex.Configuration.ParserConfiguration},945:function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=MathJax._.input.tex.ParseMethods.default},924:function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.Symbol=MathJax._.input.tex.Symbol.Symbol,a.Macro=MathJax._.input.tex.Symbol.Macro},871:function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.parseResult=MathJax._.input.tex.SymbolMap.parseResult,a.AbstractSymbolMap=MathJax._.input.tex.SymbolMap.AbstractSymbolMap,a.RegExpMap=MathJax._.input.tex.SymbolMap.RegExpMap,a.AbstractParseMap=MathJax._.input.tex.SymbolMap.AbstractParseMap,a.CharacterMap=MathJax._.input.tex.SymbolMap.CharacterMap,a.DelimiterMap=MathJax._.input.tex.SymbolMap.DelimiterMap,a.MacroMap=MathJax._.input.tex.SymbolMap.MacroMap,a.CommandMap=MathJax._.input.tex.SymbolMap.CommandMap,a.EnvironmentMap=MathJax._.input.tex.SymbolMap.EnvironmentMap},975:function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.BeginEnvItem=MathJax._.input.tex.newcommand.NewcommandItems.BeginEnvItem},432:function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=MathJax._.input.tex.newcommand.NewcommandMethods.default}},o={};function i(t){var a=o[t];if(void 0!==a)return a.exports;var e=o[t]={exports:{}};return n[t].call(e.exports,e,e.exports,i),e.exports}t=i(955),a=i(667),e=i(359),MathJax.loader&&MathJax.loader.checkVersion("[tex]/configmacros",a.q,"tex-extension"),(0,t.r8)({_:{input:{tex:{configmacros:{ConfigMacrosConfiguration:e}}}}})}();
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(){"use strict";var a,t,e,o={667:function(a,t){t.q=void 0,t.q="3.2.2"},272:function(a,t,e){var o=this&&this.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(t,"__esModule",{value:!0}),t.EncloseConfiguration=t.EncloseMethods=t.ENCLOSE_OPTIONS=void 0;var n=e(251),r=e(871),i=o(e(398));t.ENCLOSE_OPTIONS={"data-arrowhead":1,color:1,mathcolor:1,background:1,mathbackground:1,"data-padding":1,"data-thickness":1},t.EncloseMethods={},t.EncloseMethods.Enclose=function(a,e){var o=a.GetArgument(e).replace(/,/g," "),n=a.GetBrackets(e,""),r=a.ParseArg(e),l=i.default.keyvalOptions(n,t.ENCLOSE_OPTIONS);l.notation=o,a.Push(a.create("node","menclose",[r],l))},new r.CommandMap("enclose",{enclose:"Enclose"},t.EncloseMethods),t.EncloseConfiguration=n.Configuration.create("enclose",{handler:{macro:["enclose"]}})},955:function(a,t){MathJax._.components.global.isObject,MathJax._.components.global.combineConfig,MathJax._.components.global.combineDefaults,t.r8=MathJax._.components.global.combineWithMathJax,MathJax._.components.global.MathJax},251:function(a,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Configuration=MathJax._.input.tex.Configuration.Configuration,t.ConfigurationHandler=MathJax._.input.tex.Configuration.ConfigurationHandler,t.ParserConfiguration=MathJax._.input.tex.Configuration.ParserConfiguration},398:function(a,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=MathJax._.input.tex.ParseUtil.default},871:function(a,t){Object.defineProperty(t,"__esModule",{value:!0}),t.parseResult=MathJax._.input.tex.SymbolMap.parseResult,t.AbstractSymbolMap=MathJax._.input.tex.SymbolMap.AbstractSymbolMap,t.RegExpMap=MathJax._.input.tex.SymbolMap.RegExpMap,t.AbstractParseMap=MathJax._.input.tex.SymbolMap.AbstractParseMap,t.CharacterMap=MathJax._.input.tex.SymbolMap.CharacterMap,t.DelimiterMap=MathJax._.input.tex.SymbolMap.DelimiterMap,t.MacroMap=MathJax._.input.tex.SymbolMap.MacroMap,t.CommandMap=MathJax._.input.tex.SymbolMap.CommandMap,t.EnvironmentMap=MathJax._.input.tex.SymbolMap.EnvironmentMap}},n={};function r(a){var t=n[a];if(void 0!==t)return t.exports;var e=n[a]={exports:{}};return o[a].call(e.exports,e,e.exports,r),e.exports}a=r(955),t=r(667),e=r(272),MathJax.loader&&MathJax.loader.checkVersion("[tex]/enclose",t.q,"tex-extension"),(0,a.r8)({_:{input:{tex:{enclose:{EncloseConfiguration:e}}}}})}();
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(){"use strict";var t,e,a,o={667:function(t,e){e.q=void 0,e.q="3.2.2"},646:function(t,e,a){var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.ExtpfeilConfiguration=e.ExtpfeilMethods=void 0;var n=a(251),r=a(871),i=a(939),u=o(a(892)),x=a(417),p=o(a(402));e.ExtpfeilMethods={},e.ExtpfeilMethods.xArrow=i.AmsMethods.xArrow,e.ExtpfeilMethods.NewExtArrow=function(t,a){var o=t.GetArgument(a),n=t.GetArgument(a),r=t.GetArgument(a);if(!o.match(/^\\([a-z]+|.)$/i))throw new p.default("NewextarrowArg1","First argument to %1 must be a control sequence name",a);if(!n.match(/^(\d+),(\d+)$/))throw new p.default("NewextarrowArg2","Second argument to %1 must be two integers separated by a comma",a);if(!r.match(/^(\d+|0x[0-9A-F]+)$/i))throw new p.default("NewextarrowArg3","Third argument to %1 must be a unicode character number",a);o=o.substr(1);var i=n.split(",");u.default.addMacro(t,o,e.ExtpfeilMethods.xArrow,[parseInt(r),parseInt(i[0]),parseInt(i[1])])},new r.CommandMap("extpfeil",{xtwoheadrightarrow:["xArrow",8608,12,16],xtwoheadleftarrow:["xArrow",8606,17,13],xmapsto:["xArrow",8614,6,7],xlongequal:["xArrow",61,7,7],xtofrom:["xArrow",8644,12,12],Newextarrow:"NewExtArrow"},e.ExtpfeilMethods);e.ExtpfeilConfiguration=n.Configuration.create("extpfeil",{handler:{macro:["extpfeil"]},init:function(t){x.NewcommandConfiguration.init(t)}})},955:function(t,e){MathJax._.components.global.isObject,MathJax._.components.global.combineConfig,MathJax._.components.global.combineDefaults,e.r8=MathJax._.components.global.combineWithMathJax,MathJax._.components.global.MathJax},251:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Configuration=MathJax._.input.tex.Configuration.Configuration,e.ConfigurationHandler=MathJax._.input.tex.Configuration.ConfigurationHandler,e.ParserConfiguration=MathJax._.input.tex.Configuration.ParserConfiguration},871:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.parseResult=MathJax._.input.tex.SymbolMap.parseResult,e.AbstractSymbolMap=MathJax._.input.tex.SymbolMap.AbstractSymbolMap,e.RegExpMap=MathJax._.input.tex.SymbolMap.RegExpMap,e.AbstractParseMap=MathJax._.input.tex.SymbolMap.AbstractParseMap,e.CharacterMap=MathJax._.input.tex.SymbolMap.CharacterMap,e.DelimiterMap=MathJax._.input.tex.SymbolMap.DelimiterMap,e.MacroMap=MathJax._.input.tex.SymbolMap.MacroMap,e.CommandMap=MathJax._.input.tex.SymbolMap.CommandMap,e.EnvironmentMap=MathJax._.input.tex.SymbolMap.EnvironmentMap},402:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=MathJax._.input.tex.TexError.default},939:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.AmsMethods=MathJax._.input.tex.ams.AmsMethods.AmsMethods,e.NEW_OPS=MathJax._.input.tex.ams.AmsMethods.NEW_OPS},417:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.NewcommandConfiguration=MathJax._.input.tex.newcommand.NewcommandConfiguration.NewcommandConfiguration},892:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=MathJax._.input.tex.newcommand.NewcommandUtil.default}},n={};function r(t){var e=n[t];if(void 0!==e)return e.exports;var a=n[t]={exports:{}};return o[t].call(a.exports,a,a.exports,r),a.exports}t=r(955),e=r(667),a=r(646),MathJax.loader&&MathJax.loader.checkVersion("[tex]/extpfeil",e.q,"tex-extension"),(0,t.r8)({_:{input:{tex:{extpfeil:{ExtpfeilConfiguration:a}}}}})}();
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(){"use strict";var a,t,n,e={667:function(a,t){t.q=void 0,t.q="3.2.2"},82:function(a,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.GensymbConfiguration=void 0;var e=n(251),o=n(108);new(n(871).CharacterMap)("gensymb-symbols",(function(a,t){var n=t.attributes||{};n.mathvariant=o.TexConstant.Variant.NORMAL,n.class="MathML-Unit";var e=a.create("token","mi",n,t.char);a.Push(e)}),{ohm:"\u2126",degree:"\xb0",celsius:"\u2103",perthousand:"\u2030",micro:"\xb5"}),t.GensymbConfiguration=e.Configuration.create("gensymb",{handler:{macro:["gensymb-symbols"]}})},955:function(a,t){MathJax._.components.global.isObject,MathJax._.components.global.combineConfig,MathJax._.components.global.combineDefaults,t.r8=MathJax._.components.global.combineWithMathJax,MathJax._.components.global.MathJax},251:function(a,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Configuration=MathJax._.input.tex.Configuration.Configuration,t.ConfigurationHandler=MathJax._.input.tex.Configuration.ConfigurationHandler,t.ParserConfiguration=MathJax._.input.tex.Configuration.ParserConfiguration},871:function(a,t){Object.defineProperty(t,"__esModule",{value:!0}),t.parseResult=MathJax._.input.tex.SymbolMap.parseResult,t.AbstractSymbolMap=MathJax._.input.tex.SymbolMap.AbstractSymbolMap,t.RegExpMap=MathJax._.input.tex.SymbolMap.RegExpMap,t.AbstractParseMap=MathJax._.input.tex.SymbolMap.AbstractParseMap,t.CharacterMap=MathJax._.input.tex.SymbolMap.CharacterMap,t.DelimiterMap=MathJax._.input.tex.SymbolMap.DelimiterMap,t.MacroMap=MathJax._.input.tex.SymbolMap.MacroMap,t.CommandMap=MathJax._.input.tex.SymbolMap.CommandMap,t.EnvironmentMap=MathJax._.input.tex.SymbolMap.EnvironmentMap},108:function(a,t){Object.defineProperty(t,"__esModule",{value:!0}),t.TexConstant=MathJax._.input.tex.TexConstants.TexConstant}},o={};function i(a){var t=o[a];if(void 0!==t)return t.exports;var n=o[a]={exports:{}};return e[a](n,n.exports,i),n.exports}a=i(955),t=i(667),n=i(82),MathJax.loader&&MathJax.loader.checkVersion("[tex]/gensymb",t.q,"tex-extension"),(0,a.r8)({_:{input:{tex:{gensymb:{GensymbConfiguration:n}}}}})}();
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(){"use strict";var t,e,a,n,r={667:function(t,e){e.q=void 0,e.q="3.2.2"},738:function(t,e,a){var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.HtmlConfiguration=void 0;var r=a(251),o=a(871),i=n(a(248));new o.CommandMap("html_macros",{href:"Href",class:"Class",style:"Style",cssId:"Id"},i.default),e.HtmlConfiguration=r.Configuration.create("html",{handler:{macro:["html_macros"]}})},248:function(t,e,a){var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var r=n(a(748)),o={Href:function(t,e){var a=t.GetArgument(e),n=i(t,e);r.default.setAttribute(n,"href",a),t.Push(n)},Class:function(t,e){var a=t.GetArgument(e),n=i(t,e),o=r.default.getAttribute(n,"class");o&&(a=o+" "+a),r.default.setAttribute(n,"class",a),t.Push(n)},Style:function(t,e){var a=t.GetArgument(e),n=i(t,e),o=r.default.getAttribute(n,"style");o&&(";"!==a.charAt(a.length-1)&&(a+=";"),a=o+" "+a),r.default.setAttribute(n,"style",a),t.Push(n)},Id:function(t,e){var a=t.GetArgument(e),n=i(t,e);r.default.setAttribute(n,"id",a),t.Push(n)}},i=function(t,e){var a=t.ParseArg(e);if(!r.default.isInferred(a))return a;var n=r.default.getChildren(a);if(1===n.length)return n[0];var o=t.create("node","mrow");return r.default.copyChildren(a,o),r.default.copyAttributes(a,o),o};e.default=o},955:function(t,e){MathJax._.components.global.isObject,MathJax._.components.global.combineConfig,MathJax._.components.global.combineDefaults,e.r8=MathJax._.components.global.combineWithMathJax,MathJax._.components.global.MathJax},251:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Configuration=MathJax._.input.tex.Configuration.Configuration,e.ConfigurationHandler=MathJax._.input.tex.Configuration.ConfigurationHandler,e.ParserConfiguration=MathJax._.input.tex.Configuration.ParserConfiguration},748:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=MathJax._.input.tex.NodeUtil.default},871:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.parseResult=MathJax._.input.tex.SymbolMap.parseResult,e.AbstractSymbolMap=MathJax._.input.tex.SymbolMap.AbstractSymbolMap,e.RegExpMap=MathJax._.input.tex.SymbolMap.RegExpMap,e.AbstractParseMap=MathJax._.input.tex.SymbolMap.AbstractParseMap,e.CharacterMap=MathJax._.input.tex.SymbolMap.CharacterMap,e.DelimiterMap=MathJax._.input.tex.SymbolMap.DelimiterMap,e.MacroMap=MathJax._.input.tex.SymbolMap.MacroMap,e.CommandMap=MathJax._.input.tex.SymbolMap.CommandMap,e.EnvironmentMap=MathJax._.input.tex.SymbolMap.EnvironmentMap}},o={};function i(t){var e=o[t];if(void 0!==e)return e.exports;var a=o[t]={exports:{}};return r[t].call(a.exports,a,a.exports,i),a.exports}t=i(955),e=i(667),a=i(738),n=i(248),MathJax.loader&&MathJax.loader.checkVersion("[tex]/html",e.q,"tex-extension"),(0,t.r8)({_:{input:{tex:{html:{HtmlConfiguration:a,HtmlMethods:n}}}}})}();
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(){"use strict";var o,n,r,t={667:function(o,n){n.q=void 0,n.q="3.2.2"},634:function(o,n,r){Object.defineProperty(n,"__esModule",{value:!0}),n.NoErrorsConfiguration=void 0;var t=r(251);n.NoErrorsConfiguration=t.Configuration.create("noerrors",{nodes:{error:function(o,n,r,t){var e=o.create("token","mtext",{},t.replace(/\n/g," "));return o.create("node","merror",[e],{"data-mjx-error":n,title:n})}}})},955:function(o,n){MathJax._.components.global.isObject,MathJax._.components.global.combineConfig,MathJax._.components.global.combineDefaults,n.r8=MathJax._.components.global.combineWithMathJax,MathJax._.components.global.MathJax},251:function(o,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Configuration=MathJax._.input.tex.Configuration.Configuration,n.ConfigurationHandler=MathJax._.input.tex.Configuration.ConfigurationHandler,n.ParserConfiguration=MathJax._.input.tex.Configuration.ParserConfiguration}},e={};function a(o){var n=e[o];if(void 0!==n)return n.exports;var r=e[o]={exports:{}};return t[o](r,r.exports,a),r.exports}o=a(955),n=a(667),r=a(634),MathJax.loader&&MathJax.loader.checkVersion("[tex]/noerrors",n.q,"tex-extension"),(0,o.r8)({_:{input:{tex:{noerrors:{NoErrorsConfiguration:r}}}}})}();
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(){"use strict";var n,o,e,t={667:function(n,o){o.q=void 0,o.q="3.2.2"},999:function(n,o,e){var t=this&&this.__values||function(n){var o="function"==typeof Symbol&&Symbol.iterator,e=o&&n[o],t=0;if(e)return e.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&t>=n.length&&(n=void 0),{value:n&&n[t++],done:!n}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.NoUndefinedConfiguration=void 0;var r=e(251);o.NoUndefinedConfiguration=r.Configuration.create("noundefined",{fallback:{macro:function(n,o){var e,r,i=n.create("text","\\"+o),a=n.options.noundefined||{},u={};try{for(var f=t(["color","background","size"]),l=f.next();!l.done;l=f.next()){var c=l.value;a[c]&&(u["math"+c]=a[c])}}catch(n){e={error:n}}finally{try{l&&!l.done&&(r=f.return)&&r.call(f)}finally{if(e)throw e.error}}n.Push(n.create("node","mtext",[],u,i))}},options:{noundefined:{color:"red",background:"",size:""}},priority:3})},955:function(n,o){MathJax._.components.global.isObject,MathJax._.components.global.combineConfig,MathJax._.components.global.combineDefaults,o.r8=MathJax._.components.global.combineWithMathJax,MathJax._.components.global.MathJax},251:function(n,o){Object.defineProperty(o,"__esModule",{value:!0}),o.Configuration=MathJax._.input.tex.Configuration.Configuration,o.ConfigurationHandler=MathJax._.input.tex.Configuration.ConfigurationHandler,o.ParserConfiguration=MathJax._.input.tex.Configuration.ParserConfiguration}},r={};function i(n){var o=r[n];if(void 0!==o)return o.exports;var e=r[n]={exports:{}};return t[n].call(e.exports,e,e.exports,i),e.exports}n=i(955),o=i(667),e=i(999),MathJax.loader&&MathJax.loader.checkVersion("[tex]/noundefined",o.q,"tex-extension"),(0,n.r8)({_:{input:{tex:{noundefined:{NoUndefinedConfiguration:e}}}}})}();
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(){"use strict";var t,o,n,a={667:function(t,o){o.q=void 0,o.q="3.2.2"},941:function(t,o,n){var a,r=this&&this.__extends||(a=function(t,o){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n])},a(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function n(){this.constructor=t}a(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)});Object.defineProperty(o,"__esModule",{value:!0}),o.TagFormatConfiguration=o.tagformatConfig=void 0;var e=n(251),i=n(680),s=0;function u(t,o){var n=o.parseOptions.options.tags;"base"!==n&&t.tags.hasOwnProperty(n)&&i.TagsFactory.add(n,t.tags[n]);var a=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.formatNumber=function(t){return o.parseOptions.options.tagformat.number(t)},n.prototype.formatTag=function(t){return o.parseOptions.options.tagformat.tag(t)},n.prototype.formatId=function(t){return o.parseOptions.options.tagformat.id(t)},n.prototype.formatUrl=function(t,n){return o.parseOptions.options.tagformat.url(t,n)},n}(i.TagsFactory.create(o.parseOptions.options.tags).constructor),e="configTags-"+ ++s;i.TagsFactory.add(e,a),o.parseOptions.options.tags=e}o.tagformatConfig=u,o.TagFormatConfiguration=e.Configuration.create("tagformat",{config:[u,10],options:{tagformat:{number:function(t){return t.toString()},tag:function(t){return"("+t+")"},id:function(t){return"mjx-eqn:"+t.replace(/\s/g,"_")},url:function(t,o){return o+"#"+encodeURIComponent(t)}}}})},955:function(t,o){MathJax._.components.global.isObject,MathJax._.components.global.combineConfig,MathJax._.components.global.combineDefaults,o.r8=MathJax._.components.global.combineWithMathJax,MathJax._.components.global.MathJax},251:function(t,o){Object.defineProperty(o,"__esModule",{value:!0}),o.Configuration=MathJax._.input.tex.Configuration.Configuration,o.ConfigurationHandler=MathJax._.input.tex.Configuration.ConfigurationHandler,o.ParserConfiguration=MathJax._.input.tex.Configuration.ParserConfiguration},680:function(t,o){Object.defineProperty(o,"__esModule",{value:!0}),o.Label=MathJax._.input.tex.Tags.Label,o.TagInfo=MathJax._.input.tex.Tags.TagInfo,o.AbstractTags=MathJax._.input.tex.Tags.AbstractTags,o.NoTags=MathJax._.input.tex.Tags.NoTags,o.AllTags=MathJax._.input.tex.Tags.AllTags,o.TagsFactory=MathJax._.input.tex.Tags.TagsFactory}},r={};function e(t){var o=r[t];if(void 0!==o)return o.exports;var n=r[t]={exports:{}};return a[t].call(n.exports,n,n.exports,e),n.exports}t=e(955),o=e(667),n=e(941),MathJax.loader&&MathJax.loader.checkVersion("[tex]/tagformat",o.q,"tex-extension"),(0,t.r8)({_:{input:{tex:{tagformat:{TagFormatConfiguration:n}}}}})}();
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(){"use strict";var t,e,a,n={667:function(t,e){e.q=void 0,e.q="3.2.2"},376:function(t,e,a){var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.UnicodeConfiguration=e.UnicodeMethods=void 0;var o=a(251),i=n(a(402)),r=a(871),u=n(a(398)),l=n(a(748)),c=a(992);e.UnicodeMethods={};var p={};e.UnicodeMethods.Unicode=function(t,e){var a=t.GetBrackets(e),n=null,o=null;a&&(a.replace(/ /g,"").match(/^(\d+(\.\d*)?|\.\d+),(\d+(\.\d*)?|\.\d+)$/)?(n=a.replace(/ /g,"").split(/,/),o=t.GetBrackets(e)):o=a);var r=u.default.trimSpaces(t.GetArgument(e)).replace(/^0x/,"x");if(!r.match(/^(x[0-9A-Fa-f]+|[0-9]+)$/))throw new i.default("BadUnicode","Argument to \\unicode must be a number");var d=parseInt(r.match(/^x/)?"0"+r:r);p[d]?o||(o=p[d][2]):p[d]=[800,200,o,d],n&&(p[d][0]=Math.floor(1e3*parseFloat(n[0])),p[d][1]=Math.floor(1e3*parseFloat(n[1])));var M=t.stack.env.font,s={};o?(p[d][2]=s.fontfamily=o.replace(/'/g,"'"),M&&(M.match(/bold/)&&(s.fontweight="bold"),M.match(/italic|-mathit/)&&(s.fontstyle="italic"))):M&&(s.mathvariant=M);var x=t.create("token","mtext",s,(0,c.numeric)(r));l.default.setProperty(x,"unicode",!0),t.Push(x)},new r.CommandMap("unicode",{unicode:"Unicode"},e.UnicodeMethods),e.UnicodeConfiguration=o.Configuration.create("unicode",{handler:{macro:["unicode"]}})},955:function(t,e){MathJax._.components.global.isObject,MathJax._.components.global.combineConfig,MathJax._.components.global.combineDefaults,e.r8=MathJax._.components.global.combineWithMathJax,MathJax._.components.global.MathJax},992:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.options=MathJax._.util.Entities.options,e.entities=MathJax._.util.Entities.entities,e.add=MathJax._.util.Entities.add,e.remove=MathJax._.util.Entities.remove,e.translate=MathJax._.util.Entities.translate,e.numeric=MathJax._.util.Entities.numeric},251:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Configuration=MathJax._.input.tex.Configuration.Configuration,e.ConfigurationHandler=MathJax._.input.tex.Configuration.ConfigurationHandler,e.ParserConfiguration=MathJax._.input.tex.Configuration.ParserConfiguration},748:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=MathJax._.input.tex.NodeUtil.default},398:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=MathJax._.input.tex.ParseUtil.default},871:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.parseResult=MathJax._.input.tex.SymbolMap.parseResult,e.AbstractSymbolMap=MathJax._.input.tex.SymbolMap.AbstractSymbolMap,e.RegExpMap=MathJax._.input.tex.SymbolMap.RegExpMap,e.AbstractParseMap=MathJax._.input.tex.SymbolMap.AbstractParseMap,e.CharacterMap=MathJax._.input.tex.SymbolMap.CharacterMap,e.DelimiterMap=MathJax._.input.tex.SymbolMap.DelimiterMap,e.MacroMap=MathJax._.input.tex.SymbolMap.MacroMap,e.CommandMap=MathJax._.input.tex.SymbolMap.CommandMap,e.EnvironmentMap=MathJax._.input.tex.SymbolMap.EnvironmentMap},402:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=MathJax._.input.tex.TexError.default}},o={};function i(t){var e=o[t];if(void 0!==e)return e.exports;var a=o[t]={exports:{}};return n[t].call(a.exports,a,a.exports,i),a.exports}t=i(955),e=i(667),a=i(376),MathJax.loader&&MathJax.loader.checkVersion("[tex]/unicode",e.q,"tex-extension"),(0,t.r8)({_:{input:{tex:{unicode:{UnicodeConfiguration:a}}}}})}();
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(){"use strict";var a,t,e,p={667:function(a,t){t.q=void 0,t.q="3.2.2"},927:function(a,t,e){Object.defineProperty(t,"__esModule",{value:!0}),t.UpgreekConfiguration=void 0;var p=e(251),n=e(871),o=e(108);new n.CharacterMap("upgreek",(function(a,t){var e=t.attributes||{};e.mathvariant=o.TexConstant.Variant.NORMAL;var p=a.create("token","mi",e,t.char);a.Push(p)}),{upalpha:"\u03b1",upbeta:"\u03b2",upgamma:"\u03b3",updelta:"\u03b4",upepsilon:"\u03f5",upzeta:"\u03b6",upeta:"\u03b7",uptheta:"\u03b8",upiota:"\u03b9",upkappa:"\u03ba",uplambda:"\u03bb",upmu:"\u03bc",upnu:"\u03bd",upxi:"\u03be",upomicron:"\u03bf",uppi:"\u03c0",uprho:"\u03c1",upsigma:"\u03c3",uptau:"\u03c4",upupsilon:"\u03c5",upphi:"\u03d5",upchi:"\u03c7",uppsi:"\u03c8",upomega:"\u03c9",upvarepsilon:"\u03b5",upvartheta:"\u03d1",upvarpi:"\u03d6",upvarrho:"\u03f1",upvarsigma:"\u03c2",upvarphi:"\u03c6",Upgamma:"\u0393",Updelta:"\u0394",Uptheta:"\u0398",Uplambda:"\u039b",Upxi:"\u039e",Uppi:"\u03a0",Upsigma:"\u03a3",Upupsilon:"\u03a5",Upphi:"\u03a6",Uppsi:"\u03a8",Upomega:"\u03a9"}),t.UpgreekConfiguration=p.Configuration.create("upgreek",{handler:{macro:["upgreek"]}})},955:function(a,t){MathJax._.components.global.isObject,MathJax._.components.global.combineConfig,MathJax._.components.global.combineDefaults,t.r8=MathJax._.components.global.combineWithMathJax,MathJax._.components.global.MathJax},251:function(a,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Configuration=MathJax._.input.tex.Configuration.Configuration,t.ConfigurationHandler=MathJax._.input.tex.Configuration.ConfigurationHandler,t.ParserConfiguration=MathJax._.input.tex.Configuration.ParserConfiguration},871:function(a,t){Object.defineProperty(t,"__esModule",{value:!0}),t.parseResult=MathJax._.input.tex.SymbolMap.parseResult,t.AbstractSymbolMap=MathJax._.input.tex.SymbolMap.AbstractSymbolMap,t.RegExpMap=MathJax._.input.tex.SymbolMap.RegExpMap,t.AbstractParseMap=MathJax._.input.tex.SymbolMap.AbstractParseMap,t.CharacterMap=MathJax._.input.tex.SymbolMap.CharacterMap,t.DelimiterMap=MathJax._.input.tex.SymbolMap.DelimiterMap,t.MacroMap=MathJax._.input.tex.SymbolMap.MacroMap,t.CommandMap=MathJax._.input.tex.SymbolMap.CommandMap,t.EnvironmentMap=MathJax._.input.tex.SymbolMap.EnvironmentMap},108:function(a,t){Object.defineProperty(t,"__esModule",{value:!0}),t.TexConstant=MathJax._.input.tex.TexConstants.TexConstant}},n={};function o(a){var t=n[a];if(void 0!==t)return t.exports;var e=n[a]={exports:{}};return p[a](e,e.exports,o),e.exports}a=o(955),t=o(667),e=o(927),MathJax.loader&&MathJax.loader.checkVersion("[tex]/upgreek",t.q,"tex-extension"),(0,a.r8)({_:{input:{tex:{upgreek:{UpgreekConfiguration:e}}}}})}();
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(){"use strict";var t,e,a,n={667:function(t,e){e.q=void 0,e.q="3.2.2"},768:function(t,e,a){var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.VerbConfiguration=e.VerbMethods=void 0;var o=a(251),r=a(108),i=a(871),u=n(a(402));e.VerbMethods={},e.VerbMethods.Verb=function(t,e){var a=t.GetNext(),n=++t.i;if(""===a)throw new u.default("MissingArgFor","Missing argument for %1",e);for(;t.i<t.string.length&&t.string.charAt(t.i)!==a;)t.i++;if(t.i===t.string.length)throw new u.default("NoClosingDelim","Can't find closing delimiter for %1",t.currentCS);var o=t.string.slice(n,t.i).replace(/ /g,"\xa0");t.i++,t.Push(t.create("token","mtext",{mathvariant:r.TexConstant.Variant.MONOSPACE},o))},new i.CommandMap("verb",{verb:"Verb"},e.VerbMethods),e.VerbConfiguration=o.Configuration.create("verb",{handler:{macro:["verb"]}})},955:function(t,e){MathJax._.components.global.isObject,MathJax._.components.global.combineConfig,MathJax._.components.global.combineDefaults,e.r8=MathJax._.components.global.combineWithMathJax,MathJax._.components.global.MathJax},251:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Configuration=MathJax._.input.tex.Configuration.Configuration,e.ConfigurationHandler=MathJax._.input.tex.Configuration.ConfigurationHandler,e.ParserConfiguration=MathJax._.input.tex.Configuration.ParserConfiguration},871:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.parseResult=MathJax._.input.tex.SymbolMap.parseResult,e.AbstractSymbolMap=MathJax._.input.tex.SymbolMap.AbstractSymbolMap,e.RegExpMap=MathJax._.input.tex.SymbolMap.RegExpMap,e.AbstractParseMap=MathJax._.input.tex.SymbolMap.AbstractParseMap,e.CharacterMap=MathJax._.input.tex.SymbolMap.CharacterMap,e.DelimiterMap=MathJax._.input.tex.SymbolMap.DelimiterMap,e.MacroMap=MathJax._.input.tex.SymbolMap.MacroMap,e.CommandMap=MathJax._.input.tex.SymbolMap.CommandMap,e.EnvironmentMap=MathJax._.input.tex.SymbolMap.EnvironmentMap},108:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.TexConstant=MathJax._.input.tex.TexConstants.TexConstant},402:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=MathJax._.input.tex.TexError.default}},o={};function r(t){var e=o[t];if(void 0!==e)return e.exports;var a=o[t]={exports:{}};return n[t].call(a.exports,a,a.exports,r),a.exports}t=r(955),e=r(667),a=r(768),MathJax.loader&&MathJax.loader.checkVersion("[tex]/verb",e.q,"tex-extension"),(0,t.r8)({_:{input:{tex:{verb:{VerbConfiguration:a}}}}})}();
|
||||