Re: [XeTeX] Hyphenation rules problem in my french document

2010-12-05 Thread Ross Moore
Hello Maxim, On 06/12/2010, at 11:18 AM, Maxim Cournoyer wrote: > @Enrico: > > Thank you for this detailed explanation! > Where have you gathered this specific knowledge? > > Is the TeXbook by Dr. Knuth the best book > to learn more about TeX internals? Yes. Appendix H : Hyphenation On pages

Re: [XeTeX] Hyphenation rules problem in my french document

2010-12-05 Thread enrico . gregorio
Maxim Cournoyer wrote: > enrico.gregorio at univr.it enrico.gregorio at univr.it Mon Nov 29 00:16:52 > CET 2010 > > With this document set up, you should teach XeTeX that a right quote should > > behave like an (ASCII) apostrophe, with respect to hyphenation. So, add > > \addto\extrasfrench

Re: [XeTeX] Hyphenation rules problem in my french document

2010-12-05 Thread Mojca Miklavec
On Sun, Dec 5, 2010 at 04:41, Ross Moore wrote: > >>>   \addto\extrasfrench{\lccode"2019=`\' } > > Thus the effect would be that, within a french environment >  {\lowercase{’}} > would produce the same result as >  {'} . > (assuming here that ' has not been made an active character). Honestly: doe

Re: [XeTeX] Hyphenation rules problem in my french document

2010-12-04 Thread Ross Moore
Hello Maxim, On 05/12/2010, at 9:56 AM, Maxim Cournoyer wrote: >> \addto\extrasfrench{\lccode"2019=`\' } >> > Enrico, this indeed works too! I'm just wondering about the weird quotes > needed here. Seems like \lccode keeps an associative table of symbols, > and 2019 would be the unicode chara

Re: [XeTeX] Hyphenation rules problem in my french document

2010-12-04 Thread Maxim Cournoyer
> enrico.gregorio at univr.it enrico.gregorio at univr.it > > Mon Nov 29 00:16:52 CET 2010 > > With this document set up, you should teach XeTeX that a right quote > should > > > behave like an (ASCII) apostrophe, with respect to hyphenation. So, add > > \addto\extrasfrench{\lccode"2019=

Re: [XeTeX] Hyphenation rules problem in my french document

2010-12-04 Thread Andréa Loyer
On 29/11/2010 04:03, Maxim Cournoyer wrote: This is all very excellent. To say that I was scared to make the switch to polyglossia! I think the problem was lying in the need of an \usepackage[T1]{fontenc}needed by babel to correctly deal with accentuated words and probably words with elid

Re: [XeTeX] Hyphenation rules problem in my french document

2010-11-28 Thread Maxim Cournoyer
Le dimanche 28 novembre 2010 à 18:04 -0500, Fr. Michael Gilmary a écrit : > I used this: > > > \hyphenation{oscillo-scope} > > and it hyphenated correctly (I think!) > > > > Also, I guess I should test it with polyglossia, but I have never used > > it (and don't have much time to RTM for now

Re: [XeTeX] Hyphenation rules problem in my french document

2010-11-28 Thread enrico . gregorio
From: Maxim Cournoyer > Dear fellow Xe(La)TeXers, > > I would appreciate any clues on the following problem: > > I am writing a french document, using the \usepackage[francais]{babel} > directive in my preamble. > Some lines of text aren't hyphenated automatically, most of the time because > t

Re: [XeTeX] Hyphenation rules problem in my french document

2010-11-28 Thread Fr. Michael Gilmary
Maxim Cournoyer wrote: I am writing a french document, using the \usepackage[francais]{babel} directive in my preamble. I would try this instead, Maxim: \documentclass[12pt,letterpaper,oneside,draft]{memoir} \usepackage{fontspec} \usepackage{polyglossia} \setdefaultlanguage{french}

[XeTeX] Hyphenation rules problem in my french document

2010-11-28 Thread Maxim Cournoyer
Dear fellow Xe(La)TeXers, I would appreciate any clues on the following problem: I am writing a french document, using the \usepackage[francais]{babel} directive in my preamble. Some lines of text aren't hyphenated automatically, most of the time because there doesn't seem to be hyphenation rules