md->org, and new global org files

This commit is contained in:
Seth Morabito 2021-03-07 10:16:32 -08:00
parent 73319249e5
commit 36d1ccea4e
4 changed files with 45 additions and 18 deletions

View File

@ -1,4 +1,4 @@
# My Emacs Configuration
* My Emacs Configuration
This is my Emacs configuration. It's been written and rewritten and
refactored and migrated and changed and updated since the late '90s.
@ -10,7 +10,7 @@ development servers, etc.
A lot of this stuff is pretty specific to my personal needs, but feel
free to steal ideas.
## Structure
** Structure
My Emacs configuration is kept in *Literate Configuration* style.
This means that my configuration is a human-readable document that
@ -18,39 +18,39 @@ puts comments first, and embeds the actual configuration elisp as code
snippets.
The main file is called [configuration.org](configuration.org), and
is in `org-mode` format.
is in =org-mode= format.
Files found in `~/.emacs.d/local` are ignore by Git, but added to
Files found in =~/.emacs.d/local= are ignore by Git, but added to
the load path.
Files found in `~/.emacs.d/lisp` are checked into Git, and added to
Files found in =~/.emacs.d/lisp= are checked into Git, and added to
the load path.
## Getting Started
** Getting Started
The process for bootstrapping all this stuff is complicated
a little bit by the fact that I use the latest `org-mode`
a little bit by the fact that I use the latest =org-mode=
as a Git submodule. The full process for getting everything running
is as follows:
### Clone the Repository
*** Clone the Repository
$ git clone git@github.com:sethm/emacs-files.git ~/.emacs.d
: $ git clone git@github.com:sethm/emacs-files.git ~/.emacs.d
### Update the `org-mode` and `tera-mode` submodules
*** Update the =org-mode= and =tera-mode= submodules
$ cd ~/.emacs.d
$ git submodule init
$ git submodule update
: $ cd ~/.emacs.d
: $ git submodule init
: $ git submodule update
### Build `org-mode`
*** Build =org-mode=
$ cd ~/.emacs.d/org-mode
$ make
: $ cd ~/.emacs.d/org-mode
: $ make
## License
** License
Copyright 19952020, Seth J. Morabito <web@loomcom.com>
Copyright 19952020, Seth J. Morabito <web@loomcom.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the

View File

@ -713,6 +713,7 @@
:defer t)
(require 'ox-latex)
(setq org-tags-column -65
org-latex-listings 't
org-export-default-language "en"
org-export-with-smart-quotes t
org-agenda-tags-column -65
@ -730,6 +731,20 @@
:height 1.4)
(set-face-attribute 'org-level-2 nil
:height 1.2))
(with-eval-after-load 'ox-latex
(add-to-list 'org-latex-classes
'("org-plain-latex"
"\\documentclass{article}
[NO-DEFAULT-PACKAGES]
[PACKAGES]
[EXTRA]"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))))
#+END_SRC
I have a lot of custom configuration for =org-mode=.

4
org/README.org Normal file
View File

@ -0,0 +1,4 @@
* Global org-mode Files
This directory contains org-mode files I want to include as
templates elsewhere.

View File

@ -0,0 +1,8 @@
#+LaTeX_CLASS: org-plain-latex
#+LaTeX_CLASS_OPTIONS: [letter]
#+LATEX_HEADER: \usepackage{lmodern}
#+LATEX_HEADER: \usepackage[AUTO]{inputenc}
#+LATEX_HEADER: \usepackage{graphicx}
#+LATEX_HEADER: \usepackage{amsmath, amsthm, amssymb}
#+LATEX_HEADER: \usepackage[table, xcdraw]{xcolor}
#+LATEX_HEADER: \usepackage{listings}