After doing some math assignment for my study I’d really like to publish these things (in wordpress). I found a few ways to do so. One of them was wpmathpub, but I’d rather use LaTeX. Therefore I choose WP LaTeX and because I like it the non easy way I used my server’s installation of LaTeX. A requirement for this is that you have a running LaTeX installation. No problem I thought. Unfortunately, apt was giving me all sorts of errors related to this bug? Fortunately, I found a solution!
First we have to add an apt repositoy
and add the following lines:
deb http://people.debian.org/~preining/TeX/ tl2007/ deb http://people.debian.org/~preining/TeX/ context/ deb http://people.debian.org/~preining/TeX/ lmodern/ deb http://www.backports.org/debian etch-backports main
Then, we update apt and install the needed packages:
apt-get update apt-get -t etch-backports install \ texlive texlive-base texlive-base-bin \ texlive-context texlive-fonts-recommended texlive-latex-base \ texlive-latex-recommended texlive-metapost \ texlive-pdfetex texlive-math-extra apt-get install install dvipng
If you want to get rid of the warning of your apt-get/aptitude, import this public key into the apt keyring by calling:
wget -qO - http://www.logic.at/people/preining/dsa.asc | apt-key add -