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
**examexemple.tex
(C:\Users\Utilisateur\Downloads\examexemple.tex
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@part=\count79
\c@chapter=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
("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
\c@lips@count=\count88
)
(C:\Users\Utilisateur\Downloads\titlesec.sty
Package: titlesec 2011/12/15 v2.10.0 Sectioning titles
\ttl@box=\box26
\beforetitleunit=\skip43
\aftertitleunit=\skip44
\ttl@plus=\dimen103
\ttl@minus=\dimen104
\ttl@toksa=\toks14
\titlewidth=\dimen105
\titlewidthlast=\dimen106
\titlewidthfirst=\dimen107
)
("C:\Program Files\MiKTeX 2.9\tex\latex\titlesec\frame.tss"
File: frame.tss 2011/12/15
)
(C:\Users\Utilisateur\Downloads\examexemple.aux
! Undefined control sequence.
l.2 \pgfsyspdfmark
                   {pgfid1}{13209918}{54824933}
? 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
12  
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
7  
...and remember to delete tex.stackexchange.com/questions/41138/… to fix your reputation and earn the badge. –  Stephen Jan 18 '12 at 18:53
2  
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
add comment

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.

1 Answer

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
1  
@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
add comment

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