-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tweak card text for better typography #212
Comments
Could you leave an example of what you are envisioning? |
I'm pretty sure @tphinney is thinking of similar text transformations as SmartyPants (though we don't need to do it with a script of course).
|
Gosh, Nick beat me to it. But since I already was in the midst of writing it up, I finished. Notable issue: dashes may not be formatted as multiple dashes, so would need manual correction even if you did use some automated process. Vertical typewriter apostrophe is like this: ' Vertical typewriter quotes are "like this" while proper typographic quotes are “like these.” Note that there are cases where a hyphen has been used-like this - or like this. Such cases should be a dash—like this. Actually, either an em dash (without spaces on either side) or an en dash with spaces is acceptable. I am an em dash fan, but I don’t think it is as fashionable right now as the spaced en dash – like this. |
Doing this in a script during the language build (which I've been automating more) could be ok if we can get consistently acceptable results. Note that there's some work here, as we'd need to do it during language processing when we have access to the actual text that needs to be formatted (not the JSON files), and we'd need to configure the script to ignore or strip/reinsert all the formatting tags that we use. |
I think the best way to do this would be:
I am open to doing or helping with that manual spot check on the English files, if y’all like. Note that there can be equivalent issues for some other languages, but at least their quote marks are usually OK already, from what I've seen. Some languages have the funny benefit that the quote marks are not in ASCII in the first place, and often their open and close quotes are more strongly differentiated, so they were right in the first place. |
I would love to tweak the text on the cards to use better typography:
The text was updated successfully, but these errors were encountered: