Difference between revisions of "Kile and TeX Live"

From ArchWiki
Jump to: navigation, search
(kile in extra supports KDE4)
(15 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 +
[[Category:TeX]]
 
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 "export PATH=$PATH:/opt/texlive/bin" before installing.
+
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 KPDF, KDVI,..
+
==Step 2: Install Okular==
 +
Simply type:
 +
# pacman -S kdegraphics-okular
  
Those packages have been regrouped under a single packages named kdegraphics, except for gv, therefore, in order to install them, you have to type:
+
Note that okular can read .pdf as well as .dvi so there should not be the need for any other tools.
pacman -S kdegraphics gv
+
 
+
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.
  
Step 4, pdfTeX warnings?
+
Enjoy Kile and TeXLive.
  
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.
+
==Troubleshooting==
 
+
===pdfTeX warnings===
Enjoy Kile and TeXLive.
+
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.

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.