Difference between revisions of "Kile and TeX Live"

From ArchWiki
Jump to: navigation, search
m (Kile-svn)
(kile in extra supports KDE4)
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[[Category:HOWTOs (English)]]
+
[[Category:TeX]]
==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|TeXLive]] article.
 
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|TeXLive]] article.
  
 
==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 10:
 
before installing.
 
before installing.
  
==Step 2: Install Okular, KDVI,..==
+
==Step 2: Install Okular==
Those packages have been regrouped under a single package named kdegraphics, except for gv, therefore, in order to install them, you have to type:
+
Simply type:
  # pacman -S kdegraphics gv
+
  # 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==
 
==Step 3: Install Kile==
 
Finally you have to install Kile.
 
Finally you have to install Kile.
 
  # pacman -S 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 your 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.
 
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.
 
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 [http://aur.archlinux.org/packages.php?ID=18353 PKGBUILD] from the [[AUR]].
 
  
 
==Troubleshooting==
 
==Troubleshooting==

Revision as of 13:25, 3 October 2012

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 your 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.

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.