Skip to content

Instantly share code, notes, and snippets.

@jimparis
Forked from phi-gamma/track_missing_glyphs.lua
Last active December 19, 2015 07:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jimparis/5919479 to your computer and use it in GitHub Desktop.
Save jimparis/5919479 to your computer and use it in GitHub Desktop.
This is LuaTeX, Version beta-0.76.0-2013052013 (rev 4627) (format=lualatex 2013.6.11) 3 JUL 2013 11:37
restricted \write18 enabled.
**track_missing_glyphs.tex
(./track_missing_glyphs.tex
LaTeX2e <2011/06/27>
Babel <3.9f> and hyphenation patterns for 10 languages loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texlive/texmf-dist/tex/lualatex/luacode/luacode.sty
Package: luacode 2012/01/23 v1.2a lua-in-tex helpers (mpg)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX detected.
)
(/usr/share/texlive/texmf-dist/tex/luatex/luatexbase/luatexbase.sty
Package: luatexbase 2013/05/11 v0.6 Resource management for the LuaTeX macro pro
grammer
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/luatex.sty
Package: luatex 2010/03/09 v0.4 LuaTeX basic definition package (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
)
(/usr/share/texlive/texmf-dist/tex/latex/etex-pkg/etex.sty
Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
\et@xins=\count87
)
\LuT@AllocAttribute=\count277
\LuT@AllocCatcodeTable=\count278
\CatcodeTableStack=\count279
\CatcodeTableIniTeX=\catcodetable1
\CatcodeTableString=\catcodetable3
\CatcodeTableOther=\catcodetable5
\CatcodeTableLaTeX=\catcodetable7
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/luatex-loader.sty
Package: luatex-loader 2010/03/09 v0.4 Lua module loader (HO)
(/usr/share/texlive/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua)))
(/usr/share/texlive/texmf-dist/tex/luatex/luatexbase/luatexbase-compat.sty
Package: luatexbase-compat 2011/05/24 v0.4 Compatibility tools for LuaTeX
)
(/usr/share/texlive/texmf-dist/tex/luatex/luatexbase/luatexbase-modutils.sty
Package: luatexbase-modutils 2013/05/11 v0.6 Module utilities for LuaTeX
(/usr/share/texlive/texmf-dist/tex/luatex/luatexbase/luatexbase-loader.sty
Package: luatexbase-loader 2013/05/11 v0.6 Lua module loader for LuaTeX
(/usr/share/texlive/texmf-dist/tex/luatex/luatexbase/luatexbase.loader.lua))
(/usr/share/texlive/texmf-dist/tex/luatex/luatexbase/modutils.lua)
Lua module: luatexbase-modutils 2013/05/11 0.6 Module utilities for LuaTeX
)
(/usr/share/texlive/texmf-dist/tex/luatex/luatexbase/luatexbase-regs.sty
Package: luatexbase-regs 2011/05/24 v0.4 Registers allocation for LuaTeX
)
(/usr/share/texlive/texmf-dist/tex/luatex/luatexbase/luatexbase-attr.sty
Package: luatexbase-attr 2013/05/11 v0.6 Attributes allocation for LuaTeX
(/usr/share/texlive/texmf-dist/tex/luatex/luatexbase/attr.lua)
Lua module: luatexbase-attr 2013/05/11 0.6 Attributes allocation for LuaTeX
\lltxb@attr@unsetvalue=\count280
)
(/usr/share/texlive/texmf-dist/tex/luatex/luatexbase/luatexbase-cctb.sty
Package: luatexbase-cctb 2013/05/11 v0.6 Catcodetable allocation for LuaTeX
(/usr/share/texlive/texmf-dist/tex/luatex/luatexbase/cctb.lua)
Lua module: luatexbase-cctb 2013/05/11 0.6 Catcodetable allocation for LuaTeX
\lltxb@catcodetable@alloc=\count281
\CatcodeTableStack=\count282
\CatcodeTableIniTeX=\luatexcatcodetable1
\CatcodeTableString=\luatexcatcodetable3
\CatcodeTableOther=\luatexcatcodetable5
\CatcodeTableLaTeX=\luatexcatcodetable7
\CatcodeTableLaTeXAtLetter=\luatexcatcodetable9
\CatcodeTableExpl=\luatexcatcodetable11
)
(/usr/share/texlive/texmf-dist/tex/luatex/luatexbase/luatexbase-mcb.sty
Package: luatexbase-mcb 2013/05/11 v0.6 Callback management for LuaTeX
(/usr/share/texlive/texmf-dist/tex/luatex/luatexbase/mcb.lua)
Lua module: luatexbase-mcb 2013/05/11 0.6 register several functions in a callba
ck
))
\luacode@lines=\toks14
\luacode@table@soft=\luatexcatcodetable13
)
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty
Package: fontspec 2013/05/20 v2.3c Font selection for XeLaTeX and LuaLaTeX
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3names.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3bootstrap.sty
Package: l3bootstrap 2013/01/08 v4420 L3 Experimental bootstrap code
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in PDF mode is detected.
)
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
(/usr/share/texlive/texmf-dist/scripts/oberdiek/pdftexcmds.lua)
\pdftexcmds@toks=\toks15
))
Package: l3names 2012/12/07 v4346 L3 Namespace for primitives
)
Package: expl3 2013/03/14 v4469 L3 Experimental code bundle wrapper
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3basics.sty
Package: l3basics 2013/01/10 v4428 L3 Basic definitions
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3expan.sty
Package: l3expan 2013/02/03 v4458 L3 Argument expansion
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3tl.sty
Package: l3tl 2013/01/08 v4415 L3 Token lists
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3seq.sty
Package: l3seq 2013/01/12 v4434 L3 Sequences and stacks
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3int.sty
Package: l3int 2013/01/13 v4444 L3 Integers
\c_max_int=\count283
\l_tmpa_int=\count284
\l_tmpb_int=\count285
\g_tmpa_int=\count286
\g_tmpb_int=\count287
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3quark.sty
Package: l3quark 2012/11/04 v4268 L3 Quarks
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3prg.sty
Package: l3prg 2013/02/13 v4459 L3 Control structures
\g__prg_map_int=\count288
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3clist.sty
Package: l3clist 2013/01/08 v4414 L3 Comma separated lists
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3token.sty
Package: l3token 2013/01/10 v4428 L3 Experimental token manipulation
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3prop.sty
Package: l3prop 2013/01/09 v4423 L3 Property lists
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3msg.sty
Package: l3msg 2013/01/08 v4412 L3 Messages
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3file.sty
Package: l3file 2013/01/14 v4446 L3 File and I/O operations
\l_iow_line_count_int=\count289
\l__iow_target_count_int=\count290
\l__iow_current_line_int=\count291
\l__iow_current_word_int=\count292
\l__iow_current_indentation_int=\count293
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3skip.sty
Package: l3skip 2013/01/13 v4444 L3 Dimensions and skips
\c_zero_dim=\dimen256
\c_max_dim=\dimen257
\l_tmpa_dim=\dimen258
\l_tmpb_dim=\dimen259
\g_tmpa_dim=\dimen260
\g_tmpb_dim=\dimen261
\c_zero_skip=\skip256
\c_max_skip=\skip257
\l_tmpa_skip=\skip258
\l_tmpb_skip=\skip259
\g_tmpa_skip=\skip260
\g_tmpb_skip=\skip261
\c_zero_muskip=\muskip10
\c_max_muskip=\muskip11
\l_tmpa_muskip=\muskip12
\l_tmpb_muskip=\muskip13
\g_tmpa_muskip=\muskip14
\g_tmpb_muskip=\muskip15
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3keys.sty
Package: l3keys 2013/02/24 v4461 L3 Experimental key-value interfaces
\g__keyval_level_int=\count294
\l_keys_choice_int=\count295
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3fp.sty
Package: l3fp 2013/01/19 v4449 L3 Floating points
\c__fp_leading_shift_int=\count296
\c__fp_middle_shift_int=\count297
\c__fp_trailing_shift_int=\count298
\c__fp_big_leading_shift_int=\count299
\c__fp_big_middle_shift_int=\count300
\c__fp_big_trailing_shift_int=\count301
\c__fp_Bigg_leading_shift_int=\count302
\c__fp_Bigg_middle_shift_int=\count303
\c__fp_Bigg_trailing_shift_int=\count304
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3box.sty
Package: l3box 2013/01/08 v4411 L3 Experimental boxes
\c_empty_box=\box256
\l_tmpa_box=\box257
\l_tmpb_box=\box258
\g_tmpa_box=\box259
\g_tmpb_box=\box260
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3coffins.sty
Package: l3coffins 2012/09/09 v4212 L3 Coffin code layer
\l__coffin_internal_box=\box261
\l__coffin_internal_dim=\dimen262
\l__coffin_offset_x_dim=\dimen263
\l__coffin_offset_y_dim=\dimen264
\l__coffin_x_dim=\dimen265
\l__coffin_y_dim=\dimen266
\l__coffin_x_prime_dim=\dimen267
\l__coffin_y_prime_dim=\dimen268
\c_empty_coffin=\box262
\l__coffin_aligned_coffin=\box263
\l__coffin_aligned_internal_coffin=\box264
\l_tmpa_coffin=\box265
\l_tmpb_coffin=\box266
\l__coffin_display_coffin=\box267
\l__coffin_display_coord_coffin=\box268
\l__coffin_display_pole_coffin=\box269
\l__coffin_display_offset_dim=\dimen269
\l__coffin_display_x_dim=\dimen270
\l__coffin_display_y_dim=\dimen271
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3color.sty
Package: l3color 2012/08/29 v4156 L3 Experimental color support
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3luatex.sty
Package: l3luatex 2012/08/03 v4049 L3 Experimental LuaTeX-specific functions
\g__cctab_allocate_int=\count305
\g__cctab_stack_int=\count306
\c_code_cctab=\catcodetable9
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3candidates.sty
Package: l3candidates 2013/03/14 v4468 L3 Experimental additions to l3kernel
\l__box_top_dim=\dimen272
\l__box_bottom_dim=\dimen273
\l__box_left_dim=\dimen274
\l__box_right_dim=\dimen275
\l__box_top_new_dim=\dimen276
\l__box_bottom_new_dim=\dimen277
\l__box_left_new_dim=\dimen278
\l__box_right_new_dim=\dimen279
\l__box_internal_box=\box270
\l__coffin_bounding_shift_dim=\dimen280
\l__coffin_left_corner_dim=\dimen281
\l__coffin_right_corner_dim=\dimen282
\l__coffin_bottom_corner_dim=\dimen283
\l__coffin_top_corner_dim=\dimen284
\l__coffin_scaled_total_height_dim=\dimen285
\l__coffin_scaled_width_dim=\dimen286
))
(/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
Package: xparse 2013/03/12 v4467 L3 Experimental document command parser
\l__xparse_current_arg_int=\count307
\l__xparse_m_args_int=\count308
\l__xparse_mandatory_args_int=\count309
\l__xparse_processor_int=\count310
\l__xparse_v_nesting_int=\count311
)
(/usr/share/texlive/texmf-dist/tex/luatex/luaotfload/luaotfload.sty
Package: luaotfload 2013/05/23 v2.2d OpenType layout system
(/usr/share/texlive/texmf-dist/tex/luatex/luaotfload/luaotfload.lua)
Lua module: luaotfload 2013/05/23 2.2 OpenType layout system.
luaotfload: push namespace for font loader
(/usr/share/texlive/texmf-dist/tex/luatex/luaotfload/luaotfload-merged.lua)(usin
g write cache: /home/jim/.texmf-var/luatex-cache/generic)(using read cache: /var
/lib/texmf/luatex-cache/generic /home/jim/.texmf-var/luatex-cache/generic)
luatexbase-attr: luatexbase.attributes["luaotfload@kernpair"] = 1
luatexbase-attr: luatexbase.attributes["luaotfload@ligacomp"] = 2
luatexbase-attr: luatexbase.attributes["luaotfload@markbase"] = 3
luatexbase-attr: luatexbase.attributes["luaotfload@markmark"] = 4
luatexbase-attr: luatexbase.attributes["luaotfload@markdone"] = 5
luatexbase-attr: luatexbase.attributes["luaotfload@cursbase"] = 6
luatexbase-attr: luatexbase.attributes["luaotfload@curscurs"] = 7
luatexbase-attr: luatexbase.attributes["luaotfload@cursdone"] = 8
luatexbase-attr: luatexbase.attributes["luaotfload@state"] = 9
luaotfload: “I am using the merged version of 'luaotfload.lua' here. If
luaotfload: you run into problems or experience unexpected behaviour,
luaotfload: and if you have ConTeXt installed you can try to delete the
luaotfload: file 'luaotfload-font-merged.lua' as I might then use the
luaotfload: possibly updated libraries. The merged version is not
luaotfload: supported as it is a frozen instance. Problems can be
luaotfload: reported to the ConTeXt mailing list.”
luaotfload: pop namespace from font loader -- non-destructive
luaotfload: fontloader loaded in 0.044 seconds
luatexbase-mcb: inserting 'luaotfload.node_processor'
at position 1 in 'pre_linebreak_filter'
luatexbase-mcb: inserting 'luaotfload.node_processor'
at position 1 in 'hpack_filter'
luatexbase-mcb: inserting 'luaotfload.find_vf_file'
at position 1 in 'find_vf_file'
(/usr/share/texlive/texmf-dist/tex/luatex/luaotfload/luaotfload-lib-dir.lua)
(/usr/share/texlive/texmf-dist/tex/luatex/luaotfload/luaotfload-override.lua)
(/usr/share/texlive/texmf-dist/tex/luatex/luaotfload/luaotfload-loaders.lua)
(/usr/share/texlive/texmf-dist/tex/luatex/luaotfload/luaotfload-database.lua)
(/usr/share/texlive/texmf-dist/tex/luatex/luaotfload/luaotfload-colors.lua)
luatexbase-mcb: creating 'luaotfload.patch_font' type 4
luatexbase-mcb: resetting callback 'define_font'
luatexbase-mcb: inserting 'luaotfload.define_font'
at position 1 in 'define_font'
(/usr/share/texlive/texmf-dist/tex/luatex/luaotfload/luaotfload-features.lua)
(/usr/share/texlive/texmf-dist/tex/luatex/luaotfload/luaotfload-extralibs.lua)
(/usr/share/texlive/texmf-dist/tex/luatex/luaotfload/luaotfload-typo-krn.lua)
luatexbase-attr: luatexbase.attributes["luaotfload@kern"] = 12
luatexbase-attr: luatexbase.attributes["luaotfload@fontkern"] = 13
(/usr/share/texlive/texmf-dist/tex/luatex/luaotfload/luaotfload-letterspace.lua)
(/usr/share/texlive/texmf-dist/tex/luatex/luaotfload/luaotfload-auxiliary.lua)
luatexbase-mcb: inserting 'luaotfload.fontdata_fallbacks'
at position 1 in 'luaotfload.patch_font'
luatexbase-mcb: inserting 'luaotfload.aux.set_sscale_dimens'
at position 2 in 'luaotfload.patch_font'
luatexbase-mcb: inserting 'luaotfload.aux.patch_cambria_domh'
at position 3 in 'luaotfload.patch_font'
luatexbase-mcb: inserting 'luaotfload.aux.set_capheight'
at position 4 in 'luaotfload.patch_font')
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.lua)
Lua module: fontspec 2013/05/20 2.3c Advanced font selection for LuaLaTeX.
\l_fontspec_script_int=\count312
\l_fontspec_language_int=\count313
\l_fontspec_strnum_int=\count314
\l_fontspec_tmpa_dim=\dimen287
\l_fontspec_tmpb_dim=\dimen288
\l_fontspec_tmpc_dim=\dimen289
Variant \tl_gset:cV already defined; not changing it on line 69
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-patches.sty
Package: fontspec-patches 2013/05/20 v2.3c Font selection for XeLaTeX and LuaLaT
eX
(/usr/share/texlive/texmf-dist/tex/latex/base/fixltx2e.sty
Package: fixltx2e 2006/09/13 v1.1m fixes to LaTeX
LaTeX Info: Redefining \em on input line 420.
)
LaTeX Info: Redefining \em on input line 22.
LaTeX Info: Redefining \emph on input line 30.
LaTeX Info: Redefining \- on input line 33.
*************************************************
* LaTeX warning: "xparse/redefine-command"
*
* Redefining document command \oldstylenums with arg. spec. 'm' on line 128.
*************************************************
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \liningnums with arg. spec. 'm' on line 132.
.................................................
) (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
Package: fontspec-luatex 2013/05/20 v2.3c Font selection for XeLaTeX and LuaLaTe
X
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(/usr/share/texlive/texmf-dist/tex/latex/euenc/eu2enc.def
File: eu2enc.def 2010/05/27 v0.1h Experimental Unicode font encodings
)
LaTeX Font Info: Try loading font information for EU2+lmr on input line 100.
(/usr/share/texlive/texmf-dist/tex/latex/euenc/eu2lmr.fd
File: eu2lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
luaotfload | load: auto-selecting default features for script: latn
luaotfload | load: no defaults for script “latn”, falling back to “dflt
”(load luc: /home/jim/.texmf-var/luatex-cache/generic/fonts/otf/lmroman10-regu
lar.luc))
(/usr/share/texlive/texmf-dist/tex/xelatex/xunicode/xunicode.sty
File: xunicode.sty 2011/09/09 v0.981 provides access to latin accents and many o
ther characters in Unicode lower plane
(/usr/share/texmf/tex/latex/tipa/t3enc.def
File: t3enc.def 2001/12/31 T3 encoding
luaotfload | load: auto-selecting default features for script: latn
luaotfload | load: no defaults for script “latn”, falling back to “dflt
”(load luc: /home/jim/.texmf-var/luatex-cache/generic/fonts/otf/lmromanslant10
-regular.luc)
luaotfload | load: auto-selecting default features for script: latn
luaotfload | load: no defaults for script “latn”, falling back to “dflt
”(load luc: /home/jim/.texmf-var/luatex-cache/generic/fonts/otf/lmroman10-ital
ic.luc)
luaotfload | load: auto-selecting default features for script: latn
luaotfload | load: no defaults for script “latn”, falling back to “dflt
”(load luc: /home/jim/.texmf-var/luatex-cache/generic/fonts/otf/lmroman10-bold
.luc)
LaTeX Font Info: Try loading font information for EU2+lmss on input line 357.
(/usr/share/texlive/texmf-dist/tex/latex/euenc/eu2lmss.fd
File: eu2lmss.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
luaotfload | load: auto-selecting default features for script: latn
luaotfload | load: no defaults for script “latn”, falling back to “dflt
”(load luc: /home/jim/.texmf-var/luatex-cache/generic/fonts/otf/lmsans10-regul
ar.luc))
\tipaTiiicode=\count315
\tipasavetokens=\toks16
\tipachecktokens=\toks17
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks18
)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg
File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
)
Package graphics Info: Driver file: pdftex.def on input line 91.
(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
\Gread@gobject=\count316
))
\Gin@req@height=\dimen290
\Gin@req@width=\dimen291
))
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \fontspec with arg. spec. 'O{}m' on line 44.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setmainfont with arg. spec. 'O{}m' on line 49.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setsansfont with arg. spec. 'O{}m' on line 54.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setmonofont with arg. spec. 'O{}m' on line 59.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setmathrm with arg. spec. 'O{}m' on line 68.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setboldmathrm with arg. spec. 'O{}m' on line 72.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setmathsf with arg. spec. 'O{}m' on line 76.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setmathtt with arg. spec. 'O{}m' on line 80.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newfontfamily with arg. spec. 'mO{}m' on line 99.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newfontface with arg. spec. 'mO{}m' on line 103.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \defaultfontfeatures with arg. spec. 'om' on line
. 111.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \addfontfeatures with arg. spec. 'm' on line 147.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newfontfeature with arg. spec. 'mm' on line 159.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newAATfeature with arg. spec. 'mmmm' on line 167.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newICUfeature with arg. spec. 'mmm' on line 175.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \aliasfontfeature with arg. spec. 'mm' on line
. 204.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \aliasfontfeatureoption with arg. spec. 'mmm' on
. line 206.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newfontscript with arg. spec. 'mm' on line 211.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newfontlanguage with arg. spec. 'mm' on line 238.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \DeclareFontsExtensions with arg. spec. 'm' on
. line 259.
.................................................
Variant \prop_gput:cnV already defined; not changing it on line 586
Variant \prop_gput:cnx already defined; not changing it on line 587
\l_fontspec_tmp_int=\count317
LaTeX Info: Redefining \itshape on input line 2008.
LaTeX Info: Redefining \slshape on input line 2013.
LaTeX Info: Redefining \scshape on input line 2018.
LaTeX Info: Redefining \upshape on input line 2023.
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(./track_missing_glyphs.aux)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 25.
LaTeX Font Info: ... okay on input line 25.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 25.
LaTeX Font Info: ... okay on input line 25.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 25.
LaTeX Font Info: ... okay on input line 25.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 25.
LaTeX Font Info: ... okay on input line 25.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 25.
LaTeX Font Info: ... okay on input line 25.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 25.
LaTeX Font Info: ... okay on input line 25.
LaTeX Font Info: Checking defaults for EU2/lmr/m/n on input line 25.
LaTeX Font Info: ... okay on input line 25.
LaTeX Font Info: Checking defaults for T3/cmr/m/n on input line 25.
LaTeX Font Info: Try loading font information for T3+cmr on input line 25.
(/usr/share/texmf/tex/latex/tipa/t3cmr.fd
File: t3cmr.fd 2001/12/31 TIPA font definitions
)
LaTeX Font Info: ... okay on input line 25.
(/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count318
\scratchdimen=\dimen292
\scratchbox=\box271
\nofMPsegments=\count319
\nofMParguments=\count320
\everyMPshowfont=\toks19
\MPscratchCnt=\count321
\MPscratchDim=\dimen293
\MPnumerator=\count322
\makeMPintoPDFobject=\count323
\everyMPtoPDFconversion=\toks20
) (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty
Package: grfext 2010/08/19 v1.1 Manage graphics extensions (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO)
))
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty
Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
)))
Package grfext Info: Graphics extension search list:
(grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPEG
,.JBIG2,.JB2,.eps]
(grfext) \AppendGraphicsExtensions on input line 452.
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
))
.................................................
. fontspec info: "setup-math"
.
. Adjusting the maths setup (use [no-math] to avoid this).
.................................................
\symlegacymaths=\mathgroup4
LaTeX Font Info: Overwriting symbol font `legacymaths' in version `bold'
(Font) OT1/cmr/m/n --> OT1/cmr/bx/n on input line 25.
LaTeX Font Info: Redeclaring math accent \acute on input line 25.
LaTeX Font Info: Redeclaring math accent \grave on input line 25.
LaTeX Font Info: Redeclaring math accent \ddot on input line 25.
LaTeX Font Info: Redeclaring math accent \tilde on input line 25.
LaTeX Font Info: Redeclaring math accent \bar on input line 25.
LaTeX Font Info: Redeclaring math accent \breve on input line 25.
LaTeX Font Info: Redeclaring math accent \check on input line 25.
LaTeX Font Info: Redeclaring math accent \hat on input line 25.
LaTeX Font Info: Redeclaring math accent \dot on input line 25.
LaTeX Font Info: Redeclaring math accent \mathring on input line 25.
LaTeX Font Info: Redeclaring math symbol \colon on input line 25.
LaTeX Font Info: Redeclaring math symbol \Gamma on input line 25.
LaTeX Font Info: Redeclaring math symbol \Delta on input line 25.
LaTeX Font Info: Redeclaring math symbol \Theta on input line 25.
LaTeX Font Info: Redeclaring math symbol \Lambda on input line 25.
LaTeX Font Info: Redeclaring math symbol \Xi on input line 25.
LaTeX Font Info: Redeclaring math symbol \Pi on input line 25.
LaTeX Font Info: Redeclaring math symbol \Sigma on input line 25.
LaTeX Font Info: Redeclaring math symbol \Upsilon on input line 25.
LaTeX Font Info: Redeclaring math symbol \Phi on input line 25.
LaTeX Font Info: Redeclaring math symbol \Psi on input line 25.
LaTeX Font Info: Redeclaring math symbol \Omega on input line 25.
LaTeX Font Info: Redeclaring math symbol \mathdollar on input line 25.
LaTeX Font Info: Redeclaring symbol font `operators' on input line 25.
LaTeX Font Info: Encoding `OT1' has changed to `EU2' for symbol font
(Font) `operators' in the math version `normal' on input line 25.
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) OT1/cmr/m/n --> EU2/lmr/m/n on input line 25.
LaTeX Font Info: Encoding `OT1' has changed to `EU2' for symbol font
(Font) `operators' in the math version `bold' on input line 25.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) OT1/cmr/bx/n --> EU2/lmr/m/n on input line 25.
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) EU2/lmr/m/n --> EU2/lmr/m/n on input line 25.
LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `normal'
(Font) EU2/lmr/m/n --> EU2/lmr/m/n on input line 25.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
(Font) OT1/cmr/m/it --> EU2/lmr/m/it on input line 25.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
(Font) OT1/cmr/bx/n --> EU2/lmr/bx/n on input line 25.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
(Font) OT1/cmss/m/n --> EU2/lmss/m/n on input line 25.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
(Font) OT1/cmtt/m/n --> EU2/lmtt/m/n on input line 25.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) EU2/lmr/m/n --> EU2/lmr/bx/n on input line 25.
LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `bold'
(Font) EU2/lmr/m/n --> EU2/lmr/bx/n on input line 25.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
(Font) OT1/cmr/bx/it --> EU2/lmr/bx/it on input line 25.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
(Font) OT1/cmss/bx/n --> EU2/lmss/bx/n on input line 25.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
(Font) OT1/cmtt/m/n --> EU2/lmtt/bx/n on input line 25.
luatexbase-mcb: inserting 'user.missing_glyphs'
at position 2 in 'pre_linebreak_filter'
luatexbase-mcb: inserting 'user.missing_glyphs'
at position 2 in 'hpack_filter'
luaotfload | load: auto-selecting default features for script: latn
luaotfload | load: no defaults for script “latn”, falling back to “dflt
”(load luc: /home/jim/.texmf-var/luatex-cache/generic/fonts/otf/lmroman7-regul
ar.luc)
luaotfload | load: auto-selecting default features for script: latn
luaotfload | load: no defaults for script “latn”, falling back to “dflt
”(load luc: /home/jim/.texmf-var/luatex-cache/generic/fonts/otf/lmroman5-regul
ar.luc)
luaotfload | load: auto-selecting default features for script: dflt
luaotfload | load: auto-selecting default features for script: dflt
luaotfload | load: auto-selecting default features for script: dflt
luaotfload | load: auto-selecting default features for script: dflt
luaotfload | load: auto-selecting default features for script: dflt
luaotfload | load: auto-selecting default features for script: dflt
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <7> on input line 31.
luaotfload | load: auto-selecting default features for script: dflt
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <5> on input line 31.
luaotfload | load: auto-selecting default features for script: dflt
luaotfload | load: auto-selecting default features for script: dflt
luaotfload | load: auto-selecting default features for script: dflt
luaotfload: Loading character metadata from luaotfload-characters.
luaotfload | missing glyph: 956 [μ] of LMRoman10-Regular
luaotfload | missing glyph: 956 [μ] of LMRoman10-Regular.
\stopreportmissingglyphs -\endgraf
\directlua {documentdata.missing_glyphs....
l.32 \stopreportmissingglyphs
?
! Emergency stop.
\stopreportmissingglyphs -\endgraf
\directlua {documentdata.missing_glyphs....
l.32 \stopreportmissingglyphs
End of file on the terminal!
Here is how much of LuaTeX's memory you used:
15127 strings out of 494723
100000,383344 words of node,token memory allocated 853 words of node memory still in use:
3 hlist, 1 rule, 2 disc, 2 math, 11 glue, 3 kern, 2 penalty, 41 glyph, 72 att
ribute, 46 glue_spec, 38 attribute_list, 1 temp, 1 write, 1 local_par, 1 dir nod
es
avail lists: 2:1,3:3,7:1,9:1
18329 multiletter control sequences out of 65536+600000
31 fonts using 2010103 bytes
48i,1n,30p,361b,85s stack positions out of 5000i,500n,10000p,200000b,100000s
! ==> Fatal error occurred, no output PDF file produced!
-----------------------------------------------------------------------
-- 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), <phg42.2a@gmail.com>
-- MODIFIED: 2013-06-22 12:39:26+0200
-----------------------------------------------------------------------
--
local stringformat = string.format
local traverse_id = node.traverse_id
local utf8char = unicode.utf8.char
local fonthashes = fonts.hashes
local fontdata = fonthashes.identifiers
local chardata = characters.data
local names_report = logs.names_report
local glyph_t = nodes.nodecodes.glyph
--- namespace
documentdata = documentdata or { }
documentdata.missing_glyphs = documentdata.missing_glyphs or { }
local missing_glyphs = documentdata.missing_glyphs
local complain = function (font_id, char)
local tfmdata = fontdata[font_id]
if tfmdata then
local fontname = tfmdata.fontname or ""
names_report("both", 0, "missing glyph",
"%d [%s] of %s", char, utf8char(char), fontname)
else
names_report("both", 0, "missing glyph",
"%d [%s] of %d", char, utf8char(char), font_id)
end
end
local fontcharacters = { }
table.setmetatableindex(fontcharacters, function (t, k)
if k == true then
return fontcharacters[currentfont()]
else
local tfmdata = fontdata[k]
if not tfmdata then --- unsafe
tfmdata = font.fonts[k]
if not tfmdata and type (tfmdata) == "table" then
return false
end
end
local characters = tfmdata.characters
t[k] = characters
return characters
end
end)
local initialize = function ( )
local chardef = assert(kpse.find_file ("char-def.lua", "lua"),
"\nError: cannot find char-def.lua; \z
please install Context.")
dofile(chardef) --- will overwrite the partial character table
chardata = characters.data
return chardata
end
local is_character = table.tohash({ --- from char-ini.lua
"lu", "ll", "lt", "lm", "lo",
"nd", "nl", "no",
"mn",
"nl", "no",
"pc", "pd", "ps", "pe", "pi", "pf", "po",
"sm", "sc", "sk", "so"
})
local once = false --- complain only once per glyph
local missing = { } --- (font_id, glyph_id set) hash_t
local initialized = false --- track loading of char-def for older versions
local nodeprocessor = function (head)
local lastfont, characters = nil, nil
local missing = missing
for n in traverse_id(glyph_t, head) do
local font = n.font
local char = n.char
if missing[font] and missing[font][char] == true then
--- already registered
if once == false then
complain(font, char)
end
else
if font ~= lastfont then
characters = fontcharacters[font]
end
if characters ~= false then
lastfont = font
if not characters[char] then
local category = chardata[char].category
if not category then --- old luaotfload
initialize()
category = chardata[char].category
end
if category and is_character[category] then
missing[font] = missing[font] or { }
--- could have a counter and do some stats here
missing[font][char] = true
complain(font, char)
end
end
end
end
end
return head, false
end
local active = false
local enable = function (parm)
if active == false then
if parm == "once" then
once = true
end
luatexbase.add_to_callback(
"pre_linebreak_filter", nodeprocessor, "user.missing_glyphs")
luatexbase.add_to_callback(
"hpack_filter", nodeprocessor, "user.missing_glyphs")
active = true
end
end
local disable = function ( )
if active == true then
luatexbase.remove_from_callback(
"pre_linebreak_filter", "user.missing_glyphs")
luatexbase.remove_from_callback(
"hpack_filter", "user.missing_glyphs")
once = false
active = false
end
end
documentdata.missing_glyphs.enable = enable
documentdata.missing_glyphs.disable = disable
\documentclass{article}
\usepackage{luacode,fontspec}
%% 1) initialize the tracker code (could go to separate file)
\makeatletter
\directlua{dofile "track_missing_glyphs.lua"}
%% 2) Environment start: the optional argument “once”, in square
%% brackets, requests that the missing glyph message be printed
%% only once per character and font.
\def\startreportmissingglyphs{%
\@ifnextchar[\missingglyphs@start@indeed%
{\missingglyphs@start@indeed[]}%
}
\def\missingglyphs@start@indeed[#1]{%
\directlua{documentdata.missing_glyphs.enable"\luaescapestring{#1}"}%
}
%% 3) Environment stop: we need to force a \par here to
%% have the callback apply to the current paragraph.
\def\stopreportmissingglyphs{%
\endgraf %% paragraph-based callback!
\directlua{documentdata.missing_glyphs.disable()}%
}
\makeatother
%% Usage examples.
\begin{document}
%% Latin modern lacks glyphs for the Greek script so we use that for
%% testing.
\startreportmissingglyphs
Program the μC, please. That letter was \mu.
%% Works in math mode (different font model) as well.
$f = ma$
\stopreportmissingglyphs
lorem schmipsum
\startreportmissingglyphs[once]
%% With the “once” flag, no message is emitted for repetitions of
%% missing chars.
Θάλαττα, θάλαττα.
\stopreportmissingglyphs
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment