[XeTeX] Bug with Quotes at Sentence End

Jonathan Kew jfkthame at googlemail.com
Fri Aug 7 15:12:11 CEST 2009


On 7 Aug 2009, at 13:57, Fr. Michael Gilmary wrote:

> Jonathan Kew wrote:
>> On Fri, Aug 7, 2009 at 12:44 AM, Joel C. Salomon<joelcsalomon at gmail.com 
>> > wrote:
>>> I�d guess some of the Unicode quote characters need to have the  
>>> correct
>>> \spacefactor associated with them.
>>>
>> And I'd guess you're right!
>>
>> Try adding
>>
>>     \sfcode"2019=0
>>     \sfcode"201D=0
>>
>> and you should get the results you're expecting.
>>
>> I should add these to the standard formats, I guess.
>> (unicode-letters.tex would be the place to put them.)
>>
> I used the code sent by Joel and I can't see the difference in his  
> two uses of quotes, i.e., the Unicode way in the first paragraph and  
> the TeX way in the second.
>
> So, when I tried your solution, Jonathan, again, there was no  
> difference. Am I missing something?

I think you're not looking quite closely enough; you should see a  
slight change in the space indicated by __ in

      ....quotation marks."__But it should

It's quite subtle, though, which is presumably why nobody has  
complained before!

JK



More information about the XeTeX mailing list