[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LaTeX escaping in 1.4

On Wed, Jan 15, 2014 at 10:05 PM, Robert J. Clay <..hidden..> wrote:

On Thu, Jan 16, 2014 at 12:22 AM, Chris Travers <..hidden..> wrote:
> I am looking into LaTeX escaping in 1.4.  There is a CPAN module that
> handles this but it doesn't seem to work without patching.  The module is
> LaTeX::Encode.

   What kind of patch does it need?  And is there already a cpan bug for it?

The issue is scoping.  It uses strict mode and variables in LaTeX::Encode::EncodingTable without declaring them first.  I sent the author a patch which effectively copied three variables from  the latter namespace since these seem pretty static.

> I would like to propose that for 1.4, unless this is resolved and tested in
> both Debian repo versions

   Note that 0.08-2 is the current version of it in Debian Testing and
Unstable;  includes a patch for a FTBFS (Fails To Build From Source)
POD issue...

You can test easily.

perl -MLaTeX::Encode -e print

if it fails to load the library, it needs to be patched.

Best wishes,
Chris Travers 

> and the main CPAN distribution point, that we ship
> a patched version of the code that we maintain.

> Any objection?

  From the viewpoint of the Debian packaging; yes.  (Debian policy is
against it...)  OTOH;  it would be relatively easy to add a patch to
the package in Debian for it, especially if there is already a cpan
bug for the issue and that bug has still not been resolved by the time
it's needed for the changes you have in mind.


CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
Ledger-smb-devel mailing list

Best Wishes,
Chris Travers

Efficito:  Hosted Accounting and ERP.  Robust and Flexible.  No vendor lock-in.