I'd like to have in my document the main parts (chapter, section) not numbered, but having numbered subsections and subsubsections. I'd like that the numbers restart in each new unit.
I was trying to change the numbering by adding to preable:
\renewcommand{\thesubsection}{\arabic{subsection}}
\renewcommand{\thesubsubsection}{\arabic{subsubsection}}
but the numbering continue in whole document and don't restart in each section, I guess it restarts after each numbered section of a higher level.
What I'd like to achive is to have in the body of document *chapter and *section; subsubsection always numbered and subsection sometimes starred, sometimes not.
Here is minimal working example:
\documentclass{book}
\usepackage{fontspec}
\usepackage{polyglossia}
\setmainlanguage{polish}
\setotherlanguage[locale=mashriq]{arabic}
\setromanfont[Mapping=tex-text]{Linux Libertine O}
\newfontfamily\arabicfont[Script=Arabic,Scale=1.3,Mapping=arabicdigits]{Scheherazade}
\renewcommand{\thesubsection}{\arabic{subsection}}
\renewcommand{\thesubsubsection}{\arabic{subsubsection}}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{0}
\begin{document}
\chapter*{Pierwszy}
\addcontentsline{toc}{chapter}{Pierwszy}
\section*{Jakaś część}
\subsection{To też}
\subsubsection{aaa}
\subsubsection{bbb}
\subsection{I to również}
\subsubsection{ccc}
\subsubsection{dddd}
\section*{Inna część}
\subsection*{A to podpunkt}
\subsubsection{aaa}
\subsubsection{bbb}
\subsection*{I to}
\subsubsection{ccc}
\subsubsection{dddd}
\chapter*{Drugi}
\addcontentsline{toc}{chapter}{Drugi}
\section*{Jakaś część}
\subsection*{To też}
\subsubsection{aaa}
\subsubsection{bbb}
\subsection*{I to również}
\subsubsection{ccc}
\subsubsection{dddd}
\section*{Inna część}
\subsection{A to podpunkt}
\subsubsection{aaa}
\subsubsection{bbb}
\subsection{I to}
\subsubsection{ccc}
\subsubsection{dddd}
\tableofcontents
\end{document}
Maybe I'm trying to achive what I wont with wrong tool. Thanks for any hints.

fontspecandpolyglossiaare relevant, you can remove them (as well as their options) from your example, so that one doesn't needxetexto compile the MWE. – T. Verron Dec 5 '12 at 17:00subsubsectioncounter when you use\subsection*? Should it reset or not? – Werner Dec 5 '12 at 17:07xetex. That's why I'm keepingfontspecandpolyglossiahere. – maria Dec 5 '12 at 17:10\subsubsectionwhen you have an unnumbered (or starred)\subsection? Typically, using\subsectionwould restart the\subsubsectioncounter, while using\subsection*would not restart the\subsubsectioncounter. – Werner Dec 5 '12 at 17:18