all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs, Org Mode, and Exporting to The Command Line Troubles
@ 2010-10-01  7:49 Colin Grey
  2010-10-01 17:25 ` Erik Iverson
  2010-10-01 18:57 ` Stefan Vollmar
  0 siblings, 2 replies; 4+ messages in thread
From: Colin Grey @ 2010-10-01  7:49 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 837 bytes --]

Hello,

I'm trying to write a shell script that will automatically change a bunch of
my org-mode files into HTML files.  But am running into some problems.  The
structure, as best I understand it, should like something like this:

emacs -batch -eval '(progn (find-file "test.org.txt") (org-export-as-html
"test.html"))'

However, when I run that, it gives the output:

Loading 00fink-vars...
Exporting...
Exporting...
Exporting...
Wrong type argument: stringp, nil


Oddly, I've noticed that if I don't use my custom extension (.org.txt) but
just use .org like so:

emacs -batch -eval '(progn (find-file "test.org") (org-export-as-html
"test.html"))'

It will run, but will always spit out a blank HTML file, no matter the
contents of test.org

Thank you in advance for any help,

Colin Grey

www.CGPGrey.com
www.ProductivePorcupine.com

[-- Attachment #2: Type: text/html, Size: 1211 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-01 19:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-01  7:49 Emacs, Org Mode, and Exporting to The Command Line Troubles Colin Grey
2010-10-01 17:25 ` Erik Iverson
2010-10-01 19:01   ` Erik Iverson
2010-10-01 18:57 ` Stefan Vollmar

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.