Advertisement
Guest User

Untitled

a guest
Aug 4th, 2015
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.10 KB | None | 0 0
  1. % !TEX TS-program = lualatex
  2. documentclass{article}
  3. listfiles
  4. usepackage{fontspec}
  5. setmainfont[Ligatures={Common,Rare}]{Hoefler Text}
  6. begin{document}
  7. ff fi fl ffi ffl fj ct st
  8. end{document}
  9.  
  10. LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4971) (format=lualatex 2014.4.24)
  11.  
  12. *File List*
  13. article.cls 2007/10/19 v1.4h Standard LaTeX document class
  14. size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
  15. fontspec.sty 2013/05/20 v2.3c Font selection for XeLaTeX and LuaLaTeX
  16. expl3.sty 2014/01/07 v4646 L3 Experimental code bundle wrapper
  17. l3names.sty 2014/01/04 v4640 L3 Namespace for primitives
  18. l3bootstrap.sty 2014/01/04 v4640 L3 Experimental bootstrap code
  19. luatex.sty 2010/03/09 v0.4 LuaTeX basic definition package (HO)
  20. infwarerr.sty 2010/04/08 v1.3 Providing info/warning/error messages (HO)
  21. ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
  22. etex.sty 1998/03/26 v2.0 eTeX basic definition package (PEB)
  23. luatex-loader.sty 2010/03/09 v0.4 Lua module loader (HO)
  24. pdftexcmds.sty 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO)
  25. ltxcmds.sty 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
  26. ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO)
  27. l3basics.sty 2014/01/04 v4642 L3 Basic definitions
  28. l3expan.sty 2014/01/04 v4642 L3 Argument expansion
  29. l3tl.sty 2013/12/27 v4625 L3 Token lists
  30. l3seq.sty 2013/12/14 v4623 L3 Sequences and stacks
  31. l3int.sty 2013/08/02 v4583 L3 Integers
  32. l3quark.sty 2013/12/14 v4623 L3 Quarks
  33. l3prg.sty 2014/01/04 v4642 L3 Control structures
  34. l3clist.sty 2013/07/28 v4581 L3 Comma separated lists
  35. l3token.sty 2013/08/25 v4587 L3 Experimental token manipulation
  36. l3prop.sty 2013/12/14 v4623 L3 Property lists
  37. l3msg.sty 2013/07/28 v4581 L3 Messages
  38. l3file.sty 2013/10/13 v4596 L3 File and I/O operations
  39. l3skip.sty 2013/07/28 v4581 L3 Dimensions and skips
  40. l3keys.sty 2013/12/08 v4614 L3 Experimental key-value interfaces
  41. l3fp.sty 2014/01/04 v4642 L3 Floating points
  42. l3box.sty 2013/07/28 v4581 L3 Experimental boxes
  43. l3coffins.sty 2013/12/14 v4624 L3 Coffin code layer
  44. l3color.sty 2012/08/29 v4156 L3 Experimental color support
  45. l3luatex.sty 2013/07/28 v4581 L3 Experimental LuaTeX-specific functions
  46. l3candidates.sty 2014/01/06 v4643 L3 Experimental additions to l3kernel
  47. xparse.sty 2013/12/31 v4634 L3 Experimental document command parser
  48. luaotfload.sty 2014/02/05 v2.4-3 OpenType layout system
  49. luatexbase.sty 2013/05/11 v0.6 Resource management for the LuaTeX macro progr
  50. ammer
  51. luatexbase-compat.sty 2011/05/24 v0.4 Compatibility tools for LuaTeX
  52. luatexbase-modutils.sty 2013/05/11 v0.6 Module utilities for LuaTeX
  53. luatexbase-loader.sty 2013/05/11 v0.6 Lua module loader for LuaTeX
  54. luatexbase-regs.sty 2011/05/24 v0.4 Registers allocation for LuaTeX
  55. luatexbase-attr.sty 2013/05/11 v0.6 Attributes allocation for LuaTeX
  56. luatexbase-cctb.sty 2013/05/11 v0.6 Catcodetable allocation for LuaTeX
  57. luatexbase-mcb.sty 2013/05/11 v0.6 Callback management for LuaTeX
  58. fontspec-patches.sty 2013/05/20 v2.3c Font selection for XeLaTeX and LuaLaTeX
  59.  
  60. fixltx2e.sty 2006/09/13 v1.1m fixes to LaTeX
  61. fontspec-luatex.sty 2013/05/20 v2.3c Font selection for XeLaTeX and LuaLaTeX
  62. fontenc.sty
  63. eu2enc.def 2010/05/27 v0.1h Experimental Unicode font encodings
  64. eu2lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
  65. xunicode.sty 2011/09/09 v0.981 provides access to latin accents and many othe
  66. r characters in Unicode lower plane
  67. eu2lmss.fd 2009/10/30 v1.6 Font defs for Latin Modern
  68. graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
  69. keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
  70. graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
  71. trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
  72. graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
  73. pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
  74. fontspec.cfg
  75. t3cmr.fd 2001/12/31 TIPA font definitions
  76. supp-pdf.mkii
  77. epstopdf-base.sty 2010/02/09 v2.5 Base part for package epstopdf
  78. grfext.sty 2010/08/19 v1.1 Manage graphics extensions (HO)
  79. kvdefinekeys.sty 2011/04/07 v1.3 Define keys (HO)
  80. kvoptions.sty 2011/06/30 v3.11 Key value format for package options (HO)
  81. kvsetkeys.sty 2012/04/25 v1.16 Key value parser (HO)
  82. etexcmds.sty 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
  83. epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
  84. ***********
  85.  
  86. % !TEX TS-program = lualatex
  87.  
  88. RequirePackage{filecontents}
  89. begin{filecontents*}{addligs.fea}
  90. languagesystem DFLT dflt;
  91. languagesystem latn dflt;
  92. # Ligatures
  93. feature liga {
  94. sub f f by f_f;
  95. sub f i by f_i;
  96. sub f j by f_j;
  97. sub f j by f_j;
  98. sub f k by f_k;
  99. sub f f i by f_f_i;
  100. sub f f l by f_f_l;
  101. sub s t by s_t;
  102. sub c t by c_t;
  103. } liga;
  104. end{filecontents*}
  105.  
  106. documentclass{article}
  107. usepackage{fontspec}
  108. setmainfont[Ligatures=Common]{Hoefler Text}
  109.  
  110. newcommandwordlist{off fit fjord Kafka fly office baffle stop act}
  111.  
  112. begin{document}
  113. wordlist
  114.  
  115. addfontfeature{FeatureFile=addligs.fea}
  116. wordlist
  117. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement