\setupinteraction[state=start]
\startcomponent xr-comp1-1
	\startchapter[reference=plain, title={Plain chapter}]
		Lorem ipsum dolor sit amet, consectetur adipiscing elit.
	\stopchapter
	\page
	\startchapter[reference=pagetwo, title={Plain chapter page two}]
		Lorem ipsum dolor sit amet, consectetur adipiscing elit.
		\startsection[reference=secwithpic, title={Section with image}]
			\startplacefigure[reference=figone, title={Figure 1}]
				\externalfigure[cow.pdf]
			\stopplacefigure
		\stopsection
	\stopchapter

	\startchapter[reference=chaptwo, title={Plain chapter two}]
		Lorem ipsum dolor sit amet, consectetur adipiscing elit.
		\startsection[reference=sectwowithpic, title={Section chap2 with image}]
			\startplacefigure[reference=figtwo, title={Figure 2}]
				\externalfigure[cow.pdf]
			\stopplacefigure
		\stopsection
	\stopchapter
\stopcomponent

