Bug 334769

Summary: Evaluate whole worksheet stops on the first LaTeX entry
Product: [Applications] cantor Reporter: Lucas Hermann Negri <lucashnegri>
Component: generalAssignee: Alexander Rieder <alexanderrieder>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 4.13.3

Description Lucas Hermann Negri 2014-05-14 16:10:46 UTC
When the user clicks "Evaluate Worksheet" button, the worksheet is evaluated only until the first LaTeX entry.

For example, if I have the following entries:

1>  a = 20
2>  b = a * 2
3> latex entry like $\alpha = \beta$
4> b

And I modify a <- 30 and click the evaluate worksheet button, the 4'th entry is not updated, mantaining the old value '40'.

Reproducible: Always

Steps to Reproduce:
1. Create a new worksheet (octave backend for example, any would do)
2. Write multiple dependant command entries like shown in 'details', with a LaTeX entry in the middle
3. Click 'evaluate worksheet' and watch the entries after the LaTeX one be not evaluated
Actual Results:  
The entries after the LaTeX entry are left unevaluated.

Expected Results:  
All entries should be re-evaluated.

Seems to be bug in the latex entries. A latex entry is acting like a 'hole' in the list.
Comment 1 Christoph Feck 2014-06-22 20:59:40 UTC
Thanks Lucas :)

Please use BUG: and FIXED-IN: keywords next time, so the bug is automatically closed and the commit added as a comment. See http://techbase.kde.org/Policies/Commit_Policy#Special_keywords_in_GIT_and_SVN_log_messages