mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-05 09:01:40 -05:00
Fix potential issues saving Latex Output
Sometimes ein will not save latex output properly. This is an attempt to avoid that situation. Also some updates to gitignore.
This commit is contained in:
parent
f3a7c61df3
commit
710ccaace2
2 changed files with 4 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -14,3 +14,5 @@ tests/test-batch-log.log
|
|||
lisp/test-batch-log.log
|
||||
*.pyc
|
||||
test-batch-log.log
|
||||
*.ipynb~
|
||||
Makefile~
|
||||
|
|
|
@ -1057,7 +1057,8 @@ prettified text thus be used instead of HTML type."
|
|||
|
||||
((and (equal otype "execute_result")
|
||||
(or (equal prop :text)
|
||||
(equal prop :html)))
|
||||
(equal prop :html)
|
||||
(equal prop :latex)))
|
||||
(ein:log 'debug "Fixing execute_result (%s?)." otype)
|
||||
(let ((new-prop (cdr (ein:output-property-p prop))))
|
||||
(push (list new-prop (list value)) new-output)
|
||||
|
|
Loading…
Add table
Reference in a new issue