px was added, even though I prob. not gonna use it, and made pdflatex as default tex-run-command
parent
e0af067cc7
commit
ddaf756c6f
6
.emacs
6
.emacs
|
@ -27,7 +27,9 @@
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
(quote
|
(quote
|
||||||
(color-theme-sanityinc-solarized elpy forest-blue-theme)))
|
(color-theme-sanityinc-solarized elpy forest-blue-theme)))
|
||||||
'(pyvenv-activate "~/.virtualenv/default"))
|
'(pyvenv-activate "~/.virtualenv/default")
|
||||||
|
'(tex-run-command "pdflatex")
|
||||||
|
'(texinfo-tex-command "pdflatex"))
|
||||||
|
|
||||||
;; https://github.com/Boruch-Baum
|
;; https://github.com/Boruch-Baum
|
||||||
(defun my-copy-to-xclipboard(arg)
|
(defun my-copy-to-xclipboard(arg)
|
||||||
|
@ -72,6 +74,8 @@
|
||||||
|
|
||||||
(load-theme 'forest-blue t)
|
(load-theme 'forest-blue t)
|
||||||
(elpy-enable)
|
(elpy-enable)
|
||||||
|
(setq TeX-PDF-mode t)
|
||||||
|
(setq latex-run-command "pdflatex")
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,12 @@
|
||||||
|
Provides functions to preview LaTeX codes like $x^2$ in any
|
||||||
|
buffer/mode.
|
||||||
|
|
||||||
|
Use `px-preview-region' to preview LaTeX codes delimited by $ pairs
|
||||||
|
in the region.
|
||||||
|
Use `px-preview' to process the whole buffer.
|
||||||
|
Use `px-remove' to remove all images and restore the text back.
|
||||||
|
Use `px-toggle' to toggle between images and text on the whole
|
||||||
|
buffer.
|
||||||
|
|
||||||
|
Most of this code comes from weechat-latex.el which in turn uses
|
||||||
|
org-mode previewer.
|
|
@ -0,0 +1,6 @@
|
||||||
|
;; Object srecode-map
|
||||||
|
;; EIEIO PERSISTENT OBJECT
|
||||||
|
(srecode-map "srecode-map"
|
||||||
|
:file "srecode-map.el"
|
||||||
|
:files '(("/usr/share/emacs/25.3/etc/srecode/wisent.srt" . wisent-grammar-mode) ("/usr/share/emacs/25.3/etc/srecode/texi.srt" . texinfo-mode) ("/usr/share/emacs/25.3/etc/srecode/template.srt" . srecode-template-mode) ("/usr/share/emacs/25.3/etc/srecode/make.srt" . makefile-mode) ("/usr/share/emacs/25.3/etc/srecode/java.srt" . java-mode) ("/usr/share/emacs/25.3/etc/srecode/el.srt" . emacs-lisp-mode) ("/usr/share/emacs/25.3/etc/srecode/default.srt" . default) ("/usr/share/emacs/25.3/etc/srecode/cpp.srt" . c++-mode) ("/usr/share/emacs/25.3/etc/srecode/c.srt" . c-mode))
|
||||||
|
:apps '((tests ("/usr/share/emacs/25.3/etc/srecode/test.srt" . srecode-template-mode)) (getset ("/usr/share/emacs/25.3/etc/srecode/getset-cpp.srt" . c++-mode)) (ede ("/usr/share/emacs/25.3/etc/srecode/ede-make.srt" . makefile-mode) ("/usr/share/emacs/25.3/etc/srecode/ede-autoconf.srt" . autoconf-mode)) (document ("/usr/share/emacs/25.3/etc/srecode/doc-java.srt" . java-mode) ("/usr/share/emacs/25.3/etc/srecode/doc-default.srt" . default) ("/usr/share/emacs/25.3/etc/srecode/doc-cpp.srt" . c-mode))))
|
Loading…
Reference in New Issue