Closed johnf-robert closed 9 months ago
It is actually quite easy to install quiver locally. Even if using a completely manual approach, this may be more helpful in helping you understand how clean and pure the environment that quiver relies on is :)
Here are the steps:
git clone
or click the link https://github.com/varkor/quiver/archive/refs/heads/master.zipquiver-master/src
, in other words, quiver needs to find katex.min.js
and other things (such as style files .css
and fonts .ttf
) in the folder src/katex
quiver-master/src/index.html
Supplementary explanation:
quiver-master/src/ui.js
and search for katex.min.js
, You will see that currently it is KaTeX/katex.min.js
, Due to the insensitivity of Windows file system to case, even if lowercase katex
was present before, it still worked very well. index. html
. In this case, you only need to run a local static web server in the current path. Many language runtime environments come with this feature, such as python -m http.server
Hi @johnf-robert, you probably don't need to build quiver manually using the Makefile. If you simply want to use quiver offline, as long as you have visited https://q.uiver.app/ at least once, you will be able to open it without an internet connection in the future. If you want to use it as a standalone app, you can also install it from the webpage. For instance, on Chrome, you can click on this icon in the URL bar:
(Unfortunately, this feature does not seem to be supported in Firefox at the moment, but you can still use quiver offline through the browser in this case.)
Currently, the only reason to use the Makefile is if you want to modify your own copy of quiver, the main task of the Makefile is to download KaTeX, which can easily be done manually as @kokic has explained (thank you @kokic!).
makefile displays an error at execution. makefile(24) : fatal error U1000: syntax error : ')' missing in macro invocation Stop.... Do you have an easy way to install the app locally without technical steps in Windows. I tried so many things following the processes blindly and nothing worked...I am not familiar with node.js, npm packages, and so on. Same nightmare for installing Katex... I expect a one-click install. Thank you. This application is a great job. I was waiting for that.