[Seqinr-commits] r1760 - pkg/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon May 30 16:37:06 CEST 2011
Author: simonpenel
Date: 2011-05-30 16:37:05 +0200 (Mon, 30 May 2011)
New Revision: 1760
Modified:
pkg/R/stresc.R
Log:
The [ is not anymore translated into \[ but into \lbrack{} ( idem for ]).
Thanks to Gabor Grothendieck for signaling this bug
Modified: pkg/R/stresc.R
===================================================================
--- pkg/R/stresc.R 2011-04-06 11:32:48 UTC (rev 1759)
+++ pkg/R/stresc.R 2011-05-30 14:37:05 UTC (rev 1760)
@@ -7,7 +7,7 @@
#
fromchar <- s2c("\\{}$^_%#&~[]")
tochar <- c("$\\backslash$", "\\{", "\\}", "\\$", "\\^{}", "\\_", "\\%", "\\#", "\\&", "\\~{}",
- "\\[", "\\]")
+ "\\lbrack{}", "\\rbrack{}")
#
# Definition of the function to escape LaTeX character in one string:
#
More information about the Seqinr-commits
mailing list