Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Let me thank those who have already replied to my request in this post. In particular Mr Lokstep who suggest me to rest this question in a new topic. actually I have the log file

    This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) (preloaded format=latex 2012.1.15)  18 JAN 2012 13:47
entering extended mode
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, 
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese, 
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
senglishmax, welsh, loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\base\book.cls"
Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\bk10.clo"
File: bk10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
("C:\Program Files\MiKTeX 2.9\tex\latex\lipsum\lipsum.sty"
Package: lipsum 2011/04/14 v1.2 150 paragraphs of Lorem Ipsum dummy text
Package: titlesec 2011/12/15 v2.10.0 Sectioning titles
("C:\Program Files\MiKTeX 2.9\tex\latex\titlesec\frame.tss"
File: frame.tss 2011/12/15
! Undefined control sequence.
l.2 \pgfsyspdfmark
? x

I would like to find the latex error. I apologize for the length of this code, I can't make it shorter.

share|improve this question

closed as too localized by lockstep, diabonas, zeroth, Werner, Paul Gaborit Sep 27 '12 at 17:04

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

The log is not a problem, but you should also supply the document examexemple.tex, that doesn't seem to be too long. However, the problem might go away if you delete the file examexemple.aux, letting LaTeX recreate it. –  egreg Jan 18 '12 at 13:17
...and remember to delete tex.stackexchange.com/questions/41138/… to fix your reputation and earn the badge. –  Stephen Jan 18 '12 at 18:53
Up until the point of the error, no pgf-related packages have been loaded. And since \pgfsyspdfmark is defined by the bundle of pgf packages, LaTeX throws an Undefined control sequence error. This may be because you removed pgf from you document preamble after compiling, which caused \pgfsyspdfmark to end up in your .aux file. –  Werner Jan 18 '12 at 19:36
Shot in the dark here, but it looks like you're using a macro \pgfsyspdfmark but as far as I can tell you aren't loading in the package that defines it. I presume this is a pgf package or tikz –  Seamus Jan 18 '12 at 20:49

1 Answer 1

Delete your .aux file and try again (the error occurs while reading the .aux, so it could be a residue from a previous run). If the error persists, you are probably missing a \usepackage for pgf/tikz. Hard to say for certain without the input file.

share|improve this answer
Thank you so much for taking the time to answer my request. –  Zbigniew Jan 18 '12 at 19:54
! LaTeX Error: Command \openbox already defined. Or name \end... illegal, see p.192 of the manual. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.13 \vrule\hfil}} –  Zbigniew Jan 19 '12 at 6:26
@Labaïr: Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. –  Martin Schröder Jan 19 '12 at 7:40

Not the answer you're looking for? Browse other questions tagged or ask your own question.