From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: Using htmlize.el with linum-mode Date: Thu, 19 May 2011 15:05:15 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9f8dd80e-9b26-4b7d-b94f-fbaf9e1dc331@22g2000prx.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1306269269 22455 80.91.229.12 (24 May 2011 20:34:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 May 2011 20:34:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 24 22:34:25 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOyJ6-0006B0-KN for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 22:34:24 +0200 Original-Received: from localhost ([::1]:40381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOyJ6-0007T2-6u for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 16:34:24 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!22g2000prx.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 14 Original-NNTP-Posting-Host: 76.126.112.84 Original-X-Trace: posting.google.com 1305842715 17571 127.0.0.1 (19 May 2011 22:05:15 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 19 May 2011 22:05:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 22g2000prx.googlegroups.com; posting-host=76.126.112.84; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.0; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.68 Safari/534.24,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:186864 comp.emacs:101599 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81198 Archived-At: On May 12, 5:22=A0pm, chengiz wrote: > Is it possible to use htmlize.el such that line numbers in the source > code also show up in the html? Thank you. i don't think so because the line numbers in the margin is not part of buffer text, and htmlize works with buffer text. google's code prettify might be able to do it http://xahlee.org/js/google-code-prettify/index.html also, i don't think it's too hard to write a js so it adds line numbers to pre blocks. Xah