[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Command line tricks
From: |
Russell Adams |
Subject: |
[Orgmode] Command line tricks |
Date: |
Wed, 6 Aug 2008 03:37:41 -0500 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
I've recently started using a few command line options with Org I
thought I'd share, perhaps they'll inspire someone else.
In my ~/.bashrc, I have defined an alias for Org that runs:
emacs -nw --funcall org-agenda-list
Which pulls up Org in the agenda view, which is where I wanted to be
in the first place!
I'm working away at latex, and I've divided up some of my files in
Org, and got tired to manually triggering the export to latex.
Instead now I have a makefile which runs:
emacs --eval '(setq enable-local-variables :all)' \
filename.org \
-f org-export-as-latex \
-f save-buffers-kill-emacs
This opens my Org file, exports it to latex, and quits. I'm very
pleased with the result, because the makefile next calls pdflatex to
PDF my document. The local variables override is because I set some
custom headers in the documents.
Enjoy!
------------------------------------------------------------------
Russell Adams address@hidden
PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/
Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
- [Orgmode] Command line tricks,
Russell Adams <=