-
Notifications
You must be signed in to change notification settings - Fork 4
Change default quotes to doubleCurled and singleCurled #2
Comments
Yeah, I must admit you’re right on this topic. Changed it locally, but did not push it already. Another thing I changed it the default setting for smart dashes. In wp-Typography, it is There seems to be some controversy on this topic. See https://en.wikipedia.org/wiki/Dash#En_dash_versus_em_dash What do you think? |
For the dashes, I tend to use the EM dash because it's the norm in American English and common enough in French typography (though in French that dash should be less common than in American English). Also in my book the EN dash is for ranges, e.g. 2012–2016 or Paris–Roubais (ideally with thin spaces). I have no strong opinion on what could be a good default for dashes. Maybe EM + spaces is a good choice, with some people being happy with it as-is, others needing to remove the spaces, and others needing to change to EN. |
Okay, common sense wins again. ;-) I changed the default setting to Maybe it would be a great idea to add recommended settings for every language, at the end of the readme file? I can make a configuration example for German, maybe you can put together defaults for French? Cheers |
Would gladly contribute one for French. If you make one for German, ping me and I'll use it as a template for the French one. |
I think, the following settings should do: German (Germany): c::set([
'typography.dashes.style' => 'international',
'typography.quotes.primary' => 'doubleLow9Reversed',
'typography.quotes.secondary' => 'singleLow9Reversed',
'typography.hyphenation.language' => 'de-DE',
]); Diacritics replacements will be disabled by default with the next commit, because this feature could trigger unexpected behaviour. Also increased minimum length for hyphenated words to 7 characters, because IMHO hyphenation should not apply to almost every word by default. |
Looking at the source files for php-typography, should the French (France): c::set([
'typography.punctuation.spacing.french' => true,
'typography.dashes.style' => 'traditionalUS', // cadratin ('international' for demi-cadratin)
'typography.quotes.primary' => 'doubleGuillemetsFrench',
'typography.quotes.secondary' => 'doubleCurled',
'typography.hyphenation.language' => 'fr',
]); The “traditionalUS” and “international” key bother me a bit, as it’s more a distinction between EM and EN dashes, and classic French tends to use EM while some modern French texts (and Swiss French apparently) prefer EN, but hey. |
Yes, For French, shouldn’t
I also think those names are misleading. Maybe I should use |
Nope. It might be the case in Belgium, Switzerland or Québec, but the standard French style for nested quotes looks like: « Elle me dit : “t’es trop nul, sors un peu de ta bulle !” » Single quotes are not understood as quotation marks by French readers, they would be seen as an apostrophe and a strange mirrored apostrophe.
Yes, or just |
In French em and en dashes are pretty much interchangeable, but they're both always used with full spaces around and thin spaces inside, and These days EN dashes seem to be used a lot more in written media, so it's a good default for Kirby sites. For these reasons my vote is for Is there a way to split the settings for the @fabianmichael I'm with @fvsch regarding quotes, |
@malvese @fvsch Okay, than this will be the default for French as you said. Also agree, that this is more readable. Just thought about providing the presets for different languages as a separate configuration option, like @malvese I tried to remove the space around the em dash by messing with PHP_Typography, but without success. But thin spaces are used, resulting in a smaller gap. If you want the em dash without spaces arount it, I am afraid that there is currently no other way than using a |
I’ll think about the default dash style once again and also about renaming dash styles to |
Changed default quotes style and also added aliases for dash styles in Commit 22da4d2. |
I understand the personal preference and perhaps the willingness to depart from English/American norms all the time everywhere, but:
doubleCurled
andsingleCurled
are closest to the replaced charactersThe text was updated successfully, but these errors were encountered: