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.

examexemple.tex, that doesn't seem to be too long. However, the problem might go away if you delete the fileexamexemple.aux, letting LaTeX recreate it. – egreg Jan 18 '12 at 13:17pgf-related packages have been loaded. And since\pgfsyspdfmarkis defined by the bundle ofpgfpackages, LaTeX throws anUndefined control sequenceerror. This may be because you removedpgffrom you document preamble after compiling, which caused\pgfsyspdfmarkto end up in your.auxfile. – Werner Jan 18 '12 at 19:36\pgfsyspdfmarkbut as far as I can tell you aren't loading in the package that defines it. I presume this is apgfpackage ortikz… – Seamus Jan 18 '12 at 20:49