Smartypants configuration options?
bsuttis - August 25, 2007 - 01:46
| Project: | Typogrify |
| Version: | 5.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | mikl |
| Status: | active |
Jump to:
Description
I've installed Typogrify and am in the midst of configuring it, but I can't seem to find the settings for smartypants dashes, quotes, etc. I see the options for the ampersands, ligatures, etc, but no smartypants.
Installing smartypants.module itself causes a redeclaration error. Screenshot of my input format config screen is attached.
Thanks for the contribution, really great stuff.
| Attachment | Size |
|---|---|
| typogrifyoptions.gif | 26.79 KB |

#1
In 5.2:
Administer > Content management > Input formats.
Either configure an existing format or create a new one.
Then, _configure_ again. You should see the options.
#2
Forgive me. Just saw your screenshot.
I believe "Wrap quotation marks" activates the SmartyPants functions.
#3
whoops, I accidentally opened up a new ticket for this issue; http://drupal.org/node/182820
#4
#5
Thanks for the heads up, bsuttis,
Typogrify intentionally hides the smartypants settings if some other module is already using the smartypants functions. So if you're running some other module, like marksmarty, you should set the smartypants settings from within that filter's admin UI.
But that is pretty confusing. I'm thinking there must be some way to let people know that the settings have been intentionally hidden, and that they should look elsewhere to set the smartypants settings.
If you're curious about the gory details, you can read the jbjaaz's other thread. And add a comment if you can think of a good way to resolve this issue.
As an aside, "Wrap Quotation Marks" doesn't enable the smartypants functions. Instead, it adds a special CSS class that you can use to hang quotation marks over the edge of a paragraph.
#6
#7