[Pmwiki-users] Cookbook coments: smartquotes

Kirill Lapshin kir at lapshin.net
Sun Jun 29 22:26:54 CDT 2003


John Rankin wrote:

>On reflection, smartquotes could do:
>
>[0-9]' -> ′
>[0-9]" -> ″
>[0-9]`' or `" -> &r[sd]quo;
>
>Should a number followed by a quote mark normally be a prime / double prime, or a right quote?
>
>In other words, the default behaviour could be to treat quote marks after numbers as primes. The exception behaviour (backtick) makes them into right quotes.
>
I think that's a very good idea!

--Kirill





More information about the pmwiki-users mailing list