obsidian-latex
obsidian-latex copied to clipboard
Having issues with mobile.
Having issues with preamble commands working on iPhone and iPad, but works great on MacBook.
Using iCloud for storage.
@michael-byrd Could you check if the plugin loads in Obsidian mobile? Under Settings > Community Plugins
, you can use the following option:
Also, can I see the exact contents of your preamble.sty
and which commands don't work?
Plugin looks to be loading correctly, took 14ms .
\newcommand{\tr}[1]{\operatorname{trace}\left(#1\right)}
\newcommand{\abs}[1]{\left|#1\right|}
\newcommand{\norm}[1]{\left\| #1\right\| }
\newcommand{\br}[1]{\left\lbrace #1\right\rbrace }
\newcommand{\vspan}[1]{\operatorname{span}\left(#1\right)}
\newcommand{\conv}[1]{\operatorname{conv}\left(#1\right)}
\newcommand{\CC}{\mathbb{C}}
\newcommand{\NN}{\mathbb{N}}
\newcommand{\RR}{\mathbb{R}}
\newcommand{\QQ}{\mathbb{Q}}
\newcommand{\cA}{\mathcal{A}}
\newcommand{\cE}{\mathcal{E}}
\newcommand{\cM}{\mathcal{M}}
\newcommand{\vocab}[1]{\textbf{\color{red} #1}}
Here is the preamble. I don't think any of the commands are working on mobile.
@michael-byrd Unfortunately I don't have an iOS device to test, but perhaps you could try https://github.com/KjellConnelly/obsidian-dev-tools and opening up the console to see if there are any errors? All the commands you wrote should work fine on mobile.
Hey @michael-byrd. I don't know if you have already found a solution, but I just found out, that on mobile, you can use the homepage plugin and insert all the commands from your preamble within a MathJax math environment, i.e. within $$..$$
, on the "homepage" page (from the plugin). This "homepage" is the first page that gets loaded when you open obsidian and if you place your commands within a math environment on that page, then every page that loads after this on has access to those commands (at least that's what I understood). Hope that helps :)