From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Change resolution of LaTeX formulas in HTML output? Date: Fri, 06 Aug 2010 00:14:54 +0200 Message-ID: <8762zoogf5.fsf@gmx.de> References: <308653.38337.qm@web65503.mail.ac4.yahoo.com> <871vacswh4.fsf@stats.ox.ac.uk> <87aap0ol2n.fsf@gmx.de> <877hk4rbco.fsf@stats.ox.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from [140.186.70.92] (port=54917 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oh8iO-00062i-NP for emacs-orgmode@gnu.org; Thu, 05 Aug 2010 18:15:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oh8i0-0002A2-GA for emacs-orgmode@gnu.org; Thu, 05 Aug 2010 18:14:41 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:50646 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Oh8i0-00029a-4J for emacs-orgmode@gnu.org; Thu, 05 Aug 2010 18:14:40 -0400 In-Reply-To: <877hk4rbco.fsf@stats.ox.ac.uk> (Dan Davison's message of "Thu, 05 Aug 2010 17:36:07 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dan Davison Cc: emacs-orgmode@gnu.org --=-=-= Dan Davison writes: > Can you point me to an example that shows how to make source code in > latex look (almost) as nice as html? That is supposed to work with the `listings' package. I havent tried that yet. I still use my old LaTeX headers and write verbatim LaTeX code. I'd like to switch though, since it's a lot to type. Here is an example: --=-=-= Content-Type: text/x-verbatim Content-Disposition: inline \begin{codeblock} \keyword{public function}~\func{\_\_construct}~(\increaseindent[15]\doindent \variable{\$instance}~=~\konstante{MAP\_STANDARD\_JS\_INSTANCE},\doindent \variable{\$z}~=~\konstante{MAP\_STANDARD\_ZOOM},\doindent \variable{\$centerX}~=~-1,\doindent \variable{\$centerY}~=~-1,\doindent \variable{\$highlights}~=~\keyword{true},\doindent \variable{\$spots}~=~\keyword{false}\doindent )\resetindent \end{codeblock} --=-=-= Looks horrible, does it? You can find the "listings.pdf" documentation here: http://www.ctan.org/tex-archive/macros/latex/contrib/listings/ Best wishes Sebastian --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --=-=-=--