From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lowell Kirsh Newsgroups: gmane.emacs.help Subject: Re: htmlize from shell Date: Tue, 22 Jun 2004 16:53:43 -0700 Organization: Department of Computer Science, UBC Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <40D8BA4A.4010306@yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1088537685 24042 80.91.224.253 (29 Jun 2004 19:34:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2004 19:34:45 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 29 21:34:25 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BfON6-0007MR-00 for ; Tue, 29 Jun 2004 21:34:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BfOOm-0004Vg-9Q for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jun 2004 15:36:08 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!cs.ubc.ca!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: cascade.cs.ubc.ca Original-X-Trace: mughi.cs.ubc.ca 1087948423 19450 142.103.7.7 (22 Jun 2004 23:53:43 GMT) Original-X-Complaints-To: usenet@cs.ubc.ca Original-NNTP-Posting-Date: Tue, 22 Jun 2004 23:53:43 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040322 X-Accept-Language: en-us, en In-Reply-To: <40D8BA4A.4010306@yahoo.com> Original-Xref: shelby.stanford.edu gnu.emacs.help:123894 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19258 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19258 Thanks, we're almost there... I'm still having problems. emacs doesn't seem to recognize htmlize. I have a line to load it in my .emacs file but maybe that's not getting loaded? Also, when I try : emacs --batch --eval "(progn(load \"~/emacs/addons/htmlize\")(htmlize-file \"emacs.el\"))" this doesn't work either. What am I missing? Lowell Kevin Rodgers wrote: > Lowell Kirsh wrote: > > 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) > > I would try this: > > for file in *; do > emacs --batch --eval "(htmlize-file \"$file\")" > done >