# HG changeset patch
# User William Stein <wstein@gmail.com>
# Date 1210495238 25200
# Node ID 5e2689f219d060bc8793ca840c3877877d7c00a5
# Parent 83531e2a029ec031c928a24e3e95ed556f846ec2
trac #3069 -- notebook -- typeset checkbox doesn't work after save/reload
diff -r 83531e2a029e -r 5e2689f219d0 sage/server/notebook/worksheet.py
a
|
b
|
class Worksheet: |
1305 | 1305 | ulimit = self.notebook().get_ulimit()) |
1306 | 1306 | self.__next_block_id = 0 |
1307 | 1307 | self.initialize_sage() |
| 1308 | |
| 1309 | # Check to see if the typeset/pretty print button is checked. |
| 1310 | # If so, send code to initialize the worksheet to have the |
| 1311 | # right pretty printing mode. |
| 1312 | if self.pretty_print(): |
| 1313 | self.__sage._send('pretty_print_default(True);') |
| 1314 | |
1308 | 1315 | return self.__sage |
1309 | 1316 | |
1310 | 1317 | def eval_asap_no_output(self, cmd, username=None): |