GeneralAdding extra packages ubuntu

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Crysis85
Posts: 3
Joined: Wed Dec 18, 2013 8:44 pm

Adding extra packages ubuntu

Post by Crysis85 »

Hello,

I'm new here, trying to learn about LaTeX and being impressed on how powerful it is.
So let's cut to the chase.
I'm following a book with example and so far so good. On one example I need to use the package "blindtext" to fill the page with random text for experimenting on margins and stuff.
The problem is i get the message "! LaTeX Error: File `blind­text.sty' not found." when trypeset this simple code on TeXworks

Code: Select all

\documentclass[a4paper, 12pt]{book}
\usepackage[english]{babel}
\usepackage{blind­text}
\begin{document}

\chapter{Exploring the page layout}
In this chapter we will study the layout of pages.
\section{Some filler text}
\blindtext
\section{A lot more filler text}
More dummy text will follow.
\subsection{Plenty of filler text.}
\blindtext[10]

\end{document}
I'm pretty sure I did everything right. I installed the basic TeXLive pack from Ubuntu's Software center (texlive) and I installed the extra pack (texlive-latex-extra) witch contains the blindtext package.

So what I did wrong?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Adding extra packages ubuntu

Post by Johannes_B »

Which version of Ubuntu are you using? Which version of TeX Live is installed?

I am not sure how ubuntu handles the TL sub packages, are you sure blindtext is installed?

Keeping a system installed ubuntu up to date is sometimes tricky. The easiest way to install TeXLive and maintain it with the package manager (tlmgr) is to install it manually, or with this simple script.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Crysis85
Posts: 3
Joined: Wed Dec 18, 2013 8:44 pm

Re: Adding extra packages ubuntu

Post by Crysis85 »

I solved the problem. I don't think it was really a problem since it was sufficient compiling the TeX file from console. After that compiling it from the editor worked too.
By the way, now I'm changing editor, using Emacs that seems definitely more powerful.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Adding extra packages ubuntu

Post by Johannes_B »

Off topic: I am more the vim guy, i never was able to remember all those <meta>-sequences.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply