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

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with '{| border = 1 |'''Time''' |'''Narration''' |- | 00.01 | Welcome to the spoken tutorial on “LaTeX on Windows using TeXworks” |- | 00.07 | In this tutorial we will learn t…')
 
 
(18 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”
 
  
|-
+
{| border=1
| 00.07
+
|| '''Time'''
| In this tutorial we will learn to,
+
|| '''Narration'''
  
 
|-
 
|-
| 00.09
+
| 00:01
|Download and install MikTeX
+
| Dear Friends, Welcome to the spoken tutorial on '''“LaTeX on Windows using TeXworks”'''
  
 
|-
 
|-
| 00.11
+
|00:06
| Write basic LaTeX documents using TeXworks  
+
| In this tutorial we will learn to, Download and install '''MikTeX''' .
  
 
|-
 
|-
| 00.15
+
|00:12
|Configure MikTeX to download missing packages
+
| Write basic '''LaTeX''' documents using '''TeXworks'''.
  
 
|-
 
|-
| 00.19
+
|00:15
|To record this tutorial, I am using Windows7 operating system and MikTeX2.9
+
| Configure '''MikTeX''' to download missing packages.
  
 
|-
 
|-
| 00.27
+
|00:19
|Let us now see the salient features of TeXworks
+
| To record this tutorial, I am using '''Windows7 '''operating system and MikTeX2.9
  
 
|-
 
|-
|00.31
+
|00:27
| It is platform independent
+
| Let us now see the salient features of '''TeXworks'''
  
 
|-
 
|-
|00.33
+
|00:31
|It has an embedded pdf reader
+
| It is platform independent
 
+
 
|-
 
|-
| 00.36
+
|00:34
|It supports Indian language typesetting
+
|It has an embedded pdf reader
 
+
 
+
  
 
|-
 
|-
| 00.39
+
|00:36
|Before we start with TeXworks, we have to install MikTeX.
+
| It supports Indian language typesetting
  
 
|-
 
|-
| 00.44
+
|00:40
|MikTeX is an up-to-date implementation of TeX or LaTeX and related programs for Windows.  
+
| Before we start with '''TeXworks''', we have to install '''MikTeX'''.  
  
 
|-
 
|-
| 00.52
+
|00:45
|It contains the necessary packages to create basic documents in LaTeX on Windows  
+
|'''MikTeX''' is an up-to-date implementation of '''TeX/LaTeX''' and related programs for '''Windows'''.
  
 
|-
 
|-
| 00.58
+
|00:52
|Moreover, TeXworks is a default editor available with MikTeX installation.  
+
|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
+
| 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
+
|01:22
| Download and save it on your Desktop.
+
|It is a large file, about 154 mega bytes. Hence, it will take some time to download.
  
 
|-
 
|-
|01.22
+
|01:28
|It is a large file, about 154 mega bytes.  
+
|I have already downloaded this file. Here it is.
 
+
  
 
|-
 
|-
|01.25
+
|01:32
|Hence, it will take some time to download.  
+
| Double click on this file to start the installation.  
  
 
|-
 
|-
| 01.27
+
|01:36
|I have already downloaded this file. Here it is.  
+
|Check the check box and click on '''Next'''.  
  
 
|-
 
|-
| 01.32
+
|01:40
|Double click on this file to start the installation.  
+
|Choose all default options.
 
+
 
+
  
 
|-
 
|-
| 01.36
+
| 01:44
| Check the check box and click on Next.  
+
|The installation will take around 5 to 10 minutes.
  
 
|-
 
|-
| 01.40
+
|01:47
|Choose all default options.  
+
|I have already installed '''MikTeX''' on my computer. Hence I will not proceed with the installation.
  
 
|-
 
|-
|01.43
+
| 01:55
|The installation will take around 5 to 10 minutes.
+
|After successfully installing '''MikTeX''' on your computer,
  
 
|-
 
|-
|01.47
+
|01:58
|I have already installed MikTeX on my computer.  
+
|let us see how to use the '''TeXworks''' editor which comes with '''MikTeX.'''
  
 
|-
 
|-
|01.50
+
|2:04
|Hence I will not proceed with the installation.  
+
| Click on the '''Windows start''' button.
 
+
  
 
|-
 
|-
| 01.54
+
|02:07
|After successfully installing MikTeX on your computer,
+
|Click on '''All Programs'''.
  
 
|-
 
|-
| 01.58
+
|02:10
|let us see how to use the TeXworks editor which comes with MikTeX.  
+
|Click on '''MikTeX2.9'''.
 
+
  
 
|-
 
|-
| 02.03
+
|02:12
|Click on the Windows start button.  
+
|Click on '''TeXworks'''.
  
 
|-
 
|-
| 02.07
+
|02:15
| Click on All Programs.  
+
| '''TeXworks''' editor will open.
  
 
|-
 
|-
|02.09
+
|02:18
|Click on MikTeX2.9
+
|Let me open an already existing '''LaTeX''' document.
 
+
  
 
|-
 
|-
| 02.12
+
|02:22
| Click on TeXworks
+
|I will click on '''File,''' then click on '''Open''' and choose the directory. Then I will open the file '''hello.tex'''.
 
+
 
+
  
 
|-
 
|-
| 02.15
+
|02:33
| TeXworks editor will open.  
+
| You can see that the text written in the file is colored.
  
 
|-
 
|-
| 02.18
+
|02:38
| Let me open an already existing LaTeX document.  
+
|This is called '''syntax''' '''highlighting'''.  It helps the user differentiate between the user content and the '''LaTeX''' syntax.
 
+
  
 
|-
 
|-
| 02.21
+
|02:47
| I will click on File, then click on Open and choose the directory.  
+
|In case the '''LaTeX''' syntax is not highlighted, do the following.
  
 
|-
 
|-
| 02.28
+
|02:52
|Then I will open the file hello.tex.
+
| In the '''TeXworks''' window, click on '''Format''' button available on the '''Menu bar'''.
 
+
  
 
|-
 
|-
| 02.32
+
|02:59
|You can see that the text written in this file is colored.  
+
| Select '''Syntax Colouring''' and then click on '''LaTeX'''.
  
 
|-
 
|-
| 02.37
+
|03:03
|This is called syntax highlighting.
+
| If you want '''TeXworks''' to apply '''syntax highlighting''' every time you create a '''LaTeX''' document, do the following
 
+
  
 
|-
 
|-
| 02.41
+
| 03:11
| It helps the user differentiate between the user content and the LaTeX syntax.  
+
|On the '''menu''' bar, click on '''Edit''' and then click on '''Preferences'''.
+
  
 
|-
 
|-
| 02.47
+
|03:16
| In case the LaTeX syntax is not highlighted, do the following.  
+
|In the '''Editor''' tab, click on the dropdown button which gives options for '''Syntax Colouring'''.
  
 
|-
 
|-
| 02.52
+
|03:22
|In the TeXworks window, click on Format button available on the Menu bar.  
+
|Choose '''LaTeX''' and then click on '''Ok.'''
  
 
|-
 
|-
| 02.58
+
| 03:27
|Select Syntax Colouring and then click on LaTeX.
+
|In this way, '''syntax''' '''highlighting''' will be applied to all documents created in the future.
  
 
|-
 
|-
| 03.03
+
| 03:33
| If you want TeXworks to apply syntax highlighting every time you create a LaTeX document, do the following
+
|Now we are ready to compile our '''LaTeX''' document.
  
 
|-
 
|-
| 03.10
+
|03:37
| On the menu bar, click on Edit ,then click on Preferences.
+
| Press '''Ctrl''' and '''t''' keys together to start the compilation.
  
 
|-
 
|-
| 03.16
+
|03:43
|In the Editor tab, click on the dropdown button which gives options for Syntax Colouring.  
+
| Once the document is compiled without errors, the resulting '''pdf''' will be opened.
  
 
|-
 
|-
| 03.22
+
|03:49
|Choose LaTeX and then click on Ok.
+
|Note that this '''pdf''' reader comes along with '''TeXworks.'''
  
 
|-
 
|-
| 03.26
+
|03:53
|In this way, syntax highlighting will be applied to all documents created in the future.
+
| It is the default '''pdf''' reader used by '''TeXworks''' to display the compiled '''pdf''' documents.
  
 
|-
 
|-
| 03.32
+
|04:00
|Now we are ready to compile our LaTeX document.  
+
|We have completed the basic installation of LATEX.
  
 
|-
 
|-
| 03.36
+
|04:04
| Press Ctrl and t keys together to start the compilation.  
+
|This is sufficient for many formatting requirements.
  
 
|-
 
|-
| 03.42
+
|04:07
|Once the document is compiled without errors, the resulting pdf will be opened.
+
|You may now leave this tutorial. Practice the remaining LATEX tutorials on the playlist
  
 
|-
 
|-
| 03.49
+
|04:14
|Note that this pdf reader comes along with TeXworks.
+
|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”'''
  
 
|-
 
|-
| 03.53
+
|04:25
|It is the default pdf reader used by TeXworks to display the compiled pdf document.
+
|Here ABC is a file inside the package XYZ
+
|-
+
| 03.59
+
|Now let us compile a Beamer document. 
+
  
 
|-
 
|-
| 04.02
+
|04:29
| Beamer package by default is not included in the MikTeX setup that we have installed.  
+
|ABC and XYZ will be specific to your case.
  
 
|-
 
|-
| 04.08
+
| 04:33
|This means that we have to  
+
|When you get such an error message, listen to the rest of this tutorial.
 
+
  
 
|-
 
|-
| 04.10
+
|04:38
|download  it from some source and add it to our current MikTeX distribution
+
|Two ways to solve that problem are explained in the rest of this tutorial. At least one of them should work for you.
 
+
 
+
  
 
|-
 
|-
| 04.15
+
|04:46
|There are two ways of installing a missing package.
+
|Goodbye for now
  
 
|-
 
|-
| 04.19
+
|04:48
| One way is to install it on the fly while we are compiling a LaTeX document
+
|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.24
+
|04:56
| This LaTeX document will typically require a package not available in your MikTeX distribution.
+
| Now let us compile a '''Beamer''' document.
  
 
|-
 
|-
| 04.31
+
| 04:59
|Other way, is to manually choose and install a package using Package Manager of MikTeX.  
+
|Beamer package by default is not included in the '''MikTeX''' setup that we have installed.
  
 
|-
 
|-
| 04.37
+
|05:05
|Let us see the first method.
+
|This means that we have to : download it from some source and add it to our current '''MikTeX''' distribution
  
 
|-
 
|-
| 04.40
+
| 05:12
|We will open and compile a LaTeX document, which requires MikTeX to install packages from the internet.  
+
|There are two ways of installing a missing package.
 
+
  
 
|-
 
|-
| 04.47
+
|05:16
|First close the TeXworks editor.
+
|One way is to install it on the fly while we are compiling a '''LaTeX''' document
  
 
|-
 
|-
| 04.51
+
|05:21
|It is required that we open the tex file with administrator privileges.  
+
|This '''LaTeX''' document will typically require a package not available in your '''MikTeX''' distribution.
  
 
|-
 
|-
| 04.56
+
|05:28
|Click on the start button.  
+
|Other way, is to manually choose and install a package using '''Package''' '''Manager''' of '''MikTeX'''.
 
+
  
 
|-
 
|-
| 04.59
+
| 05:35
| Then click on All programs.  
+
|Let us see the first method.
  
 
|-
 
|-
| 05.02
+
|05:37
|Click on MikTeX2.9
+
| We will  open and compile a '''LaTeX''' document, which requires '''MikTeX'''  to install packages from the '''internet'''.
  
 
|-
 
|-
| 05.05
+
| 05:44
|Right click on TeXworks and choose Run as Administrator
+
|First close the '''TeXworks''' editor.
  
 
|-
 
|-
| 05.11
+
|05:48
| This will launch the TeXworks editor with administrator privileges.  
+
| It is required that we open the '''tex''' file with administrator privileges.
  
 
|-
 
|-
| 05.16
+
|05:53
|Now click on File.
+
|Click on the '''start''' button. Then click on '''All programs'''. Click on '''MikTeX2.9'''
  
 
|-
 
|-
| 05.19
+
|06:02
|Then click on Open
+
|Right click on '''TeXworks''' and choose '''Run as Administrator'''
  
 
|-
 
|-
| 05.21
+
|06:08
|Choose the file beamer.tex
+
|This will launch the '''TeXworks''' editor with '''administrator''' privileges.  
  
 
|-
 
|-
| 05.24
+
|06:13
|Press Ctrl and t keys together to start the compilation.  
+
| Now click on '''File.''' Then click on '''Open'''  Choose the file '''beamer.tex'''
  
 
|-
 
|-
| 05.29
+
|06:21
|A Package Installation dialog box will open.  
+
| Press '''Ctrl''' and '''t''' keys together to start the compilation.
  
 
|-
 
|-
| 05.33
+
|06:26
|It will ask to install the missing package beamer.cls.  
+
|A '''Package Installation '''dialog box will open.
  
 
|-
 
|-
| 05.38
+
|06:30
|Click on Change button on this dialog box.  
+
|It will ask to install the missing package '''beamer.cls. '''
  
 
|-
 
|-
| 05.43
+
|06:35
|Change Package Repository dialog box will open.  
+
| Click on '''Change '''button on this dialog box.
  
 
|-
 
|-
| 05.47
+
|06:40
|Choose the option Packages shall be installed from the internet.
+
|'''Change Package Repository '''dialog box will open.
  
 
|-
 
|-
| 05.52
+
|06:44
|Click on Connection Settings.  
+
| Choose the option '''Packages shall be installed from the internet.'''
 
+
  
 
|-
 
|-
| 05.55
+
|06:49
|It will prompt you to configure the proxy settings.  
+
| Click on '''Connection Settings.'''
  
 
|-
 
|-
| 05.59
+
|06:52
|If you are not on a proxy network then leave the Use proxy server checkbox unchecked.  
+
| It will prompt you to configure the '''proxy''' settings.
  
 
|-
 
|-
| 06.06
+
| 06:56
|Since i am on a proxy network, i will enable the option by clicking on the checkbox  
+
|If you are not on a '''proxy''' network then leave the '''Use proxy server checkbox''' unchecked.
  
 
|-
 
|-
| 06.12
+
|07:03
|I will enter the proxy address.
+
|Since i am on a '''proxy''' network, i will enable the option by clicking on the checkbox
  
 
|-
 
|-
| 06.16
+
|07:09
|I will enter proxy port number.  
+
| I will enter the '''proxy''' address.
  
 
|-
 
|-
| 06.19
+
|07:13
|I will enable the option Authentication required by clicking on the corresponding checkbox
+
| I will enter '''proxy''' port number.
  
 
|-
 
|-
| 06.25
+
|07:16
|Click on Ok. And then click on Next
+
| I will enable the option '''Authentication required '''by clicking on the corresponding checkbox
  
 
|-
 
|-
| 06.30
+
|07:23
|It will ask me the proxy username and password.
+
| Click on '''Ok'''. And then click on '''Next'''
  
 
|-
 
|-
| 06.34
+
|07:27
|I will enter the information and click on OK.  
+
| It will ask me the '''proxy username '''and''' password.'''
  
 
|-
 
|-
| 06.39
+
|07:31
|It will show a list of various remote package repositories.  
+
| I will enter the information and click on '''OK'''.
  
 
|-
 
|-
| 06.44
+
|07:36
|Choose one from the list and click on Finish.  
+
| It will show a list of various remote package repositories.
+
|-
+
| 06.48
+
|Click on Install.
+
 
+
  
 
|-
 
|-
| 06.51
+
|07:41
|It will install the beamer.cls package
+
|Choose one from the list and click on '''Finish.'''
 
+
  
 
|-
 
|-
| 06.55
+
|07:45
|Once again the Package Installation dialog box will open.  
+
| Click on '''Install'''.
  
 
|-
 
|-
| 07.00
+
|07:48
|It will prompt to install the missing package pgfcore.sty.
+
|It will install the '''beamer.cls '''package
 
+
  
 
|-
 
|-
| 07.06
+
|07:52
|You may uncheck the option Always show this dialog before installing packages.  
+
| Once again the '''Package Installation '''dialog box will open.
  
 
|-
 
|-
| 07.12
+
|07:57
|If you do this, MikTeX will not prompt you again, if it encounters a missing package.  
+
|It will prompt to install the missing package '''pgfcore.sty.'''
  
 
|-
 
|-
| 07.19
+
|08:03
|Click on Install.
+
|You may uncheck the option '''Always show this dialog before installing packages'''.  
 
+
  
 
|-
 
|-
| 07.21
+
|08:09
|Now if there are any more missing packages, it will automatically install it, without asking for your permission.  
+
|If you do this, '''MikTeX''' will not prompt you again, if it encounters a missing package.
  
 
|-
 
|-
| 07.31
+
|08:16
|Once the installation completes, it will finish the compilation and open the pdf output.  
+
|Click on '''Install.'''
  
 
|-
 
|-
| 07.38
+
|08:18
|We can see that we have successfully compiled a Beamer document.  
+
|Now if there any more missing packages, it will automatically install it, without asking for your permission.
  
 
|-
 
|-
| 07.42
+
|08:28
|Now let us see the second method of installing missing packages.  
+
|Once the installation completes, it will finish the compilation and open the '''pdf''' output.
 
+
  
 
|-
 
|-
| 07.47
+
|08:35
|Click on the Windows start button.  
+
|We can see that we have successfully compiled a '''Beamer''' document.
 
+
  
 
|-
 
|-
| 07.50
+
|08:39
|Click on All Programs.  
+
| Now let us see the second method of installing missing packages.
 
+
 
+
  
 
|-
 
|-
| 07.53
+
|08:44
|Click on MikTeX2.9
+
|Click on the Windows '''start''' button.
 
+
  
 
|-
 
|-
| 07.55
+
|08:47
|Click on Maintenance (Admin)
+
|Click on '''All Programs'''.
  
 
|-
 
|-
| 07.58
+
|08:49
|Cick on Package Manager (Admin)
+
|Click on '''MikTeX2.9'''
  
 
|-
 
|-
| 08.02
+
|08:52
| It will show a list of various packages available
+
|Click on '''Maintenance (Admin)'''
  
 
|-
 
|-
| 08.07
+
|08:55
|Now let us take a look at this list.
+
|Cick on '''Package Manager (Admin)'''
 
+
  
 
|-
 
|-
| 08.10
+
|09:00
|There are six columns in this list.  
+
| It will show a list of various packages available.
  
 
|-
 
|-
| 08.13
+
|09:04
|These are Name, Category, Size, Packaged date, Installed on date and Title.  
+
|Now let us take a look at this list.
  
 
|-
 
|-
| 08.21
+
|09:07
|The Installed on column is very important to us.  
+
|There are six columns in this list.
  
 
|-
 
|-
| 08.25
+
|09:10
|The packages for which this column is blank indicates that these packages are not installed.  
+
|These are '''Name, Category, Size, Packaged date, Installed on date''' and '''Title'''.
  
 
|-
 
|-
| 08.32
+
|09:18
|Let us see how to install a particular package.  
+
|The '''Installed on''' column is very important to us.
  
 
|-
 
|-
| 08.36
+
|09:22
|Let me choose the package abc, for example.  
+
|The packages for which this column is blank indicates that these packages are not installed.
  
 
|-
 
|-
| 08.41
+
|09:29
|Notice that the moment I choose the package, the plus button on the top left side gets enabled.  
+
|Let us see how to install a particular package.
 
+
  
 
|-
 
|-
| 08.48
+
|09:33
|The plus button is the install button.  
+
| Let me choose the package '''abc''', for example.
  
 
|-
 
|-
| 08.51
+
|09:38
|Click on the plus button.  
+
|Notice that the moment I choose the package, the '''plus''' button on the top left side gets enabled.
  
 
|-
 
|-
| 08.53
+
|09:45
|A window will open which will list the number of packages you have chosen to install or uninstall.  
+
|The '''plus''' button is the '''install''' button. Click on the '''plus''' button.
  
 
|-
 
|-
| 09.00
+
|09:50
|Click on Proceed.  
+
|A window will open which will list the number of packages you have chosen to install or uninstall.
  
 
|-
 
|-
| 09.04
+
|09:58
|Since I have configured a proxy network connection, it will prompt me for the proxy username and password.  
+
|Click on '''Proceed'''.
  
 
|-
 
|-
| 09.11
+
|10:01
|Let me type my username and password
+
|Since I have configured a '''proxy''' network connection, it will prompt me for the '''proxy username''' and '''password'''.
  
 
|-
 
|-
| 09.14
+
|10:08
|Click on Ok
+
|Let me type my '''username''' and '''password'''
  
 
|-
 
|-
| 09.16
+
|10:11
|A window will open which will show the download progress of the package selected for installation.
+
|Click on '''Ok'''
 
+
  
 
|-
 
|-
| 09.23
+
|10:13
|It may happen that it fails to download the requested package due to remote server connectivity issues.  
+
| A window will open which will show the download progress of the package selected for installation.
  
 
|-
 
|-
| 09.29
+
|10:20
|In that case, change the package repository and try again.  
+
|It may happen that it fails to download the requested package due to remote server connectivity issues.
 
+
  
 
|-
 
|-
| 09.34
+
|10:26
|We can see that the installation of selected package is completed.  
+
|In that case, change the package repository and try again.
  
 
|-
 
|-
| 09.39
+
|10:31
|Click on Close.  
+
|We can see that the installation of selected package is completed.
 
+
 
+
  
 
|-
 
|-
| 09.41
+
|10:36
|The package list will get refreshed.
+
|Click on '''Close'''.
  
 
|-
 
|-
| 09.44
+
|10:38
|Notice that 11 september 2013 appears in the Installed on column for package abc.  
+
|The package list will get refreshed.
  
 
|-
 
|-
| 09.52
+
|10:41
|This completes the tutorial LaTeX on Windows using TeXworks
+
|Notice that 11 september 2013 appears in the '''Installed''' '''on''' column for package '''abc.'''
  
 
|-
 
|-
| 09.58
+
|10:49
|In this tutorial we learnt to - 
+
| This completes the tutorial '''LaTeX on Windows using TeXworks'''
  
 
|-
 
|-
| 10.00
+
|10:54
|Download and install MikTeX  
+
| In this tutorial we learnt to -  Download and install '''MikTeX'''.
  
 
|-
 
|-
| 10.02
+
| 10:59
|Write basic LaTeX document using TeXworks  
+
|Write a basic '''LaTeX''' document using '''TeXworks'''
  
 
|-
 
|-
| 10.06
+
|11:03
|Configure MikTeX to download missing packages in 2 different ways
+
| Configure '''MikTeX''' to download missing packages in 2 different ways
  
 
|-
 
|-
| 10.11
+
|11:08
|Watch the video available at the following link.
+
| Watch the video available at , [http://spoken-tutorial.org/What_is_a_Spoken_Tutorial http://spoken-tutorial.org/What_is_a_Spoken_Tutorial]
  
 
|-
 
|-
| 10.14
+
|11:12
| It summarizes the Spoken Tutorial project  
+
| It summarizes the Spoken Tutorial project, If you do not have good bandwidth, you can download and watch it.
  
 
|-
 
|-
| 10.17
+
|11:18
| If you do not have good bandwidth, you can download and watch it.  
+
| The Spoken Tutorial Project Team  Conducts workshops using spoken tutorials. Gives certificates to those who pass an online test .  
  
 
|-
 
|-
| 10.21
+
|11:28
| The Spoken Tutorial Project Team
+
| For more details, please write to contact@spoken-tutorial.org
  
 
|-
 
|-
| 10.23
+
|11:33
| Conducts workshops using spoken tutorials
+
| 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.27
+
|11:45
|Gives certificates to those who pass on online test .  
+
| More information on the same is available at, http://spoken-tutorial.org /NMEICT-Intro
  
 
|-
 
|-
| 10.30
+
|11:56
|For more details, please write to contact@spoken-tutorial.org
+
| This is Rupak Rokade from IIT Bombay signing off. Thanks for watching.
  
 
+
|}
|-
+
| 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.
+

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