parpalak / i.upmath.me Goto Github PK
View Code? Open in Web Editor NEWUpmath LaTeX Renderer
Home Page: https://i.upmath.me/
License: MIT License
Upmath LaTeX Renderer
Home Page: https://i.upmath.me/
License: MIT License
Hi,
I was wondering if it's possible to have this in the preamble.
% -------------------------------------------------------------------
% Unicode Characters.
% -------------------------------------------------------------------
\usepackage{textcomp}
\usepackage[verbose]{newunicodechar}
\newunicodechar{¬}{\ensuremath{\neg}\;}
\newunicodechar{Γ}{\ensuremath{\Gamma}}
\newunicodechar{γ}{\ensuremath{\gamma}}
\newunicodechar{λ}{\ensuremath{\lambda}}
\newunicodechar{φ}{\ensuremath{\varphi}}
\newunicodechar{ψ}{\ensuremath{\psi}}
\newunicodechar{ϕ}{\ensuremath{\varphi}}
\newunicodechar{ᵢ}{\ensuremath{{}_{i}}}
\newunicodechar{₀}{\ensuremath{{}_{0}}}
\newunicodechar{₁}{\ensuremath{{}_{1}}}
\newunicodechar{₂}{\ensuremath{{}_{2}}}
\newunicodechar{₃}{\ensuremath{{}_{3}}}
\newunicodechar{₄}{\ensuremath{{}_{4}}}
\newunicodechar{₅}{\ensuremath{{}_{5}}}
\newunicodechar{₆}{\ensuremath{{}_{6}}}
\newunicodechar{₇}{\ensuremath{{}_{7}}}
\newunicodechar{₈}{\ensuremath{{}_{8}}}
\newunicodechar{₉}{\ensuremath{{}_{9}}}
\newunicodechar{ₙ}{\ensuremath{{}_{n}}}
\newunicodechar{ℓ}{\ensuremath{\ell}}
\newunicodechar{→}{\ensuremath{\rightarrow}}
\newunicodechar{⇒}{\ensuremath{\supset}}
\newunicodechar{⇔}{\ensuremath{\Leftrightarrow}}
\newunicodechar{∅}{\ensuremath{\emptyset}}
\newunicodechar{∈}{\ensuremath{\in}}
\newunicodechar{∘}{\ensuremath{\circ}}
\newunicodechar{∙}{\ensuremath{\bullet}}
\newunicodechar{∧}{\ensuremath{\wedge}}
\newunicodechar{∨}{\ensuremath{\vee}}
\newunicodechar{∼}{\ensuremath{\sim}}
\newunicodechar{≠}{\ensuremath{\neq}}
\newunicodechar{≡}{\ensuremath{\equiv}}
\newunicodechar{⊃}{\ensuremath{\supset}}
\newunicodechar{⊕}{\ensuremath{\oplus}}
\newunicodechar{⊖}{\ensuremath{\ominus}}
\newunicodechar{⊢}{\ensuremath{\vdash}}
\newunicodechar{⊤}{\ensuremath{\top}}
\newunicodechar{⊥}{\ensuremath{\bot}}
\newunicodechar{⊻}{\ensuremath{\veebar}}
\newunicodechar{⟝}{\ensuremath{\vdash}}
\newunicodechar{⬓}{\ensuremath{\square}}
\newunicodechar{Σ}{\ensuremath{\sum}}
\newunicodechar{Π}{\ensuremath{\prod}}
\newunicodechar{ⱼ}{\ensuremath{{}_{j}}}
That would allow me to use unicode characters since I use them so often.
Best,
Jonathan.
As parameter on URL.
this is a amazing latex renderer, but when I try to deploy to my server, I cannot find php-fpm-tex.sock
in my host. I know I should start php-fpm
service to enable this:
upstream php-sock {
server unix:/var/run/php/php7.3-fpm.sock;
}
but for php7.3-fpm-tex.sock, I don't know where to find this CGI service, what's this? where can I find it?
Sorry for this silly question.
Adding patterns broke a TikZ code. Here is a simple example:
$$\usetikzlibrary{patterns}
\begin{tikzpicture}
\filldraw[pattern=dots] (0, 0) rectangle (1, 1);
\draw (-1, -1) -- (2, 0);
\end{tikzpicture}$$
All I got is a blank svg. It didn't even render the line below the pattern.
I'm using this for rendering my blog but
It's taking now almost 8sec to load the entire page:
https://goo.gl/nRtSmH
I might be doing something wrong in my configurations or
it just what it is expected from using SVG Rendering?
Hi, when installing tex.s2cms.ru, doing bower install
, it complain about unexpected }
in bower.json. The error is at line 18. Just deleting the ending ,
make it work.
Is there any chance to provide the option to encode the url after /png/ or /svg/ in something like
base64 or any other enconding. The URL required to plot certain equations (tikz images for example) tend to be so long (I guess it's proportionally to the code used). It would be nice to use a webservice to provide a shorter URL.
Hi, I try to run the *tex.s2cms.ru server locally but got some problems.
I successfully bring up nginx server and I can see the index page at http://my.host.latex.net.
(my.host.latex.net is my local host). But when I try to render the latex image using http://my.host.latex.net/svg/f(x)%20%3D%20x%20y
, I got 502 Bad Gateway
, and in the log file, I see something like fail to connect to php5-fpm-tex....
. Then I check for /var/run/php5-fpm-tex and find only /var/run/php5-fpm-tex. How can I bring up this php5-fpm-tex
? May be I miss configure something?
Actually when I configure this server I got something weird.
First of all when I try grunt
it complain about
Running "shell:gzip_page" (shell) task
Warning: An error occurred while processing a template (Cannot read property 'dest' of undefined). Use --force to continue.
Clearly there is something miss in the shell:gzip
entry in the gruntfile.js file. How can I fix this ?
I haven't set anything proc_open()
, but I have ensured that in my php.ini
, proc_open
is not in the disable line.
The requirement say that I have to install Nginx with ngx_http_lua_module
, so I use apt-get install nginx-extras
in Ubuntu. Is this OK ?
Thanks!
I would suggest change those absolute resource paths like:
href="/css/some-css-file
href="/js/some-js-file
to some relative paths like:
href="./css/some-css-file
href="./js/some-js-file
in case somebody don't want to make tex.s2cms.ru/www
their document root.
Hello,
I'm trying this fantastic library but we found some problems with margin and fonts, some svg are not displaying well.
I actually don't know which is the best way to install TexLive in linux ? When you say "TeX Live. I prefer a full installation and disabling write18 support"
From TexLive site i have :
wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip
unzip ./install-tl.zip -d install-tl
But these is not working well
Can i do something lilke : sudo apt-get install texlive-full ?
Thanks!
Hi @parpalak,
I've tested this excelent library with two latex versions:
In both cases, I found a problem with the ">" "<" characters and the \begin{aligned} directive. For example, the following formula is printed as follows:
In the Upmath editor, it shows perfectly:
Tried forcing mathmode and also disabling \write18 with no success.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.