I'd like to set up the structure of my report as follows.
Different chapters should have a nice big heading, like the one of the Chapter environment, and should be separated in the table of contents as well. Each chapter can then contain some sections and subsections.
My only problem with this environment is the numbering: numbering of sections should proceed unaltered by the fact that we are passing from one chapter to another. In other words there should be no counter for chapters in the total numbering.
How it is:
\documentclass[11pt]{report}
\usepackage{geometry}
\geometry{letterpaper}
\usepackage[all]{xy}
\usepackage{mdframed}
\usepackage{amsthm}
\usepackage{makeidx}
\numberwithin{equation}{section}
\makeindex
\begin{document}
\maketitle
\chapter{First chapter}
\section{Section1}
\section{section2}
\chapter{Second chapter}
\section{section3}
\section{section4}
\end{document}
Basically I'd like the discrete numbering features of the part environment, but the graphical layout of the chapter env.
\chapter*{Chapter title}
? That will not number the chapters at all. You can then add them to the table of contents manually. But I'm not very clear whether you want this or want numbered chapters but without resetting the section counters? By the way, your code does not compile without errors here.