help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: htmlize from shell


From: Michael Slass
Subject: Re: htmlize from shell
Date: Tue, 22 Jun 2004 23:55:53 GMT
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Lowell Kirsh <lkirsh@cs.ubc.ca> writes:

>I would like to convert several files to html using the htmlize
>package. How can I do this from my shell rather than from withing
>emacs? (I want to script it)
>
>Thanks,
>Lowell


emacs --eval='
(progn
  (load-library "htmlize")
  (htmlize-file "/path/to/some/file"))
' --kill

This will do one file.



emacs --eval='
(progn
  (load-library "htmlize")
  (htmlize-many-files
  '("/path/to/some/file" "path/to/some/otherfile")))
' --kill

This will do more than one.


-- 
Mike Slass


reply via email to

[Prev in Thread] Current Thread [Next in Thread]