# Tag Info

375

These instructions have been updated for Ubuntu 16.04 and TeX Live 2016, they will probably work on most Ubuntu/Debian distributions. Installation Installing "vanilla" TeX Live is not as hard as you think. Things you will need: An internet connection. About 4 GiB of free space (2 GiB if not installing documentation). Root (sudo) powers. Note: the ...

214

\graphicspath{{D:/LATEX/Reports@IIT/figures/}} Try it! More general case: \graphicspath{{subdir1/}{subdir2/}{subdir3/}...{subdirn/}} The ... is not the part of the syntax for sure! It is there just to represent something like 1,2,3,...,n in a set theory. If the figures are saved in a sibling directory, use ../ to access the parent directory. \...

190

Sorry to reactivate this old post but there was no correct answer. The message : (running on Debian, switching to user mode!) cannot setup TLPDB in /home/USER/texmf at /usr/bin/tlmgr line 5308. is generated when tlmgr was not initialized. In most cases, launching the following command (as a normal user) solves the problem : $tlmgr init-usertree ... 114 I just installed the recommended fonts and it worked for me. =) The command for a Debian based Linux distribution (including Ubuntu and Mint): sudo apt-get install texlive-fonts-recommended 111 Try the following commands, one after another. If you progress, respective folders may already be deleted: sudo apt-get purge texlive* sudo rm -rf /usr/local/texlive/* and rm -rf ~/.texlive* sudo rm -rf /usr/local/share/texmf sudo rm -rf /var/lib/texmf sudo rm -rf /etc/texmf sudo apt-get remove tex-common --purge rm -rf ~/.texlive find -L /usr/local/bin/ -... 111 In my texlive installation (in ubuntu 15.04), I tried installing framed.sty latex package with the following command:$ tlmgr install framed I got this error message: (running on Debian, switching to user mode!) cannot setup TLPDB in /home/myusername/texmf at /usr/bin/tlmgr line 5435. I took the following steps: $cd ~$ mkdir texmf $tlmgr init-... 92 In this case, the missing file is ecrm1000.tfm according to the error message. To know which package it belongs to, you can use the command tlmgr search --file ecrm1000.tfm --global which finds it in package ec. So you have to install it with tlmgr install ec. Then you may have other errors, other files to look up and other packages to install. Since the ... 88 Ok, here's an answer as the main developer of tlmgr and the whole TeX Live infrastructure. You have to decide two things: the freeze period before release of a new version upgradability from one release to the next Concerning the former, freeze period: Normally during the year we do not make updates to the actual binaries, but only to scripts and the ... 81 This answer is a community answer, everyone can edit. Fonts accessible with a simple \usepackage{〈font〉} call: (*) means that the package makes this font the default text font. arev - Arev, a sans-serif font (*) with math enhancements; derived from Bitstream Vera Sans avant - Sets the sans-serif font to Avant Garde bera - Bera Serif (roman,*), Bera Sans (... 70 If you want to continue to use 2015 version you should set the repository to the archived version with: tlmgr option repository ftp://tug.org/historic/systems/texlive/2015/tlnet-final as is explained here How to install a package from an older version of TeXLive?. 69 Every specific path shoud be ended by /, and contained by a pair of braces. Try: \graphicspath{{D:/LATEX/Reports@IIT/figures/}} 62 Update The issue has been solved with titlesec version 2.10.2 (released 2016/03/21) Original answer The bug in the new version 2.10.1 is not properly starting horizontal mode as it was done previously. You can cure the bug by adding \usepackage{etoolbox} \makeatletter \patchcmd{\ttlh@hang}{\parindent\z@}{\parindent\z@\leavevmode}{}{} \patchcmd{\ttlh@... 61 What causes the problems? The essential problem here is that updmap is executed in some way, shape or form. Running an older version of getnonfreefonts causes problems because it executes updmap. Running getnonfreefonts --user causes problems because it executes updmap. Other font installation scripts cause this problem because they execute updmap. (Of ... 59 The fix is easy: add \RequirePackage{luatex85} as the very first line, a temporary workaround until standalone is updated. It should do no harm even after the update. \RequirePackage{luatex85} \documentclass{standalone} \begin{document} hi \end{document} 58 Simply type the following command in a terminal / command prompt: tlmgr list --only-installed > installed_texlive_packages.txt which will save the list to a file called installed_texlive_packages.txt. 54 I would like to answer this question in light of my personal experience. For many years, I have been using the default installation of LaTeX which comes with Ubuntu, and even after being an avid LaTeX user, I did not face any appreciable problem. In my home machine I am running Ubuntu 12.04 and in my office machine Ubuntu 13.04, both have LaTeX installed ... 51 You can always put your personal files in a proper subdirectory of ~/texmf; for instance, your personal .sty files could go in ~/texmf/tex/latex/jana/ This "personal tree" is always consulted for input files before the other trees and doesn't need hashing (with texhash aka mktexlsr). This is by far the preferred method for personal input files. If instead ... 51 I can't speak for TeX Live in particular, but I have been involved with Linux distributions from their very beginning, and I believe my observations there are relevant for TeX Live too (both are collections of disparate pieces that have to be selected, integrated and convinced to work nice together, each piece evolves at their own pace). While in a perfect ... 47 So, what doesn't work is tlmgr install xzdec Why would it? tlmgr is not working yet. So, as I'm writing the question, I realize I might try sudo apt-get install xzdec and it worked! What .tex document would once not compile, now does! (Well anyways, I next tried sudo tlmgr install parskip, and then the TeX document compiled, but I'm hoping that on-the-... 47 For Ubuntu 16.04 with texlive: sudo wget http://mirrors.ctan.org/macros/latex/contrib/titlesec/titlesec.sty -O /usr/share/texlive/texmf-dist/tex/latex/titlesec/titlesec.sty For other Linux distros: First run locate /titlesec.sty then adapt the previous code. Local tree for a single non-admin user: mkdir -p ~/texmf/tex/latex/titlesec/ ; wget http://... 46 This seems to do the trick. The solution is to downgrade the repository to 2017 version. This seems to be easy enough, but a quick search for the error did not suggest anything of this sort. I hope this post will be useful for people facing the same problem in the future. sudo tlmgr option repository ftp://tug.org/historic/systems/texlive/2017/tlnet-final `... 44 The error message Ouch---my internal constants have been clobbered!---case 14 is caused by if (mem_min<min_halfword)or(mem_max>=max_halfword)or@| (mem_bot-mem_min>max_halfword+1) then bad:=14; in pdftex.web. Probably you have changed the memory settings in texmf.cnf that triggers the error. For further analysis these changes would be useful. ... 40 A quick google search on ecrm1000 gives good results: https://github.com/davetron5000/scala-style/issues/18 and http://lists.gnu.org/archive/html/gnumed-devel/2010-07/msg00147.html Both give the same solution: you need to install texlive-fonts-recommended using your package manager 39 First suggestion would be, Check if the caption.sty file is somewhere on the system$ locate caption.sty If it is not installed, most probably the package is not on the basic configuration of texlive. I used the command $apt-cache search caption | grep tex and found the following packages texlive-latex-recommended - TeX Live: LaTeX recommended ... 39 You can use pdfpages: \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdf[pages={-},angle=30]{main} \end{document} 38 The conditions of a package for TeX Live can be found at this page: TeX Live package contributions I will quote some of the page to discuss the conditions. Disclaimer: I am not part of the TeX Live team. This is just my way to see the licensing conditions and my interpretation might not be correct. Questions can be asked in the TeX Live mailing list (... 35 On Ubuntu 12.04: sudo apt-get install texlive-latex-base Seems to have got the job done in 175MB. 34 As you can see from$ du -sch /usr/local/texlive/2012/texmf-dist/* | sort -hr 3,8G insgesamt 1,5G /usr/local/texlive/2012/texmf-dist/doc 1,4G /usr/local/texlive/2012/texmf-dist/fonts 726M /usr/local/texlive/2012/texmf-dist/source 218M /usr/local/texlive/2012/texmf-dist/tex 22M /usr/local/texlive/2012/texmf-dist/tex4ht 16M /usr/local/...

33

I wrote a script that automates Silex's answer and does (optionally) a lot more. It supports Ubuntu versions 12.04 up to the current version. Download install-tl-ubuntu and run it as sudo ./install-tl-ubuntu To download that script, run wget https://github.com/scottkosty/install-tl-ubuntu/raw/master/install-tl-ubuntu && chmod +x ./install-tl-...

33

in addition to @vonbrand's excellent answer, one important reason to upgrade and "freeze" tex live annually is to provide a stable snapshot on physical media, largely for the benefit of members of the various user groups, but also for tex users who don't have convenient internet access. this dvd (it no longer fits on a cd) is also physically packaged with ...

Only top voted, non community-wiki answers of a minimum length are eligible