Re: [XeTeX] Ligatures and searching in PDFs

2010-06-01 Thread Andy Lin
> One ting I'm wondering about: not all of the fonts I use always have > all those ligatures. From what I understand from you, can't check > right now, glyphs will be replaced usgin the mapping regardless of > glyph availability, which would lead to missing glyphs in the docuemnt > if not available

Re: [XeTeX] Weird character swap when using xelatex+fontspec+listings

2010-06-01 Thread Ulrike Fischer
Am Tue, 1 Jun 2010 12:51:30 -0400 schrieb Alan Munn: > Wow, Ulrike, thanks. This is a really useful bit of code. I'm not > sure I understand the difference between the commented out code and > the initial \...@ccput line. > > If I comment out the \...@ccput line, and replace EURO with €, I

Re: [XeTeX] Ligatures and searching in PDFs

2010-06-01 Thread Jonathan Kew
On 1 Jun 2010, at 19:12, Diederick C. Niehorster wrote: > Would it therefore make more sense to put these mappings in a separate > file and load that mapping as well when required? Can multiple > mappings be loaded? No. (But you can of course choose different mappings for different fonts, accord

Re: [XeTeX] weird behaviour with LetterSpace

2010-06-01 Thread Jonathan Kew
On 1 Jun 2010, at 20:00, Pablo Rodríguez wrote: > I'm not especially interested in LetterSpace, but in hyphenation with > Letterspace (as you can see at http://www.ousia.tk/grammatike.pdf). > I can't think of any reason why LetterSpace should prevent hyphenation. Are you sure it's not just tha

Re: [XeTeX] (bug?) letterspacing with LetterSpace and soul

2010-06-01 Thread John Was
Hello Pablo I'm afraid I don't know LaTeX but I *think* that plain TeX commands will still usually work. Anyway, once you've started a XeLaTeX document, you might try the commands I gave (assuming you have Minion Pro on your system), and it has since emerged from the contributions of others t

Re: [XeTeX] (bug?) letterspacing with LetterSpace and soul

2010-06-01 Thread Pablo Rodríguez
On 05/29/2010 09:21 PM, John Was wrote: Hello In plain XeTeX I find the passage in the URL works OK with letter-spaced Greek if I give at the start: \font \myfont = "MinionPro-Regular:+onum:mapping=tex-text:letterspace=12" at 12pt \tolerance 500 \myfont \hsize 24pc Hi John, many thanks for y

Re: [XeTeX] weird behaviour with LetterSpace

2010-06-01 Thread Pablo Rodríguez
On 06/01/2010 10:25 AM, Jonathan Kew wrote: On 31 May 2010, at 22:13, Pablo Rodríguez wrote: [...] If you copy the resulting text (from http://www.ousia.tk/wrong-letterspace.pdf), you will see that only the second line is properly typeset, or at least, there are no blank spaces between letter

Re: [XeTeX] Ligatures and searching in PDFs

2010-06-01 Thread Diederick C. Niehorster
Hi Andy, Thanks a lot for your post, this is very useful! One ting I'm wondering about: not all of the fonts I use always have all those ligatures. From what I understand from you, can't check right now, glyphs will be replaced usgin the mapping regardless of glyph availability, which would lead

[XeTeX] Ligatures and searching in PDFs

2010-06-01 Thread Andy Lin
Sorry to revive this topic, but I think I've found a solution. The original post described a problem when using the rare ligatures (e.g. "fty") in the Junicode font, in that the strings could not be found by their decomposed characters. At the time, it was suggested the /ActualText PDF feature wou

Re: [XeTeX] Weird character swap when using xelatex+fontspec+listings

2010-06-01 Thread Alan Munn
Wow, Ulrike, thanks. This is a really useful bit of code. I'm not sure I understand the difference between the commented out code and the initial \...@ccput line. If I comment out the \...@ccput line, and replace EURO with €, I get the same result, correct? Why is this so, and is there a

[XeTeX] Diacritical accent marks in malayalam, Tamil

2010-06-01 Thread P. P. Narayanaswami
I am unable to insert diacricical marks for characters in Mmalayalam. For examples, \def\mal{\fontspec[Script=Malayalam]{Rachana}} \.{\mal സ} does not propduce a dot over സ, \d{ ഗ} does not place a dot under ഗ The same problems with Tamil also. How can I place proper diacritical marks using

Re: [XeTeX] weird behaviour with LetterSpace

2010-06-01 Thread Jonathan Kew
On 31 May 2010, at 22:13, Pablo Rodríguez wrote: > Hi there, > > I have just accidentally discovered that LetterSpace behaves differently if > the whole paragraph is set with this feature or not. > > The minimal example: > > \documentclass[12pt]{article} > \usepackage{fontspec} > \setmainfont{

Re: [XeTeX] Weird character swap when using xelatex+fontspec+listings

2010-06-01 Thread Ulrike Fischer
Am Sun, 30 May 2010 16:30:07 -0400 schrieb Alan Munn: >> When I compile the attached t.tex with xelatex I get the attached >> t.pdf, in which the big pi has somehow switched positions with >> 'a'. What's going on here? :) > > This is a problem with the listings package, which is incompatible >