Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9a2cdd7

Browse files
authored
switched from imgmath to mathjax (#101)
* switched from imgmath to mathjax* about author* use local mathjax
1 parent9c0c6a1 commit9a2cdd7

File tree

73 files changed

+156
-44
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+156
-44
lines changed

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ endif
1616
PAPEROPT_a4 = -D latex_paper_size=a4
1717
PAPEROPT_letter = -D latex_paper_size=letter
1818
ALLSPHINXOPTS = -d$(BUILDDIR)/doctrees$(PAPEROPT_$(PAPER))$(SPHINXOPTS) .
19-
EXTENSIONS = -D extensions=sphinx.ext.imgmath,sphinx.ext.autosectionlabel,sphinxcontrib.tikz -D imgmath_latex=latex -D tikz_includegraphics_path=_images -D tikz_tikzlibraries=positioning,shapes,arrows,snakes
19+
EXTENSIONS = -D extensions=sphinx.ext.mathjax,sphinx.ext.autosectionlabel,sphinxcontrib.tikz -D tikz_includegraphics_path=_images -D tikz_tikzlibraries=positioning,shapes,arrows,snakes
2020
# the i18n builder cannot share the environment and doctrees with the others
2121
I18NSPHINXOPTS =$(PAPEROPT_$(PAPER))$(SPHINXOPTS) .
2222

‎README.md‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,14 @@ Note: on one machine I had to add `~/.local/bin` to PATH
3535

3636
Install pre-requisite software with:
3737

38-
1. Install Tex Live from the install-tl-windows.exe link towards the beginning ofhttps://www.tug.org/texlive/acquire-netinstall.html (after opening it, choose the Install option). When a box pops up, click Advanced. It will mention`Installation root C:/texlive/2025` which we need later. Uncheck Install TeXworks front end because we wont need it. Under Scheme click "change" and choose`basic scheme`. Hit Install. It will take a while because it installs a lot of common latex packages, you can do the remaining steps while this installs. You know it worked if you now have a`C:\texlive\2025\bin\windows\latex.exe`.
39-
2. From the Microsoft Store install Python 3.10 (3.8-3.12 is fine too if you already have it installed).
40-
3. In a PowerShell terminal (click start menu then type powershell, or open a terminal in VSCode) run`pip install sphinx sphinxcontrib-tikz patreon setuptools`
41-
4.`cd` to the directory you cloned PySDR
42-
5. Separately, open "Tex live command-line" app from start menu, then run`tlmgr install dvisvgm pgf anyfontsize` (pgf is tikz).
38+
1. From the Microsoft Store install Python 3.10 (3.8-3.12 is fine too if you already have it installed).
39+
1. In a PowerShell terminal (click start menu then type powershell, or open a terminal in VSCode) run`pip install sphinx sphinxcontrib-tikz patreon setuptools`
40+
1.`cd` to the directory you cloned PySDR
4341

4442
Build the English version only using:
4543

4644
```
47-
python -m sphinx.cmd.build -b html-D imgmath_latex="C:\texlive\2025\bin\windows\latex.exe" -D imgmath_dvisvgm="C:\texlive\2025\bin\windows\dvisvgm.exe". _build
45+
python -m sphinx.cmd.build -b html . _build
4846
```
4947

5048
The first time running this it might take a while because it has to download LaTeX packages.

‎_static/mathjax/input/asciimath.js‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎_static/mathjax/input/mml.js‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎_static/mathjax/input/mml/entities.js‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎_static/mathjax/input/mml/extensions/mml3.js‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎_static/mathjax/input/mml/extensions/mml3.sef.json‎

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

‎_static/mathjax/input/tex-base.js‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎_static/mathjax/input/tex-full.js‎

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎_static/mathjax/input/tex.js‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp