Comments (3)
Looking into it, there are only around a dozen formulae gifs for the book. I've made headway on a branch with TeX svgs.
I thought to look for "svg fallback", and it's not too bad. It is html tags instead of markdown, but no Javascript is involved. It'll take png versions, which is easy enough. I can skip browser verification, then, though epubcheck could be useful later.
from paip-lisp.
I'd planned to leave this issue open until I'd put in png fallbacks, but I don't see a way to do so in Github Markdown. What I attempted, visible in chapter 9.9 in my svg-fallback branch:
The picture tag:
<picture>
<source type="image/svg+xml" srcset="[svg link]">
<img src="[png link]" alt="[tex snippet]">
</picture>
The object tag:
<object data="[image as svg]" type="image/svg+xml">
<img src="[image as png]" alt="[alt text]" />
</object>
On Github, only the pngs are shown.
"Just use svg" seems good enough for now.
from paip-lisp.
Ah, closing out tabs, I might have a workaround, involving onerror
. I'll tag this issue from the PR.
from paip-lisp.
Related Issues (20)
- Inconsistent rewrite rules in chapter 2's rule-based grammar HOT 1
- Change "master" to "main" HOT 1
- Markdown tables HOT 13
- Upcoming: a better scan? HOT 5
- Updating images HOT 5
- Errata for queues in chapter 10
- suggestion: add an info page to ebook? HOT 2
- fix chapter links HOT 1
- code and tables
- whitespace cleanup HOT 1
- encode parentheses
- Fix up Exercise and Answer lines
- Table of contents for PDF HOT 9
- Pseudocode block formatting
- Convert PAIP.txt to PAIP.md
- so old.... HOT 2
- Chapter 8 - recursive expansion of abbreviated patterns
- CMU Python HOT 2
- texinfo version for reading in emacs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paip-lisp.