use yatex-mode and popwin-mode in mac