projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d416d4c
)
Sonderzeichen in LaTeX ersetzen.
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 19 Jan 2007 15:37:57 +0000
(15:37 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 19 Jan 2007 15:37:57 +0000
(15:37 +0000)
SL/Template.pm
patch
|
blob
|
history
diff --git
a/SL/Template.pm
b/SL/Template.pm
index
c7257e9
..
18b44d0
100644
(file)
--- a/
SL/Template.pm
+++ b/
SL/Template.pm
@@
-91,7
+91,7
@@
sub format_string {
'<pagebreak>',
'&', quotemeta("\n"),
'"', '\$', '%', '_', '#', quotemeta('^'),
- '{', '}', '<', '>', '£', "\r"
+ '{', '}', '<', '>', '£', "\r"
, '±',
],
quotemeta("\\") => '\\textbackslash ',
'<pagebreak>' => '',
@@
-107,6
+107,7
@@
sub format_string {
'>' => '$>$',
'£' => '\pounds ',
"\r" => "",
+ '±' => '$\pm$',
quotemeta('^') => '\^\\',
quotemeta("\n") => '\newline '
);