LaTeX

In this page

  1. Missing floatflt package
  2. LaTeX extra packages
  3. TexMaker Dictionaries
  4. Update RevTeX
  5. Install local packages

1. Missing floatflt package

floatflt

Missing floatflt package (instructions found in this site):

$ sudo mkdir -p /usr/share/texmf-texlive/tex/latex/floatflt
$ cd /usr/share/texmf-texlive/tex/latex/floatflt
$ sudo rm -f floatflt.* float*.tex
$ sudo wget http://mirror.ctan.org/macros/latex/contrib/floatflt/floatflt.ins
$ sudo wget http://mirror.ctan.org/macros/latex/contrib/floatflt/floatflt.dtx
$ sudo latex floatflt.ins
$ sudo texhash /usr/share/texmf-texlive

2. LaTeX extra packages

Latex useful extra packages to install:

  • texlive-publishers (for RevTeX)
  • texlive-latex-extra (for textcase.sty; soul.sty)
  • texlive-bibtex-extra (harvard.sty)
  • texlive-humanities (for lineno.sty)
  • texlive-fonts-recommended
  • texlive-science (just seems reasonable to do so)

3. TexMaker Dictionaries

TexMaker dictionaries to install and use: hunspell and myspell.

4. Update RevTeX

RevTeX

If RevTex is misbehaving, update it. Download the latest version and unzip the outermost file. Then do this:

$ sudo unzip revtex4-1-tds.zip -d /usr/share/texmf-texlive/  # Unzip inner file
$ sudo mktexlsr /usr/share/texmf-texlive                     # Update tex

It is important to check the destination directories for the above commands. They may change between distributions and even between releases.

5. Install local packages

Local packages

Local packages (user accessible only) can be installed in a local directory:

  • Put sty files into ~/texmf/tex/latex/ or a sub directory;
  • Put bst files into ~/texmf/bibtex/bst/ or a sub directory;
  • Update the tex paths
    $ sudo mktexlsr