gutenberg / latex-awesomebox

A package to draw attention boxes in your documents, illustrated with FontAwesome icons (Mirror)
https://git.umaneti.net/latex-awesomebox/about/
Do What The F*ck You Want To Public License
52 stars 6 forks source link

-NoValue- in begin/end{} #21

Closed habamax closed 2 years ago

habamax commented 2 years ago

I get -NoValue- at the end of begin environment.

\documentclass[]{article}
\usepackage{awesomebox}
\begin{document}
\notebox{hello}
\begin{noteblock}
    hello
\end{noteblock}
\end{document}

image

Package is from texlive2021.

milouse commented 2 years ago

Hi!

I cannot reproduce this bug, with xelatex nor pdflatex, also with texlive2021.

Can you share also the exact command line you use and the compilation log?

Thank you very much.

habamax commented 2 years ago

I will try to figure it out -- I use vimtex which uses latexmk under the hood.

habamax commented 2 years ago

I can see something like this in "info" of vimtex:

set max_print_line=2000 & latexmk -shell-escape -verbose -file-line-error -synctex=1 -interaction=nonstopmode -lualatex -outdir=awesombox -pvc -view=none -e awesombox.tex"

The same is if I remove -lualatex (not sure what is used then, xelatex or pdflatex)

habamax commented 2 years ago

awesombox.zip

output on the cmdline

C:\Users\maksim.kim\docs\test>xelatex awesombox.tex
This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2021/W32TeX) (preloaded format=xelatex) restricted \write18 enabled.
entering extended mode
(./awesombox.tex
LaTeX2e <2021-11-15>
L3 programming layer <2021-11-12>
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/base/size10.clo))
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/awesomebox/awesomebo
x.sty
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/fontawesome5/fontawe
some5.sty
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/l3kernel/expl3.sty
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/l3backend/l3backend-
xetex.def (|extractbb --version)))
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/l3packages/l3keys2e/
l3keys2e.sty)
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/l3packages/xparse/xp
arse.sty)
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/fontawesome5/fontawe
some5-utex-helper.sty
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/fontawesome5/tufonta
wesomefree.fd)
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/fontawesome5/tufonta
wesomebrands.fd)))
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/xcolor/xcolor.sty
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/graphics-cfg/color.c
fg)
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/graphics-def/xetex.d
ef)) (c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/tools/array.sty
) (c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/base/ifthen.sty))
No file awesombox.aux.
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/base/ts1cmr.fd)
[1] (./awesombox.aux) )
Output written on awesombox.pdf (1 page).
Transcript written on awesombox.log.

log file

This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2021/W32TeX) (preloaded format=xelatex 2021.11.13)  12 FEB 2022 10:20
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**awesombox.tex
(./awesombox.tex
LaTeX2e <2021-11-15>
L3 programming layer <2021-11-12>
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2021/10/04 v1.4n Standard LaTeX file (size option)
)
\c@part=\count179
\c@section=\count180
\c@subsection=\count181
\c@subsubsection=\count182
\c@paragraph=\count183
\c@subparagraph=\count184
\c@figure=\count185
\c@table=\count186
\abovecaptionskip=\skip47
\belowcaptionskip=\skip48
\bibindent=\dimen138
)
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/awesomebox/awesomebo
x.sty
Package: awesomebox 2019/07/27 v0.6

(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/fontawesome5/fontawe
some5.sty
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/l3kernel/expl3.sty
Package: expl3 2021-11-12 L3 programming layer (loader) 

(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/l3backend/l3backend-
xetex.def
File: l3backend-xetex.def 2021-10-18 L3 backend support: XeTeX
 (|extractbb --version)
\c__kernel_sys_dvipdfmx_version_int=\count187
\l__color_backend_stack_int=\count188
\g__color_backend_stack_int=\count189
\g__graphics_track_int=\count190
\l__pdf_internal_box=\box50
\g__pdf_backend_object_int=\count191
\g__pdf_backend_annotation_int=\count192
\g__pdf_backend_link_int=\count193
))
Package: fontawesome5 2021/06/04 v5.15.3 Font Awesome 5

(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/l3packages/l3keys2e/
l3keys2e.sty
Package: l3keys2e 2021-11-12 LaTeX2e option processing using LaTeX3 keys
)
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/l3packages/xparse/xp
arse.sty
Package: xparse 2021-11-12 L3 Experimental document command parser
)
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/fontawesome5/fontawe
some5-utex-helper.sty
Package: fontawesome5-utex-helper 2021/06/04 v5.15.3 uTeX helper for fontawesom
e5
LaTeX Font Info:    Trying to load font information for TU+fontawesomefree on i
nput line 69.

(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/fontawesome5/tufonta
wesomefree.fd)
LaTeX Font Info:    Trying to load font information for TU+fontawesomebrands on
 input line 70.

(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/fontawesome5/tufonta
wesomebrands.fd)))
(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/xcolor/xcolor.sty
Package: xcolor 2021/10/31 v2.13 LaTeX color extensions (UK)

(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/graphics-cfg/color.c
fg
File: color.cfg 2016/01/02 v1.6 sample color configuration
)
Package xcolor Info: Driver file: xetex.def on input line 227.

(c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/graphics-def/xetex.d
ef
File: xetex.def 2021/03/18 v5.0k Graphics/color driver for xetex
)
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1352.
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.
)
\aweboxleftmargin=\skip49
\aweboxcontentwidth=\skip50
\aweboxvskip=\skip51
\aweboxsignraise=\skip52
\aweboxrulewidth=\skip53
 (c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/tools/array.sty
Package: array 2021/10/04 v2.5f Tabular extension package (FMi)
\col@sep=\dimen139
\ar@mcellbox=\box51
\extrarowheight=\dimen140
\NC@list=\toks16
\extratabsurround=\skip54
\backup@length=\skip55
\ar@cellbox=\box52
) (c:/Users/maksim.kim/prg/texlive/2021/texmf-dist/tex/latex/base/ifthen.sty
Package: ifthen 2020/11/24 v1.1c Standard LaTeX ifthen package (DPC)
)
\aweboxlinewidthvar=\skip56
\aweboxlinewidthref=\skip57
)
No file awesombox.aux.
\openout1 = `awesombox.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for TS1/cmr/m/n on input line 5.
LaTeX Font Info:    Trying to load font information for TS1+cmr on input line 5
.
(c:/Users/maksim.kim/prg/texlive/2021/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 5.
LaTeX Font Info:    Checking defaults for TU/lmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <7> on input line 7.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <5> on input line 7.

[1

] (./awesombox.aux) ) 
Here is how much of TeX's memory you used:
 3003 strings out of 476275
 45052 string characters out of 5805817
 350757 words of memory out of 5000000
 23681 multiletter control sequences out of 15000+600000
 403470 words of font info for 32 fonts, out of 8000000 for 9000
 1348 hyphenation exceptions out of 8191
 74i,10n,91p,252b,292s stack positions out of 5000i,500n,10000p,200000b,80000s

Output written on awesombox.pdf (1 page).
habamax commented 2 years ago

Huh! I have just updated all texlive packages and now I can't reproduce it too.

Closing.