Open Neutronicsenthusiast064 opened 11 months ago
Sorry - the WeTransfer link doesn't exist - "That page can't be found." Maybe you could just share the Markdown of that particular note?
I confess I don't know much about LaTeX, but when I visit your shared link I do see lots of A's, k's, and f's:
If the above image looks correct, then it's probably just something cached at your end. Please try opening your note in a private browsing / Incognito window to check.
Hello,
Somehow it is working again correctly, I'm really confused.
I didn't touched anything to my web browser and everything is working as expected...
If this issue comes back again, i will try to provide you a screenshot of my view.
Thank you.
PS: A little suggestion before closing this, is it possible to add a function to be able to share pdf/epub files? It could be really helpful as well.
It will be that the CSS was originally built without the LaTeX components, and then cached on your browser.
When the plugin re-built it with the LaTeX components, your browser kept showing the cached CSS without those components existing.
Now your local cache has expired and you see the updated CSS.
I'll have a look at PDFs 👍
I'm getting the same issue after clearing browser cache and using browsers that have never seen note.sx, see this note. In obsidian: On web:
@TheColorman did you follow the Troubleshooting steps and recreate the CSS? You need to do that for the MathJax styles to appear. By default Obsidian doesn't include any MathJax styles, so the original time your CSS was created it wouldn't have included them.
You can see it working here using your LaTeX code above: https://share.note.sx/ow2285me#5VLXEXsdEuNuLThIjYKvfPsbjWkIqlgZBiOwyyzqeq0
I'm pretty sure I've done it a few times, but I'll give it a try.
Yep, no change after force uploading. Could it be the theme?
Thanks, I will attempt to replicate. It might be theme-related, what theme are you using?
Catppuccin
Hi I have the same problem with latex. this changes to this :
Formula renderings completely fails. I tried all troubleshooting recommendations.
There's definitely a problem with CSS being uploaded. There's a style tag with id MJX-CHTML-styles
that includes all the styling for all math. Here is the one in my local obsidian and the one present on the site after sharing a note:
The important part here is the diff:
Hopefully this is somewhat helpful.
👆 Opening up devtools (ctrl+shift+i) and looking at the styles for math, then force re-uploading all assets seems to have fixed the site version for me so try that out if you also have this problem.
To add to this, it seems like the css styles are generated dynamically as you open different notes. E.g. if a latex $k$ is not in you current note, you won't get css for it, but if you then open a note that has it, the css will get added. When the plugin accesses the html document, there might be some caching going on that gets an old version of the css, and opening up the actual style tag in the devtools reloads this cache.
This issue is affecting a note of mine currently: https://share.note.sx/t6a622g8
The relevant Markdown for the affected section is:
Modified Kardashev Scale, based on Watts:
$$K = (\log{W} - 7.38) / 9.73$$
In case the above formatting is broken: `K = (log(W) - 7.38) / 9.73`
It should display similarly to:
But is showing as:
The same here, can't display latex
local:
share-note: https://share.note.sx/u94m8jvt#qCwBOy1zbbFU0Sy19k6fNKCXLjXgOqNYc8w7DsUEGi0
This issue is affecting a note of mine currently: https://share.note.sx/t6a622g8
The relevant Markdown for the affected section is:
Modified Kardashev Scale, based on Watts: $$K = (\log{W} - 7.38) / 9.73$$ In case the above formatting is broken: `K = (log(W) - 7.38) / 9.73`
It should display similarly to:
But is showing as:
Hi, I just notice that the card layout in your share note is super cool, can you share the implementation method of the video on card layout in your notes? Thank you
Hi, I just notice that the card layout in your share note is super cool, can you share the implementation method of the video on card layout in your notes? Thank you
@forrany I think you mean the table of videos?
| Kurzgesagt | Cool Worlds |
| ---- | ---- |
| ![What Do Alien Civilizations Look Like? The Kardashev Scale](https://www.youtube.com/watch?v=rhFK5_Nx9xY) | ![Becoming a Kardashev Type I Civilization](https://www.youtube.com/watch?v=HEpNiOM6lto) |
| **Isaac Arthur** | |
| ![The Kardashev Scale (narration only)](https://www.youtube.com/watch?v=J0ZMk0785kI) | |
Since this is off-topic for this issue, if you have other questions, please message me on Twitter or use the email address on my profile so we don't bother others.
Hi @TangentFoxy and others, did you follow the troubleshooting steps in the docs?
https://docs.note.sx/troubleshooting#mathjax--latex
I get the full Latex as it should be after following the docs:
https://share.note.sx/odro4riw#ve/USvN4pDMgng/omjgfI11Uj9SQmLNlYVE0DGvAKYY
As @TheColorman says:
To add to this, it seems like [within Obsidian itself] the css styles are generated dynamically as you open different notes. E.g. if a latex is not in you current note, you won't get css for it, but if you then open a note that has it, the css will get added.
So if you're missing any Latex components, my suggestion would be to create a "Latex master CSS" note with any components you find missing, and then Force reupload
just that one note to make sure all the CSS is built and used for all your other individual notes.
Apologies, I had not seen the forced re-upload option or the troubleshooting page. My note is fixed now.
(Thank you for your patience and for making Share Note freely available. It means a lot to me.)
Hey, how you fixed the note? I did everything in the troubleshooting page, but it doesn't seem to work.
Local:
share-note: https://share.note.sx/vvvjmzyd#SqNkIJbYbRjX4BkyY0WSAKHuRQUivfP+vQaChxCqd/E
Hello,
As a physics student, I'm using LaTeX on Obsidian every day to write my formulas and equations.
I was searching for a plugin which would help me to display my lectures notes to my colleagues, and I discovered your amazing plugin so first of all, thank you so much.
Now about my issue. I was uploading one of my lectures note and I noticed that LaTeX equations missed some letters and greek letters. I think that some letters (like k, A and f) aren't working, and all greek letters are not working at all. Watch this: https://share.note.sx/h9re66zw
You may find my zipped demo vault in this WeTransfer https://we.tl/t-jK9YXXp7K8 (because its too huge (112 MB) as attachment, even if i removed almost everything in).
You will find also another lecture note inside, that is correctly working with LaTeX but there is no greek letter on.
Thank you again for trying to find a solution to my issue.