in reply to Re^2: Escape special characters for a LaTeX file
in thread Escape special characters for a LaTeX file
Thank you again!
funny enough, I have had already tried the suggestion of BrowserUK in my script, commented out.
Now I put it back:
$text =~ s![#$%&~_}{^]!\\$&!g;
But only one character is not escaped: "%"
strange!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Escape special characters for a LaTeX file
by AnomalousMonk (Archbishop) on Dec 14, 2014 at 16:04 UTC | |
|
Re^4: Escape special characters for a LaTeX file
by Laurent_R (Canon) on Dec 14, 2014 at 17:08 UTC | |
by AnomalousMonk (Archbishop) on Dec 16, 2014 at 03:59 UTC | |
by Laurent_R (Canon) on Dec 16, 2014 at 08:12 UTC | |
|
Re^4: Escape special characters for a LaTeX file
by marek1703 (Acolyte) on Dec 14, 2014 at 16:07 UTC | |
by AnomalousMonk (Archbishop) on Dec 14, 2014 at 16:28 UTC |