# paste and copy demonstrations to slide shows [closed]

I'm new on Mathematica, I started to work with it yesterday and this software is simply amazing!

However I'm having the following trouble which I couldn't find any solution on internet (I use a linux distro):

I went to Wolfram demonstration page and I clicked on "download author code".

I opened the file: SecantAndTangentLines-author.nb

I didn't see any graph or code. Then I clicked on update thumbnail and snapshot and enable dynamics bottom

Mathematica gave me a lot of errors:

How can I get the author code to use in my slide show? How can I paste and copy dynamic graphs in Mathematica?

Thanks

Edit: I've already solved the problem and the graph is working. However, I couldn't see where is the author code.

## closed as off-topic by user9660, MarcoB, Karsten 7., dr.blochwave, C. E.Oct 28 '15 at 20:43

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Community, MarcoB, Karsten 7., dr.blochwave, C. E.
If this question can be reworded to fit the rules in the help center, please edit the question.

• Welcome to Mathematica.SE! I suggest the following: 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Read the faq! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! – Michael E2 Sep 20 '15 at 19:43
• Looks like the function f is undefined. Try running the initialization code. -- I think you'll need to be a little patient and start by learning the basics first. Cutting and pasting other programmer's dynamic code often requires you to be pretty knowledgeable about Mathematica programming. It's usually much more difficult than cutting and pasting images into a text editor, esp. if you're getting your input from the Demonstrations site. The authors often write their programs as though they will run in an isolated, stand-alone environment. – Michael E2 Sep 20 '15 at 19:56
• In the downloaded *.nb file, you should evaluate the first cell that contains some needed definitions such as the one for f. You can see those definitions by double clicking on the cell bracket on the right of the "Initialization" cell group. – MarcoB Sep 20 '15 at 21:21
• @MichaelE2 I solved the problem, thank you. However I don't know where I can find the author code. – user26832 Sep 20 '15 at 21:51