Comments (2)
The error is caused by the dvi2html node module. It cannot read the tfm fonts from the amsfonts out of the Base64 string because they are not present.
Steps to Resolve:
- Install a Tex Distribution -> For Mac https://www.tug.org/mactex/.
- Clone my fork of dvi2html.
- The fonts from tools/tfm2json.js have been added there.
- Clone the tikzjax fork by artisticat1.
- Change line 21 to
"dvi2html": "file:../dvi2html",
. - Clone obsidian-tikzjax.
- In the dvi2html folder, run
npm i
&npm run dev
. - In the tikzjax folder, run
npm i
&npm run dev
. - Replace the newly generated tikzjax.js with the one from the obsidian-tikzjax folder.
- In the obsidian-tikzjax folder, run
npm i
&npm run dev
.
I'm definitely not an expert in this. This is the only solution I figured out working for me.
@artisticat1 I just opened an PR on your dvi2html maybe you can add this if you have time. :)
from obsidian-tikzjax.
I just opened an PR on your dvi2html maybe you can add this if you have time. :)
Thanks! I'll try to take a look sometime this week.
from obsidian-tikzjax.
Related Issues (20)
- Obsidian Publish Not Rendering Diagrams HOT 1
- Color inversion plugin confict HOT 4
- tikz graphs package support HOT 4
- Scaling does not work
- Infinite render HOT 7
- Loops not rendering in tikz in Obsidian only HOT 1
- No way to put IPA characters in drawings
- There is a problem about \schemestart<response equation>\schemestop HOT 1
- mathrsfs package support HOT 1
- Is it possible to support Young tableau? HOT 1
- Discussion Examples
- Cache: Automatic cleanup of files
- Add support for 'patterns' library HOT 1
- Update circuitikz version
- Circuitikz: Variable Resistor wiper not supported?
- Suggestion: Live Preview Mode
- More support for circuit diagramming
- Can't diagnose the cause, but since yesterday, every generated SVG has the wrong viewbox coordinates
- Cannot render basic diagram HOT 1
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 obsidian-tikzjax.