dsuess / mptikz

LuaTeX extension for graphical tensor notation
GNU General Public License v3.0
34 stars 6 forks source link

Doesn't compile properly when putting example 14 inside an article #2

Closed isolatedinformation closed 2 years ago

isolatedinformation commented 2 years ago

I modified example 14 so that I can embed the image inside an article documentclass instead of standalone as in the example. However that makes \maketitle not function properly. The behavior is shown in the image below and the corresponding code. The abstract, toc also don't render properly. But all of those had a similar issue: *Font metric data not loadable. I have since reinstalled everything from scratch and updatedluaotfload`.

image
\RequirePackage{luatex85}
\documentclass[a4paper,12pt]{article}%           autres choix : report, book
\usepackage[english]{babel}

\usepackage{fontspec}
\usepackage{epstopdf}

% \setmainfont[Ligatures=TeX]{Source Sans Pro}
% \setsansfont[Ligatures=TeX]{Source Sans Pro}
% \setmonofont[Ligatures=TeX]{DejaVu Sans Mono}
\usepackage{tikz}
\usepackage{textcomp}%             caractères additionnels
\usepackage{amsmath,amssymb}%      pour les maths
\usepackage{mathtools}%            Amélioration de amsmath
\usepackage{lmodern}%              remplacer éventuellement par txfonts, fourier, etc.
\usepackage{graphicx}%             pour inclure des images
\usepackage{xcolor}%               pour gérer les couleurs
% \usepackage{microtype}%            améliorations typographiqueslua
\usepackage{mathrsfs}%             \mathscr

\usepackage[utf8]{inputenc} 
\usepackage{fontenc}
\usepackage{csquotes}

\usepackage{caption}%    Personnalisation des légendes des flottants
\usepackage{subcaption}% Sous figures / sous tableaux

\usepackage{listings}%   listings informatique

\usepackage{luacode}
% \usepackage{lua-visual-debug}
\usepackage{mptikz}

\begin{document}

\title{Lua Code for image generation}
\author{Varun Seshadri}
\date{\today}

\maketitle

% \begin{abstract}
%     This a test abstract
% \end{abstract}
% \tableofcontents

\section{Building a tensor network using Lua Code}

This a test text.
\begin{figure}[!ht]
    \begin{center}

        \begin{tikzpicture}
            \LuaCodeDebugOn
            \begin{luacode*}
                local nr_rows = 6
                local nr_cols = 8
                mptikz.set_style({N=1,E=1,W=1,S=1, len_vertical_legs=0.25, len_horizontal_legs=0.25, tensor_style='draw, fill=orange, rounded corners=0.1cm', leg_style='line width=.4mm', leg_color_NS='black', leg_color_EW='black'})

                for i = 1, nr_rows do
                local name = string.format('T%i', i)
                mptikz.draw_mpa(nr_cols, {y=-(i - 1) * 1.2, tensor_name=name},-1)

                for j = 1, nr_cols do
                local node_name = string.format('T%i_1_%i', i, j)
                local node_label = string.format('$T_{%i,%i}$', i, j)
                local tex_cmd = string.format('\\node at (%s) {%s};', node_name, node_label)
                tex.print(tex_cmd)
                end
                end
            \end{luacode*}
            \LuaCodeDebugOff
        \end{tikzpicture}
    \end{center}
\end{figure}

\end{document}

Without including the \luacode* environment it works fine and the title displays correctly. Here is the log file for your reference

This is LuaHBTeX, Version 1.15.0 (TeX Live 2022/Homebrew)  (format=lualatex 2022.3.21)  3 SEP 2022 13:24
 restricted system commands enabled.
 file:line:error style messages enabled.
**/home/varunseshadri/latex/draw_tensors/draw_tensors.tex
(/home/varunseshadri/latex/draw_tensors/draw_tensors.tex
LaTeX2e <2021-11-15> patch level 1
Lua module: luaotfload 2022-03-18 3.21 Lua based OpenType font support
Lua module: lualibs 2021-05-20 2.74 ConTeXt Lua standard libraries.
Lua module: lualibs-extended 2021-05-20 2.74 ConTeXt Lua libraries -- extended collection.
luaotfload | conf : Root cache directory is "/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-var/luatex-cache/generic/names".
luaotfload | init : Loading fontloader "fontloader-2022-02-24.lua" from kpse-resolved path "/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/luatex/luaotfload/fontloader-2022-02-24.lua".
Lua-only attribute luaotfload@noligature = 1
luaotfload | init : Context OpenType loader version 3.119
Inserting `luaotfload.node_processor' at position 1 in `pre_linebreak_filter'.
Inserting `luaotfload.node_processor' at position 1 in `hpack_filter'.
Inserting `luaotfload.glyph_stream' at position 1 in `glyph_stream_provider'.
Inserting `luaotfload.define_font' at position 1 in `define_font'.
Lua-only attribute luaotfload_color_attribute = 2
luaotfload | conf : Root cache directory is "/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-var/luatex-cache/generic/names".
Inserting `luaotfload.harf.strip_prefix' at position 1 in `find_opentype_file'.
Inserting `luaotfload.harf.strip_prefix' at position 1 in `find_truetype_file'.
Removing  `luaotfload.glyph_stream' from `glyph_stream_provider'.
Inserting `luaotfload.harf.glyphstream' at position 1 in `glyph_stream_provider'.
Inserting `luaotfload.harf.finalize_vlist' at position 1 in `post_linebreak_filter'.
Inserting `luaotfload.harf.finalize_hlist' at position 2 in `hpack_filter'.
Inserting `luaotfload.cleanup_files' at position 1 in `wrapup_run'.
Inserting `luaotfload.harf.finalize_unicode' at position 1 in `finish_pdffile'.
Inserting `luaotfload.glyphinfo' at position 1 in `glyph_info'.
Lua-only attribute luaotfload.letterspace_done = 3
Inserting `luaotfload.aux.set_sscale_dimens' at position 1 in `luaotfload.patch_font'.
Inserting `luaotfload.aux.set_font_index' at position 2 in `luaotfload.patch_font'.
Inserting `luaotfload.aux.patch_cambria_domh' at position 3 in `luaotfload.patch_font'.
Inserting `luaotfload.aux.fixup_fontdata' at position 1 in `luaotfload.patch_font_unsafe'.
Inserting `luaotfload.aux.set_capheight' at position 4 in `luaotfload.patch_font'.
Inserting `luaotfload.aux.set_xheight' at position 5 in `luaotfload.patch_font'.
Inserting `luaotfload.rewrite_fontname' at position 6 in `luaotfload.patch_font'. L3 programming layer <2022-02-24>
Inserting `tracingstacklevels' at position 1 in `input_level_string'. (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/luatex85/luatex85.sty
Package: luatex85 2016/06/15 v1.4 pdftex aliases for luatex
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/base/size12.clo
File: size12.clo 2021/10/04 v1.4n Standard LaTeX file (size option)
luaotfload | db : Font names database loaded from /home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-var/luatex-cache/generic/names/luaotfload-names.luc.gz)
\c@part=\count183
\c@section=\count184
\c@subsection=\count185
\c@subsubsection=\count186
\c@paragraph=\count187
\c@subparagraph=\count188
\c@figure=\count189
\c@table=\count190
\abovecaptionskip=\skip47
\belowcaptionskip=\skip48
\bibindent=\dimen137
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/babel/babel.sty
Package: babel 2022/02/26 3.73 The Babel package
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/babel/luababel.def
\bbl@readstream=\read2
\l@dumylang=\language2
Package babel Info: Non-standard hyphenation setup on input line 118.
\l@nohyphenation=\language3
\l@german-x-2022-03-16=\language4
\l@ngerman-x-2022-03-16=\language5
\l@afrikaans=\language6
\l@ancientgreek=\language7
\l@ibycus=\language8
\l@arabic=\language9
\l@armenian=\language10
\l@basque=\language11
\l@belarusian=\language12
\l@bulgarian=\language13
\l@catalan=\language14
\l@pinyin=\language15
\l@churchslavonic=\language16
\l@coptic=\language17
\l@croatian=\language18
\l@czech=\language19
\l@danish=\language20
\l@dutch=\language21
\l@ukenglish=\language22
\l@usenglishmax=\language23
\l@esperanto=\language24
\l@estonian=\language25
\l@ethiopic=\language26
\l@farsi=\language27
\l@finnish=\language28
\l@schoolfinnish=\language29
\l@french=\language30
\l@friulan=\language31
\l@galician=\language32
\l@georgian=\language33
\l@german=\language34
\l@ngerman=\language35
\l@swissgerman=\language36
\l@greek=\language37
\l@monogreek=\language38
\l@hungarian=\language39
\l@icelandic=\language40
\l@assamese=\language41
\l@bengali=\language42
\l@gujarati=\language43
\l@hindi=\language44
\l@kannada=\language45
\l@malayalam=\language46
\l@marathi=\language47
\l@oriya=\language48
\l@pali=\language49
\l@panjabi=\language50
\l@tamil=\language51
\l@telugu=\language52
\l@indonesian=\language53
\l@interlingua=\language54
\l@irish=\language55
\l@italian=\language56
\l@kurmanji=\language57
\l@classiclatin=\language58
\l@latin=\language59
\l@liturgicallatin=\language60
\l@latvian=\language61
\l@lithuanian=\language62
\l@macedonian=\language63
\l@mongolian=\language64
\l@mongolianlmc=\language65
\l@bokmal=\language66
\l@nynorsk=\language67
\l@occitan=\language68
\l@piedmontese=\language69
\l@polish=\language70
\l@portuguese=\language71
\l@romanian=\language72
\l@romansh=\language73
\l@russian=\language74
\l@sanskrit=\language75
\l@serbian=\language76
\l@serbianc=\language77
\l@slovak=\language78
\l@slovenian=\language79
\l@spanish=\language80
\l@swedish=\language81
\l@thai=\language82
\l@turkish=\language83
\l@turkmen=\language84
\l@ukrainian=\language85
\l@uppersorbian=\language86
\l@welsh=\language87
\babelcatcodetablenum=\catcodetable12
\bbl@pattcodes=\catcodetable13
)
\babel@savecnt=\count191
\U@D=\dimen138
\l@unhyphenated=\language88
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/babel/luababel.def
\bbl@attr@locale=\attribute4
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/babel-english/english.ldf
Language: english 2017/06/06 v3.3r English support from the babel system
Package babel Info: Hyphen rules for 'canadian' set to \l@english
(babel)             (\language0). Reported on input line 102.
Package babel Info: Hyphen rules for 'australian' set to \l@ukenglish
(babel)             (\language22). Reported on input line 105.
Package babel Info: Hyphen rules for 'newzealand' set to \l@ukenglish
(babel)             (\language22). Reported on input line 108.
)) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/fontspec/fontspec.sty (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/l3packages/xparse/xparse.sty (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/l3kernel/expl3.sty
Package: expl3 2022-02-24 L3 programming layer (loader) 
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/l3backend/l3backend-luatex.def
File: l3backend-luatex.def 2022-02-07 L3 backend support: PDF output (LuaTeX)
\l__color_backend_stack_int=\count192
\l__pdf_internal_box=\box50
))
Package: xparse 2022-01-12 L3 Experimental document command parser
)
Package: fontspec 2022/01/15 v2.8a Font selection for XeLaTeX and LuaLaTeX
Lua module: fontspec 2022/01/15 2.8a Font selection for XeLaTeX and LuaLaTeX (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
Package: fontspec-luatex 2022/01/15 v2.8a Font selection for XeLaTeX and LuaLaTeX
\l__fontspec_script_int=\count193
\l__fontspec_language_int=\count194
\l__fontspec_strnum_int=\count195
\l__fontspec_tmp_int=\count196
\l__fontspec_tmpa_int=\count197
\l__fontspec_tmpb_int=\count198
\l__fontspec_tmpc_int=\count199
\l__fontspec_em_int=\count266
\l__fontspec_emdef_int=\count267
\l__fontspec_strong_int=\count268
\l__fontspec_strongdef_int=\count269
\l__fontspec_tmpa_dim=\dimen139
\l__fontspec_tmpb_dim=\dimen140
\l__fontspec_tmpc_dim=\dimen141
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2021/04/29 v2.0v Standard LaTeX package
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/fontspec/fontspec.cfg))) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf.sty
Package: epstopdf 2020-01-24 v2.11 Conversion with epstopdf on the fly (HO)
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/infwarerr/infwarerr.sty
Package: infwarerr 2019/12/03 v1.5 Providing info/warning/error messages (HO)
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/grfext/grfext.sty
Package: grfext 2019/12/03 v1.3 Manage graphics extensions (HO)
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty
Package: kvdefinekeys 2019-12-19 v1.6 Define keys (HO)
)) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/kvoptions/kvoptions.sty
Package: kvoptions 2020-10-07 v3.14 Key value format for package options (HO)
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks16
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty
Package: ltxcmds 2020-05-10 v1.25 LaTeX kernel commands for general use (HO)
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty
Package: kvsetkeys 2019/12/15 v1.18 Key value parser (HO)
)) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
Package: pdftexcmds 2020-06-27 v0.33 Utility functions of pdfTeX for LuaTeX (HO)
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/iftex/iftex.sty
Package: iftex 2022/02/03 v1.0f TeX engine tests
)
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
\pdftexcmds@toks=\toks17
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf

Package epstopdf Warning: No graphics package `graphic{s,x}' loaded.

)) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
\pgfutil@everybye=\toks18
\pgfutil@tempdima=\dimen142
\pgfutil@tempdimb=\dimen143
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.tex)) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
\pgfutil@abb=\box51
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/pgf.revision.tex)
Package: pgfrcs 2021/05/15 v3.1.9a (3.1.9a)
))
Package: pgf 2021/05/15 v3.1.9a (3.1.9a)
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2021/09/16 v1.2d Enhanced LaTeX Graphics (DPC,SPQR)
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2021/03/04 v1.4d Standard LaTeX Graphics (DPC,SPQR)
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 2021/08/11 v1.11 sin cos tan (DPC)
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
)
Package graphics Info: Driver file: luatex.def on input line 107.
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/graphics-def/luatex.def
File: luatex.def 2021/06/01 v1.2c Graphics/color driver for luatex
))
\Gin@req@height=\dimen144
\Gin@req@width=\dimen145
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
Package: pgfsys 2021/05/15 v3.1.9a (3.1.9a)
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
\pgfkeys@pathtoks=\toks19
\pgfkeys@temptoks=\toks20
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex
\pgfkeys@tmptoks=\toks21
))
\pgf@x=\dimen146
\pgf@y=\dimen147
\pgf@xa=\dimen148
\pgf@ya=\dimen149
\pgf@xb=\dimen150
\pgf@yb=\dimen151
\pgf@xc=\dimen152
\pgf@yc=\dimen153
\pgf@xd=\dimen154
\pgf@yd=\dimen155
\w@pgf@writea=\write3
\r@pgf@reada=\read3
\c@pgf@counta=\count270
\c@pgf@countb=\count271
\c@pgf@countc=\count272
\c@pgf@countd=\count273
\t@pgf@toka=\toks22
\t@pgf@tokb=\toks23
\t@pgf@tokc=\toks24
\pgf@sys@id@count=\count274
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg
File: pgf.cfg 2021/05/15 v3.1.9a (3.1.9a)
)
Driver file for pgf: pgfsys-luatex.def
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-luatex.def
File: pgfsys-luatex.def 2021/05/15 v3.1.9a (3.1.9a)
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def
File: pgfsys-common-pdf.def 2021/05/15 v3.1.9a (3.1.9a)
))) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex
File: pgfsyssoftpath.code.tex 2021/05/15 v3.1.9a (3.1.9a)
\pgfsyssoftpath@smallbuffer@items=\count275
\pgfsyssoftpath@bigbuffer@items=\count276
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex
File: pgfsysprotocol.code.tex 2021/05/15 v3.1.9a (3.1.9a)
)) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/xcolor/xcolor.sty
Package: xcolor 2021/10/31 v2.13 LaTeX color extensions (UK)
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/graphics-cfg/color.cfg
File: color.cfg 2016/01/02 v1.6 sample color configuration
)
Package xcolor Info: Driver file: luatex.def on input line 227.
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1352.
Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1356.
Package xcolor Info: Model `RGB' extended on input line 1368.
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1370.
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1371.
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1372.
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1373.
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1374.
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1375.
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
Package: pgfcore 2021/05/15 v3.1.9a (3.1.9a)
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex
\pgfmath@dimen=\dimen156
\pgfmath@count=\count277
\pgfmath@box=\box52
\pgfmath@toks=\toks25
\pgfmath@stack@operand=\toks26
\pgfmath@stack@operation=\toks27
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code.tex) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison.code.tex) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.tex) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code.tex) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerarithmetics.code.tex))) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex
\c@pgfmathroundto@lastzeros=\count278
)) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/math/pgfint.code.tex) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex
File: pgfcorepoints.code.tex 2021/05/15 v3.1.9a (3.1.9a)
\pgf@picminx=\dimen157
\pgf@picmaxx=\dimen158
\pgf@picminy=\dimen159
\pgf@picmaxy=\dimen160
\pgf@pathminx=\dimen161
\pgf@pathmaxx=\dimen162
\pgf@pathminy=\dimen163
\pgf@pathmaxy=\dimen164
\pgf@xx=\dimen165
\pgf@xy=\dimen166
\pgf@yx=\dimen167
\pgf@yy=\dimen168
\pgf@zx=\dimen169
\pgf@zy=\dimen170
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex
File: pgfcorepathconstruct.code.tex 2021/05/15 v3.1.9a (3.1.9a)
\pgf@path@lastx=\dimen171
\pgf@path@lasty=\dimen172
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex
File: pgfcorepathusage.code.tex 2021/05/15 v3.1.9a (3.1.9a)
\pgf@shorten@end@additional=\dimen173
\pgf@shorten@start@additional=\dimen174
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex
File: pgfcorescopes.code.tex 2021/05/15 v3.1.9a (3.1.9a)
\pgfpic=\box53
\pgf@hbox=\box54
\pgf@layerbox@main=\box55
\pgf@picture@serial@count=\count279
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex
File: pgfcoregraphicstate.code.tex 2021/05/15 v3.1.9a (3.1.9a)
\pgflinewidth=\dimen175
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransformations.code.tex
File: pgfcoretransformations.code.tex 2021/05/15 v3.1.9a (3.1.9a)
\pgf@pt@x=\dimen176
\pgf@pt@y=\dimen177
\pgf@pt@temp=\dimen178
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex
File: pgfcorequick.code.tex 2021/05/15 v3.1.9a (3.1.9a)
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex
File: pgfcoreobjects.code.tex 2021/05/15 v3.1.9a (3.1.9a)
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.tex
File: pgfcorepathprocessing.code.tex 2021/05/15 v3.1.9a (3.1.9a)
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex
File: pgfcorearrows.code.tex 2021/05/15 v3.1.9a (3.1.9a)
\pgfarrowsep=\dimen179
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex
File: pgfcoreshade.code.tex 2021/05/15 v3.1.9a (3.1.9a)
\pgf@max=\dimen180
\pgf@sys@shading@range@num=\count280
\pgf@shadingcount=\count281
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex
File: pgfcoreimage.code.tex 2021/05/15 v3.1.9a (3.1.9a)
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.code.tex
File: pgfcoreexternal.code.tex 2021/05/15 v3.1.9a (3.1.9a)
\pgfexternal@startupbox=\box56
)) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex
File: pgfcorelayers.code.tex 2021/05/15 v3.1.9a (3.1.9a)
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex
File: pgfcoretransparency.code.tex 2021/05/15 v3.1.9a (3.1.9a)
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex
File: pgfcorepatterns.code.tex 2021/05/15 v3.1.9a (3.1.9a)
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorerdf.code.tex
File: pgfcorerdf.code.tex 2021/05/15 v3.1.9a (3.1.9a)
))) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.code.tex
File: pgfmoduleshapes.code.tex 2021/05/15 v3.1.9a (3.1.9a)
\pgfnodeparttextbox=\box57
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.tex
File: pgfmoduleplot.code.tex 2021/05/15 v3.1.9a (3.1.9a)
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-0-65.sty
Package: pgfcomp-version-0-65 2021/05/15 v3.1.9a (3.1.9a)
\pgf@nodesepstart=\dimen181
\pgf@nodesepend=\dimen182
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-1-18.sty
Package: pgfcomp-version-1-18 2021/05/15 v3.1.9a (3.1.9a)
)) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/pgf/utilities/pgffor.sty (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex)) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/pgf/math/pgfmath.sty (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex)) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
Package: pgffor 2021/05/15 v3.1.9a (3.1.9a)
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex)
\pgffor@iter=\dimen183
\pgffor@skip=\dimen184
\pgffor@stack=\toks28
\pgffor@toks=\toks29
)) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex
Package: tikz 2021/05/15 v3.1.9a (3.1.9a)
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/libraries/pgflibraryplothandlers.code.tex
File: pgflibraryplothandlers.code.tex 2021/05/15 v3.1.9a (3.1.9a)
\pgf@plot@mark@count=\count282
\pgfplotmarksize=\dimen185
)
\tikz@lastx=\dimen186
\tikz@lasty=\dimen187
\tikz@lastxsaved=\dimen188
\tikz@lastysaved=\dimen189
\tikz@lastmovetox=\dimen190
\tikz@lastmovetoy=\dimen191
\tikzleveldistance=\dimen192
\tikzsiblingdistance=\dimen193
\tikz@figbox=\box58
\tikz@figbox@bg=\box59
\tikz@tempbox=\box60
\tikz@tempbox@bg=\box61
\tikztreelevel=\count283
\tikznumberofchildren=\count284
\tikznumberofcurrentchild=\count285
\tikz@fig@count=\count286
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.code.tex
File: pgfmodulematrix.code.tex 2021/05/15 v3.1.9a (3.1.9a)
\pgfmatrixcurrentrow=\count287
\pgfmatrixcurrentcolumn=\count288
\pgf@matrix@numberofcolumns=\count289
)
\tikz@expandcount=\count290
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarytopaths.code.tex
File: tikzlibrarytopaths.code.tex 2021/05/15 v3.1.9a (3.1.9a)
))) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/base/textcomp.sty
Package: textcomp 2020/02/02 v2.0n Standard LaTeX package
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2021/10/15 v2.17l AMS math features
\@mathmargin=\skip49

For additional information on amsmath, use the `?' option.
(/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/amsmath/amstext.sty
Package: amstext 2021/08/26 v2.01 AMS text
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0 generic functions
\@emptytoks=\toks30
\ex@=\dimen194
)) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d Bold Symbols
\pmbraise@=\dimen195
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/amsmath/amsopn.sty
Package: amsopn 2021/08/26 v2.02 operator names
)
\inf@bad=\count291
LaTeX Info: Redefining \frac on input line 236.
\uproot@=\count292
\leftroot@=\count293
LaTeX Info: Redefining \overline on input line 399.
\classnum@=\count294
\DOTSCASE@=\count295
LaTeX Info: Redefining \ldots on input line 496.
LaTeX Info: Redefining \dots on input line 499.
LaTeX Info: Redefining \cdots on input line 620.
\Mathstrutbox@=\box62
\strutbox@=\box63
\big@size=\dimen196
LaTeX Font Info:    Redeclaring font encoding OML on input line 743.
LaTeX Font Info:    Redeclaring font encoding OMS on input line 744.
\macc@depth=\count296
\c@MaxMatrixCols=\count297
\dotsspace@=\muskip16
\c@parentequation=\count298
\dspbrk@lvl=\count299
\tag@help=\toks31
\row@=\count300
\column@=\count301
\maxfields@=\count302
\andhelp@=\toks32
\eqnshift@=\dimen197
\alignsep@=\dimen198
\tagshift@=\dimen199
\tagwidth@=\dimen256
\totwidth@=\dimen257
\lineht@=\dimen258
\@envbody=\toks33
\multlinegap=\skip50
\multlinetaggap=\skip51
\mathdisplay@stack=\toks34
LaTeX Info: Redefining \[ on input line 2938.
LaTeX Info: Redefining \] on input line 2939.
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2013/01/14 v3.01 AMS font symbols
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info:    Redeclaring math symbol \hbar on input line 98.
LaTeX Font Info:    Overwriting math alphabet `\mathfrak' in version `bold'
(Font)                  U/euf/m/n --> U/euf/b/n on input line 106.
)) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/mathtools/mathtools.sty
Package: mathtools 2022/02/07 v1.28a mathematical typesetting tools
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/tools/calc.sty
Package: calc 2017/05/25 v4.3 Infix arithmetic (KKT,FJ)
\calc@Acount=\count303
\calc@Bcount=\count304
\calc@Adimen=\dimen259
\calc@Bdimen=\dimen260
\calc@Askip=\skip52
\calc@Bskip=\skip53
LaTeX Info: Redefining \setlength on input line 80.
LaTeX Info: Redefining \addtolength on input line 81.
\calc@Ccount=\count305
\calc@Cskip=\skip54
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/mathtools/mhsetup.sty
Package: mhsetup 2021/03/18 v1.4 programming setup (MH)
)
\g_MT_multlinerow_int=\count306
\l_MT_multwidth_dim=\dimen261
\origjot=\skip55
\l_MT_shortvdotswithinadjustabove_dim=\dimen262
\l_MT_shortvdotswithinadjustbelow_dim=\dimen263
\l_MT_above_intertext_sep=\dimen264
\l_MT_below_intertext_sep=\dimen265
\l_MT_above_shortintertext_sep=\dimen266
\l_MT_below_shortintertext_sep=\dimen267
\xmathstrut@box=\box64
\xmathstrut@dim=\dimen268
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/lm/lmodern.sty
Package: lmodern 2015/05/01 v1.6.1 Latin Modern Fonts
LaTeX Font Info:    Overwriting symbol font `operators' in version `normal'
(Font)                  OT1/cmr/m/n --> OT1/lmr/m/n on input line 22.
LaTeX Font Info:    Overwriting symbol font `letters' in version `normal'
(Font)                  OML/cmm/m/it --> OML/lmm/m/it on input line 23.
LaTeX Font Info:    Overwriting symbol font `symbols' in version `normal'
(Font)                  OMS/cmsy/m/n --> OMS/lmsy/m/n on input line 24.
LaTeX Font Info:    Overwriting symbol font `largesymbols' in version `normal'
(Font)                  OMX/cmex/m/n --> OMX/lmex/m/n on input line 25.
LaTeX Font Info:    Overwriting symbol font `operators' in version `bold'
(Font)                  OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 26.
LaTeX Font Info:    Overwriting symbol font `letters' in version `bold'
(Font)                  OML/cmm/b/it --> OML/lmm/b/it on input line 27.
LaTeX Font Info:    Overwriting symbol font `symbols' in version `bold'
(Font)                  OMS/cmsy/b/n --> OMS/lmsy/b/n on input line 28.
LaTeX Font Info:    Overwriting symbol font `largesymbols' in version `bold'
(Font)                  OMX/cmex/m/n --> OMX/lmex/m/n on input line 29.
LaTeX Font Info:    Overwriting math alphabet `\mathbf' in version `normal'
(Font)                  OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 31.
LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version `normal'
(Font)                  OT1/cmss/m/n --> OT1/lmss/m/n on input line 32.
LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `normal'
(Font)                  OT1/cmr/m/it --> OT1/lmr/m/it on input line 33.
LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version `normal'
(Font)                  OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 34.
LaTeX Font Info:    Overwriting math alphabet `\mathbf' in version `bold'
(Font)                  OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 35.
LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version `bold'
(Font)                  OT1/cmss/bx/n --> OT1/lmss/bx/n on input line 36.
LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `bold'
(Font)                  OT1/cmr/bx/it --> OT1/lmr/bx/it on input line 37.
LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version `bold'
(Font)                  OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 38.
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/jknapltx/mathrsfs.sty
Package: mathrsfs 1996/01/01 Math RSFS package v1.0 (jk)
\symrsfs=\mathgroup6
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2021/02/14 v1.3d Input encoding file
\inpenc@prehook=\toks35
\inpenc@posthook=\toks36

Package inputenc Warning: inputenc package ignored with utf8 based engines.

) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2021/04/29 v2.0v Standard LaTeX package
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/csquotes/csquotes.sty
Package: csquotes 2021-02-22 v5.2l context-sensitive quotations (JAW)
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/etoolbox/etoolbox.sty
Package: etoolbox 2020/10/05 v2.5k e-TeX tools for LaTeX (JAW)
\etb@tempcnta=\count307
)
\csq@reset=\count308
\csq@gtype=\count309
\csq@glevel=\count310
\csq@qlevel=\count311
\csq@maxlvl=\count312
\csq@tshold=\count313
\csq@ltx@everypar=\toks37
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/csquotes/csquotes.def
File: csquotes.def 2021-02-22 v5.2l csquotes generic definitions (JAW)
)
Package csquotes Info: Trying to load configuration file 'csquotes.cfg'...
Package csquotes Info: ... configuration file loaded successfully.
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/csquotes/csquotes.cfg
File: csquotes.cfg 
)) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/caption/caption.sty
Package: caption 2022/03/01 v3.6b Customizing captions (AR)
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/caption/caption3.sty
Package: caption3 2022/03/17 v2.3b caption3 kernel (AR)
\caption@tempdima=\dimen269
\captionmargin=\dimen270
\caption@leftmargin=\dimen271
\caption@rightmargin=\dimen272
\caption@width=\dimen273
\caption@indent=\dimen274
\caption@parindent=\dimen275
\caption@hangindent=\dimen276
Package caption Info: Standard document class detected.
)
\c@caption@flags=\count314
\c@continuedfloat=\count315
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/caption/subcaption.sty
Package: subcaption 2022/01/07 v1.5 Sub-captions (AR)
\c@subfigure=\count316
\c@subtable=\count317
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/listings/listings.sty
\lst@mode=\count318
\lst@gtempboxa=\box65
\lst@token=\toks38
\lst@length=\count319
\lst@currlwidth=\dimen277
\lst@column=\count320
\lst@pos=\count321
\lst@lostspace=\dimen278
\lst@width=\dimen279
\lst@newlines=\count322
\lst@lineno=\count323
\lst@maxwidth=\dimen280
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/listings/lstmisc.sty
File: lstmisc.sty 2020/03/24 1.8d (Carsten Heinz)
\c@lstnumber=\count324
\lst@skipnumbers=\count325
\lst@framebox=\box66
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/listings/listings.cfg
File: listings.cfg 2020/03/24 1.8d listings configuration
))
Package: listings 2020/03/24 1.8d (Carsten Heinz)
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
Package: fancyhdr 2021/01/28 v4.0.1 Extensive control of page headers and footers
\f@nch@headwidth=\skip56
\f@nch@O@elh=\skip57
\f@nch@O@erh=\skip58
\f@nch@O@olh=\skip59
\f@nch@O@orh=\skip60
\f@nch@O@elf=\skip61
\f@nch@O@erf=\skip62
\f@nch@O@olf=\skip63
\f@nch@O@orf=\skip64
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/lualatex/luacode/luacode.sty
Package: luacode 2012/01/23 v1.2a lua-in-tex helpers (mpg)
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/generic/iftex/ifluatex.sty
Package: ifluatex 2019/10/25 v1.5 ifluatex legacy package. Use iftex instead.
) (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/luatex/luatexbase/luatexbase.sty
Package: luatexbase 2015/10/04 v1.3 luatexbase interface to LuaTeX 
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/luatex/ctablestack/ctablestack.sty
Package: ctablestack 2015/10/01 v1.0 Catcode table stable support
\@catcodetablestackcnt=\count326
)
\CatcodeTableOther=\catcodetable14
\CatcodeTableExpl=\catcodetable15
)
\luacode@lines=\toks39
\luacode@table@soft=\catcodetable16
) (./mptikz.sty
Package: mptikz 2017/12/13 MPTikZ
)
Package csquotes Info: Checking for multilingual support...
Package csquotes Info: ... found 'babel' package.
Package csquotes Info: Adjusting default style.
Package csquotes Info: Redefining alias 'default' -> 'english'.
 (./draw_tensors.aux)
\openout1 = draw_tensors.aux

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 61.
LaTeX Font Info:    ... okay on input line 61.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 61.
LaTeX Font Info:    ... okay on input line 61.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 61.
LaTeX Font Info:    ... okay on input line 61.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 61.
LaTeX Font Info:    ... okay on input line 61.
LaTeX Font Info:    Checking defaults for TS1/cmr/m/n on input line 61.
LaTeX Font Info:    Trying to load font information for TS1+cmr on input line 61.
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/base/ts1cmr.fd
File: ts1cmr.fd 2019/12/16 v2.5j Standard LaTeX font definitions
)
LaTeX Font Info:    ... okay on input line 61.
LaTeX Font Info:    Checking defaults for TU/lmr/m/n on input line 61.
LaTeX Font Info:    ... okay on input line 61.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 61.
LaTeX Font Info:    ... okay on input line 61.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 61.
LaTeX Font Info:    ... okay on input line 61.
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count327
\scratchdimen=\dimen281
\scratchbox=\box67
\nofMPsegments=\count328
\nofMParguments=\count329
\everyMPshowfont=\toks40
\MPscratchCnt=\count330
\MPscratchDim=\dimen282
\MPnumerator=\count331
\makeMPintoPDFobject=\count332
\everyMPtoPDFconversion=\toks41
)
Package caption Info: Begin \AtBeginDocument code.
Package caption Info: listings package is loaded.
Package caption Info: End \AtBeginDocument code.
\c@lstlisting=\count333
[\directlua]:3: bad argument #2 to 'sub' (number expected, got string).
<to be read again> 
relax 
l.67 \maketitle

The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.

/home/varunseshadri/latex/draw_tensors/draw_tensors.tex:67: Font \TU/lmr/m/n/20.74=[lmroman17-regular]:+tlig; at 20.74pt not loadable: metric data not found or bad.
<to be read again> 
relax 
l.67 \maketitle

I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.

LaTeX Font Info:    Trying to load font information for OT1+lmr on input line 67.
(/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/lm/ot1lmr.fd
File: ot1lmr.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
)
LaTeX Font Info:    Trying to load font information for OML+lmm on input line 67.
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/lm/omllmm.fd
File: omllmm.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
)
LaTeX Font Info:    Trying to load font information for OMS+lmsy on input line 67.
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/lm/omslmsy.fd
File: omslmsy.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
)
LaTeX Font Info:    Trying to load font information for OMX+lmex on input line 67.
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/lm/omxlmex.fd
File: omxlmex.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
)
LaTeX Font Info:    External font `lmex10' loaded for size
(Font)              <14.4> on input line 67.
LaTeX Font Info:    External font `lmex10' loaded for size
(Font)              <10> on input line 67.
LaTeX Font Info:    External font `lmex10' loaded for size
(Font)              <7> on input line 67.
LaTeX Font Info:    Trying to load font information for U+msa on input line 67.
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2013/01/14 v3.01 AMS symbols A
)
LaTeX Font Info:    Trying to load font information for U+msb on input line 67.
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/amsfonts/umsb.fd
File: umsb.fd 2013/01/14 v3.01 AMS symbols B
)
LaTeX Font Info:    Trying to load font information for U+rsfs on input line 67.
 (/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/tex/latex/jknapltx/ursfs.fd
File: ursfs.fd 1998/03/24 rsfs font definition file (jk)
)[\directlua]:3: bad argument #2 to 'sub' (number expected, got string).
<to be read again> 
relax 
l.74 ...on{Building a tensor network using Lua Code}

The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.

/home/varunseshadri/latex/draw_tensors/draw_tensors.tex:74: Font \TU/lmr/m/n/17.28=[lmroman17-regular]:+tlig; at 17.28pt not loadable: metric data not found or bad.
<to be read again> 
relax 
l.74 ...on{Building a tensor network using Lua Code}

I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.

-- BEGIN luacode debug (on input line 98)
local nr_rows = 6
local nr_cols = 8
mptikz.set_style({N=1,E=1,W=1,S=1, len_vertical_legs=0.25, len_horizontal_legs=0.25, tensor_style='draw, fill=orange, rounded corners=0.1cm', leg_style='line width=.4mm', leg_color_NS='black', leg_color_EW='black'})

for i = 1, nr_rows do
local name = string.format('T%i', i)
mptikz.draw_mpa(nr_cols, {y=-(i - 1) * 1.2, tensor_name=name},-1)

for j = 1, nr_cols do
local node_name = string.format('T%i_1_%i', i, j)
local node_label = string.format('$T_{%i,%i}$', i, j)
local tex_cmd = string.format('\\node at (%s) {%s};', node_name, node_label)
tex.print(tex_cmd)
end
end
-- END luacode debug (on input line 98)
LaTeX Font Info:    External font `lmex10' loaded for size
(Font)              <12> on input line 55.
LaTeX Font Info:    External font `lmex10' loaded for size
(Font)              <8> on input line 55.
LaTeX Font Info:    External font `lmex10' loaded for size
(Font)              <6> on input line 55.
[1

Missing character: There is no L (U+004C) in font nullfont!
Missing character: There is no u (U+0075) in font nullfont!
Missing character: There is no a (U+0061) in font nullfont!
Missing character: There is no C (U+0043) in font nullfont!
Missing character: There is no o (U+006F) in font nullfont!
Missing character: There is no d (U+0064) in font nullfont!
Missing character: There is no e (U+0065) in font nullfont!
Missing character: There is no f (U+0066) in font nullfont!
Missing character: There is no o (U+006F) in font nullfont!
Missing character: There is no r (U+0072) in font nullfont!
Missing character: There is no i (U+0069) in font nullfont!
Missing character: There is no m (U+006D) in font nullfont!
Missing character: There is no a (U+0061) in font nullfont!
Missing character: There is no g (U+0067) in font nullfont!
Missing character: There is no e (U+0065) in font nullfont!
Missing character: There is no g (U+0067) in font nullfont!
Missing character: There is no e (U+0065) in font nullfont!
Missing character: There is no n (U+006E) in font nullfont!
Missing character: There is no e (U+0065) in font nullfont!
Missing character: There is no r (U+0072) in font nullfont!
Missing character: There is no a (U+0061) in font nullfont!
Missing character: There is no t (U+0074) in font nullfont!
Missing character: There is no i (U+0069) in font nullfont!
Missing character: There is no o (U+006F) in font nullfont!
Missing character: There is no n (U+006E) in font nullfont!
{/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/fonts/map/pdftex/updmap/pdftex.map}] (./draw_tensors.aux))

Here is how much of LuaTeX's memory you used:
 26487 strings out of 477785
 156264,953878 words of node,token memory allocated
 525 words of node memory still in use:
   6 hlist, 2 vlist, 2 rule, 2 glue, 4 kern, 1 glyph, 13 attribute, 56 glue_spec, 8 attribute_list, 2 write nodes
   avail lists: 1:1,2:22901,3:8601,4:742,5:39,6:12,7:5870,8:4,9:3238,10:5,11:12
 46279 multiletter control sequences out of 65536+600000
 55 fonts using 3444135 bytes
 100i,9n,98p,490b,1277s stack positions out of 10000i,1000n,20000p,200000b,200000s
{/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/fonts/enc/dvips/lm/lm-mathit.enc}{/home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/fonts/enc/dvips/lm/lm-rm.enc}</home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/fonts/opentype/public/lm/lmroman12-bold.otf></home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.otf></home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/fonts/type1/public/lm/lmmi12.pfb></home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/fonts/type1/public/lm/lmmi8.pfb></home/linuxbrew/.linuxbrew/Cellar/texlive/20220321_2/share/texmf-dist/fonts/type1/public/lm/lmr8.pfb>
Output written on draw_tensors.pdf (1 page, 41023 bytes).

PDF statistics: 39 PDF objects out of 1000 (max. 8388607)
 26 compressed objects within 1 object stream
 0 named destinations out of 1000 (max. 131072)
 16 words of extra memory for PDF output out of 10000 (max. 100000000)
isolatedinformation commented 2 years ago

Fixed it by keeping the image in the standalone format and used \includestandalone to include it as a image.