Translation:Shulchan Aruch/Yoreh Deah/401
Seif 4: One does not bare one’s shoulder on chol hamoed and you do not have a first meal [after the burial – seudat havra’ah] except for the close relatives of the deceased; however, the relatives [indeed] have such a meal. And this is the law for Chanukka, Purim, and Rosh Chodesh, and when they have the meal they only have it on upright beds. But during yom tov, even the second day of yom tov, they do not tear keriah and they do not bare their shoulders and they do not make a first meal. And during chol hamoed everyone enagages in a meal of consolation for a sage in the city square, in the same way that relatives normally have a meal of consolation, for all are considered the sage’s relatives.
Seif 6: [During chol hamoed] You say over the deceased tziduk hadin and kaddish in their usual fashion. And similarly during the second day of yom tov, but on the first day of yom tov, because you may not deal with the [needs of the] deceased, you do not say [tziduk hadin and kaddish]. Rema: And there are those who disagree, that you should not say tziduk hadin on chol hamoed, and this is the widespread custom in these areas, not to say tziduk hadin for all days when one does not say tachanun, and therefore we also do not say [tziduk hadin] when you are burying [the deceased] after noon on Friday. There are those who say that if you are burying the deceased during the night, you do not say Kiddush and you do not say tziduk hadin.
Seif 7: If a person [for whom you are suppose to mourn] died prior to Purim and then Purim occurred [during the mourning period], this does not end the mourning period. But in any event, mourning is not practiced on that day, neither on the 14th nor 15th [of the month of Adar], except for those things which are done in private are practiced, and [the mourner] is obligated to send shalah manot, and even though one should not mourn on these days [the 14th and 15th of Adar], they count [towards the seven days of shiva] like Shabbat [counts towards shiva].