Show More
@@ -1,7 +1,7 b'' | |||
|
1 | 1 | # -*- coding: utf-8 -*- |
|
2 | 2 | """Magic functions for InteractiveShell. |
|
3 | 3 | |
|
4 |
$Id: Magic.py 118 |
|
|
4 | $Id: Magic.py 1188 2006-03-02 18:24:00Z vivainio $""" | |
|
5 | 5 | |
|
6 | 6 | #***************************************************************************** |
|
7 | 7 | # Copyright (C) 2001 Janko Hauser <jhauser@zscout.de> and |
@@ -251,7 +251,7 b' license. To use profiling, please install"python2.3-profiler" from non-free.""")' | |||
|
251 | 251 | """Format a string for latex inclusion.""" |
|
252 | 252 | |
|
253 | 253 | # Characters that need to be escaped for latex: |
|
254 | escape_re = re.compile(r'(%|_|\$|#)',re.MULTILINE) | |
|
254 | escape_re = re.compile(r'(%|_|\$|#|&)',re.MULTILINE) | |
|
255 | 255 | # Magic command names as headers: |
|
256 | 256 | cmd_name_re = re.compile(r'^(%s.*?):' % self.shell.ESC_MAGIC, |
|
257 | 257 | re.MULTILINE) |
General Comments 0
You need to be logged in to leave comments.
Login now