summaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-org.el~
diff options
context:
space:
mode:
authorSteve Lee <me@xiangyangli.com>2019-05-13 00:27:52 +0800
committerSteve Lee <me@xiangyangli.com>2019-05-13 00:27:52 +0800
commitfce861a15669b403935709bfc2d8226587a74ca1 (patch)
tree2293ded8ed63bb3b0cccd0db29d44e65b0a9c1cc /.emacs.d/lisp/init-org.el~
parent12548c64d926a29d25c9046af4bf7da9d6dc18b4 (diff)
parente49e90668a6e24046329461bb598d180cee18a00 (diff)
downloaddotfiles-fce861a15669b403935709bfc2d8226587a74ca1.tar.xz
dotfiles-fce861a15669b403935709bfc2d8226587a74ca1.zip
Merge branch 'master' of ssh://vs-ssh.visualstudio.com:22/42/_ssh/dotfiles
Diffstat (limited to '.emacs.d/lisp/init-org.el~')
-rw-r--r--.emacs.d/lisp/init-org.el~55
1 files changed, 0 insertions, 55 deletions
diff --git a/.emacs.d/lisp/init-org.el~ b/.emacs.d/lisp/init-org.el~
deleted file mode 100644
index bc818e9..0000000
--- a/.emacs.d/lisp/init-org.el~
+++ /dev/null
@@ -1,55 +0,0 @@
-;;; org --- All configuration of org-mode
-
-;;; Commentary:
-;; Mostly the pdf export configuration
-
-;;; Code:
-
-;; active Babel languages
-(org-babel-do-load-languages
- 'org-babel-load-languages
- '((sql . t)))
-;; add additional languages with '((language . t)))
-
-(setq org-latex-classes
- '(("article"
- "
- \\documentclass[11pt]{article}
- \\usepackage{xeCJK}
- \\usepackage{indentfirst}
- \\usepackage{amsmath}
- \\setlength{\\parindent}{2em}
- \\setCJKmainfont{SimSun}
- \\numberwithin{equation}{section}
- \\newtheorem{Theorem}{定理}[section]
- \\newtheorem{Definition}[Theorem]{定义}
- \\newtheorem{Lemma}[Theorem]{引理}
- \\newtheorem{Corollary}[Theorem]{推论}
- \\topmargin=-0.45in
- \\evensidemargin=0in
- \\oddsidemargin=0in
- \\textwidth=6.5in
- \\textheight=9.0in
- \\headsep=0.25in
-
- \\linespread{1.1}
- "
- ("\\section{%s}" . "\\section*{%s}")
- ("\\subsection{%s}" . "\\subsection*{%s}")
- ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
- ("\\paragraph{%s}" . "\\paragraph*{%s}")
- ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
- ))
-;; Use XeLaTex
-(setq org-latex-pdf-process
- '("xelatex -interaction nonstopmode -output-directory %o %f"
- "xelatex -interaction nonstopmode -output-directory %o %f"
- "xelatex -interaction nonstopmode -output-directory %o %f"))
-
-(setq org-log-done t)
-(setq org-agenda-files (list "~/org/work.org"
- "~/org/school.org"
- "~/org/home.org"
- "~/42/Personal/Plan/plan.org"))
-(provide 'init-org)
-;;; init-org ends here