PMario Just an FYI that http://skplugins.tiddlyspot.com/#%24%3A%2Fcore%2Fmodules%2Feditor-operations%2Ftext%2Ffancyquotes.js that does the replace is nicely designed.
Even though I can't do JS I was able to edit it and change and add rules. Note it has a couple of issues on order. For instance it does ens before ems which is not ideal. IF you decide to take the approach forward I'm happy to help on anything regex. Best wishes TT On Wednesday, 26 February 2020 11:38:15 UTC+1, PMario wrote: > > On Wednesday, February 26, 2020 at 10:14:24 AM UTC+1, TiddlyTweeter wrote: > > As an interim solution I'm using ... >> http://skplugins.tiddlyspot.com/#%24%3A%2Fplugins%2Fsk%2FFancyQuotes >> <http://www.google.com/url?q=http%3A%2F%2Fskplugins.tiddlyspot.com%2F%23%2524%253A%252Fplugins%252Fsk%252FFancyQuotes&sa=D&sntz=1&usg=AFQjCNEldpw2PRXtzUvn6tL9uWs0QCv56Q> >> This is basically auto search and replace--so changes are hard-coded >> rather than dynamic on render. >> > > After some testing, I'm thinking, that this is the better approach. > > If I'm writing English text in a German wiki, I still should respect the > the language specific quoting rules. > > So if I copy paste "some text" from a wiki with global settings English > into a wiki with global settings German ... It would change the visual > representation of the English text in a way that imo is wrong. > > If a tiddler with a \smartquotes pragma, is copied it could be done in the > right way. > > But the "per input" option would need to be hardcoded. > > So my conclusion atm is, that we should have improved tools like > FancyQuotes, that allow us to improve the writing experience and use the > rules according to the language which is used. > > Using the pragma with "text like this" would still be an option, if you > want to keep the existing wikitext, but want "per tiddler" smart quotes. > > There is *one more problem* with "rendered" smart quotes. If you copy > paste the rendered text, the quotes are missing. > > -mario > > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/595c7a27-6c30-44d8-b810-f878decd7ba7%40googlegroups.com.

