grapesmoker / qems2

A new implementation of the QEMS submission system for quizbowl questions.
GNU General Public License v2.0
9 stars 4 forks source link

Answer lines cannot start with _[ , apparently ("error 999") #223

Closed mweiner1 closed 9 years ago

mweiner1 commented 9 years ago

Minor issue logging for later that I encountered trying to submit a math calculation bonus that was trying to underline a bracket because it was expressing the range of a function.

mbentley00 commented 9 years ago

Can you e-mail me the answer line so I can repro this?

On Thu, Feb 5, 2015 at 5:43 AM, mweiner1 notifications@github.com wrote:

Minor issue logging for later that I encountered trying to submit a math calculation bonus that was trying to underline a bracket because it was expressing the range of a function.

— Reply to this email directly or view it on GitHub https://github.com/grapesmoker/qems2/issues/223.

mbentley00 commented 9 years ago

So I think the problem here is that parentheses are special characters used to denote a pronunciation guide. They can't be unbalanced. I'm open to changing this to be some less frequently used character like |. It avoids the problem of people using answer formats like "ANSWER: (Michael James) "Mike" Bentley" and not expecting what's in parens to be a pronunciation guide.

Another option is to have a special character to represent a non-pronunciation guide parentheses (similar to how you specify special characters in html).

mweiner1 commented 9 years ago

Another option is to have a special character to represent a non-pronunciation guide parentheses (similar to how you specify special characters in html).

I would strongly prefer this, since we use PGs literally 1000 times as often as we have math calculation questions that need to use parentheses in the answer line.

On Sat, Feb 7, 2015 at 6:42 PM, mbentley00 notifications@github.com wrote:

So I think the problem here is that parentheses are special characters used to denote a pronunciation guide. They can't be unbalanced. I'm open to changing this to be some less frequently used character like |. It avoids the problem of people using answer formats like "ANSWER: (Michael James) "Mike" Bentley" and not expecting what's in parens to be a pronunciation guide.

Another option is to have a special character to represent a non-pronunciation guide parentheses (similar to how you specify special characters in html).

— Reply to this email directly or view it on GitHub https://github.com/grapesmoker/qems2/issues/223#issuecomment-73389129.

mbentley00 commented 9 years ago

You can now use ( to escape parens showing as pronunciation guides.

mbentley00 commented 9 years ago

*That should be backslash (