pretext icon indicating copy to clipboard operation
pretext copied to clipboard

French quotation marks html and Latex

Open JeanSebastienTurcotte opened this issue 2 years ago • 2 comments

Added code so that , and are french when fr-CA or fr-FR are selected as document language.

JeanSebastienTurcotte avatar Jan 17 '23 17:01 JeanSebastienTurcotte

@JeanSebastienTurcotte, thanks for taking the initiative on this one. We just moved away from the "document-language" being the only language in play. Motivated by Doob's French-English Canadian Olympiad project.

So something more general needs to be put in place. Like a "local" language being a parameter to the templates for the characters (or the context itself). I haven't yet come to a conclusion on the best approach.

Related question: how does French look for a mix of quotes, like you might see in a novel? Single quotes inside of double quotes. Some very old LaTeX code tries to make sure 8 backticks in a row resolve to the right mix of single and double. Can't illustrate this in markdown!!!

rbeezer avatar Jan 17 '23 18:01 rbeezer

@rbeezer A quote inside a quote is depicted with standard english double quote. So you'd write << Rob asked me: "How does French look for a mix of quotes" in Github >>.

I was aware that double language was now a thing. Maybe this can help when it's decided how to implemented. While looking at how spaces behave in French (We need thin spaces before some punctuation, which english does not have, I'll have a post on -dev later).

I guess the easy way would be to create a and for french left quote and french right quote and treat them as something more available. But I understand not wanting more element.

JeanSebastienTurcotte avatar Jan 17 '23 19:01 JeanSebastienTurcotte