Bug 334769 - Evaluate whole worksheet stops on the first LaTeX entry
Summary: Evaluate whole worksheet stops on the first LaTeX entry
Status: RESOLVED FIXED
Alias: None
Product: cantor
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Rieder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-14 16:10 UTC by Lucas Hermann Negri
Modified: 2014-06-22 20:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.13.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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