Comments (18)
These sorts of issues are usually related to the version of various python pip packages and the version of pygments itself.
We are on PythonTeX 0.18dev.
This error will not prevent PDF generation but it will affect the typesetting of any algorithms / code blocks.
from tufte_algorithms_book.
so, how should I install PythonTeX 0.18dev? after upgrading from 0.17 to 0.18v, will pygment.util
ImportError go away?
from tufte_algorithms_book.
I don't think the issue is with pythontex. So long as it is v0.17 or later, you should be okay. I think the issue might be with the version of pygments. Can you confirm that version? You can run pygmentize -V
.
from tufte_algorithms_book.
from tufte_algorithms_book.
from tufte_algorithms_book.
I think the repo is pointing to an old version of the lexer. Would you mind trying updating the lexer by running:
pip install --upgrade git+https://github.com/sisl/pygments-julia#egg=pygments_julia
from tufte_algorithms_book.
❯ pip install --upgrade git+https://github.com/sisl/pygments-julia#egg=pygments_julia
Collecting pygments_julia
Cloning https://github.com/sisl/pygments-julia to /private/var/folders/dk/kg947qjx6hn_7cmgnjmdvxvr0000gn/T/pip-install-n3hj7qzi/pygments-julia_b7cd7fc93d9d4f21973ff76a28772429
Requirement already satisfied: pygments>=2.2 in ./opt/anaconda3/lib/python3.8/site-packages (from pygments_julia) (2.7.4)
from tufte_algorithms_book.
Hmm... I get something different:
$ pip install --upgrade git+https://github.com/sisl/pygments-julia#egg=pygments_julia
Collecting pygments_julia
Cloning https://github.com/sisl/pygments-julia to c:\users\mykel\appdata\local\temp\pip-install-mdjzrxhv\pygments-julia_1d8b8967cf6346d28a55406308b3fb4f
Requirement already satisfied: pygments>=2.2 in c:\app\anaconda3\lib\site-packages (from pygments_julia) (2.7.4)
Building wheels for collected packages: pygments-julia
Building wheel for pygments-julia (setup.py): started
Building wheel for pygments-julia (setup.py): finished with status 'done'
Created wheel for pygments-julia: filename=pygments_julia-0.0.0-py3-none-any.whl size=12386 sha256=b0d79a04b488c52da4977842ac7ab1dee6fc155085011bfdf0d7ee4a23b22b3d
Stored in directory: C:\Users\mykel\AppData\Local\Temp\pip-ephem-wheel-cache-gmw6ixpu\wheels\48\7e\13\5a7b0457bdf67468ad978636f9f555dca053183632d11d9e6d
Successfully built pygments-julia
Installing collected packages: pygments-julia
Attempting uninstall: pygments-julia
Found existing installation: pygments-julia 0.0.0
Uninstalling pygments-julia-0.0.0:
Successfully uninstalled pygments-julia-0.0.0
Successfully installed pygments-julia-0.0.0
from tufte_algorithms_book.
I remember that when I first install it, I got the same thing as you posted. everything installed successfully. I got that because it is already installed.
from tufte_algorithms_book.
I uninstalled pygments and reinstall it.
Here is what I got
❯ pip list | grep Pygments
Pygments 2.7.4
❯ pip uninstall Pygments
Found existing installation: Pygments 2.7.4
Uninstalling Pygments-2.7.4:
Would remove:
/Users/chentianchi/opt/anaconda3/bin/pygmentize
/Users/chentianchi/opt/anaconda3/lib/python3.8/site-packages/Pygments-2.7.4.dist-info/*
/Users/chentianchi/opt/anaconda3/lib/python3.8/site-packages/pygments/*
Proceed (y/n)? y
Successfully uninstalled Pygments-2.7.4
❯ pip list | grep Pygments
❯ pip install --upgrade git+https://github.com/sisl/pygments-julia#egg=pygments_julia
Collecting pygments_julia
Cloning https://github.com/sisl/pygments-julia to /private/var/folders/dk/kg947qjx6hn_7cmgnjmdvxvr0000gn/T/pip-install-gy2_7b4m/pygments-julia_5ac75135ea8f47bc938d3c5e3b0ce996
Collecting pygments>=2.2
Using cached Pygments-2.7.4-py3-none-any.whl (950 kB)
Installing collected packages: pygments
Successfully installed pygments-2.7.4
But the make compile
still give the same error. Should I do something additional after this?
from tufte_algorithms_book.
Also, my test run are successfull.
julia> include("runtests.jl")
reading preface.tex
reading acknowledgments.tex
reading introduction.tex
reading appendix.tex
reading preface.tex
reading acknowledgments.tex
reading introduction.tex
replacements = Dict("return x^2" => "return sin(x)")
reading appendix.tex
reading for test: preface.tex
reading for test: acknowledgments.tex
reading for test: introduction.tex
reading for test: appendix.tex
====================
Importing support code!
====================
Running tests!
ALL TESTS PASSED
I am also attaching all the message shown in my terminal
❯ make compile
julia --color=yes pull_julia_code.jl && \
lualatex book && \
pythontex book && \
biber book && \
lualatex book
reading preface.tex
reading acknowledgments.tex
reading introduction.tex
reading appendix.tex
reading preface.tex
reading acknowledgments.tex
reading introduction.tex
replacements = Dict("return x^2" => "return sin(x)")
reading appendix.tex
reading for test: preface.tex
reading for test: acknowledgments.tex
reading for test: introduction.tex
reading for test: appendix.tex
This is LuaHBTeX, Version 1.12.0 (TeX Live 2020)
restricted system commands enabled.
(./book.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-03-06> (./tufte_algorithms_book.cls
Document Class: tufte_algorithms_book
(/usr/local/texlive/2020/texmf-dist/tex/generic/luatex85/luatex85.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/tufte-latex/tufte-book.cls
Document Class: tufte-book 2015/06/21 v3.5.2 Tufte-book class
(/usr/local/texlive/2020/texmf-dist/tex/latex/tufte-latex/tufte-common.def
(/usr/local/texlive/2020/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/xkeyval/xkvutils.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/xkeyval/keyval.tex))))
(/usr/local/texlive/2020/texmf-dist/tex/latex/xifthen/xifthen.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/tools/calc.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/ifmtarg/ifmtarg.sty))
(/usr/local/texlive/2020/texmf-dist/tex/latex/hardwrap/hardwrap.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/ifplatform/ifplatform.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/tools/shellesc.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/pdftexcmds/pdftexcmds.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/infwarerr/infwarerr.sty)
(/usr/local/texlive/2020/texmf-dist/tex/generic/iftex/iftex.sty)
(/usr/local/texlive/2020/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty))
(/usr/local/texlive/2020/texmf-dist/tex/generic/catchfile/catchfile.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/etexcmds/etexcmds.sty))
(/usr/local/texlive/2020/texmf-dist/tex/generic/iftex/ifluatex.sty))
(/usr/local/texlive/2020/texmf-dist/tex/generic/iftex/ifxetex.sty))
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/book.cls
Document Class: book 2019/12/20 v1.4l Standard LaTeX document class
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/bk10.clo))
(/usr/local/texlive/2020/texmf-dist/tex/generic/iftex/ifpdf.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def))
) (/usr/local/texlive/2020/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/fontenc.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(/usr/local/texlive/2020/texmf-dist/tex/latex/psnfss/mathpazo.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/titlesec/titlesec.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/titlesec/titletoc.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty)
(/usr/local/texlive/2020/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pdfescape/pdfescape.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/hycolor/hycolor.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/auxhook/auxhook.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/kvoptions/kvoptions.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2020/texmf-dist/tex/generic/intcalc/intcalc.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/hyperref/puenc.def)
(/usr/local/texlive/2020/texmf-dist/tex/latex/url/url.sty)
(/usr/local/texlive/2020/texmf-dist/tex/generic/bitset/bitset.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty))
(/usr/local/texlive/2020/texmf-dist/tex/generic/atbegshi/atbegshi.sty))
(/usr/local/texlive/2020/texmf-dist/tex/latex/hyperref/hluatex.def
(/usr/local/texlive/2020/texmf-dist/tex/generic/stringenc/stringenc.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/atveryend/atveryend.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty
))) (/usr/local/texlive/2020/texmf-dist/tex/latex/ragged2e/ragged2e.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/ms/everysel.sty))
(/usr/local/texlive/2020/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/iftex/ifvtex.sty))
(/usr/local/texlive/2020/texmf-dist/tex/latex/changepage/changepage.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/paralist/paralist.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/textcase/textcase.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/microtype/letterspace.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/setspace/setspace.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics-def/luatex.def)
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/dvipsnam.def)
(/usr/local/texlive/2020/texmf-dist/tex/latex/xcolor/svgnam.def))
(/usr/local/texlive/2020/texmf-dist/tex/latex/sauerj/optparams.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/placeins/placeins.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/tools/multicol.sty)))
(/usr/local/texlive/2020/texmf-dist/tex/latex/appendix/appendix.sty)
Package geometry Warning: Over-specification in `h'-direction.
`width' (444.0pt) is ignored.
Package geometry Warning: Over-specification in `v'-direction.
`height' (658.0pt) is ignored.
(/usr/local/texlive/2020/texmf-dist/tex/latex/titlecaps/titlecaps.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/ifnextok/ifnextok.sty))
(/usr/local/texlive/2020/texmf-dist/tex/latex/bigfoot/suffix.sty)
(/usr/local/texlive/2020/texmf-dist/tex/generic/babel/babel.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/babel/switch.def)
(/usr/local/texlive/2020/texmf-dist/tex/generic/babel/luababel.def)
(/usr/local/texlive/2020/texmf-dist/tex/generic/babel-english/american.ldf
(/usr/local/texlive/2020/texmf-dist/tex/generic/babel-english/english.ldf
(/usr/local/texlive/2020/texmf-dist/tex/generic/babel/babel.def
(/usr/local/texlive/2020/texmf-dist/tex/generic/babel/luababel.def)))))
(/usr/local/texlive/2020/texmf-dist/tex/latex/realscripts/realscripts.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2020/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2020/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/texlive/2020/texmf-dist/tex/latex/tools/bm.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/texlive/2020/texmf-dist/tex/latex/amscls/amsthm.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/bbm-macros/bbm.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/cancel/cancel.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/booktabs/booktabs.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/comment/comment.sty
Excluding comment 'comment')
(/usr/local/texlive/2020/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.te
x
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-li
sts.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
(/usr/local/texlive/2020/texmf-dist/tex/latex/ms/everyshi.sty))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/pgf.revision.tex)))
(/usr/local/texlive/2020/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)))
(/usr/local/texlive/2020/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.c
ode.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-luatex.d
ef
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-p
df.def)))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.
code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.
code.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex
)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.
tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic
.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigo
nometric.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.rando
m.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.compa
rison.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.
code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round
.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.
code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integ
erarithmetics.code.tex)))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex)
) (/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfint.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.co
de.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconst
ruct.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage
.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.co
de.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicst
ate.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransform
ations.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.cod
e.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.c
ode.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathproce
ssing.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.co
de.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.cod
e.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.cod
e.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.
code.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.co
de.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretranspare
ncy.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.
code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorerdf.code.
tex)))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.cod
e.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.
tex)
(/usr/local/texlive/2020/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version
-0-65.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version
-1-18.sty))
(/usr/local/texlive/2020/texmf-dist/tex/latex/pgf/utilities/pgffor.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex)
) (/usr/local/texlive/2020/texmf-dist/tex/latex/pgf/math/pgfmath.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex)))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.cod
e.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/libraries/pgflibraryplothan
dlers.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.cod
e.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibrarytopaths.code.tex)))
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3packages/xfrac/xfrac.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/textcomp.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.st
y)) (/usr/local/texlive/2020/texmf-dist/tex/latex/datetime2/datetime2.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/tracklang/tracklang.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/tracklang/tracklang.tex))
(/usr/local/texlive/2020/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/datetime2-english/datetime2-en-US
.ldf
(/usr/local/texlive/2020/texmf-dist/tex/latex/datetime2-english/datetime2-engli
sh-base.ldf)))
(/usr/local/texlive/2020/texmf-dist/tex/latex/siunitx/siunitx.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/tools/array.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/translator/translator.sty))
(./vector.sty (/usr/local/texlive/2020/texmf-dist/tex/latex/was/upgreek.sty))
(/usr/local/texlive/2020/texmf-dist/tex/latex/algorithmicx/algpseudocode.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/algorithmicx/algorithmicx.sty
Document Style algorithmicx 1.2 - a greatly improved `algorithmic' style
)
Document Style - pseudocode environments for use with the `algorithmicx' style
) (/usr/local/texlive/2020/texmf-dist/tex/latex/textpos/textpos.sty
Package: textpos 2019/04/15 1.9.1, absolute positioning of text on the page
Grid set 16 x 16 = 36.135pt x 40.65187pt
) (/usr/local/texlive/2020/texmf-dist/tex/latex/enumitem/enumitem.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/newunicodechar/newunicodechar.sty
)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibrarycalc.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibraryfit.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibrarypositioning.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibraryarrows.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/libraries/pgflibraryarrows.
code.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/libraries/pgflibraryarrows.
meta.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibrarydecorations.pathreplacing.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibrarydecorations.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/modules/pgfmoduledecoration
s.code.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/libraries/decorations/pgfli
brarydecorations.pathreplacing.code.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibrarydecorations.pathmorphing.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/libraries/decorations/pgfli
brarydecorations.pathmorphing.code.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibrarydecorations.text.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/libraries/decorations/pgfli
brarydecorations.text.code.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibrarypatterns.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/libraries/pgflibrarypattern
s.code.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/graphs/tikzlibrarygraphs.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/graphdrawing/tex/tikzlibrar
ygraphdrawing.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/graphdrawing/tex/pgflibrary
graphdrawing.code.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibraryshapes.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibraryshapes.geometric.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/libraries/shapes/pgflibrary
shapes.geometric.code.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibraryshapes.misc.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/libraries/shapes/pgflibrary
shapes.misc.code.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibraryshapes.symbols.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/libraries/shapes/pgflibrary
shapes.symbols.code.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibraryshapes.arrows.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/libraries/shapes/pgflibrary
shapes.arrows.code.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibraryshapes.callouts.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/libraries/shapes/pgflibrary
shapes.callouts.code.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibraryshapes.multipart.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/libraries/shapes/pgflibrary
shapes.multipart.code.tex))) (./juliaplots.sty/juliaplots.sty
LaTeX Warning: You have requested package `juliaplots.sty/juliaplots',
but the package provides `juliaplots'.
(./pythontex.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/fvextra/fvextra.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/upquote/upquote.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/lineno/lineno.sty))
(/usr/local/texlive/2020/texmf-dist/tex/generic/xstring/xstring.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/xstring/xstring.tex))
(/usr/local/texlive/2020/texmf-dist/tex/latex/pgfopts/pgfopts.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/newfloat/newfloat.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/currfile/currfile.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/filehook/filehook.sty)))
(/usr/local/texlive/2020/texmf-dist/tex/latex/pgfplots/pgfplots.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/pgfplots.revision.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/pgfplots.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/pgfplotscore.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/sys/pgfplotssysgeneric
.code.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/libs/pgfplotslibrary.c
ode.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/oldpgfcompatib/pgfplot
soldpgfsupp_loader.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/libraries/pgflibraryfpu.cod
e.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/libraries/luamath/pgflibrar
yluamath.code.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/util/pgfplotsutil.code
.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/liststructure/pgfplots
liststructure.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/liststructure/pgfplots
liststructureext.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/liststructure/pgfplots
array.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/liststructure/pgfplots
matrix.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/numtable/pgfplotstable
shared.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/liststructure/pgfplots
deque.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/util/pgfplotsbinary.co
de.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/util/pgfplotsbinary.da
ta.code.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/util/pgfplotsutil.verb
.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/libs/pgflibrarypgfplot
s.surfshading.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/sys/pgflibrarypgfplots
.surfshading.pgfsys-luatex.def)))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/util/pgfplotscolormap.
code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/util/pgfplotscolor.cod
e.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/pgfplotsstackedplots.c
ode.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/pgfplotsplothandlers.c
ode.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/pgfplotsmeshplothandle
r.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/pgfplotsmeshplotimage.
code.tex)))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/pgfplots.scaling.code.
tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/pgfplotscoordprocessin
g.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/pgfplots.errorbars.cod
e.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/pgfplots.markers.code.
tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/pgfplotsticks.code.tex
)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/pgfplots.paths.code.te
x))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibraryplotmarks.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/libraries/pgflibraryplotmar
ks.code.tex))))
(/usr/local/texlive/2020/texmf-dist/tex/latex/microtype/microtype.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/microtype/microtype-luatex.def)
(/usr/local/texlive/2020/texmf-dist/tex/latex/microtype/microtype.cfg))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplo
ts.fillbetween.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/pgfcontrib/tikzlibrary
fillbetween.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibraryintersections.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/libraries/pgflibraryinterse
ctions.code.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/pgfcontrib/tikzlibrary
decorations.softclip.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/pgfcontrib/pgflibraryf
illbetween.code.tex)))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplo
ts.decorations.softclip.code.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplo
ts.groupplots.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplo
ts.patchplots.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplo
ts.statistics.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplo
ts.ternary.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/latex/imakeidx/imakeidx.sty)
Writing index file book.idx
Excluding comment 'inprogress' Excluding comment 'chapteronly'
(/usr/local/texlive/2020/texmf-dist/tex/latex/mathtools/mathtools.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/mathtools/mhsetup.sty))
(./colors.tex)
(/usr/local/texlive/2020/texmf-dist/tex/latex/mdframed/mdframed.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/zref/zref-abspage.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/zref/zref-base.sty))
(/usr/local/texlive/2020/texmf-dist/tex/latex/needspace/needspace.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/mdframed/md-frame-0.mdf))
(/usr/local/texlive/2020/texmf-dist/tex/latex/biblatex/biblatex.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/logreq/logreq.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/logreq/logreq.def))
(/usr/local/texlive/2020/texmf-dist/tex/latex/biblatex/blx-dm.def)
(/usr/local/texlive/2020/texmf-dist/tex/latex/biblatex/blx-unicode.def)
(/usr/local/texlive/2020/texmf-dist/tex/latex/biblatex/blx-compat.def)
(/usr/local/texlive/2020/texmf-dist/tex/latex/biblatex/biblatex.def)
(/usr/local/texlive/2020/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx
(/usr/local/texlive/2020/texmf-dist/tex/latex/biblatex/bbx/numeric-comp.bbx
(/usr/local/texlive/2020/texmf-dist/tex/latex/biblatex/bbx/numeric.bbx
(/usr/local/texlive/2020/texmf-dist/tex/latex/biblatex/bbx/standard.bbx))))
(/usr/local/texlive/2020/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx
(/usr/local/texlive/2020/texmf-dist/tex/latex/biblatex/cbx/numeric-comp.cbx))
(/usr/local/texlive/2020/texmf-dist/tex/latex/biblatex/biblatex.cfg))
(./references.tex)
(/usr/local/texlive/2020/texmf-dist/tex/latex/cleveref/cleveref.sty)
Excluding comment 'ignore' Excluding comment 'juliatest'
(/usr/local/texlive/2020/texmf-dist/tex/lualatex/luacode/luacode.sty
(/usr/local/texlive/2020/texmf-dist/tex/luatex/luatexbase/luatexbase.sty
(/usr/local/texlive/2020/texmf-dist/tex/luatex/ctablestack/ctablestack.sty))))
Package biblatex Warning: Patching footnotes failed.
(biblatex) Footnote detection will not work.
Package biblatex Warning: 'babel/polyglossia' detected but 'csquotes' missing.
(biblatex) Loading 'csquotes' recommended.
(./book.aux (./copyrightpage.aux) (./dedication.aux) (./chapter/preface.aux)
(./chapter/acknowledgments.aux) (./chapter/introduction.aux
LaTeX Warning: Label `fig:sample_marginfigure' multiply defined.
LaTeX Warning: Label `fig:sample_marginfigure@cref' multiply defined.
) (./chapter/appendix.aux))
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/ts1cmr.fd)
(/usr/local/texlive/2020/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/refcount/refcount.sty)
(/usr/local/texlive/2020/texmf-dist/tex/generic/gettitlestring/gettitlestring.s
ty)) (./book.out) (./book.out) ABD: EverySelectfont initializing macros
*geometry* driver: auto-detecting
*geometry* detected driver: luatex
(/usr/local/texlive/2020/texmf-dist/tex/latex/microtype/mt-PalatinoLinotype.cfg
) (/usr/local/texlive/2020/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/local/texlive/2020/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
ABD: EveryShipout initializing macros
(/usr/local/texlive/2020/texmf-dist/tex/latex/translator/translator-basic-dicti
onary-English.dict)
(/usr/local/texlive/2020/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg
)
No file pythontex-files-book/book.pytxmcr.
Run PythonTeX to create it.
Package pgfplots notification 'compat/show suggested version=true': document ha
s been generated with the most recent feature set (\pgfplotsset{compat=1.17}).
(/usr/local/texlive/2020/texmf-dist/tex/latex/biblatex/lbx/american.lbx
(/usr/local/texlive/2020/texmf-dist/tex/latex/biblatex/lbx/english.lbx)
(/usr/local/texlive/2020/texmf-dist/tex/latex/biblatex/lbx/english.lbx))
No file book.bbl.
(/usr/local/texlive/2020/texmf-dist/tex/latex/psnfss/ot1pplx.fd)
(/usr/local/texlive/2020/texmf-dist/tex/latex/microtype/mt-ppl.cfg)
(/usr/local/texlive/2020/texmf-dist/tex/latex/psnfss/omlzplm.fd)
(/usr/local/texlive/2020/texmf-dist/tex/latex/psnfss/omszplm.fd)
(/usr/local/texlive/2020/texmf-dist/tex/latex/psnfss/omxzplm.fd)
(/usr/local/texlive/2020/texmf-dist/tex/latex/psnfss/ot1zplm.fd)
(/usr/local/texlive/2020/texmf-dist/tex/latex/microtype/mt-msa.cfg)
(/usr/local/texlive/2020/texmf-dist/tex/latex/microtype/mt-msb.cfg)
(/usr/local/texlive/2020/texmf-dist/tex/latex/microtype/mt-eur.cfg)
(./titlepage.tex [1{/usr/local/texlive/2020/texmf-var/fonts/map/pdftex/updmap/p
dftex.map}] [2]
Underfull \hbox (badness 10000) in paragraph at lines 22--28
) [3] (./copyrightpage.tex [4]) (./dedication.tex
Underfull \hbox (badness 10000) in paragraph at lines 2--3
) [5] [6] (./book.toc
Overfull \hbox (4.65pt too wide) detected at line 6
\TU/TeXGyrePagella(0)/m/it/10 1
Overfull \hbox (10.134pt too wide) detected at line 7
\TU/TeXGyrePagella(0)/m/n/9 1.1
Overfull \hbox (10.935pt too wide) detected at line 8
\TU/TeXGyrePagella(0)/m/n/9 1.2
Overfull \hbox (10.863pt too wide) detected at line 9
\TU/TeXGyrePagella(0)/m/n/9 1.3
Overfull \hbox (11.142pt too wide) detected at line 10
\TU/TeXGyrePagella(0)/m/n/9 1.4
Overfull \hbox (10.656pt too wide) detected at line 11
\TU/TeXGyrePagella(0)/m/n/9 1.5
Package titletoc Warning: Unknown TOC type appendixpart. I'll set it for you wi
th
(titletoc) level -1000. on input line 12.
Overfull \hbox (7.22pt too wide) detected at line 13
\TU/TeXGyrePagella(0)/m/it/10 A
) [7] (./chapter/preface.tex [8]) [9] (./chapter/acknowledgments.tex [10])
[11] [12] [1] (./chapter/introduction.tex [2]
Chapter 1.
LaTeX Warning: Citation 'Kochenderfer2019' on page 3 undefined on input line 5.
LaTeX Warning: Marginpar on page 3 moved.
Package PythonTeX Warning: Non-existent Pygments content on input line 23.
Package PythonTeX Warning: Non-existent Pygments content on input line 28.
Package PythonTeX Warning: Non-existent Pygments content on input line 28.
Excluding 'juliatest' comment. (./fig/sample_function.tex)
Package PythonTeX Warning: Non-existent Pygments content on input line 69.
Package PythonTeX Warning: Non-existent Pygments content on input line 69.
[3] (./fig/sample_marginfigure.tex
Overfull \hbox (11.97636pt too wide) in paragraph at lines 116--117
[]
)
Overfull \hbox (2.42744pt too wide) in paragraph at lines 107--114
[]\TU/TeXGyrePagella(0)/m/n/10 The \TU/DejaVuSansMono(0)/m/n/10 pythontex \TU/T
eXGyrePagella(0)/m/n/10 pack-age also sup-ports the \TU/DejaVuSansMono(0)/m/n/1
0 juliaconsole \TU/TeXGyrePagella(0)/m/n/10 en-vi-ron-ment, as shown
[4]
Package PythonTeX Warning: Non-existent Pygments content on input line 177.
Overfull \hbox (17.13101pt too wide) in paragraph at lines 176--180
[]\TU/TeXGyrePagella(0)/m/n/10 For such cases we have a sim-ple re-place-ment f
ea-ture built into the \TU/DejaVuSansMono(0)/m/n/10 pull_julia_code
Overfull \hbox (2.88226pt too wide) in paragraph at lines 176--180
\TU/TeXGyrePagella(0)/m/n/10 script. The script searches for \TU/TeXGyrePagella
(0)/b/n/10 ?? \TU/TeXGyrePagella(0)/m/n/10 in the lines be-tween the be-gin-nin
g of the \TU/DejaVuSansMono(0)/m/n/10 algorithm
[5]
Package PythonTeX Warning: Non-existent Pygments content on input line 189.
Package PythonTeX Warning: Non-existent Pygments content on input line 195.
Package PythonTeX Warning: Non-existent Pygments content on input line 195.
(./fig/replacement_example.tex
Overfull \hbox (7.97636pt too wide) in paragraph at lines 116--117
[]
)
LaTeX Warning: Marginpar on page 6 moved.
) [6]
Package hyperref Warning: bookmark level for unknown appendixpart defaults to 0
.
[7] (./chapter/appendix.tex [8]
Appendix A.
) [9] [10]
LaTeX Warning: Empty bibliography on input line 44.
[11] [12]
No file book.ind.
Package imakeidx Warning: Remember to run lualatex again after calling
(imakeidx) `texindy -M cms book.idx'.
(./book.aux (./copyrightpage.aux) (./dedication.aux) (./chapter/preface.aux)
(./chapter/acknowledgments.aux) (./chapter/introduction.aux)
(./chapter/appendix.aux))
LaTeX Warning: There were undefined references.
LaTeX Warning: There were multiply-defined labels.
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex) book
(biblatex) and rerun LaTeX afterwards.
)
(see the transcript file for additional information)
16627 words of node memory still in use:
173 hlist, 14 vlist, 8 rule, 14 disc, 7 local_par, 39 math, 482 glue, 151 ke
rn, 31 penalty, 7 margin_kern, 216 glyph, 2003 attribute, 148 glue_spec, 1003 a
ttribute_list, 8 write, 562 pdf_literal, 1 pdf_start_link, 1 pdf_end_link, 1 pd
f_action, 24 pdf_colorstack nodes
avail lists: 1:13,2:2726,3:1123,4:91,5:262,6:23,7:1904,8:44,9:313,10:11,11:1
17,12:1
{/usr/local/texlive/2020/texmf-dist/fonts/enc/dvips/base/8r.enc}</usr/local/tex
live/2020/texmf-dist/fonts/opentype/public/tex-gyre/texgyrepagella-bold.otf></u
sr/local/texlive/2020/texmf-dist/fonts/truetype/public/dejavu/DejaVuSansMono.tt
f></usr/local/texlive/2020/texmf-dist/fonts/opentype/public/tex-gyre/texgyrepag
ella-regular.otf></usr/local/texlive/2020/texmf-dist/fonts/opentype/public/tex-
gyre/texgyrepagella-italic.otf></usr/local/texlive/2020/texmf-dist/fonts/openty
pe/public/tex-gyre/texgyrepagella-regular.otf></usr/local/texlive/2020/texmf-di
st/fonts/type1/public/amsfonts/cm/cmex10.pfb></usr/local/texlive/2020/texmf-dis
t/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/local/texlive/2020/texmf-dist/
fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/local/texlive/2020/texmf-dist/f
onts/type1/public/mathpazo/fplmb.pfb></usr/local/texlive/2020/texmf-dist/fonts/
type1/public/mathpazo/fplmr.pfb></usr/local/texlive/2020/texmf-dist/fonts/type1
/public/mathpazo/fplmri.pfb></usr/local/texlive/2020/texmf-dist/fonts/type1/urw
/palatino/uplb8a.pfb></usr/local/texlive/2020/texmf-dist/fonts/type1/urw/palati
no/uplr8a.pfb></usr/local/texlive/2020/texmf-dist/fonts/type1/urw/palatino/uplr
i8a.pfb>
Output written on book.pdf (24 pages, 129173 bytes).
Transcript written on book.log.
This is PythonTeX 0.17
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/Users/chentianchi/opt/anaconda3/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/usr/local/texlive/2020/texmf-dist/scripts/pythontex/pythontex3.py", line 2394, in do_pygments
lexer[codetype] = get_lexer_by_name(pygments_settings[codetype]['lexer'], **p)
File "/Users/chentianchi/opt/anaconda3/lib/python3.8/site-packages/pygments/lexers/__init__.py", line 116, in get_lexer_by_name
for cls in find_plugin_lexers():
File "/Users/chentianchi/opt/anaconda3/lib/python3.8/site-packages/pygments/plugin.py", line 55, in find_plugin_lexers
yield entrypoint.load()
File "/Users/chentianchi/opt/anaconda3/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2450, in load
return self.resolve()
File "/Users/chentianchi/opt/anaconda3/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2456, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "<frozen zipimport>", line 259, in load_module
File "/Users/chentianchi/opt/anaconda3/lib/python3.8/site-packages/pygments_julia-0.0.0-py3.8.egg/pygments_julia/__init__.py", line 19, in <module>
from pygments.util import shebang_matches, unirange
ImportError: cannot import name 'unirange' from 'pygments.util' (/Users/chentianchi/opt/anaconda3/lib/python3.8/site-packages/pygments/util.py)
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Library/TeX/texbin/pythontex", line 62, in <module>
pythontex.main()
File "/usr/local/texlive/2020/texmf-dist/scripts/pythontex/pythontex3.py", line 2811, in main
do_multiprocessing(data, temp_data, old_data, engine_dict)
File "/usr/local/texlive/2020/texmf-dist/scripts/pythontex/pythontex3.py", line 1383, in do_multiprocessing
result = task.get()
File "/Users/chentianchi/opt/anaconda3/lib/python3.8/multiprocessing/pool.py", line 771, in get
raise self._value
ImportError: cannot import name 'unirange' from 'pygments.util' (/Users/chentianchi/opt/anaconda3/lib/python3.8/site-packages/pygments/util.py)
make: [compile] Error 1 (ignored)
from tufte_algorithms_book.
The issue is not with pygments. That is installed correctly. The issue is that your python installation isn't using the current version of pygments-julia: https://github.com/sisl/pygments-julia
The reason I know this is that the error message is complaining about the use of unirange
, which hasn't been a part of this package since Sep 15, 2020.
from tufte_algorithms_book.
Ok, Thank you. I followed that link and install it again. The error seems gone right now.
There is a new error like the following
This is PythonTeX 0.17
---- Messages for juliacon:default:default ----
* PythonTeX error
Running code for Julia console failed
ERROR: KeyError: key "tex" not found
Stacktrace:
[1] getindex at ./dict.jl:467 [inlined]
[2] get_format at /Users/chentianchi/.julia/packages/Weave/BarbQ/src/Weave.jl:48 [inlined]
[3] run_doc(::Weave.WeaveDoc; doctype::String, out_path::Symbol, args::Dict{Any,Any}, mod::Nothing, fig_path::Nothing, fig_ext::Nothing, cache_path::String, cache::Symbol) at /Users/chentianchi/.julia/packages/Weave/BarbQ/src/run.jl:20
[4] weave(::String; doctype::String, informat::Nothing, out_path::Symbol, args::Dict{Any,Any}, mod::Nothing, fig_path::Nothing, fig_ext::Nothing, cache_path::String, cache::Symbol, template::Nothing, css::Nothing, highlight_theme::Nothing, pandoc_options::Array{String,1}, latex_cmd::Array{String,1}, keep_unicode::Bool) at /Users/chentianchi/.julia/packages/Weave/BarbQ/src/Weave.jl:177
[5] #weave#115 at /Users/chentianchi/.julia/packages/Weave/BarbQ/src/Weave.jl:233 [inlined]
[6] weave(::String, ::String) at /Users/chentianchi/.julia/packages/Weave/BarbQ/src/Weave.jl:233
[7] top-level scope at none:1
--------------------------------------------------
PythonTeX: book - 1 error(s), 0 warning(s)
make: [compile] Error 1 (ignored)
What is this related to? is it about Weave.jl
?
also when I tried
❯ make compile CHAPTER = 'introduction chapter2\/introduction'
make: *** empty variable name. Stop.
it does not seems to work for excluding chapters. I have spacevim installed.
from tufte_algorithms_book.
@mossr ?
from tufte_algorithms_book.
You can try to revert Weave.jl back to 0.10.2 (see this thread: JunoLab/Weave.jl#391 (comment))
from tufte_algorithms_book.
ok, now it works. Thanks!
what about
❯ make compile CHAPTER = 'introduction chapter2\/introduction'
make: *** empty variable name. Stop.
did I do something wrong for this partial compile?
from tufte_algorithms_book.
Remove the spaces around the =
make compile CHAPTER='introduction chapter2\/introduction'
I'll update the README to reflect this.
from tufte_algorithms_book.
from tufte_algorithms_book.
Related Issues (20)
- Failing CI at deploy HOT 1
- working on Julia 1.2? HOT 2
- Share between console and block? HOT 3
- install instruction for julia packages (jlpkg missing) HOT 1
- pipeline failed HOT 2
- make compile error HOT 3
- ??pythontex?? error in code algorithm block HOT 1
- Project.toml/Manifest.toml
- build issue for Plots.Image() HOT 3
- semicolon does not suppress output in juliaconsole HOT 4
- Weave inserts sandbox module HOT 2
- workflow for including code HOT 2
- Work in new table of contents format HOT 2
- Error running Weave HOT 2
- Cannot use functions in REPL (juliaconsole environment) defined in juliaverbatim environment. HOT 2
- Could not find style module 'algforopt' HOT 1
- Issue with Pygments's unirange HOT 2
- Document Replacement Feature
- Additional Dependencies HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tufte_algorithms_book.