This is how you will add missing packages that are required by LaTeX documents. A nice editor. Choosing an editor is like choosing a religion so you may want to weigh your options. TeXworks is similar but also works on Linux and Windows. The universe of TeX-aware editors is covered in detail by this question. A program for managing BibTeX entries. BibTeX is a wonderful component of TeX Live that makes the creation and formatting of bibliography entries a breeze. Unfortunately, creating BibTeX input files introduces yet another learning curve.
This problem is solved by programs that create the files for you given information such as titles, author names, publications, etc. Another good choice is JabRef which is cross-platform. You will know there is a missing package when you attempt to compile your document and compilation stops with an error message that looks like this:. In this case, LaTeX is trying to load a package named multirow but cannot find multirow.
To install missing packages, you can try the following things:. Just open the command line and type:. Where pkgname is the missing package that LaTeX was complaining about. In the example above, LaTeX complained about multirow.
You can also use the TeX Live Utility. Open the application and click on the "Manage Packages" tab. In these cases, you may be dealing with a package that is part of a "bundle". A "bundle" is a group of packages that are known to tlmgr by a single name so that they will always be installed together.
A good example is the pdflscape package. In this case the tlmgr comes to help again, as it allows to search the database for packages as well as files.
If you are searching for a specific file, the best way is to use. The same can be achieved in the GUI started with tlmgr gui by selecting under Match only the filenames and enter the file name. The search command is very powerful and allows to search for package names, descriptions, file names, and also various taxonomies. Another way is to use the "Search the package descriptions" feature on CTAN to lookup the package name:. In this case searching for pdflscape bring up a few results- choose the one that matches the package name:.
For the pdflscape package, oberdiek is the name of the bundle that contains it. This is really just a comment on Sharpie 's answer, but I don't have the reputation to comment yet. It's actually this documentation that takes up a lot of the space. You can install only part of TeX Live, but the standard settings are to install everything. That's because everyone's requirements are different, and it would be very confusing if beginners were told 'load package xxx' and found that it was not installed, but was in TeX Live.
The later is Mac-like installer, whereas if you use the raw TeX Live installer you need to use the Terminal and acept that it is a Unix application. However, there is a small TeX Live installer that will download the packages you decide to install as the installation runs, and so can keep down the amount of downloading. Little late to the party but if you want to easily install mactex with varying degrees of bloat you can use the package manager home-brew to install one of the following:.
I would suggest that you also download "TeX Live Utility. It is a great tool for beginners. If you want to use them with, say XeTeX or LibreOffice , the easiest approach is to make symlink the font directory to a subdirectory in your user's font path. Run the following for an OpenType font:. Similar steps follow for TrueType fonts and Type 1 fonts. You can use this file with:. This article or section needs language, wiki syntax or style improvements.
See Help:Style for reference. For example:. See FS Note that if you do not use the experimental engine LuaTeX , you can ignore this. This situation typically occurs when the configuration files language.
Note: Some tools and utilities included in TeX Live rely on ghostscript , perl , python , or ruby. See the optional dependencies of each package for details. Tip: You may want to install a TeX editor. Sign up using Facebook. Sign up using Email and Password.
Post as a guest Name. Email Required, but never shown. The Overflow Blog. Does ES6 make JavaScript frameworks obsolete? Podcast Do polyglots have an edge when it comes to mastering programming Featured on Meta. Now live: A fully responsive profile. Related 2. Hot Network Questions. Question feed. Super User works best with JavaScript enabled. Accept all cookies Customize settings. If you run into trouble, visit the help section.
LaTeX is not a stand-alone typesetting program in itself, but document preparation software that runs on top of Donald E. Knuth 's TeX typesetting system. TeX distributions usually bundle together all the parts needed for a working TeX system and they generally add to this both configuration and maintenance utilities.
Nowadays LaTeX, and many of the packages built on it, form an important component of any major TeX distribution.
0コメント