How to install Coptic in Linux

If you need a package to typeset Coptic texts in LaTeX, we recommend using CBCoptic, which is an improved version of this package.

Install LaTeX

We assume you have a working LaTeX-installation before installing the Coptic-package. If this is not the case, read how to install LaTeX on the page about installing HieroTeX.

Install Coptic

Download and unpack the Coptic-file:

tar xvzf Copte.tar.gz; rm Copte.tar.gz

You have to copy all files to a directory where LaTeX can find these files. On Ubuntu and most other distributions, it would be this directory:

export TEXPATH="/usr/share/texmf"

On Arch Linux, it is:

export TEXPATH="/opt/texlive/texmf"

Note: you will need root privileges to install CJHebrew. You can switch to the root user in a terminal window by using the command "su". In Ubuntu and other distribution who use "sudo" instead of the root user, you have to add "sudo" before every command below. But it's easier if you switch to the root user, by using the command "sudo su" or "sudo bash".

Create the destination directories and copy all files to the right directory:

cd Copte/
mkdir -p ${TEXPATH}/tex/latex/coptic ${TEXPATH}/fonts/tfm/coptic ${TEXPATH}/fonts/source/coptic
mv COPenc.def copenc.def
chmod 644 copenc.def COPcopte.fd copte.sty
cp COPcopte.fd copenc.def copte.sty ${TEXPATH}/tex/latex/coptic
cp copte.tfm ${TEXPATH}/fonts/tfm/coptic
cp ${TEXPATH}/fonts/source/coptic

Check your installation

If you would like to test the package, you can do this before deleting all temporary files:

pdflatex essaicop.tex

This should output a pdf-file essaicop.pdf, with some nice Coptic sentences.

Remove temporary files

If the installation was succesful, you can delete the files you downloaded:

cd ../; rm -r Copte/

Known issues

  • If LaTeX gives you an error with "Permission denied" when you're using Coptic for the first time, enter the following command in a terminal window and rerun LaTeX: sudo chmod -R 755 $TEXPATH

Tested in:

  • Arch Linux (2007.08-2)
  • Debian (4.0r1)
  • Ubuntu (6.06-6.10)