Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.0RC6

Request #16010 TeX special characters should be escaped in BibTeX exports
Submitted: 2009-03-10 21:25 UTC
From: craigloftus Assigned: doconnor
Status: Closed Package: Structures_BibTex (version CVS)
PHP Version: Irrelevant OS: All
Roadmaps: (Not assigned)    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 7 + 30 = ?

 
 [2009-03-10 21:25 UTC] craigloftus (Craig Loftus)
Description: ------------ The bibTex method should be escape TeX special characters such as & and %. These should be output as \& and \% respectively. Not doing so could be seen as a bug... but I thought I would put this in as a feature request. I provide a patch to add this feature. Bascially I've just pinched some code from another PEAR package (Text_Wiki) and put calls into the appropriate places. I don't know what your patch guidelines are (and I haven't spent much energy looking). I have tried to match coding/comment style and the patches in CVS. I will be happy to revise if there are any problems.

Comments

 [2009-03-10 21:26 UTC] craigloftus (Craig Loftus)
The following patch has been added/updated: Patch Name: add-tex-escape URL: patch add-tex-escape
 [2012-01-17 20:02 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Closed -Assigned To: +Assigned To: doconnor
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.