Difference between revisions of "Kile and TeX Live"

From ArchWiki
Jump to: navigation, search
m
(don't use -Sy when installing packages)
Line 5: Line 5:
 
==Step 1: Install TeXLive==
 
==Step 1: Install TeXLive==
 
The best way to start is installing the texlive-most package.
 
The best way to start is installing the texlive-most package.
  # pacman -Sy texlive-most
+
  # pacman -S texlive-most
 
Make sure you have enabled the community archives (in /etc/pacman.conf).
 
Make sure you have enabled the community archives (in /etc/pacman.conf).
 
If you encounter errors during the installation complaining that commands could not be found, try running:
 
If you encounter errors during the installation complaining that commands could not be found, try running:
Line 11: Line 11:
 
before installing.
 
before installing.
  
==Step 2: Install Okular,..==
+
==Step 2: Install Okular==
 
Simply type:
 
Simply type:
  # pacman -Sy kdegraphics-okular  
+
  # pacman -S kdegraphics-okular  
  
 
Note that okular can read .pdf as well as .dvi so there should not be the need for any other tools.
 
Note that okular can read .pdf as well as .dvi so there should not be the need for any other tools.
Line 19: Line 19:
 
==Step 3: Install Kile==
 
==Step 3: Install Kile==
 
Finally you have to install Kile.
 
Finally you have to install Kile.
  # pacman -Sy kile
+
  # pacman -S kile
 
Start Kile from you menu and check whether all dependencies are solved using "Settings > Systemcheck". Kile will ask you for the Acrobat Reader (the pacman package is called acroread) but that is optional.
 
Start Kile from you menu and check whether all dependencies are solved using "Settings > Systemcheck". Kile will ask you for the Acrobat Reader (the pacman package is called acroread) but that is optional.
  

Revision as of 03:59, 19 February 2010

Introduction

This article summarizes how to install the Kile LaTeX editor with TeXLive instead of TeTeX (which is no longer maintained). For additional information about how to install TeXLive on Arch Linux, visit the TeXLive article.

Step 1: Install TeXLive

The best way to start is installing the texlive-most package.

# pacman -S texlive-most

Make sure you have enabled the community archives (in /etc/pacman.conf). If you encounter errors during the installation complaining that commands could not be found, try running:

$ export PATH=$PATH:/opt/texlive/bin

before installing.

Step 2: Install Okular

Simply type:

# pacman -S kdegraphics-okular 

Note that okular can read .pdf as well as .dvi so there should not be the need for any other tools.

Step 3: Install Kile

Finally you have to install Kile.

# pacman -S kile

Start Kile from you menu and check whether all dependencies are solved using "Settings > Systemcheck". Kile will ask you for the Acrobat Reader (the pacman package is called acroread) but that is optional.

Note that if you installed Kile before installing the required packages (like kdvi), you can still install them and have a fully working Kile install.

Enjoy Kile and TeXLive.

Kile-svn

Please note that Kile is also available in the AUR for it's svn version for KDE4, type:

# yaourt -S kile-svn

if yaourt is installed, or get the PKGBUILD from the AUR.

Troubleshooting

pdfTeX warnings

If you get warnings such as:

pdfTeX warning: pdflatex [...] fontmap entry for [...] already exists, duplicates ignored

try to remove the map files pcr8y.map, phv8y.map, ptm8y.map from the updmap.cfg and finally run updmap.