Difference between revisions of "EGR 103/Spring 2018/Lab 1"
Line 13: | Line 13: | ||
* Use evince to view the finished document | * Use evince to view the finished document | ||
* Understand the basic troubleshooting techniques for LaTeX documents. | * Understand the basic troubleshooting techniques for LaTeX documents. | ||
+ | |||
+ | == Downloading a Terminal Program == | ||
+ | For this class, all the software you need is already installed on Duke's system. The only problems are (a) Duke's system is in Unix, which most of you have never used before, and (b) you have to access the system through some other computer. To handle the second problem, you will need to download a program that will allow you to connect to the system. Depending on what kind of computer you are using: | ||
+ | * Windows: See [[MobaXterm#Installation]] for how to install MobaXterm | ||
+ | * Mac: See [[X11#Installation]] for how to install XQuartz | ||
+ | You should only ever have to install the program once. | ||
+ | |||
+ | == Connecting to Duke's System == | ||
+ | Whenever you want to do work on the Duke system, you will use your terminal program to connect. To do that, see: | ||
+ | * Windows: [[MobaXterm#Creating_a_Remote_Connection]] | ||
+ | * Mac: [[X11#Creating_a_Remote_Connection]] | ||
+ | Once you connect, eventually the remote system will ask you for your password. Note that the cursor '''will not move''' as you type in your password - the terminal does not want to show anyone how long your password is. After you connect, you should be at a prompt that will, among other things, have the word "production" in it. Congratulations! You have connected to Duke's public system and it is waiting for you to give it commands. | ||
+ | |||
+ | |||
Revision as of 01:58, 17 January 2018
This page will go through the abbreviated, virtual version of Lab 1 since...snow...
Contents
Introduction
Lab 1 is an introduction to Duke's UNIX system as well as to writing lab reports in LaTeX. Because of the school closing during the first lab, the parts of the lab that can be moved to a future week without impacting the progress of the course have been moved. However, it is important in this first week to learn how to work on lab assignments, how to maneuver a bit in Unix, and how to start documenting your work in LaTeX. You should be able to follow along with this guide. Here's what you should accomplish by the end:
- Download, install, and use a terminal program on your own computer or on a public Duke machine. For Windows folks this will be MobaXterm and for Mac folks it will be XQuartz
- Connect to Duke's Unix system and look at the space that has been created for you
- Create a folder for the course in your home directory and create a folder for the first lab in your course folder
- Use wget to copy a file from my web space to your lab folder
- Use tar to expand the file you copied into the files you need for lab this week
- Use xemacs to edit a text file containing LaTeX code
- Use latex to process a tex document
- Use dvipdf to convert the processed document to a pdf
- Use evince to view the finished document
- Understand the basic troubleshooting techniques for LaTeX documents.
Downloading a Terminal Program
For this class, all the software you need is already installed on Duke's system. The only problems are (a) Duke's system is in Unix, which most of you have never used before, and (b) you have to access the system through some other computer. To handle the second problem, you will need to download a program that will allow you to connect to the system. Depending on what kind of computer you are using:
- Windows: See MobaXterm#Installation for how to install MobaXterm
- Mac: See X11#Installation for how to install XQuartz
You should only ever have to install the program once.
Connecting to Duke's System
Whenever you want to do work on the Duke system, you will use your terminal program to connect. To do that, see:
Once you connect, eventually the remote system will ask you for your password. Note that the cursor will not move as you type in your password - the terminal does not want to show anyone how long your password is. After you connect, you should be at a prompt that will, among other things, have the word "production" in it. Congratulations! You have connected to Duke's public system and it is waiting for you to give it commands.
Things to not worry about
- Margins.
- Extra space between the contents of the matrix and the determinant bars.
- Zombies.