Reputation
236
Top tag
Next privilege 250 Rep.
View close votes
Badges
1 7
Newest
 Curious
Impact
~614 people reached

Apr
28
awarded  Curious
Apr
27
comment How is Attributes protected and yet can still be set?
Thanks for that! I originally figured it could be to do with Set, but I had no idea that it could be used in this way.
Apr
27
accepted How is Attributes protected and yet can still be set?
Apr
27
asked How is Attributes protected and yet can still be set?
Apr
4
awarded  Yearling
Apr
4
revised Import another Notebook as if it were a Package
Grammar
Apr
4
comment Import another Notebook as if it were a Package
Awesome, that works perfectly with $Context :)
Apr
4
accepted Import another Notebook as if it were a Package
Apr
4
comment Import another Notebook as if it were a Package
@Kuba So using Get, I get a Notebook object, but I'm not sure how I can manipulate it and use SetOptions :/ Mathematica's documentation on this is rather limited too.
Apr
4
comment Import another Notebook as if it were a Package
@Kuba Do you mean, open data.nb and modify the CellContext property manually? Or is there a way that this can be done programmatically?
Apr
4
asked Import another Notebook as if it were a Package
Feb
24
awarded  Commentator
Feb
24
accepted Conditional Formatting based on Option
Feb
24
comment Conditional Formatting based on Option
Actually, the bigger mistake (that neither you seems to have mentioned) is that I have OptionValue[Label] == None whereas you have OptionValue[Label] === None. That seems to the underlying cause of my issues...
Feb
24
comment Conditional Formatting based on Option
I considered doing that; however, I intend to export things to TeX often and unfortunately Foo["\[Phi]"] // TeXForm gives \phi ^{\text{}} which isn't ideal.
Feb
24
comment Conditional Formatting based on Option
@J.M. Thanks (the weird display was my mistake as mentioned above). Feel free to write up the answer and I'll accept it (or this question can be closed if it doesn't really belong here).
Feb
24
comment Conditional Formatting based on Option
Actually, it worked once but then displayed lbl$1067. I'm confused as to what's going on. EDIT: My bad, I missed the === (I wrote == instead).
Feb
24
comment Conditional Formatting based on Option
@J.M. Well... that was rather simple and I probably should've tried it :/ If you want to write that as an answer and I'll accept it. Also, why is the second call of OptionValue problematic?
Feb
24
asked Conditional Formatting based on Option
Feb
1
awarded  Autobiographer