[texhax] The Listings package, with Perl
heiko.oberdiek at googlemail.com
Mon Feb 13 04:28:24 CET 2012
On Sun, Feb 12, 2012 at 07:57:55PM -0700, Gordon Haverland wrote:
> I am generating a document where I am encorporating source code
> listings of Perl (with POD) in the document.
> The preamble doesn't like printpod=... or podcomment=... at all.
A new language can be defined that sets these entries:
my $title = "Hello World";
My title with ' as single quote.
> In a section of POD in the code, as soon as a single quote comes
> up, output goes screwy. Every space becomes that square "U" to
> explicitly show a space. Yes, changing doesn't to does not, and so
> on fixes the problems.
Also the example above shows the problem.
Perhaps a bug?
If you have a POD section without Perl code, you could use
More information about the texhax