GeneralGraphics in latex

LaTeX specific issues not fitting into one of the other forums of this category.
metric
Posts: 61
Joined: Mon Mar 24, 2008 8:34 am

Re: Graphics in latex

Post by metric »

Hi,

I downloaded pgf packages and added to my local repository folder, and installed it using miktex installation.

Still, I got the same error, I also check the version of the pgf file from the log file, the comments in the log file were ....


Package: pgf 2008/01/15 v2.00 (rcs-revision 1.12)

also the version mentioned on ctan website (from which downloaded the pkg) is 2.

I tried refreshing FNDB from setting and also synchornizing, but doing these was also of no use.

Would of great help to me if someone can assist me.

Best Regards,
metric

Recommended reading 2024:

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

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

T3.
Posts: 208
Joined: Fri Mar 14, 2008 12:58 pm

Graphics in latex

Post by T3. »

Please attach the log file from the compilation. Also, try the code below and let us know if it compiles (attach log file in case of errors). Additionally, try with article document class instead of minimal and see if it makes any difference.

Code: Select all

\documentclass{minimal}
\usepackage{tikz}
\begin{document}
\tikz \draw (0,0) -- (1,1);
\end{document}
Cheers,

Tomek
metric
Posts: 61
Joined: Mon Mar 24, 2008 8:34 am

Re: Graphics in latex

Post by metric »

Hi,

I've attached the log file, what I understand from the log file is that xcolor, xkeyval, keyval, pkgs are of older version (this is only my guess).

I'll download those pkgs as well (though I have that in my repository), may be i get some newer version, and that will help me.

Thanks for extending your help.

Arif
Attachments
Error.log
(20.06 KiB) Downloaded 251 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Graphics in latex

Post by Stefan Kottwitz »

Hi Arif,
metric wrote: When i compile the code provided by you, I get the following error msg.
\pgfsetsnakessegmenttransformation
{\pgf@snake@mirror\pgf@sanake@raise}
! Undefined control sequence.
there's a mistake in the command name, it must be written \pgfsetsnakesegmenttransformation, just for the case anybody is looking for the command. I assume it's correctly used because in the logfile posted later its correctly written.

Looking at the logfile:

Code: Select all

("D:\Program Files\MiKTeX 2.7\tex\generic\pgf\frontendlayer\tikz.code.tex"
Package: tikz 2005/11/09 v2.00 (rcs-revision 1.35)
I guess you have mixed two versions of pgf/tikz.
Look if another file "D:\Program Files\MiKTeX 2.7\tex\generic\pgf\frontendlayer\tikz/tikz.code.tex" exists. Try to rename D:\Program Files\MiKTeX 2.7\tex\generic\pgf\frontendlayer\tikz.code.tex, or uninstall pgf/tikz completely and install it again. Perhaps just to rename the older file frontendlayer\tikz.code.tex could be enough.

Stefan
LaTeX.org admin
metric
Posts: 61
Joined: Mon Mar 24, 2008 8:34 am

Graphics in latex

Post by metric »

Hi,

It's done, I'm able to compile the files and get the output.

A big Thank you to all of you for guiding me in getting this done.


Stefan, I request you, if you can write a couple of lines on how you get to (or guessed as you said) that the problem is with the file(the file which i renamed), now I guess may be from the log file, but how exactly don't know, even I went thru the log file but couldn't guess.

Thank you once more to all of you.

Cheers!
Arif
Post Reply