mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-05 17:11:41 -05:00
Cleanup, documenting options for inline Latex images
This commit is contained in:
parent
71ee42a803
commit
6170931932
6 changed files with 205 additions and 209 deletions
File diff suppressed because one or more lines are too long
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"cells": [],
|
||||
"metadata": {},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 0
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"cells": [],
|
||||
"metadata": {},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 0
|
||||
}
|
218
Demo.ipynb
218
Demo.ipynb
File diff suppressed because one or more lines are too long
|
@ -49,11 +49,42 @@ package. The URL request is of the form:
|
|||
ws://{server_address}:{port}/api/kernels/{kernel id from previous REST query}/channels?session_id={session id}
|
||||
#+END_QUOTE
|
||||
|
||||
** How a Worksheet is Displayed
|
||||
EIN relies heavily on EIEO and EWOC.
|
||||
|
||||
EWOC PP eventually calls `[[file:lisp/ein-cell.el::ein:cell-append-mime-type][ein:cell-append-mime-type]]` for output. Latex is
|
||||
considered text, but should be able to convert to image using dvitopng,
|
||||
imagemagick, other?
|
||||
|
||||
* Enhancements/Fixes
|
||||
** Support company-mode
|
||||
** Inline latex
|
||||
See issue [[https://github.com/millejoh/emacs-ipython-notebook/issues/88][#88]].
|
||||
|
||||
*** For Further Investigation
|
||||
|
||||
- [[https://github.com/zk-phi/magic-latex-buffer][magic-latex-buffer.el]]
|
||||
- [[https://www.gnu.org/software/auctex/preview-latex.html][preview-latex.el]]
|
||||
- Another [[https://github.com/aaptel/preview-latex/][preview-latex]] package (based on org-latex-preview).
|
||||
|
||||
*** Inline using org-latex-preview
|
||||
|
||||
[[http://orgmode.org/manual/Previewing-LaTeX-fragments.html#Previewing-LaTeX-fragments][Documentation]] for this facility in org.
|
||||
|
||||
Does it work here?
|
||||
|
||||
\begin{equation}
|
||||
x=\sqrt{b}
|
||||
\end{equation}
|
||||
|
||||
Some inline Latex math $a^2=b$.
|
||||
|
||||
Yes, but nedd MiKTeX installed if on windows.
|
||||
|
||||
If org-latex-preview is working then [[https://github.com/aaptel/preview-latex][p]]x will also work, though the code for
|
||||
`[[file:~/.emacs.d/elpa/px-20141006.548/px.el::(defun%20px--create-preview%20(at)][px--create-preview]]` needs to be patched as the signature for `org-format-latex`
|
||||
has changed.
|
||||
|
||||
** XWidget Support/Interactive Widgets
|
||||
|
||||
For the most part this is a non-starter since in Jupyter this is built on web
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
;; This file is NOT part of GNU Emacs.
|
||||
|
||||
;; ein-cell.el is free software: you can redistribute it and/or modify
|
||||
;; ein-cell-output.el is free software: you can redistribute it and/or modify
|
||||
;; it under the terms of the GNU General Public License as published by
|
||||
;; the Free Software Foundation, either version 3 of the License, or
|
||||
;; (at your option) any later version.
|
||||
|
|
Loading…
Add table
Reference in a new issue