emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Robert Love <rblove@airmail.net>
Cc: emacs-orgmode list <emacs-orgmode@gnu.org>
Subject: Re: Example of Make file for Org Mode LaTeX to pdf
Date: Sun, 6 Mar 2016 18:34:22 +0000	[thread overview]
Message-ID: <87r3fn4frl.fsf@ucl.ac.uk> (raw)
In-Reply-To: <4A383BD1-2B7C-4AF3-909E-5D1561B1F933@airmail.net> (Robert Love's message of "Fri, 4 Mar 2016 23:43:00 -0600")

On Friday,  4 Mar 2016 at 23:43, Robert Love wrote:
> Does anyone have a make file example that has emacs load an .org file,
> process it into LaTeX and export as PDF, all from the command line
> without the user doing anything more than type ‘make’?  All examples
> appreciated.

I don't a makefile but I do have a single shell command that exports my
agenda to an ics file for uploading to google's calendar:

--8<---------------cut here---------------start------------->8---
emacs -Q --batch --debug-init \
    --directory=${HOME}/s/emacs \
    --load=custom.el \
    --load=esf-org.el --visit=${DIARY}.org --eval='(org-icalendar-export-to-ics)'
--8<---------------cut here---------------end--------------->8---

HTH
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.4-626-gb62d55

  parent reply	other threads:[~2016-03-06 18:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-05  5:43 Example of Make file for Org Mode LaTeX to pdf Robert Love
2016-03-06 13:26 ` Myles English
2016-03-06 13:40 ` John Kitchin
2016-03-06 18:34 ` Eric S Fraga [this message]
2016-03-07  8:55   ` Loris Bennett
2016-03-07 14:20     ` Nick Dokos
2016-03-07 15:26     ` Eric S Fraga
2016-03-07 16:10       ` Loris Bennett
2016-03-09  3:38         ` Robert Love

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r3fn4frl.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=rblove@airmail.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).