%%%%%%%%%%%%% PDF normal
\documentclass[12pt,oneside,a4paper]{book}

% Language selection
\def\languagetxt{english}
\usepackage[\languagetxt,english]{babel}

\def\TheseTitre{Introduction}
\def\TheseAuteurNom{Pierre2.net}

% ---------------------------------------------------------------------------------------------------
% PACKAGES

\usepackage[
pdfauthor={\TheseAuteurNom},
colorlinks=true,
linkcolor=entete,
filecolor=entete,
urlcolor=entete,
citecolor=entete,
pdfstartview=Fit,
pdfpagelayout=SinglePage,
]{hyperref}

\usepackage{supertabular}
\usepackage{tabularx}

%DEFINTION TITRE CHAPITRE

\makeatletter
\def\@makechapterhead#1{
  {\vspace*{-30\p@}\parindent \z@ \centering \reset@font
        	\color{entete}\fontsize{30}{40} {\scshape #1} \nobreak
        \vspace*{10\p@}%
        \hrule
        \vskip 15\p@
  }}

% Determine if the image is too wide for the page.
\makeatletter
\def\ScaleIfNeeded{%
  \ifdim\Gin@nat@width>\linewidth
    \linewidth
  \else
    \Gin@nat@width
  \fi
}
\makeatother

% Determine if the image is too high for the page.
\makeatletter
\newlength{\halfpageheight}
\setlength{\halfpageheight}{0.5\textheight}

\def\ScaleHeightIfNeeded{%
  \ifdim\Gin@nat@height>\halfpageheight
    \halfpageheight
  \else
    \Gin@nat@height
  \fi
}
\makeatother

%to suppress errors like Underfull \hbox (badness 2653) in paragraph
\hbadness=10000

\usepackage[labelformat=empty]{caption}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[justification=Centering,singlelinecheck=true]{subfig}
\usepackage{float}

\usepackage{minitoc}
\mtcselectlanguage{\languagetxt}
\addto{\captionsenglish}{%
  \renewcommand{\mtctitle}{}
}

\renewcommand{\thesection}{\arabic{section}.}
\renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}}
\setcounter{secnumdepth}{2}
\setcounter{tocdepth}{1}
\setcounter{minitocdepth}{1}
\mtcsetrules{minitoc}{off}

\newcommand{\resoldpi}{96}
\usepackage{graphicx}

\usepackage{amsmath,mathtools}
\usepackage{adjustbox}
\usepackage[shortlabels]{enumitem}
\usepackage{array}
\usepackage{colortbl}
\usepackage{textcomp}

\usepackage{lmodern}
\DeclareTextSymbol{\degre}{T1}{6}

% ---------------------------------------------------------------------------------------------------
% Changement de marge

\usepackage[hmargin=0cm,vmargin=0cm,headsep=0.5cm]{geometry}

% A4
\setlength{\hoffset}{-5mm}
\setlength{\textwidth}{175.0mm}
\setlength{\oddsidemargin}{0mm}
\setlength{\evensidemargin}{-0mm}

\setlength{\voffset}{-17mm}
\setlength{\topmargin}{0mm}
\setlength{\headheight}{6mm}
\setlength{\headsep}{4mm}
\setlength{\textheight}{266mm}
\setlength{\footskip}{8mm}

% Footnote styling: add space between footnotes and footer
\setlength{\footnotesep}{8pt}
\renewcommand{\footnoterule}{\vspace{4pt}\hrule width 0.4\textwidth\vspace{4pt}}

% page blanche sans pied ni bas de page quand la page est vide
\newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}\cleardoublepage}}


%%% Texte
\setlength{\parindent}{0cm}
\setlength{\parskip}{1.2ex plus 1.5ex minus 0.3ex}

\renewcommand{\labelitemi}{$\color{entete}{\bullet}$}
\renewcommand{\labelenumi}{\color{entete}\theenumi.}

\makeatletter
\setlength\leftmargini{1.5em}
\setlength\leftmarginii{2.2em}
\setlength\leftmarginiii{1.87em}
\setlength\leftmarginiv{1.7em}
\makeatother

\usepackage[compact]{titlesec}
\titlespacing{\chapter}{0pt}{*0}{*0}
\titlespacing{\section}{0pt}{*0}{*0}
\titlespacing{\subsection}{0pt}{*0}{*0}
\titlespacing{\subsubsection}{0pt}{*0}{*0}
\titlespacing{\subsubsubsection}{0pt}{*0}{*0}

\setlist[description]{style=multiline,leftmargin=5cm}

% ---------------------------------------------------------------------------------------------------
% Définition des couleurs utilisées

\usepackage[usenames,dvipsnames,table]{xcolor}
\usepackage{color}
\definecolor{gris50}{gray}{0.5}
\definecolor{gris10}{gray}{0.2}
\definecolor{blanc}{rgb}{1,1,1}
\definecolor{black}{rgb}{0,0,0}
\definecolor{webblue}{rgb}{0,0,1}
\definecolor{webdarkblue}{rgb}{0,0.1,0.5}
\definecolor{webgreen}{rgb}{0,0.5,0}
\definecolor{webred}{rgb}{0.5,0,0}
\definecolor{darkgray}{rgb}{0.4, 0.4, 0.4}
\definecolor{marron}{rgb}{0.8, 0.8, 0.6}
\definecolor{bluectc}{rgb}{0.3, 0.29, 0.64}
\definecolor{grayctc}{rgb}{0.49, 0.47, 0.55}
\definecolor{bleumoy}{RGB}{182,223,245}
\definecolor{bleuclair}{RGB}{230,245,252}

\definecolor{chapcol}{RGB}{0,102,0}
\definecolor{entete}{RGB}{0,102,0}

\usepackage{xcolor}
\definecolor{SkyBlue}{RGB}{0,0.4,0}

% ---------------------------------------------------------------------------------------------------
% Header and footer

\usepackage{fancyhdr}

\pagestyle{fancy}
\fancyhf{}

%Header
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection \ - \textsc{#1}}}

\fancyhead{}
\renewcommand{\headrule}{\color{entete}\hrule}
\renewcommand{\footrule}{\color{entete}\hrule}

% En-Tete du Corps de Texte
\newcommand{\HeaderMain}{
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LE,RO]{\textcolor{entete}{www.pierre2.net}}
\fancyhead[RE,LO]{\textcolor{entete}{\textsc{\leftmark}}}

\fancyfoot{}
\fancyfoot[LE,RO]{\textcolor{entete}{\thepage}/\hypersetup{linkcolor=entete}{\pageref{LastPage}}}
\fancyfoot[RE,LO]{\color{entete} \textcolor{entete}{\href{www.pierre2.net/en/introduction}{www.pierre2.net/en/introduction}}}
}


% En-Tete Index
\newcommand{\HeaderIndex}[1]{
\pagestyle{fancy}
\fancyhf{}
\fancyfoot[CE,CO]{\textcolor{gris10}{\emph{version du {\today}}}}
\fancyfoot[LE,RO]{\textcolor{entete}{\thepage}/\hypersetup{linkcolor=entete}{\pageref{LastPage}}}
}


%Page chapitre
\fancypagestyle{plain}
	{\fancyhf{}
	\renewcommand{\headrule}{}
	\fancyhead{}
	\fancyfoot{}
	\fancyfoot[RE,LO]{\color{entete} \textcolor{entete}{\lien}}
\fancyfoot[LE,RO]{\color{entete} \textcolor{entete}{\thepage}/\hypersetup{linkcolor=entete}{\pageref{LastPage}}}
\fancyfoot[CE,CO]{\color{gris10} \vskip -0.3cm \textcolor{gris10}{\tiny\emph{PDF version : {\today}}}}
	}



% reset chapter
\makeatletter
\@addtoreset{chapter}{part}
\makeatother

% ---------------------------------------------------------------------------------------------------

\usepackage{lastpage}


% Custom commands for centered sections (still appear in TOC)
\newcommand{\centersection}[1]{%
    \phantomsection%
    \addcontentsline{toc}{section}{#1}%
    \markright{\textsc{#1}}%
    \begin{center}%
        {\color{entete}\large\bfseries #1}%
    \end{center}%
    \vspace{1ex plus 1ex minus 1ex}%
}
\newcommand{\centersubsection}[1]{%
    \phantomsection%
    \addcontentsline{toc}{subsection}{#1}%
    \markright{\textsc{#1}}%
    \begin{center}%
        {\normalsize\bfseries #1}%
    \end{center}%
    \vspace{1ex plus 1ex minus 1ex}%
}
\newcommand{\centersubsubsection}[1]{%
    \phantomsection%
    \addcontentsline{toc}{subsubsection}{#1}%
    \markright{\textsc{#1}}%
    \begin{center}%
        {\normalsize\bfseries #1}%
    \end{center}%
    \vspace{0.5ex plus 0.5ex minus 0.5ex}%
}


\newlength{\drop}

\dominitoc

\newcommand{\lien}{\href{www.pierre2.net/en/introduction}{www.pierre2.net/en/introduction}}

\HeaderMain

\begin{document}

\sloppy

\selectlanguage{\languagetxt}


\chapter{Introduction}

\begin{obeylines}\textbf{Fanatics have no friends in these texts}.

Our mission aims at injecting the love of the Biblico-Qur'anic Inspiration into the hearts of pure people of all rites, religions and confessions. We want brotherly love to spread and rule on earth among men. Let us discover true faith through the knowledge of the Holy Scriptures!
Only such knowledge can free pure hearted people from the traps of ignorance and the chains of bigotry. Certain cults and traditions have been inherited and are practiced blindly through mere habit. We believe that such practices are undesired by God. He merely asked us to know Him and to love Him (Hosea 6,6 / John 4,23-24 / John 17,3 / Qur'an XXII; The Pilgrimage,37).

Our Mission, together with this site, are a result of the revelation made by Jesus on the 13th of May, 1970. He unmasked the \textquotedblleft{}Beast\textquotedblright{} of chapter 13 in the book of Revelation: the Antichrist. This revelation turned its depositary - and all those who believe in it - upside down. It was the 'Key' that unlocked all the mysteries in the Book of Revelation and in turn started the 'Universal Restoration' announced by the Holy Scriptures (see our text: \href{/en/the-key-of-the-apocalypse-revelation/}{\textquotedblleft{}The Key of Apocalypse\textquotedblright{}}).

\end{obeylines}\begin{center}\begin{figure}[H]\centering\includegraphics[width=\ScaleIfNeeded, keepaspectratio]{https://pierre2.net/pictures/jesus.jpg}\end{figure}\end{center}\begin{obeylines}
\begin{center}\textit{\textquotedblleft{}Here I am standing at the door, knocking. If anyone hears my voice and opens the door, I will enter and will dine with him and he with Me.\textquotedblright{}} (Revelation 3,20)\end{center}
\begin{flushright}Pierre (2002)\end{flushright}\end{obeylines}



\vskip 0.4cm
\begin{center}
\rule{0.5\textwidth}{.4pt}

Copyright © \the\year  ~- Pierre2.net - All rights reserved.
\end{center}
\vskip -1cm

\faketableofcontents

\end{document}
