Support inline latex code for equations
Bug #347326 reported by
sirix
This bug affects 14 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Implement an option to generate images on-the-fly out of a latex code in the page sourcecode -
such an option could be activated only for particular notebooks, or
even pages in the notebook.
This would allow Zim to be used as a notebook for mathematical ideas - it's rather impossible using the equation editor.
summary: |
- Feature Request: improving Latex handling + Support inline latex code for equations |
tags: | added: embedded equationeditor latex objects |
tags: |
added: embedded-objects removed: embedded objects |
To post a comment you must log in.
Would be an extension to the current equation editor allowing choice between having inline latex and saving them as separate files. Images for inline latex could be generate the same as is done by the editor. Saving the images by MD5 of the latex input seems a good way to reduce the number of times an image needs to be rendered.
Main advantage is in typing equations inline; rendering would happen at reload (^R). To modify an equation that is already rendered one would either need the equation editor (move to image and press ^E) or go to "Tools->Edit Source" and edit the raw wiki source.
Need syntax for having an equation on a single line and for multi-line blocks. Using "$$ .. $$" seems to be the default for latex equations within a sentence. The block syntax could be something like "{{{ render:latex ... }}}". By explicitly defining the block as latex we can also use the same extension mechanism for other languages (e.g. gnuplot, graphviz, etc.).