Logged In: NO

this is already possible. you have to define a latex macro for
quote in your ocwperso.tex file.
for instance:
\def\ap{'}
end then use this macro rather that explicit quote in your code
file.