Difference between revisions of "Kile and TeX Live"

From ArchWiki
Jump to: navigation, search
(kile in extra supports KDE4)
(18 intermediate revisions by 10 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). You have to deselect texlive-bin during the installation process.
+
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 KPDF, KDVI,..
+
==Step 2: Install Okular==
 +
Simply type:
 +
# pacman -S kdegraphics-okular
  
Make sure, that you have installed kpdf, kdvi, gv and kghostview. If you are using KDEmod (kdemod-kdebase) you need to do this by hand.
+
Note that okular can read .pdf as well as .dvi so there should not be the need for any other tools.
pacman -S kdemod-kdegraphics-kpdf kdemod-kdegraphics-kpdf kdemod-kdegraphics-kghostview 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.
  
Step 4, pdfTeX warnings?
+
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.
  
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 my updmap.cfg and finally run updmap.
+
Enjoy Kile and TeXLive.
  
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.

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.