Opened 11 years ago

Closed 3 years ago

Last modified 3 years ago

#11955 closed defect (invalid)

%hide cells still show when printing

Reported by: Ivan Andrus Owned by: jason, mpatel, was
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: notebook Keywords: hide, printing
Cc: Matthias Köppe Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by Ivan Andrus)

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.

Change History (8)

comment:1 Changed 11 years ago by Ivan Andrus

Description: modified (diff)

comment:2 Changed 11 years ago by Karl-Dieter Crisman

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.

comment:3 Changed 11 years ago by Ivan Andrus

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

comment:4 Changed 11 years ago by Jeroen Demeyer

Milestone: sage-4.7.3

Milestone sage-4.7.3 deleted

comment:5 Changed 3 years ago by Frédéric Chapoton

Cc: Matthias Köppe added
Milestone: sage-duplicate/invalid/wontfix
Status: newneeds_review

maybe we could close this ancient ticket too ?

comment:6 in reply to:  5 Changed 3 years ago by Karl-Dieter Crisman

maybe we could close this ancient ticket too ?

Sure.

comment:7 Changed 3 years ago by Frédéric Chapoton

Resolution: invalid
Status: needs_reviewclosed

comment:8 Changed 3 years ago by Sébastien Labbé

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.

Note: See TracTickets for help on using tickets.