Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Publish to Latex: lstlisting instead of verbatim
Date: Fri, 27 Feb 2009 22:03:01 +0000 (UTC)
Organization: UCM
Lines: 12
Message-ID: <go9nul$l65$1@fred.mathworks.com>
References: <go0v1t$pi0$1@fred.mathworks.com> <go1nup$rol$1@fred.mathworks.com> <go3c7a$p6f$1@fred.mathworks.com> <go9le2$43l$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1235772181 21701 172.30.248.38 (27 Feb 2009 22:03:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 27 Feb 2009 22:03:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1399918
Xref: news.mathworks.com comp.soft-sys.matlab:521406


"Matthew Simoneau" <matthew@mathworks.com> wrote in message <go9le2$43l$1@fred.mathworks.com>...
> I'm not really a LaTeX expert, so I don't know I've got this right.  My understanding is that this is a separate package that the user would have to install separately.

Well some years ago, this was correct, but meanwhile the most popular latex distribution (texlive for the linux world and miktex) include lslistings.

To be on the save side it could be implemented optionally:
publish('foo.m','latex','lslistings')

or something like this


Uwe