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

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

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