Re: [XeTeX] Absence of ligatures
On 10-06-2010 0:34, Andy Lin wrote: I found a copy of DTLUnicoST with the following details: File size: 53 kb, Version 1.0, Generated on 14-03-2000 by Dutch Type Library PostScript outlines, 245 glyphs, no standard kern pairs, no embedded bitmaps OT: kern feature only. If this is the font you have, It is. you can use the tex-text-ms mapping file I sent a couple of days ago under the Ligatures and searching in PDFs topic: \setmainfont[Mapping=tex-text-ms]{DTLUnicoST} or \fontspec[Mapping=tex-text-ms]{DTLUnicoST} The earlier post has further details and warnings. I added the files tex-text-ms.map and tex-text-ms.tec to the directory where I keep the local files and then I updated the filename database. It did not work, though. Please consider this file \documentclass[a4paper]{article} \listfiles \pagestyle{empty} \usepackage{xltxtra} \setmainfont[Mapping=tex-text-ms]{DTLUnicoST} \begin{document} \Huge fi fl fi fl \end{document} If I compile it, I get the ligatures at the second line (of course), but not at the first one. I have put at the end of this post the log file that I get. Please note that it ends with Error 1 (driver return code) generating output; file test.pdf may not be valid. I don't know a reason for this. Thanks you very much for trying to help me. Best regards, José Carlos Santos --- log file --- This is XeTeX, Version 3.1415926-2.2-0.9995.1 (MiKTeX 2.8) (preloaded format=xelatex 2010.4.8) 10 JUN 2010 10:01 entering extended mode **\input test.tex (c:\Documents and settings\C\My Documents\temp\test.tex (C:\Program Files\MiKTeX 2.8\tex\latex\base\article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (C:\Program Files\MiKTeX 2.8\tex\latex\base\size10.clo File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \...@part=\count80 \...@section=\count81 \...@subsection=\count82 \...@subsubsection=\count83 \...@paragraph=\count84 \...@subparagraph=\count85 \...@figure=\count86 \...@table=\count87 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (C:\Program Files\MiKTeX 2.8\tex\xelatex\xltxtra\xltxtra.sty Package: xltxtra 2009/12/26 v0.5b Improvements for the XeLaTeX format (C:\Program Files\MiKTeX 2.8\tex\latex\ifxetex\ifxetex.sty Package: ifxetex 2009/01/23 v0.5 Provides ifxetex conditional ) (C:\Program Files\MiKTeX 2.8\tex\latex\fontspec\fontspec.sty Package: fontspec 2010/06/03 v2.0b2 Advanced font selection for XeLaTeX/LuaLaTe X (C:\Program Files\MiKTeX 2.8\tex\latex\expl3\expl3.sty (C:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3names.sty Package: l3names 2010/03/21 v1853 L3 Experimental Naming Scheme for TeX Primiti ves ) Package: expl3 2010/05/19 v1905 L3 Experimental code bundle wrapper (C:\Program Files\MiKTeX 2.8\tex\latex\misc\etex.sty Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB) \...@xins=\count88 ) (C:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3basics.sty Package: l3basics 2010/05/22 v1921 L3 Experimental basic definitions ) (C:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3expan.sty Package: l3expan 2010/03/24 v1873 L3 Experimental Argument Expansion module ) (C:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3tl.sty Package: l3tl 2010/05/22 v1919 L3 Experimental Token Lists ) (C:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3intexpr.sty Package: l3intexpr 2009/03/20 v1086 L3 Integer Expressions ) (C:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3quark.sty Package: l3quark 2010/03/21 v1853 L3 Experimental Quark Commands ) (C:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3seq.sty Package: l3seq 2010/03/29 v1879 L3 Experimental sequences and stacks ) (C:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3toks.sty Package: l3toks 2010/05/25 v1933 L3 Experimental Token Registers \l_tmpb_toks=\toks14 \l_tmpc_toks=\toks15 \g_tmpa_toks=\toks16 \g_tmpb_toks=\toks17 \g_tmpc_toks=\toks18 \c_empty_toks=\toks19 \l_tl_replace_toks=\toks20 ) (C:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3int.sty Package: l3int 2010/05/25 v1933 L3 Experimental Integer module \l_tmpa_int=\count89 \l_tmpb_int=\count90 \l_tmpc_int=\count91 \g_tmpa_int=\count92 \g_tmpb_int=\count93 \c_max_int=\count94 \g_tl_inline_level_int=\count95 ) (C:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3prg.sty Package: l3prg 2010/03/21 v1853 L3 Experimental control structures \g_prg_inline_level_int=\count96 ) (C:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3clist.sty Package: l3clist 2010/03/29 v1878 L3 Experimental comma separated lists \g_clist_inline_level_int=\count97 ) (C:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3token.sty Package: l3token 2010/04/11 v1890 L3 Experimental token investigation and manip ulation ) (C:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3prop.sty Package: l3prop 2010/03/21 v1857 L3 Experimental Property Lists \g_prop_inline_level_int=\count98 ) (C:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3msg.sty Package: l3msg 2010/03/23 v1866 L3 Experimental LaTeX Messages
Re: [XeTeX] Absence of ligatures
On 10-06-2010 10:06, José Carlos Santos wrote: I found a copy of DTLUnicoST with the following details: File size: 53 kb, Version 1.0, Generated on 14-03-2000 by Dutch Type Library PostScript outlines, 245 glyphs, no standard kern pairs, no embedded bitmaps OT: kern feature only. If this is the font you have, It is. you can use the tex-text-ms mapping file I sent a couple of days ago under the Ligatures and searching in PDFs topic: \setmainfont[Mapping=tex-text-ms]{DTLUnicoST} or \fontspec[Mapping=tex-text-ms]{DTLUnicoST} The earlier post has further details and warnings. I added the files tex-text-ms.map and tex-text-ms.tec to the directory where I keep the local files and then I updated the filename database. It did not work, though. Please consider this file \documentclass[a4paper]{article} \listfiles \pagestyle{empty} \usepackage{xltxtra} \setmainfont[Mapping=tex-text-ms]{DTLUnicoST} \begin{document} \Huge fi fl fi fl \end{document} If I compile it, I get the ligatures at the second line (of course), but not at the first one. Please disregard this. It *did* work! I don't know why is it that when I compiled it before my previous post it did not work, but now it works perfectly. Thanks a lot. Best regards, José Carlos Santos -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
[XeTeX] Absence of ligatures
Hi all: I have been working on a text whose main font is DTL Unico: http://www.dutchtypelibrary.nl/Unico_rdrct.html I have just noticed that the fi and fl ligatures are not created. To be more precise: if I compile this document: \documentclass{article} \pagestyle{empty} \usepackage{xltxtra} \begin{document} \Huge \fontspec{DTLUnicoST} fi fl \end{document} I don't get the ligatures that I should get. Am I doing something wrong? Or could it be a flaw within the fonts that I am using? Best regards, Jose Carlos Santos -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Absence of ligatures
On 06/09/2010 05:45 PM, José Carlos Santos wrote: Hi all: I have been working on a text whose main font is DTL Unico: http://www.dutchtypelibrary.nl/Unico_rdrct.html I have just noticed that the fi and fl ligatures are not created. To be more precise: if I compile this document: [...] I don't get the ligatures that I should get. Am I doing something wrong? Or could it be a flaw within the fonts that I am using? Hi José Carlos, you should get the ligatures and there is nothing wrong there. I'm afraid that those ligatures might be incorrectly tagged (but since the font is not freely redistributable, you should check it yourself using FontForge or another font editor). I hope it helps, Pablo -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Absence of ligatures
I have just noticed that the fi and fl ligatures are not created. To be more precise: if I compile this document: \documentclass{article} \pagestyle{empty} \usepackage{xltxtra} \begin{document} \Huge \fontspec{DTLUnicoST} fi fl \end{document} I don't get the ligatures that I should get. Am I doing something wrong? Or could it be a flaw within the fonts that I am using? Hi Jose: Try setting the main font in the preamble with the option [Mapping=tex=text]: \setmainfont[Mapping=tex-text]{DTLUnicoST} That should work ... and you won't need to type the ligatures into the text itself. HTH. -- United in adoration of Jesus, fr. michael gilmary, mma Most Holy Trinity Monastery 67 Dugway Road Petersham, MA 01366-9725 www.MaroniteMonks.org -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Absence of ligatures
On Wed, Jun 09, 2010 at 12:23:17PM -0400, Fr. Michael Gilmary wrote: I have just noticed that the fi and fl ligatures are not created. To be more precise: if I compile this document: \documentclass{article} \pagestyle{empty} \usepackage{xltxtra} \begin{document} \Huge \fontspec{DTLUnicoST} fi fl \end{document} I don't get the ligatures that I should get. Am I doing something wrong? Or could it be a flaw within the fonts that I am using? Hi Jose: Try setting the main font in the preamble with the option [Mapping=tex=text]: \setmainfont[Mapping=tex-text]{DTLUnicoST} tex-text mapping has nothing to do with f ligatures. -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Absence of ligatures
On Wed, Jun 09, 2010 at 04:45:27PM +0100, José Carlos Santos wrote: Hi all: I have been working on a text whose main font is DTL Unico: http://www.dutchtypelibrary.nl/Unico_rdrct.html I have just noticed that the fi and fl ligatures are not created. To be more precise: if I compile this document: \documentclass{article} \pagestyle{empty} \usepackage{xltxtra} \begin{document} \Huge \fontspec{DTLUnicoST} fi fl \end{document} I don't get the ligatures that I should get. Am I doing something wrong? Or could it be a flaw within the fonts that I am using? Either the font lacks proper OpenType layout code, or you need to explicitly select certain OpenType script/language, you can try setting Language=Latin, Language=Default, Script=Latin or any combination of them and if it works. -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Absence of ligatures
Khaled Hosny wrote: tex-text mapping has nothing to do with f ligatures. Ooops ... try this instead: \setmainfont[Mapping=tex-text, Ligatures=Common]{DTLUnicoST} -- United in adoration of Jesus, fr. michael gilmary, mma Most Holy Trinity Monastery 67 Dugway Road Petersham, MA 01366-9725 www.MaroniteMonks.org -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Absence of ligatures
On Wed, Jun 09, 2010 at 07:28:42PM +0200, Pander wrote: Khaled Hosny wrote: On Wed, Jun 09, 2010 at 04:45:27PM +0100, José Carlos Santos wrote: Hi all: I have been working on a text whose main font is DTL Unico: http://www.dutchtypelibrary.nl/Unico_rdrct.html I have just noticed that the fi and fl ligatures are not created. To be more precise: if I compile this document: \documentclass{article} \pagestyle{empty} \usepackage{xltxtra} \begin{document} \Huge \fontspec{DTLUnicoST} fi fl \end{document} I don't get the ligatures that I should get. Am I doing something wrong? Or could it be a flaw within the fonts that I am using? Either the font lacks proper OpenType layout code, or you need to explicitly select certain OpenType script/language, you can try setting Language=Latin, Language=Default, Script=Latin or any combination of them and if it works. \fontspec{DTLUnicoST}\addfontfeatures{Ligatures={Common,Rare}} Common ligatures are not by default, Rare ligature should not be a concern here since f ligature should not be set as Rare ligatures in the font, if so then it is a bug and the font ought to be fixed. -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Absence of ligatures
On 09-06-2010 18:23, Khaled Hosny wrote: I have been working on a text whose main font is DTL Unico: http://www.dutchtypelibrary.nl/Unico_rdrct.html I have just noticed that the fi and fl ligatures are not created. To be more precise: if I compile this document: \documentclass{article} \pagestyle{empty} \usepackage{xltxtra} \begin{document} \Huge \fontspec{DTLUnicoST} fi fl \end{document} I don't get the ligatures that I should get. Am I doing something wrong? Or could it be a flaw within the fonts that I am using? Either the font lacks proper OpenType layout code, or you need to explicitly select certain OpenType script/language, you can try setting Language=Latin, Language=Default, Script=Latin or any combination of them and if it works. Thanks for the reply. Can you please tell me how should I set, say, Language=Latin? Best regards, Jose Carlos Santos -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Absence of ligatures
On 09-06-2010 18:37, Fr. Michael Gilmary wrote: tex-text mapping has nothing to do with f ligatures. Ooops ... try this instead: \setmainfont[Mapping=tex-text, Ligatures=Common]{DTLUnicoST} Thanks, but it does not work. Best regards, José Carlos Santos -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Absence of ligatures
On Wed, Jun 09, 2010 at 07:13:28PM +0100, José Carlos Santos wrote: On 09-06-2010 18:23, Khaled Hosny wrote: I have been working on a text whose main font is DTL Unico: http://www.dutchtypelibrary.nl/Unico_rdrct.html I have just noticed that the fi and fl ligatures are not created. To be more precise: if I compile this document: \documentclass{article} \pagestyle{empty} \usepackage{xltxtra} \begin{document} \Huge \fontspec{DTLUnicoST} fi fl \end{document} I don't get the ligatures that I should get. Am I doing something wrong? Or could it be a flaw within the fonts that I am using? Either the font lacks proper OpenType layout code, or you need to explicitly select certain OpenType script/language, you can try setting Language=Latin, Language=Default, Script=Latin or any combination of them and if it works. Thanks for the reply. Can you please tell me how should I set, say, Language=Latin? The same way you set Liagtures=Common. -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Absence of ligatures
On 06/09/2010 02:15 PM, José Carlos Santos wrote: \setmainfont[Mapping=tex-text, Ligatures=Common]{DTLUnicoST} Thanks, but it does not work. I notice that there are Type1, TrueType and OpenType versions of this font. Which one you have may make a difference, but I can't see on the DTL website what kind of OT features the various version have got. If you have the Type1 version that may be a problem. Peter -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Absence of ligatures
Khaled Hosny wrote: But he indicated he already tried in subsequent messages, so I think he already knows by the time of reading may reply. Fair comment. As there are several ways to set font features in fontspec (\defaultfontfeatures, as an option to any of the \set*font commands, as an option to \fontspec, \addfontfeatures) I didn't want to mention them all as it'll just add to the confusion, or mention only one way because it might give false message it is the only way. OK, understood. My intent was to say it is a regular options like other options you already tried, but may be I did it the wrong way. Well, it came across as rather brusque to this reader, but perhaps he is unusually sensitive to such things. And there is always a manual one can refer to Very true :-) -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Absence of ligatures
On 09-06-2010 19:29, Peter Baker wrote: \setmainfont[Mapping=tex-text, Ligatures=Common]{DTLUnicoST} Thanks, but it does not work. I notice that there are Type1, TrueType and OpenType versions of this font. Which one you have may make a difference, but I can't see on the DTL website what kind of OT features the various version have got. If you have the Type1 version that may be a problem. No. I have OpenType. Best regards, José Carlos Santos -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Absence of ligatures
On 09-06-2010 19:16, Khaled Hosny wrote: I have been working on a text whose main font is DTL Unico: http://www.dutchtypelibrary.nl/Unico_rdrct.html I have just noticed that the fi and fl ligatures are not created. To be more precise: if I compile this document: \documentclass{article} \pagestyle{empty} \usepackage{xltxtra} \begin{document} \Huge \fontspec{DTLUnicoST} fi fl \end{document} I don't get the ligatures that I should get. Am I doing something wrong? Or could it be a flaw within the fonts that I am using? Either the font lacks proper OpenType layout code, or you need to explicitly select certain OpenType script/language, you can try setting Language=Latin, Language=Default, Script=Latin or any combination of them and if it works. Thanks for the reply. Can you please tell me how should I set, say, Language=Latin? The same way you set Liagtures=Common. Thanks. I tried every combination that I could think of and worked. But thanks for your help. Best regards, Jose Carlos Santos -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Absence of ligatures
On 09-06-2010 20:46, José Carlos Santos wrote: I have been working on a text whose main font is DTL Unico: http://www.dutchtypelibrary.nl/Unico_rdrct.html I have just noticed that the fi and fl ligatures are not created. To be more precise: if I compile this document: \documentclass{article} \pagestyle{empty} \usepackage{xltxtra} \begin{document} \Huge \fontspec{DTLUnicoST} fi fl \end{document} I don't get the ligatures that I should get. Am I doing something wrong? Or could it be a flaw within the fonts that I am using? Either the font lacks proper OpenType layout code, or you need to explicitly select certain OpenType script/language, you can try setting Language=Latin, Language=Default, Script=Latin or any combination of them and if it works. Thanks for the reply. Can you please tell me how should I set, say, Language=Latin? The same way you set Liagtures=Common. Thanks. I tried every combination that I could think of and worked. Oops! I meant to write and it did not work here. Best regards, José Carlos Santos -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Absence of ligatures
On Wed, Jun 09, 2010 at 08:50:55PM +0100, José Carlos Santos wrote: On 09-06-2010 20:46, José Carlos Santos wrote: I have been working on a text whose main font is DTL Unico: http://www.dutchtypelibrary.nl/Unico_rdrct.html I have just noticed that the fi and fl ligatures are not created. To be more precise: if I compile this document: \documentclass{article} \pagestyle{empty} \usepackage{xltxtra} \begin{document} \Huge \fontspec{DTLUnicoST} fi fl \end{document} I don't get the ligatures that I should get. Am I doing something wrong? Or could it be a flaw within the fonts that I am using? Either the font lacks proper OpenType layout code, or you need to explicitly select certain OpenType script/language, you can try setting Language=Latin, Language=Default, Script=Latin or any combination of them and if it works. Thanks for the reply. Can you please tell me how should I set, say, Language=Latin? The same way you set Liagtures=Common. Thanks. I tried every combination that I could think of and worked. Oops! I meant to write and it did not work here. If you have otfinfo command line tool (included in texlive), you can try: otfinfo -s /path/to/font.otf Where '/path/to/font.otf' is the full path to your font file, It should list font supported scripts and languages, then try: otfinfo --script=SCRIPT -f /path/to/font.otf Where SCRIPT is one of the returned values of the first command. This should show what script/language/feature combinations supported by the font. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Absence of ligatures
I found a copy of DTLUnicoST with the following details: File size: 53 kb, Version 1.0, Generated on 14-03-2000 by Dutch Type Library PostScript outlines, 245 glyphs, no standard kern pairs, no embedded bitmaps OT: kern feature only. If this is the font you have, you can use the tex-text-ms mapping file I sent a couple of days ago under the Ligatures and searching in PDFs topic: \setmainfont[Mapping=tex-text-ms]{DTLUnicoST} or \fontspec[Mapping=tex-text-ms]{DTLUnicoST} The earlier post has further details and warnings. Hope this helps, Andy DTLUnicoSTGlyphs.pdf Description: Adobe PDF document -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex