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

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

Latest revision as of 11:42, 23 November 2017

Title of script: LaTeX on Windows using TeXworks

Author: Rupak Rokade

Keywords: video tutorial, LaTeX, TeXworks, windows, MikTeX,


Time Narration
00:01 Dear Friends, Welcome to the spoken tutorial on “LaTeX on Windows using TeXworks”
00:06 In this tutorial we will learn to, Download and install MikTeX .
00:12 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:34 It has an embedded pdf reader
00:36 It supports Indian language typesetting
00:40 Before we start with TeXworks, we have to install MikTeX.
00:45 MikTeX is an up-to-date implementation of TeX/LaTeX and related programs for Windows.
00:52 It contains the necessary packages to create basic documents in LaTeX on Windows ,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. This will download the MikTeX installer.
01:19 Download and save it on your Desktop..
01:22 It is a large file, about 154 mega bytes. Hence, it will take some time to download.
01:28 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:44 The installation will take around 5 to 10 minutes.
01:47 I have already installed MikTeX on my computer. Hence I will not proceed with the installation.
01:55 After successfully installing MikTeX on your computer,
01:58 let us see how to use the TeXworks editor which comes with MikTeX.
2:04 Click on the Windows start button.
02:07 Click on All Programs.
02:10 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:22 I will click on File, then click on Open and choose the directory. Then I will open the file hello.tex.
02:33 You can see that the text written in the file is colored.
02:38 This is called syntax highlighting. 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:59 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:11 On the menu bar, click on Edit and 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:27 In this way, syntax highlighting will be applied to all documents created in the future.
03:33 Now we are ready to compile our LaTeX document.
03:37 Press Ctrl and t keys together to start the compilation.
03:43 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 documents.
04:00 We have completed the basic installation of LATEX.
04:04 This is sufficient for many formatting requirements.
04:07 You may now leave this tutorial. Practice the remaining LATEX tutorials on the playlist
04:14 While practising other tutorials, you may get the following error message:“The required file ABC is missing. It is a part of the following package: XYZ”
04:25 Here ABC is a file inside the package XYZ
04:29 ABC and XYZ will be specific to your case.
04:33 When you get such an error message, listen to the rest of this tutorial.
04:38 Two ways to solve that problem are explained in the rest of this tutorial. At least one of them should work for you.
04:46 Goodbye for now
04:48 Do you want to know how to solve a problem of the following type: Listen to the rest of this tutorial and practise with me.
04:56 Now let us compile a Beamer document.
04:59 Beamer package by default is not included in the MikTeX setup that we have installed.
05:05 This means that we have to : download it from some source and add it to our current MikTeX distribution
05:12 There are two ways of installing a missing package.
05:16 One way is to install it on the fly while we are compiling a LaTeX document
05:21 This LaTeX document will typically require a package not available in your MikTeX distribution.
05:28 Other way, is to manually choose and install a package using Package Manager of MikTeX.
05:35 Let us see the first method.
05:37 We will open and compile a LaTeX document, which requires MikTeX to install packages from the internet.
05:44 First close the TeXworks editor.
05:48 It is required that we open the tex file with administrator privileges.
05:53 Click on the start button. Then click on All programs. Click on MikTeX2.9
06:02 Right click on TeXworks and choose Run as Administrator
06:08 This will launch the TeXworks editor with administrator privileges.
06:13 Now click on File. Then click on Open Choose the file beamer.tex
06:21 Press Ctrl and t keys together to start the compilation.
06:26 A Package Installation dialog box will open.
06:30 It will ask to install the missing package beamer.cls.
06:35 Click on Change button on this dialog box.
06:40 Change Package Repository dialog box will open.
06:44 Choose the option Packages shall be installed from the internet.
06:49 Click on Connection Settings.
06:52 It will prompt you to configure the proxy settings.
06:56 If you are not on a proxy network then leave the Use proxy server checkbox unchecked.
07:03 Since i am on a proxy network, i will enable the option by clicking on the checkbox
07:09 I will enter the proxy address.
07:13 I will enter proxy port number.
07:16 I will enable the option Authentication required by clicking on the corresponding checkbox
07:23 Click on Ok. And then click on Next
07:27 It will ask me the proxy username and password.
07:31 I will enter the information and click on OK.
07:36 It will show a list of various remote package repositories.
07:41 Choose one from the list and click on Finish.
07:45 Click on Install.
07:48 It will install the beamer.cls package
07:52 Once again the Package Installation dialog box will open.
07:57 It will prompt to install the missing package pgfcore.sty.
08:03 You may uncheck the option Always show this dialog before installing packages.
08:09 If you do this, MikTeX will not prompt you again, if it encounters a missing package.
08:16 Click on Install.
08:18 Now if there any more missing packages, it will automatically install it, without asking for your permission.
08:28 Once the installation completes, it will finish the compilation and open the pdf output.
08:35 We can see that we have successfully compiled a Beamer document.
08:39 Now let us see the second method of installing missing packages.
08:44 Click on the Windows start button.
08:47 Click on All Programs.
08:49 Click on MikTeX2.9
08:52 Click on Maintenance (Admin)
08:55 Cick on Package Manager (Admin)
09:00 It will show a list of various packages available.
09:04 Now let us take a look at this list.
09:07 There are six columns in this list.
09:10 These are Name, Category, Size, Packaged date, Installed on date and Title.
09:18 The Installed on column is very important to us.
09:22 The packages for which this column is blank indicates that these packages are not installed.
09:29 Let us see how to install a particular package.
09:33 Let me choose the package abc, for example.
09:38 Notice that the moment I choose the package, the plus button on the top left side gets enabled.
09:45 The plus button is the install button. Click on the plus button.
09:50 A window will open which will list the number of packages you have chosen to install or uninstall.
09:58 Click on Proceed.
10:01 Since I have configured a proxy network connection, it will prompt me for the proxy username and password.
10:08 Let me type my username and password
10:11 Click on Ok
10:13 A window will open which will show the download progress of the package selected for installation.
10:20 It may happen that it fails to download the requested package due to remote server connectivity issues.
10:26 In that case, change the package repository and try again.
10:31 We can see that the installation of selected package is completed.
10:36 Click on Close.
10:38 The package list will get refreshed.
10:41 Notice that 11 september 2013 appears in the Installed on column for package abc.
10:49 This completes the tutorial LaTeX on Windows using TeXworks
10:54 In this tutorial we learnt to - Download and install MikTeX.
10:59 Write a basic LaTeX document using TeXworks
11:03 Configure MikTeX to download missing packages in 2 different ways
11:08 Watch the video available at , http://spoken-tutorial.org/What_is_a_Spoken_Tutorial
11:12 It summarizes the Spoken Tutorial project, If you do not have good bandwidth, you can download and watch it.
11:18 The Spoken Tutorial Project Team Conducts workshops using spoken tutorials. Gives certificates to those who pass an online test .
11:28 For more details, please write to contact@spoken-tutorial.org
11:33 Spoken Tutorial Project is a part of the Talk to a Teacher project. It is supported by the National Mission on Education through ICT, MHRD, Government of India.
11:45 More information on the same is available at, http://spoken-tutorial.org /NMEICT-Intro
11:56 This is Rupak Rokade from IIT Bombay signing off. Thanks for watching.

Contributors and Content Editors

Jyotisolanki, PoojaMoolya, Pratik kamble, Sandhya.np14