[Cl:1][C:2]1[CH:3]=[C:4]([CH:7]=[CH:8][C:9]=1[CH:10]=O)[C:5]#[N:6].[CH3:12][C:13](=[O:18])[CH2:14][C:15](=[O:17])[CH3:16].C(O)(=O)C.N1CCCCC1>ClCCl.C1CCCCC1.C(OCC)(=O)C>[C:15]([C:14]([C:13](=[O:18])[CH3:12])=[CH:10][C:9]1[CH:8]=[CH:7][C:4]([C:5]#[N:6])=[CH:3][C:2]=1[Cl:1])(=[O:17])[CH3:16]300 mg (1.812 mmol) of 3-chloro-4-formylbenzonitrile, 181.4 mg (1.812 mmol) of 2,4-pentanedione, 163.2 mg (2.72 mmol) of acetic acid and 30.9 mg (0.36 mmol) of piperidine are dissolved in 15 ml of dichloromethane and heated under reflux with an inverse water trap overnight. The mixture shows complete conversion (TLC check, mobile phase: cyclohexane/ethyl acetate 5:1). The mixture is diluted with dichloromethane, washed with water and saturated sodium chloride solution and dried with sodium sulfate. The solvent is removed in a rotary evaporator. 403 mg (89.8% of theory) of 4-(2-acetyl-3-oxobut-1-en-1-yl)-3-chlorobenzonitrile are obtained and are reacted without further purification.