Graphics, Figures & Tablespgfplots | Package Installation

Information and discussion about graphics, figures & tables in LaTeX documents.
marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm

Re: pgfplots | Package Installation

Post by marie2011 »

Hi Stefan,

Many thanks for your answer. I am enclosing the warning I got. I might be doing something wrong.

Best regards,

Marie
Attachments
warning.png
warning.png (89.39 KiB) Viewed 6079 times

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10350
Joined: Mon Mar 10, 2008 9:44 pm

pgfplots | Package Installation

Post by Stefan Kottwitz »

That's the same error message as the two times before. And as before, choose a different repository. In the GUI via the menu, as I said. Click tlmgr in the menu, and choose a different installation source / repository.

Stefan
LaTeX.org admin
marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm

Re: pgfplots | Package Installation

Post by marie2011 »

Hi Stefan,

Many thanks for your reply.

How can I choose a different installation? I am enclosing a picture of what I got.

Best regards,

Marie
Attachments
package.png
package.png (71.11 KiB) Viewed 6068 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10350
Joined: Mon Mar 10, 2008 9:44 pm

Re: pgfplots | Package Installation

Post by Stefan Kottwitz »

I mentioned a repository address in previous posts. You could copy that address into the edit field below "Package repository".

Stefan
LaTeX.org admin
marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm

pgfplots | Package Installation

Post by marie2011 »

Hi Stefan,

I wrote the following:

sudo tlmgr --repository=ftp://ftp.fu-berlin.de/tex/CTAN/systems/texlive/tlnet/ install pgfplots

and the terminal answered with:


tlmgr: package repository ftp://ftp.fu-berlin.de/tex/CTAN/systems/texlive/tlnet/


Is everythin Ok now?

Thanks a lot,

Marie
User avatar
Stefan Kottwitz
Site Admin
Posts: 10350
Joined: Mon Mar 10, 2008 9:44 pm

pgfplots | Package Installation

Post by Stefan Kottwitz »

It seems so, if you did not get error messages. Try compiling. Or check the installation by

Code: Select all

kpsewhich pgfplots.sty
It should return the location of that file.

Stefan
LaTeX.org admin
marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm

pgfplots | Package Installation

Post by marie2011 »

Hi Stefan,

Thanks for your answer.

That is what I got when I put kpsewhich pgfplots.sty on the terminal:

Code: Select all

/usr/local/texlive/2011/texmf-dist/tex/latex/pgfplots/pgfplots.sty
Is it OK now? Do I need a pgfplots.sty document? I am enclosing the pgfplots.sty document I got.

Best regards,

Marie
Last edited by marie2011 on Fri Feb 17, 2012 4:55 pm, edited 2 times in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10350
Joined: Mon Mar 10, 2008 9:44 pm

Re: pgfplots | Package Installation

Post by Stefan Kottwitz »

Yes, obviously pgfplots is now installed.

Stefan
LaTeX.org admin
marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm

pgfplots | Package Installation

Post by marie2011 »

Hi Stefan:

This is the error I get when I compile my document:

Code: Select all

    ERROR: File ended while scanning use of \@argdef.

    --- TeX said ---
    <inserted text>
                    \par
    l.29 \usepackage
                    {tabu}
    --- HELP ---
    From the .log file...

    I suspect you have forgotten a `}', causing me
    to read past where you wanted me to stop.
    I'll try to recover; but if the error is serious,
    you'd better type `E' or `X' now and fix your file.

I am enclosing the pgfplots.sty document I got. Is it the wrong one?

Best regards,

Marie
Attachments
pgfplots.sty
(11.05 KiB) Downloaded 506 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10350
Joined: Mon Mar 10, 2008 9:44 pm

pgfplots | Package Installation

Post by Stefan Kottwitz »

Yes, it's the wrong one. From where do you opened that file, for attaching it here? From your document directory?

As I said here, remove or rename that file. An incorrect file in your document directory has priority over the correct file in /usr/local/texlive/2011/texmf-dist/tex/latex/pgfplots/.

Stefan
LaTeX.org admin
Post Reply