LaTeX/Installation : Différence entre versions
(→Gnu-emacs and AucTeX) |
|||
| Ligne 32 : | Ligne 32 : | ||
If you are willing to use Emacs for your TeX editor, you will have to download Aquamacs for OS/X users. On Linux, you need to download gnu-emacs as well as AucTeX which are in two separate packages. On Windows, go to http://www.gnu.org/software/auctex/download-for-windows.html and you will able to download AucTeX as well as Emacs. | If you are willing to use Emacs for your TeX editor, you will have to download Aquamacs for OS/X users. On Linux, you need to download gnu-emacs as well as AucTeX which are in two separate packages. On Windows, go to http://www.gnu.org/software/auctex/download-for-windows.html and you will able to download AucTeX as well as Emacs. | ||
| + | |||
| + | Just download the Emacs zip (currently version 23.3) first and then extract it on <tt>c:\Program Files\Emacs</tt> by creating an Emacs folder. It will created a tree <tt>c:\Program Files\Emacs\emacs-23.3</tt> of all the emacs distribution. In the directory <tt>c:\Program Files\Emacs\emacs-23.3\bin</tt>, you will find a file named <tt>runemacs.exe</tt>. Right click and create an alias (link) file and then move this link on your desktop or menu bar in order to launch emacs. | ||
| + | |||
| + | Now, unzip the AucTeX zipped file exactly on this emacs-23.3 folder in order to add the AucTeX tree to the emacs tree. In particular a newer <tt>dir</tt> file under the <tt>emac-23.3\info</tt> will supersede the previous file with the same name (accept to overwrite <tt>dir</tt> file). | ||
| + | |||
| + | Launch runemacs and open a tex file. It should work. | ||
== JabReF == | == JabReF == | ||
Version du 30 mai 2011 à 20:39
Sommaire
TeXLive
TeXLive2010 is a common distribution for Windows, Mac OS/X and Linux. In May 2011, TeXLive2011 is not out but most of packages, if upgraded from CTAN. The Comprehensive TeX Archive Network is the place to get materials related to the TeX typesetting system. You need to read http://www.tug.org/texlive/doc/texlive-en/texlive-en.html
- On Windows you are supposed to download the ISO file and burn it on a DVD (see http://www.tug.org/texlive/acquire-dvd.html).
- On Mac OS/X, you are supposed to get MaCTeX which includes TeXLive and run the dmg file for installation.
- On Linux, texlive is installed by default. You may need to install some additional packages.
Windows installation
Insert the DVD and install the distribution. It may take half an hour or more. See http://www.tug.org/texlive/doc/texlive-en/texlive-en.html for Post instal actions. In particular open a terminal and enter the command (copy and paste by right click)
> tlmgr option repository http://mirror.ctan.org/systems/texlive/tlnet
For all 3 OS
Follow the section 3.5 Testing the installation and test the commands: latex, pdflatex, etc. on simple examples.
Once you are finished, you can test the editor TeXworks which works on the 3 operating systems.
Click on the TeXworks icon on your Desktop (Windows installation) and choose File => New from a template. Choose a Beamer template. Run it, look at the pdf, move to another page. Right click somewhere on the pdf text and choose sync to the source code. Your left window will sync with the corresponding tex source line. Move to another section of the source text, right click and choose locate on PDF and the right pane (PDF window) will scroll to the corresponding section.
Test a XeTeX template and run it. If it runs into error because of a missing font, comment the line by adding a % in front of the line and run again. XeTeX is able to run with any font of your OS and not only on "Computer Modern" fonts which are specific to TeX.
Now you have a running mininal running installation.
Gnu-emacs and AucTeX
If you are willing to use Emacs for your TeX editor, you will have to download Aquamacs for OS/X users. On Linux, you need to download gnu-emacs as well as AucTeX which are in two separate packages. On Windows, go to http://www.gnu.org/software/auctex/download-for-windows.html and you will able to download AucTeX as well as Emacs.
Just download the Emacs zip (currently version 23.3) first and then extract it on c:\Program Files\Emacs by creating an Emacs folder. It will created a tree c:\Program Files\Emacs\emacs-23.3 of all the emacs distribution. In the directory c:\Program Files\Emacs\emacs-23.3\bin, you will find a file named runemacs.exe. Right click and create an alias (link) file and then move this link on your desktop or menu bar in order to launch emacs.
Now, unzip the AucTeX zipped file exactly on this emacs-23.3 folder in order to add the AucTeX tree to the emacs tree. In particular a newer dir file under the emac-23.3\info will supersede the previous file with the same name (accept to overwrite dir file).
Launch runemacs and open a tex file. It should work.
JabReF
JabReF (see http://jabref.sourceforge.net/) is the tool which will be presented for the Bibliography management. Some exercises will be proposed using JabReF. It is very easy to download.
Other softwares
Other softwares will be used during the presentation in relation to LaTeX. They are all free softwares. You can dowload them.
R
Gnuplot (***)
Xfig (****)
Linux and OS/X only!!!