1. Zwaaikom NNTP User

## Installing applications

Hi,

My name is Jan and I'm quite new to Linux and OpenSUSE.

I want to use PGF, an lateX extension, and I read that it is depending on xcolor, another package. There's where my problem comes in. I have a file called xcolor.ins which is supposed to be runned from a terminal, I suposse the GNOME terminal. I read that i need to type in "latex xcolor.ins" and it should work. But it doesn't. I get an error, that acces is not granted. I get the impression that I need some admin right, but I AM the admin, and the only user on this PC. What do I wrong?

Btw also had this problem in an attempt to install something else in a traditional (as far as you can speak of traditions, I'm new) way, by the command ./ file-name.

Greets,
Jan

2. Omniscient Penguin
Join Date
Jun 2008
Location
West Yorkshire, UK
Posts
3,439

## Re: Installing applications

xcolor is already in the openSUSE distribution; so I am not quite sure why you need to do anything other than include it in a LaTeX file.

To add anything to a latex folder, you need to be root and use the root password, normally via
su --
or
sudo
but I don't think you need to.

3. Zwaaikom NNTP User

## Re: Installing applications

All right, thank you. I suposse you're right.

So here's the real problem, and the reason why I openned this topic (I thought that installing xcolor would solve this, but I was wrong. If I can I will alter the topic title.)

LateX does properly the text, but images are not shown. It just leaves a blanc spot on there. Attached is my lateX code.

Code:
\documentclass[a4paper,11pt]{article}

\usepackage{times}
\usepackage{amsmath}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{xcolor}
\usepackage{pgf}

\begin{document}
Start document test

\begin{pgfpicture}{0cm}{0cm}{12cm}{12cm}
% (0cm,0cm) is the lower left corner,
% (5cm,2cm) is the upper right corner.
\pgfrect[stroke]{\pgfpoint{0cm}{0cm}}{\pgfpoint{2cm}{10pt}}
% Paint a rectangle (stroke it, do not fill it)
% The lower left corner is at (0cm,0cm)
% The rectangle is 2cm wide and 10pt high.
\pgfcircle[fill]{\pgfpoint{3cm}{1cm}}{10pt}
% Paint a filled circle
% The center is at (3cm,1cm)
\end{pgfpicture}
end document test
\end{document}
This is all just copied from a tutorial. Strange ything is that a classmate of me cn compile this properly, he gets a result with the picture in it.

What am I doing wrong??

Jan

4. Omniscient Penguin
Join Date
Jun 2008
Location
West Yorkshire, UK
Posts
3,439

## Re: Installing applications

I'm sorry, I cannot tell you that as I don't normally create graphics in LaTeX. I use xfig and then

\usepackage{graphicx} in the preamble and

\includegraphics{<filename>}

in the document.

You may be better off asking this question on a dedicated LaTeX forum.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•