From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Coloured source code examples in --batch exports?
Date: Thu, 13 Jun 2019 16:16:16 -0400 [thread overview]
Message-ID: <87r27xqm0f.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: m2wohpwlyy.fsf@brautaset.org
Stig Brautaset <stig@brautaset.org> writes:
> ...
> Adding a ~--batch~ flag to the command makes the command run on
> CircleCI, but I get a less colourful (and less pleasing) result. The
> markup appears to only use /italic/ and *bold* styles now.
>
--batch skips your initialization file. You will have to provide a minimal
load file that does the initializations you need and then use -l to load it:
--8<---------------cut here---------------start------------->8---
emacs --batch -l my-init-file.el --file foo.org \
--eval '(progn (package-initialize) (org-html-export-to-html nil nil nil t) (kill-emacs))'
--8<---------------cut here---------------end--------------->8---
--
Nick
"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler
next prev parent reply other threads:[~2019-06-13 20:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-13 15:20 Coloured source code examples in --batch exports? Stig Brautaset
2019-06-13 20:16 ` Nick Dokos [this message]
2019-06-13 21:34 ` Stig Brautaset
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r27xqm0f.fsf@alphaville.usersys.redhat.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.