In the title molecule, C20H18N2O3, an intramolecular N-HO hydrogen bond leads to a cis conformation of the pyridinyl-vinyl fragment. The phenyl and pyridine rings are inclined to one another by 77.3 (1) °. In the crystal, molecules are linked via pairs of C-HO hydrogen bonds, forming inversion dimers. The dimers are linked by C-HO hydrogen bonds and C-H interactions, forming a three-dimensional structure.

Supplementary data and figures for this paper are available from the IUCr electronic archives (Reference: CV5365 ).

Acknowledgements

This study was supported by the Latvian National Research Programme 2010-2013 Development of prevention, treatment, diagnostic means and practice and biomedicine technologies for improvement of public health.

This is an open-access article distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original authors and source are cited.