Skip Menu |

This queue is for tickets about the Pod-LaTeX CPAN distribution.

Report information
The Basics
Id: 72518
Status: open
Priority: 0/
Queue: Pod-LaTeX

People
Owner: Nobody in particular
Requestors: DKOGAN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Pod::LaTeX doesn't escape -- properly
Pod::LaTeX doesn't handle -- in PODs specially, passing it directly to LaTeX, which then proceeds to replace it with a single -. Attaching patch to replace ----- with -{}-{}-{}-{}-
Subject: 0001-added-another-LaTeX-escape.patch
From 6093b0e003517c4d2d3e0aacef9059b240d29488 Mon Sep 17 00:00:00 2001 From: Dima Kogan <dima@secretsauce.net> Date: Fri, 18 Nov 2011 00:19:35 -0800 Subject: [PATCH] added another LaTeX escape: --- => -{}-{}- --- lib/Pod/LaTeX.pm | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/lib/Pod/LaTeX.pm b/lib/Pod/LaTeX.pm index 3f299c2..7772b51 100644 --- a/lib/Pod/LaTeX.pm +++ b/lib/Pod/LaTeX.pm @@ -1621,6 +1621,10 @@ sub _replace_special_chars { # Now add the dollars around each \backslash $paragraph =~ s/(\\backslash)/\$$1\$/g; + + # Convert ------ to -{}-{}-{}-{}-{}- + $paragraph =~ s/-(?=-)/-{}/g; + return $paragraph; } -- 1.7.6.3
Subject: Re: [rt.cpan.org #72518] Pod::LaTeX doesn't escape -- properly
Date: Wed, 23 Nov 2011 09:50:27 -1000
To: bug-Pod-LaTeX [...] rt.cpan.org
From: Tim Jenness <tjenness [...] cpan.org>
Thanks. V0.60 released with this patch. On Thu, Nov 17, 2011 at 10:25 PM, Dima Kogan via RT <bug-Pod-LaTeX@rt.cpan.org> wrote: Show quoted text
> Fri Nov 18 03:25:46 2011: Request 72518 was acted upon. > Transaction: Ticket created by DKOGAN >       Queue: Pod-LaTeX >     Subject: Pod::LaTeX doesn't escape -- properly >   Broken in: (no value) >    Severity: (no value) >       Owner: Nobody >  Requestors: DKOGAN@cpan.org >      Status: new >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=72518 > > > > Pod::LaTeX doesn't handle -- in PODs specially, passing it directly to > LaTeX, which then proceeds to replace it with a single -. Attaching patch > to replace ----- with -{}-{}-{}-{}- >