This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /tmp/luatex-basics-nod.lua 2013-04-16 13:56:51.387870041 +0200 | |
+++ luatex-basics-nod.lua 2013-04-16 13:57:39.235889616 +0200 | |
@@ -28,21 +28,23 @@ | |
end | |
-attributes = { } | |
+attributes = attributes or { } | |
attributes.unsetvalue = -0x7FFFFFFF | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /tmp/otfl-font-nms.lua 2013-04-25 04:20:05.710574106 +0200 | |
+++ otfl-font-nms.lua 2013-04-25 10:38:06.235616183 +0200 | |
@@ -151,6 +151,11 @@ | |
elseif subfamily == "regular" or | |
table.contains(synonyms.regular, subfamily) then | |
found.fallback = face | |
+ elseif name == fullname then | |
+ --- guard for Libertine Mono which has | |
+ --- subtype == “mono” | |
+ found[1] = face |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
-- This is file `luamplib.lua', | |
-- generated with the docstrip utility. | |
-- | |
-- The original source files were: | |
-- | |
-- luamplib.dtx (with options: `lua') | |
-- | |
-- See source file 'luamplib.dtx' for licencing and contact information. | |
-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----------------------------------------------------------------------- | |
-- FILE: track-missing-glyphs.lua | |
-- USAGE: dofile "track-missing-glyphs.lua" | |
-- DESCRIPTION: output a message if a font lacks a glyph for a | |
-- codepoint | |
-- REQUIREMENTS: luatex, luaotfload | |
-- COPYRIGHT: Hans Hagen, Pragma ADE, Hasselt NL | |
-- AUTHOR: Philipp Gesang (Phg), <[email protected]> | |
-- MODIFIED: 2013-06-22 12:39:26+0200 | |
----------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
documentdata = documentdata or { } | |
documentdata.color_ligatures = { } | |
local color_ligatures = documentdata.color_ligatures | |
color_ligatures.color = { r = 0xee/255, | |
g = 0x31/255, | |
b = 0x09/255, } | |
local stringformat = string.format |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if not modules then modules = { } end modules ['luaotfload-database'] = { | |
version = 2.2, | |
comment = "companion to luaotfload.lua", | |
author = "Khaled Hosny, Elie Roux, Philipp Gesang", | |
copyright = "Luaotfload Development Team", | |
license = "GNU GPL v2" | |
} | |
--- TODO: if the specification is an absolute filename with a font not in the | |
--- database, add the font to the database and load it. There is a small |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----------------------------------------------------------------------- | |
-- FILE: tex-sx-pinyin-tonemarks.lua | |
-- USAGE: ./tex-sx-pinyin-tonemarks.lua | |
-- DESCRIPTION: http://tex.stackexchange.com/q/125030 | |
-- REQUIREMENTS: luatex | |
-- AUTHOR: Philipp Gesang (Phg), <[email protected]> | |
-- VERSION: 1.0 | |
-- CREATED: 2013-07-23 09:39:04+0200 | |
----------------------------------------------------------------------- | |
-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----------------------------------------------------------------------- | |
-- FILE: charsperline.lua | |
-- USAGE: called from t-charsperline.mkvi | |
-- DESCRIPTION: extract line contents and lengths | |
-- REQUIREMENTS: ConTeXt MkIV | |
-- AUTHOR: Philipp Gesang (Phg), <[email protected]> | |
-- VERSION: 1.0 | |
-- CREATED: 2013-08-04 20:01:04+0200 | |
----------------------------------------------------------------------- | |
-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% first a couple global settings | |
\setuppapersize [A7] | |
\enableregime [utf] | |
\setuptolerance [verytolerant,stretch] %% small page sizes ... | |
\setupbodyfont [10pt] | |
\usemodule [ancientgreek] | |
\setupheader [style=\tfx] | |
\setuppagenumbering [location=,state=start,alternative=doublesided] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if not modules then modules = { } end modules ['luaotfload-database'] = { | |
version = "2.3b", | |
comment = "companion to luaotfload.lua", | |
author = "Khaled Hosny, Elie Roux, Philipp Gesang", | |
copyright = "Luaotfload Development Team", | |
license = "GNU GPL v2" | |
} | |
--- TODO: if the specification is an absolute filename with a font not in the | |
--- database, add the font to the database and load it. There is a small |