Tex Live Installation and Configuration in Linux

Posted by:


Installation Instruction

  1. Install Tex Live manually with tlmgr functioning.

    Step-by-step installation instruction for Arch Linux is here.

    1. Set variable for Tex Live installation directory,

    2. Save Tex Live installation directory to shell script,

      If you use other shell (e.g. zsh) replace “.bashrc” with your shell environment script (e.g. .zshenv).

    3. Download network installer,

    4. Extract the installer,

    5. Change directory to extracted file,

      Replace [date] with installer version.

    6. Set texlive installation directory,

    7. Execute installer,

      To install with GUI, add “-gui” to parameter.

    8. if updating, copy personal package from old version

    9. The file system after installation

      The TDS is as follows after local installation, and there are more explanation here.

  2. Follow here for system wide install, tlmgr does not work this way
  3. after install, export path in ~/.bashrc

  4. To set up the TEX Live fonts for system-wide use. (assuming you have suitable privileges), proceed as follows. Copy the texlive-fontconfig.conf file to /etc/fonts/conf.d/09-texlive.conf.

  5. Some useful command:

Manual Installation of Custom Styles

You should not manually install files into usr/share/texmf-dist/tex/latex/<package name>/*. Instead, install local .sty files in TEXMFLOCAL, if they should be available to all users, or into TEXMFHOME, if they are specific to you. Use kpsewhich -var TEXMFLOCAL to get the local directory and install into <local directory>/tex/latex/<package name>. The TEXMFHOME directory will automatically be searched when TeX tools are executed. If you use TEXMFLOCAL, you need to update the database as described above in order for the files to be found.

Updating babelbib language definitions

If you have the very specific problem of babelbib not having the latest language definitions that you need, and you do not want to recompile everything, you can get them manually from https://www.tug.org/texlive/devsrc/Master/texmf-dist/tex/latex/babelbib/ and put them in usr/share/texmf-dist/tex/latex/babelbib. For example:

Afterwards, you need to run texhash to update the TeX database:

Noteworthy resources.

  1. Instructions for Debian here.
  2. [ ] http://www.draketo.de/english/emacs/writing-papers-in-org-mode-acpd
  3. [ ] Tex Live in Arch linux, instruction here
  4. [ ] Org-mode LaTex here
  5. [ ] Download and install Elsevier’s elsarticle Document Class, and wikipage
  6. [ ] Koma-script, download and install
  7. [ ] elsarticle template here
  8. [ ] Kitchener’s instruction
  9. [ ] LaTex’s community
  10. [ ]

    how to use styles-excepted from here. another example for chmemistry.

    Simply include it in your .tex file with command \bibliography{myreferences} \bibliographystyle{biolett} where ‘myreferences’ is actually the file ‘myreferences.bib’, which should be your bibliographic databank in BibTeX format, of course!

  11. [ ] resume template https://www.rpi.edu/dept/arc/training/latex/resumes/
  12. [ ] letter biolerplate http://mrzool.cc/writing/typesetting-automation/
  13. [ ] Latex Table Generator

Add a Comment