diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-06 04:09:03 -0700 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-06 04:09:03 -0700 |
commit | b24342562c9a83de957e5669d08a44c5dabdfd7d (patch) | |
tree | 11708b38f043a7b940285ee363dc1aded3c66a18 | |
parent | 0b49cada911b82dc1f53062c11689c36c5a2f445 (diff) | |
parent | 6c8c07e695d19dd73223f4c83aa78137e3c7791e (diff) | |
download | luaotfload-b24342562c9a83de957e5669d08a44c5dabdfd7d.tar.gz |
Merge pull request #46 from phi-gamma/master
final modifications before test release
-rw-r--r-- | filegraph.dot | 7 | ||||
-rw-r--r-- | luaotfload.dtx | 49 |
2 files changed, 42 insertions, 14 deletions
diff --git a/filegraph.dot b/filegraph.dot index d69937b..36e5764 100644 --- a/filegraph.dot +++ b/filegraph.dot @@ -139,9 +139,10 @@ strict digraph luaotfload_files { //looks weird with circo ... label = < <table cellborder="0" bgcolor="#FFFFFFAA"> <th> <td colspan="2"> <font point-size="12" face="Iwona Italic">Luaotfload Libraries</font> </td> </th> - <tr> <td>luaotfload-lib-dir.lua</td> <td>luaotfload-features.lua</td> </tr> - <tr> <td>luaotfload-override.lua</td> <td>luaotfload-loaders.lua</td> </tr> - <tr> <td>luaotfload-database.lua</td> <td>luaotfload-color.lua</td> </tr> + <tr> <td>luaotfload-lib-dir.lua</td> <td>luaotfload-features.lua</td> </tr> + <tr> <td>luaotfload-override.lua</td> <td>luaotfload-loaders.lua</td> </tr> + <tr> <td>luaotfload-database.lua</td> <td>luaotfload-color.lua</td> </tr> + <tr> <td>luaotfload-auxiliary.lua</td> </tr> </table> >, ] diff --git a/luaotfload.dtx b/luaotfload.dtx index 7e737b8..f11f466 100644 --- a/luaotfload.dtx +++ b/luaotfload.dtx @@ -131,11 +131,13 @@ and the derived files pdfkeywords={luatex, lualatex, unicode, opentype} ]{hyperref} \usepackage{fontspec} -%usepackage{unicode-math}%% broken +\usepackage{unicode-math} \setmainfont[ - Numbers=OldStyle, - Ligatures=TeX, - %SlantedFont={Linux Libertine Italic}, + Numbers = OldStyle, + Ligatures = TeX, + BoldFont = {Linux Libertine Bold}, + ItalicFont = {Linux Libertine Italic}, + SlantedFont = {Linux Libertine Italic}, ]{Linux Libertine O} \setmonofont[Ligatures=TeX,Scale=MatchLowercase]{Liberation Mono} %setsansfont[Ligatures=TeX]{Linux Biolinum O} @@ -176,6 +178,27 @@ and the derived files \usepackage{syntax}%% bnf for font request syntax +\usepackage{titlesec} + +\def\movecountertomargin#1{\llap{\rmfamily\upshape#1\hskip2em}} +\def\zeropoint{0pt} +\titleformat \part + {\normalsize\rmfamily\bfseries} + {\movecountertomargin\thepart} \zeropoint {} +\titleformat \section + {\normalsize\rmfamily\scshape}%% no \word; life is full of disappointments + {\movecountertomargin\thesection} \zeropoint {} +\titleformat \subsection + {\small\rmfamily\itshape} + {\movecountertomargin\thesubsection} \zeropoint {} + +\usepackage{tocloft} +\renewcommand \cftpartfont {\rmfamily\upshape} +\renewcommand \cftsecfont {\rmfamily\upshape} +\renewcommand \cftsubsecfont {\rmfamily\upshape} +\setlength \cftbeforepartskip {1ex} +\setlength \cftbeforesecskip {1ex} + \VerbatimFootnotes \begin{document} \DocInput{luaotfload.dtx}% @@ -206,7 +229,7 @@ and the derived files % \title{The \identifier{luaotfload} package} % \date{2013/05/05 v2.2} % \author{Elie Roux · Khaled Hosny · Philipp Gesang\\ -% Home: https://github.com/lualatex/luaotfload\\ +% Home: \url{https://github.com/lualatex/luaotfload}\\ % Support: \email{lualatex-dev@tug.org}} % % \maketitle @@ -309,7 +332,7 @@ and the derived files % % <path lookup> ::= \{ {\sc all_characters} - `]' \} ; % -% <modifier> ::= `/', (`I' | `B' | `BI' | `IB') ; +% <modifier> ::= `/', (`I' | `B' | `BI' | `IB' | `S=', \{ {\sc digit} \} ) ; % % <subfont no> ::= `(', \{ {\sc digit} \}, `)' ; % @@ -1117,6 +1140,9 @@ and the derived files % (\abbrev{pfa}, \abbrev{pfb}). % \ouritem {luaotfload-database.lua} font names database. % \ouritem {luaotfload-colors.lua} color handling. +% \ouritem {luaotfload-auxiliary.lua} access to internal functionality +% for package authors +% (proposals for additions welcome). % \end{itemize} % % \begin{figure}[b] @@ -1193,7 +1219,8 @@ local luaotfload = luaotfload config = config or { } config.luaotfload = config.luaotfload or { } -config.luaotfload.resolver = config.luaotfload.resolver or "normal" +------.luaotfload.resolver = config.luaotfload.resolver or "normal" +config.luaotfload.resolver = config.luaotfload.resolver or "cached" config.luaotfload.definer = config.luaotfload.definer or "patch" config.luaotfload.loglevel = config.luaotfload.loglevel or 1 config.luaotfload.color_callback = config.luaotfload.color_callback or "pre_linebreak_filter" @@ -1206,7 +1233,7 @@ luaotfload.module = { description = "OpenType layout system.", author = "Elie Roux & Hans Hagen", copyright = "Elie Roux", - license = "CC0" + license = "GPL v2.0" } local luatexbase = luatexbase @@ -1393,7 +1420,7 @@ local pop_namespaces = function (normalglobal, isolate) local _G = _G local mode = "non-destructive" if isolate then mode = "destructive" end - log("pop namespace from font loader -- "..mode) + log("pop namespace from font loader -- " .. mode) for k, v in next, _G do if not normalglobal[k] then context_environment[k] = v @@ -1580,8 +1607,8 @@ formats.ofm = "type1" % % \begin{macrocode} request_resolvers.file = function (specification) - --local found = fonts.names.crude_file_lookup(specification.name) - local found = fonts.names.crude_file_lookup_verbose(specification.name) + local found = fonts.names.crude_file_lookup(specification.name) + --local found = fonts.names.crude_file_lookup_verbose(specification.name) specification.name = found[1] --if format then specification.forced = format end end |