%pb-howto.tex

\setupoutput  [pdftex]

\useregime[il1]
\enableregime[il1]
\useencoding[ffr]

\usetypescript[palatino][texnansi]
\setupbodyfont[palatino,rm,10pt]

\definepapersize
  [cours]
  [width=\dimexpr(\paperwidth-.05\paperwidth),
   height=\dimexpr(\paperheight-.05\paperheight)]

\setuppapersize
  [cours]
  [A4]

\setuplayout
    [top=6mm,topdistance=6mm,
    bottom=6mm,bottomdistance=18mm,
    topspace=18mm,
    height=263mm,%middle
    header=6mm,headerdistance=6mm,
    footer=6mm,footerdistance=18mm,
    bakspace=46mm,%cutspace=50mm,
    width=164mm,%middle
    leftmargin=22mm,leftmargindistance=4mm,
    leftedge=5mm,leftedgedistance=5mm,
    rightmargin=28mm,rightmargindistance=4mm,
    rightedge=6mm,rightedgedistance=5mm %,grid=yes
    ]

% \setuptolerance [verytolerant,stretch]

\setuppagenumbering[alternative=doublesided]

% \setupfloats[location=middle]

\definefloat [etape] [figures]

\defineparagraphs
    [Etape] [n=2,rule=off,align=lohi]
\setupparagraphs
    [Etape] [2] [width=.5\textwidth]
\defineenumeration
    [Explication] [location=left,text=,width=3em,before=,after=]



\starttext


\chapter[]{One}

Some  introduction text

\section[]{two}

Some longer introduction text

\section[]{three}



\startEtape
    \startExplication
        \dorecurse{2}{ First step of this cookbook look ok but is the rest equal ?}
        \stopExplication
\nextEtape
     \placeetape [here,force,always,none]
            {} {\externalfigure[cow.pdf][width=.45\textwidth,frame=on]}
\stopEtape

\startEtape
    \startExplication
        \dorecurse{3}{  First step of this cookbook look ok but is the rest equal ?}
    \stopExplication
\nextEtape
     \placeetape [here,force,always,none]
            {} {\externalfigure[cow.pdf][width=.45\textwidth,frame=on]}
\stopEtape

\startEtape
    \startExplication
        \dorecurse{4}{  First step of this cookbook look ok but is the rest equal ?}
        \stopExplication
\nextEtape
     \placeetape [here,force,always,none]
            {} {\externalfigure[cow.pdf][width=.45\textwidth,frame=on]}
\stopEtape

\startEtape
    \startExplication
        \dorecurse{5}{  First step of this cookbook look ok but is the rest equal ?}
    \stopExplication
\nextEtape
     \placeetape [here,force,always,none]
            {} {\externalfigure[cow.pdf][width=.45\textwidth,frame=on]}
\stopEtape

\startEtape
    \startExplication
        \dorecurse{6}{  First step of this cookbook look ok but is the rest equal ?}
        \stopExplication
\nextEtape
     \placeetape [here,force,always,none]
            {} {\externalfigure[cow.pdf][width=.45\textwidth,frame=on]}
\stopEtape

\startEtape
    \startExplication
        \dorecurse{7}{  First step of this cookbook look ok but is the rest equal ?}
    \stopExplication
\nextEtape
     \placeetape [here,force,always,none]
            {} {\externalfigure[cow.pdf][width=.45\textwidth,frame=on]}
\stopEtape

\stoptext
