Hot answers tagged linux
19
You should install TeXlive.
Note some distributions like Debian derived ones (e.g. ubuntu) have a version of TeXlive in the package manager. This isn't a great option: it is old and it doesn't have all the packages you might need. Installing the one via the TUG website is much better. See this blog discussion for arguments.
TeXlive comes with a variety of ...
18
So pdfpc on git (which is forked and improved version of the pdf-presenter-console) is the closest thing I found.
Features
Except for reading out notes in Beamer-Presentations It has all the features I looked for. Regular slides on the projector, view of the next slide and the current one on the laptop. It pre-caches the slides for fast switch and can ...
16
The following four steps permit manual installation of packages on Debian/Ubuntu (and presumably other Linux) systems.
Download the package from CTAN (e.g., footmisc.zip).
Extract the files and place them in an appropriate directory (e.g.,
/usr/local/share/texmf/tex/latex/footmisc/). This location is
preferable to the main installation tree
...
12
(It's not too polite to answer your-own questions, but this is what I ended up with.)
LanguageTool is a very nice standalone, Java-based grammar checker. However, it works on plain text. Therefore, I needed to convert my LaTeX document to as plain as possible text document - Not a simple task. I managed to do it using the following trick:
I arranged ...
11
First, a font does not necessarily support all types of ligatures. Linux Libertine supports only (checked here) Ligatures={Common,Rare,Discretionary}.
The OpenType variant of Linux Libertine shipped with media-fonts/libertine-ttf works on an up-to-date Gentoo with TeX Live 2011. Another option is to install the dev-texlive/texlive-fontsextra package, which ...
11
Eclipse strikes me as an odd choice of an IDE to use for LaTeX, but I guess it should work, since the steps in producing a LaTeX-generated document are quite similar to those involved in producing a computer program.
The first step is obviously to make sure you have Eclipse and LaTeX themselves installed. Then, if you haven't already done so, you should ...
11
You could use apt-cache:
apt-cache search outlines
returns for me
libfont-freetype-perl - Read font files and render glyphs from Perl using FreeType2
...
texlive-latex-extra - TeX Live: ergänzende Pakete für LaTeX
You can see texlive-latex-extra here (even though it's not installed on my system, as dpkg -l | grep texlive shows - I installed TeX 2011 ...
11
The TeX Live binaries "know" the location of the TeX Live tree (files, fonts and so on), because they set implicitly some environment variables whose value depends on the location of the binaries themselves.
On a Unix system it's so sufficient that the PATH environment variable contains a pointer to the binaries, for example something like
...
11
The environment variable OSFONTDIR will override fontconfig information. Specifying directories with a double trailing slash means "please recurse into subdirectories". For example:
OSFONTDIR=${HOME}/.fonts:/usr/share/fonts//:/usr/share/texmf/fonts//
EDIT: There seems to be an issue with Debian (and thus Ubuntu) texlive packaging, which provides a default ...
10
It seems that you use a little old version of fontspec. Then try
\setmainfont{"[GARA.TTF]"} % with brackets, with or without quotes
The brackets means “use font file name.” This should work, like XeTeX primitive
\font\1="[GARA.TTF]" \1
In old versions of fontspec, one must use ExternalLocation option to specify a font with it's file name:
...
10
"Truevision TGA, often referred to as TARGA, is a raster graphics file format [...]"
Remark: The PDF format can contain both raster images and vector images.
For example, scan programs often offer PDF as output format, but these PDFs only
contain the scanned raster images. It is just a convenience for users that are more familiar with their PDF viewers than ...
10
Ok, I try to give as many answers as possible:
Decide if you need it and can use it
As you already know, ArXiv does not accept pdfs created from latex code. So you are out here if you use commercial fonts. Of course you can decide the following:
print your articles with the commercial fonts
submit the same article with a public fonts to arxiv
distribute ...
10
While in MiKTeX an installation process is automatically triggered if you have, say, \usepackage{beamer} in a document preamble without the corresponding package installed, there is no such feature on TeX Live.
The last statement is not true actually, as pointed out by wasteofspace in the comments there is the texliveonfly package that implements the on ...
9
Here's my attempt to answer your question and the summary is: don't do it. Here are the datails:
Installation
I've been attempting the same as you did: Converting OTF fonts to use with pdfLaTeX. As mentioned in the comments, the way to go forward is to use the otfinst script. The website gives details and provides a script specifically for Adobe Garamond ...
9
You can use the features provided by the listings package.
\documentclass{article}
\usepackage{listings}
\begin{document}
\noindent See the following command :
\begin{lstlisting}[language=bash]
$ wget http://tex.stackexchange.com
\end{lstlisting}
\end{document}
8
I don't believe there are good grammar checkers, but Word's is better than most — provided, that is, you tell it to switch off broken features like checking for passive constructions.
You can load your Latex file into Word as a plain text file and look for the highlights that indicates that its grammar checker is concerned about some construction ...
8
The package you want to install the texlive package, or one of the things it depends on. Something like
sudo aptitude install texlive-latex-extra
ought to get you a pretty good starting point.
As for editors, even the basic pre-installed gedit ("Text Editor") should at least offer syntax highlighting.
8
The manual says that you need to add the following to the command line:
--add-tex-command citep op --add-tex-command citet op
Here op means that each command (\citet or \citep) may have one optional parameter and has one mandatory parameter, and neither should be checked (if you want to check the optional one, use Op instead).
See ...
8
The best way is outlined in Passing parameters to a document, which should be better known. If the document starts as
\ifcase\flag\relax
<what to do when \flag=0>\or
<what to do when \flag=1>\or
<what to do when \flag=2>\or
...
<what to do when \flag=n>\else
<what to do otherwise>\fi
we are free to choose among ...
8
The TeXLive in the repositories is from 2009. It's more recommended to go with the latest version on the Tug (TeX Users Group) website:
http://www.tug.org/texlive/acquire.html
Once you have installed this, you'll have access to the command tlmgr which stands for 'TeX Live manager'. There have been a few other posts here on tex.se that will give further ...
8
If your distribution have the actual TeXLive 2012 (as Debian testing, for example) you can do a full installation with the official packages, as well as remove all the texlive packages and make a fresh installation in /usr/local following one of the options explained in TeX Users Group web site since this allow and install/update TeX packages through ...
7
As far as I know, TeX Live doesn't install TeXworks on GNU/Linux systems, because it would be too difficult to cope with dependencies on the various distributions. You can find a packaged version at
https://admin.fedoraproject.org/pkgdb/applications/Texworks/
7
Is it worth the effort? Yes. The installation is pretty straight forward, especially when you install over the internet; you get the benefit of: having the most up-to-date version of every package (not three-year old ones), tlmgr, which will let you update your packages just as easily as apt-get, and finally, the whole installation process will shed some ...
7
To say it short: Don't do it!
TeXLive and MiKTeX are different TeX distributions with own, different package manager. So install both distributions with their installation program. For example TeXLive uses pearl that MikTeX can not use in the same way ...
If you want to use special packages on both distributions you can create a local texmf tree, install ...
7
In case you're still interested, I have written a small viewing application in C++, called "dspdfviewer" for "Dual-Screen PDF Viewer".
Its built specifically for latex-beamer, and it's "show notes on second screen" option. This latex-beamer option will give you a double-width PDF, where the right part are your beamer-notes, and the right part can include a ...
7
In collaborative projects with source files being edited on a variety of platforms, editors, and locales, encoding issues can become a real PITA.
In such setting, it is best to define one "right", mandatory encoding (UTF-8), communicate this clearly and stick to it. However, in many cases the collaborators, especially if they stem from the Windows or Mac ...
7
If either of these two cases (or both) apply:---
[portability problems] examplestyle.sty = a file as described in the original question: namely, a personal .sty file generally available and used by several on-going projects (e.g., in TEXMFHOME or the less convenient place MikTeX likes to put it);
[long-term stability problems] use of packages that are ...
6
I had the same requirement when I worked with pgfplots - and I found a way.
The resulting steps have made their way into the pgfplots manual, compare the pdf at http://pgfplots.sourceforge.net/
For your convenience, I post a copy of the section about TeX-Live here, it will probably answer your question:
6.2.2 TEXLive or similar installations
For Unix ...
6
Take the editor you are familiar with. Most of the editors have builtin LaTeX support and install the TeX-Packages you need.
If you want to have them all, do a
sudo apt-get install --install-recommends texlive-full
But please be aware that this downloads about 600 MB of software, which expands to about 1.x GB.
I am using Eclipse with Texlipse. Some of ...
Only top voted, non community-wiki answers of a minimum length are eligible
