canna71 / obsidian-mathpad Goto Github PK
View Code? Open in Web Editor NEWComputer Algebra System (CAS) for Obsidian.md
License: Other
Computer Algebra System (CAS) for Obsidian.md
License: Other
My suggestion is to add a setting which allows you to change the amount of decimal places that are given in a numerical answer. This could be taken a few steps further and include a scientific mode to force display all results in scientific notation regardless of their order of magnitude.
This is an incredibly useful plugin and I am very grateful that you have created it!
I was wondering what the current blocker is to having mobile support. I'd love to be able to use this on Obsidian Mobile.
Thanks for your work on this. It is the best CAS solution I've seen for Obsidian. If you're still actively working on it, I think I found an issue regarding the rendering of min and max functions.
Issue: the min and max functions are rendering differently, depending on if parentheses are placed within the expression. Also, the first argument in the min function doesn't appear when parentheses are used and the functions are "nested". It does evaluate correctly, however.
Examples:
Min & Max Functions.md
Thanks and take care!
Mathpad uses the same symbols as the Markdown inline code and code blocks use (the backtick `
for inline and triple backticks ```
for code block) to identify expressions that should be evaluated.
The problem is: suppose I want to write an inline code like x+3==?
, that is NOT a Mathpad expression, and should NOT be rendered to LaTeX or evaluated. I just want to show the code inline.
That's impossible, because Mathpad will automatically render it as:
Suggestion: use another symbol for Mathpad expressions instead of the backtick `
.
For example: @x+3==?@
instead of `x+3==?`
and
@@@
a:=10
f(x):=x+3
f(a)==?
@@@
instead of using triple backticks ```
Hi there, I am the developer of ObsidianHtml. A user would like to export their vault to html, and asked if I could make their mathpad codeblocks appear as they do in Obsidian.
I see in the main.ts file a lot of integrations with Obsidian specific code, so I don't think using the main.js from your release directly will work.
Is this something that you would want to support?
I envision having a
<code class="mathpad">
plot(sin(x))
</code>
block, or even a div, and have mathpad do its thing on the contents. Either on page load or as a precompile step would work for our project.
If this is out of scope for you, then I completely understand as well!
Cheers.
Obisdian just freezes when trying to open Obsidian Memos (v1.9.7) while Mathpad (v0.8.14) plugin is enabled. It even don't crash, just permafreeze.
I found a workaround opening memos's window while mathpad is disabled and then enable it. It works well unless you try to reopen the memos's window, but just have to restart obsidian, disable mathpad, open memos and reenable mathpad.
Hello,
I really like this plugin and I want to use it on my tablet, so today I decided to try to port it.
I did some tests by making a plugin that uses Nerdamer, as far as I've seen, it works on mobile no problem.
That's the only dependency I've seen while browsing the code.
Why did you make the library only desktop? Am I missing something?
Here is the repo with the plugin I made using Nerdamer: https://github.com/FBarrca/Nerdamer-Test/releases/tag/0.0.5
It's currently impossible to plot a function that has more than one value for
It would also be good if we could plot points.
Maybe Mathpad could plot it like Desmos does it. Something like `plot(y^2 + x^2 = 25)`
and `plot( (3,2) )`
.
Like
Hey,
as the title suggests, it seems that inline results cannot work if the text is formatted, i.e. in bullets/lists, headings, bold etc.
Would be nice if the iPad and Android version were supported.
The https://obsidian.md/plugins shows
I don't know where is this typo, if it's in this repo or where, but maybe you want to get in contact with https://obsidian.md/plugins so that the typo is fixed.
I would love to have some sort of slider for variables, so that the value can be manipulated in read mode.
I have something like a:=slider(from, to, [stepsize], [default value])
in mind.
So as an example you could do:
a:=slider(1, 10)
plot(x^a)=?
To have a plot that changes when the slider is used.
thttog6str95mm:=9
renders as "tht6str95mm := 9" but continues to function as a regular variable. So the function works as expected but the variable name renders as multiplication. I assume that is a tokenization quirk and might be non repairable.
Typo: "Onsidian" should be "Obsidian"
obsidian-mathpad/manifest-beta.json
Line 6 in d8c799e
Obsidian normally remembers the state of the sidebars from the last session when you open it. When mathpad is enabled, however, it always launches with the right sidebar open and the mathpad tab selected.
Hi,
First of all, thanks for your great plugin!
I have the following issue, let us take the following simple code as an example, where I want to print the value of a variable.
`x:= 7001`
| Results | Value |
| ------- | --- |
| Value of X | `x=?` |
Using this code variable x is not evaluated/ rendered. Instead, it just says 'x'. I found the same issue when using it inside Obsdian Callout Blocks.
Thank you for your time :-)
First of all I want to express my thanks for providing the Mathpad plugin. I use it extensively and find it very useful, really.
Some week ago I discovered an issue where a positive decimal raised to the power of another decimal resulted to zero. As I understand you are using the Nerdamer development, I tested it at http://nerdamer.com and ran into the same erroneous result. I created an issue with together-science/nerdamer-prime#39. At nerdamer-prime the functionality of Nerdamer is somehow continued, bugs solved, etc. Also this bug was quickly solved by https://github.com/gunnarmein-ts.
Perhaps you are interested in incorporating this nerdamer-prime development into Mathpad, as it resolves some important bugs, including the one I raised. The developer from nerdamer-prime wrote to me, you can take contact anytime at [email protected].
Can I ask you to assess the possibility? Thanks upfront.
Several plugins, including data-view, use front-matter yamel to introduce variable usage. It would be neat, if variables made in the front-matter would be usable as though already declared in a block. This add the complexity though that some plugins, again like data-view, include ways of altering the front-matter declarations later in the document. [variable::newvalue]] in the case of data-view. and that would require recognition of data-view usage and accessing its variables rather than parsing on the part of this plugin. Just a thought.
I don't have an issue, just wanted you to know I find this plugin useful and support your continued work to improve it. Thanks.
We could have 2 separate options in Mathpad's settings:
I, for example, want to use block LaTeX only when I'm typing in a codeblock, therefore I'd use the first option ON.
When I'm typing inline code, I would like to render inline LaTeX by default, therefore I'd use the second option OFF
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.