Coder Social home page Coder Social logo

i.upmath.me's People

Contributors

herbrant avatar jonaprieto avatar parpalak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

i.upmath.me's Issues

Writing with unicode characters

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.

issue about phpx.x-fpm-tex.sock

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.

TikZ patterns not working

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.

Slow rendering

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?

invalid bower.json

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.

The URL is so long and It can be shorter

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.

Include the prefix `http://` or `https://` in the Image URL

The image URL needs to include the prefixes mentioned in the title of this issue.
Consider that copy such URLs do not work in Markdown files.

Just using an inline style:

![fx](//tex.s2cms.ru/png/f(x))

renders to

fx

Instead of:

fx

by prepending the http:// prefix

![fx](http://tex.s2cms.ru/png/f(x))

cannot render latex on a locally run server

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!

Change absolute resource path to relative resource path

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.

Prefered way to install TexLive

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!

">" and "<" printing as "gt;" "lt;" \begin{aligned} prints "amp;"

Hi @parpalak,

I've tested this excelent library with two latex versions:

  • texlive2021 (dvisvgm 2.11.1)
  • texlive2019 (dvisvgm 2.8.1)

In both cases, I found a problem with the ">" "<" characters and the \begin{aligned} directive. For example, the following formula is printed as follows:

$$ \begin{equation} \begin{aligned} F ={} & {F_{x} \in F_{c} : (|S| > |C|) \\ & \cap (\mathrm{minPixels} < |S| < \mathrm{maxPixels}) \\ & \cap (|S_{\mathrm{conected}}| > |S| - \epsilon)} \end{aligned} \end{equation} $$

image

In the Upmath editor, it shows perfectly:

image

Tried forcing mathmode and also disabling \write18 with no success.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.