Difference between revisions of "LaTeX/C2/LaTeX-on-Windows-using-TeXworks/English-timed"

From Script | Spoken-Tutorial
Jump to: navigation, search
Line 238: Line 238:
 
|-
 
|-
 
| 04:19
 
| 04:19
| One way is to install it on the fly while we are compiling a LaTeX document  
+
| One way is to install it on the fly while we are compiling a LaTeX document.
  
 
|-
 
|-
Line 274: Line 274:
 
|-
 
|-
 
| 05:02
 
| 05:02
|Click on MikTeX2.9
+
|Click on MikTeX2.9.
  
 
|-
 
|-
 
| 05:05
 
| 05:05
|Right click on TeXworks and choose Run as Administrator
+
|Right click on TeXworks and choose Run as Administrator.
  
 
|-
 
|-
Line 286: Line 286:
 
|-
 
|-
 
| 05:16
 
| 05:16
|Now click on File.
+
|Now click on '''File'''.
  
 
|-
 
|-
 
| 05:19
 
| 05:19
|Then click on Open  
+
|Then click on '''Open.'''
  
 
|-
 
|-
Line 298: Line 298:
 
|-
 
|-
 
| 05:24
 
| 05:24
|Press Ctrl and t keys together to start the compilation.  
+
|Press '''Ctrl''' and '''t''' keys together to start the compilation.  
  
 
|-
 
|-
Line 330: Line 330:
 
|-
 
|-
 
| 05:59
 
| 05:59
|If you are not on a proxy network then leave the Use proxy server checkbox unchecked.  
+
|If you are not on a proxy network then leave the Use proxy server check box unchecked.  
  
 
|-
 
|-
 
| 06:06
 
| 06:06
|Since i am on a proxy network, i will enable the option by clicking on the checkbox
+
|Since i am on a proxy network, i will enable the option by clicking on the check box.
  
 
|-
 
|-
Line 346: Line 346:
 
|-
 
|-
 
| 06:19
 
| 06:19
|I will enable the option Authentication required by clicking on the corresponding checkbox
+
|I will enable the option Authentication required by clicking on the corresponding check box.
  
 
|-
 
|-
 
| 06:25
 
| 06:25
|Click on Ok. And then click on Next
+
|Click on '''OK'''. And then click on '''Next'''.
  
 
|-
 
|-
Line 358: Line 358:
 
|-
 
|-
 
| 06:34
 
| 06:34
|I will enter the information and click on OK.  
+
|I will enter the information and click on '''OK'''.  
  
 
|-
 
|-
Line 366: Line 366:
 
|-
 
|-
 
| 06:44
 
| 06:44
|Choose one from the list and click on Finish.  
+
|Choose one from the list and click on '''Finish'''.  
 
   
 
   
 
|-
 
|-
 
| 06:48
 
| 06:48
|Click on Install.  
+
|Click on '''Install'''.  
  
 
|-
 
|-
Line 394: Line 394:
 
|-
 
|-
 
| 07:19
 
| 07:19
|Click on Install.
+
|Click on '''Install'''.
  
 
|-
 
|-
Line 422: Line 422:
 
|-
 
|-
 
| 07:53
 
| 07:53
|Click on MikTeX2.9  
+
|Click on MikTeX2.9.
  
 
|-
 
|-
 
| 07:55
 
| 07:55
|Click on Maintenance (Admin)  
+
|Click on Maintenance (Admin).
  
 
|-
 
|-
 
| 07:58
 
| 07:58
|Cick on Package Manager (Admin)  
+
|Cick on Package Manager (Admin).
  
 
|-
 
|-
 
| 08:02
 
| 08:02
| It will show a list of various packages available  
+
| It will show a list of various packages available.
  
 
|-
 
|-
Line 490: Line 490:
 
|-
 
|-
 
| 09:11
 
| 09:11
|Let me type my username and password
+
|Let me type my username and password.
  
 
|-
 
|-
 
| 09:14
 
| 09:14
|Click on Ok
+
|Click on '''OK'''.
  
 
|-
 
|-
Line 514: Line 514:
 
|-
 
|-
 
| 09:39
 
| 09:39
|Click on Close.  
+
|Click on '''Close'''.  
  
 
|-
 
|-
Line 526: Line 526:
 
|-
 
|-
 
| 09:52
 
| 09:52
|This completes the tutorial LaTeX on Windows using TeXworks
+
|This completes the tutorial LaTeX on Windows using TeXworks.
  
 
|-
 
|-
 
| 09:58
 
| 09:58
|In this tutorial we learnt to -  
+
|In this tutorial we learnt to:  
  
 
|-
 
|-
 
| 10:00
 
| 10:00
|Download and install MikTeX  
+
|* Download and install MikTeX.
  
 
|-
 
|-
 
| 10:02
 
| 10:02
|Write basic LaTeX document using TeXworks  
+
|* Write basic LaTeX document using TeXworks.
  
 
|-
 
|-
 
| 10:06
 
| 10:06
|Configure MikTeX to download missing packages in 2 different ways   
+
|* Configure MikTeX to download missing packages in 2 different ways.  
  
 
|-
 
|-
Line 550: Line 550:
 
|-
 
|-
 
| 10:14
 
| 10:14
| It summarizes the Spoken Tutorial project  
+
| It summarizes the Spoken Tutorial project.
  
 
|-
 
|-
Line 558: Line 558:
 
|-
 
|-
 
| 10:21
 
| 10:21
| The Spoken Tutorial Project Team  
+
| The Spoken Tutorial Project Team:
  
 
|-
 
|-
 
| 10:23
 
| 10:23
| Conducts workshops using spoken tutorials  
+
| Conducts workshops using spoken tutorials.
  
 
|-
 
|-
Line 574: Line 574:
 
|-
 
|-
 
| 10:36
 
| 10:36
|Spoken Tutorial Project is a part of the Talk to a Teacher project  
+
|Spoken Tutorial Project is a part of the Talk to a Teacher project.
  
 
|-
 
|-
Line 582: Line 582:
 
|-
 
|-
 
| 10:48
 
| 10:48
|More information on this mission is available at, http://spoken-tutorial.org /NMEICT-Intro  
+
|More information on this mission is available at: http://spoken-tutorial.org /NMEICT-Intro  
  
 
|-
 
|-
 
| 10:59
 
| 10:59
|This is Rupak Rokade from IIT Bombay signing off. Thanks for watching.
+
|This is Rupak Rokade from IIT Bombay, signing off. Thanks for watching.

Revision as of 09:06, 11 April 2015

Time Narration
00:01 Welcome to the spoken tutorial on LaTeX on Windows using TeXworks.
00:07 In this tutorial, we will learn to:
00:09 * Download and install MikTeX
00:11 * Write basic LaTeX documents using TeXworks
00:15 * Configure MikTeX to download missing packages.
00:19 To record this tutorial, I am using Windows7 operating system and MikTeX2.9.
00:27 Let us now see the salient features of TeXworks.
00:31 * It is platform independent.
00:33 * It has an embedded pdf reader.
00:36 * It supports Indian language typesetting.
00:39 Before we start with TeXworks, we have to install MikTeX.
00:44 MikTeX is an up-to-date implementation of TeX or LaTeX and related programs for Windows.
00:52 It contains the necessary packages to create basic documents in LaTeX on Windows.
00:58 Moreover, TeXworks is a default editor available with MikTeX installation.
01:04 Go to the website www.miktex.org
01:10 Click on the download link for recommended MikTeX installer.
01:15 This will download the MikTeX installer.
01:18 Download and save it on your Desktop.
01:22 It is a large file, about 154 mega bytes.
01:25 Hence, it will take some time to download.
01:27 I have already downloaded this file. Here it is.
01:32 Double click on this file to start the installation.
01:36 Check the check box and click on Next.
01:40 Choose all default options.
01:43 The installation will take around 5 to 10 minutes.
01:47 I have already installed MikTeX on my computer.
01:50 Hence I will not proceed with the installation.
01:54 After successfully installing MikTeX on your computer,
01:58 let us see how to use the TeXworks editor which comes with MikTeX.
02:03 Click on the Windows Start button.
02:07 Click on All Programs.
02:09 Click on MikTeX2.9.
02:12 Click on TeXworks.
02:15 TeXworks editor will open.
02:18 Let me open an already existing LaTeX document.
02:21 I will click on File, then click on Open and choose the directory.
02:28 Then I will open the file hello.tex.
02:32 You can see that the text written in this file is colored.
02:37 This is called syntax highlighting.
02:41 It helps the user differentiate between the user content and the LaTeX syntax.
02:47 In case the LaTeX syntax is not highlighted, do the following.
02:52 In the TeXworks window, click on Format button available on the Menu bar.
02:58 Select Syntax Colouring and then click on LaTeX.
03:03 If you want TeXworks to apply syntax highlighting every time you create a LaTeX document, do the following
03:10 On the menu bar, click on Edit ,then click on Preferences.
03:16 In the Editor tab, click on the dropdown button which gives options for Syntax Colouring.
03:22 Choose LaTeX and then click on OK.
03:26 In this way, syntax highlighting will be applied to all documents created in the future.
03:32 Now we are ready to compile our LaTeX document.
03:36 Press Ctrl and t keys together to start the compilation.
03:42 Once the document is compiled without errors, the resulting pdf will be opened.
03:49 Note that this pdf reader comes along with TeXworks.
03:53 It is the default pdf reader used by TeXworks to display the compiled pdf document.
03:59 Now let us compile a Beamer document.
04:02 Beamer package by default is not included in the MikTeX setup that we have installed.
04:08 This means that we have to
04:10 download it from some source and add it to our current MikTeX distribution.
04:15 There are two ways of installing a missing package.
04:19 One way is to install it on the fly while we are compiling a LaTeX document.
04:24 This LaTeX document will typically require a package not available in your MikTeX distribution.
04:31 Other way, is to manually choose and install a package using Package Manager of MikTeX.
04:37 Let us see the first method.
04:40 We will open and compile a LaTeX document, which requires MikTeX to install packages from the internet.
04:47 First close the TeXworks editor.
04:51 It is required that we open the tex file with administrator privileges.
04:56 Click on the start button.
04:59 Then click on All programs.
05:02 Click on MikTeX2.9.
05:05 Right click on TeXworks and choose Run as Administrator.
05:11 This will launch the TeXworks editor with administrator privileges.
05:16 Now click on File.
05:19 Then click on Open.
05:21 Choose the file beamer.tex
05:24 Press Ctrl and t keys together to start the compilation.
05:29 A Package Installation dialog box will open.
05:33 It will ask to install the missing package beamer.cls.
05:38 Click on Change button on this dialog box.
05:43 Change Package Repository dialog box will open.
05:47 Choose the option Packages shall be installed from the internet.
05:52 Click on Connection Settings.
05:55 It will prompt you to configure the proxy settings.
05:59 If you are not on a proxy network then leave the Use proxy server check box unchecked.
06:06 Since i am on a proxy network, i will enable the option by clicking on the check box.
06:12 I will enter the proxy address.
06:16 I will enter proxy port number.
06:19 I will enable the option Authentication required by clicking on the corresponding check box.
06:25 Click on OK. And then click on Next.
06:30 It will ask me the proxy username and password.
06:34 I will enter the information and click on OK.
06:39 It will show a list of various remote package repositories.
06:44 Choose one from the list and click on Finish.
06:48 Click on Install.
06:51 It will install the beamer.cls package
06:55 Once again the Package Installation dialog box will open.
07:00 It will prompt to install the missing package pgfcore.sty.
07:06 You may uncheck the option Always show this dialog before installing packages.
07:12 If you do this, MikTeX will not prompt you again, if it encounters a missing package.
07:19 Click on Install.
07:21 Now if there are any more missing packages, it will automatically install it, without asking for your permission.
07:31 Once the installation completes, it will finish the compilation and open the pdf output.
07:38 We can see that we have successfully compiled a Beamer document.
07:42 Now let us see the second method of installing missing packages.
07:47 Click on the Windows start button.
07:50 Click on All Programs.
07:53 Click on MikTeX2.9.
07:55 Click on Maintenance (Admin).
07:58 Cick on Package Manager (Admin).
08:02 It will show a list of various packages available.
08:07 Now let us take a look at this list.
08:10 There are six columns in this list.
08:13 These are Name, Category, Size, Packaged date, Installed on date and Title.
08:21 The Installed on column is very important to us.
08:25 The packages for which this column is blank indicates that these packages are not installed.
08:32 Let us see how to install a particular package.
08:36 Let me choose the package abc, for example.
08:41 Notice that the moment I choose the package, the plus button on the top left side gets enabled.
08:48 The plus button is the install button.
08:51 Click on the plus button.
08:53 A window will open which will list the number of packages you have chosen to install or uninstall.
09:00 Click on Proceed.
09:04 Since I have configured a proxy network connection, it will prompt me for the proxy username and password.
09:11 Let me type my username and password.
09:14 Click on OK.
09:16 A window will open which will show the download progress of the package selected for installation.
09:23 It may happen that it fails to download the requested package due to remote server connectivity issues.
09:29 In that case, change the package repository and try again.
09:34 We can see that the installation of selected package is completed.
09:39 Click on Close.
09:41 The package list will get refreshed.
09:44 Notice that 11 september 2013 appears in the Installed on column for package abc.
09:52 This completes the tutorial LaTeX on Windows using TeXworks.
09:58 In this tutorial we learnt to:
10:00 * Download and install MikTeX.
10:02 * Write basic LaTeX document using TeXworks.
10:06 * Configure MikTeX to download missing packages in 2 different ways.
10:11 Watch the video available at the following link.
10:14 It summarizes the Spoken Tutorial project.
10:17 If you do not have good bandwidth, you can download and watch it.
10:21 The Spoken Tutorial Project Team:
10:23 Conducts workshops using spoken tutorials.
10:27 Gives certificates to those who pass on online test .
10:30 For more details, please write to contact@spoken-tutorial.org
10:36 Spoken Tutorial Project is a part of the Talk to a Teacher project.
10:40 It is supported by the National Mission on Education through ICT, MHRD, Government of India.
10:48 More information on this mission is available at: http://spoken-tutorial.org /NMEICT-Intro
10:59 This is Rupak Rokade from IIT Bombay, signing off. Thanks for watching.

Contributors and Content Editors

Jyotisolanki, PoojaMoolya, Pratik kamble, Sandhya.np14