3. Innocent publication and distribution of matter not contempt

(i) any publication which is a book or paper printed or published otherwise than in conformity with the rules contained in section 3 of the Press and Registration of Books Act, 1867 (25 of 1867);
(ii) any publication which is a newspaper published otherwise than in conformity with the rules contained in section 5 of the said Act.
Explanation.
(a) is said to be pending
(A) in the case of a civil proceeding, when it is instituted by the filing of a plaint or otherwise,
(B) in the case of a criminal proceeding under the [Code of Criminal Procedure, 1898 (5 of 1898)] , or any other law
(i) where it relates to the commission of an offence, when the charge-sheet or challan is filed, or when the Court issues summons or warrant, as the case may be, against the accused, and
(ii) in any other case, when the Court takes cognizance of the matter to which the proceeding relates, and
(b) which has been heard and finally decided shall not be deemed to be pending merely by reason of the fact that proceedings for the execution of the decree, order or sentence passed therein are pending.