Install http://tipitaka.org/keyboard
After install
altGr + a -> ā
AltGr + shift + a = AltGr + A -> Ā
For people with English keyboard this is direct.
Metta
Join us on June 8 for an interview with Ven. Bhikkhu Anālayo on Daughters of the Buddha. Register now.