I'm using pweave to write an HTML document. I would like to express a $ sign in text, for example:
Bob has $1, Sally has $2
However pweave thinks that 1, Sally has should be formatted as maths. If I use \$ then it stops the math environment but keeps the \.
Your example works for me, but
Bob has $1, Sally has$ 2doesn't work...You could try
{\$},\{\$\},\textdollaror$\textdollar$.