Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

%hide cells still show when printing #11955

Closed
gvol opened this issue Oct 26, 2011 · 7 comments
Closed

%hide cells still show when printing #11955

gvol opened this issue Oct 26, 2011 · 7 comments

Comments

@gvol
Copy link

gvol commented Oct 26, 2011

When reading a question on ask.sagemath I realized that %hide doesn't work properly when printing. This is the same bug as #5718 which was fixed 2 years ago.

If you add %hide to a cell then the output is hidden in the notebook just fine, but when printing the worksheet the entire cell is displayed as if it were not hidden (e.g. it's not even greyed out). This was on sagenb.org with Safari 5.1.1.

CC: @mkoeppe

Component: notebook

Keywords: hide, printing

Issue created by migration from https://trac.sagemath.org/ticket/11955

@gvol

This comment has been minimized.

@kcrisman
Copy link
Member

comment:2

Can you try this in vanilla Sage 4.7.1, Ivan? Just in case it happened during the migration to flask, it would be good to identify that.

@gvol
Copy link
Author

gvol commented Oct 27, 2011

comment:3

The same problem occurs on my local install of 4.7.1 which doesn't use flask.

@jdemeyer
Copy link

jdemeyer commented Nov 3, 2011

Milestone sage-4.7.3 deleted

@jdemeyer jdemeyer removed this from the sage-4.8 milestone Nov 3, 2011
@fchapoton
Copy link
Contributor

comment:5

maybe we could close this ancient ticket too ?

@kcrisman
Copy link
Member

comment:6

maybe we could close this ancient ticket too ?

Sure.

@seblabbe
Copy link
Contributor

comment:8

As a reference, hide_code jupyter extension allows to hide cells in the jupyter noteboook. See this question on ask for installation, because hide_code currently depends on an older version of prompt_toolkit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants