Discussion:
LaTeX Warning with package verbatimbox
(too old to reply)
Akira Yokosawa
2018-04-08 14:21:55 UTC
Permalink
Raw Message
Hello,

Is the following LaTeX warning a known issue in TL 2018 pretest?

---
LaTeX Warning: You have requested, on input line 4, version
`2016-10-22' of package verbatimbox,
but only version
`2014/03/12 v3.13 Routines for placing verbatim text into boxes,
useful in places where the verbatim environment is inaccessible. Secondarily,
for adding vertical buffer around an object.'
is available.
---

Thanks in advance,
Akira
David Carlisle
2018-04-08 15:03:17 UTC
Permalink
Raw Message
thanks for the report, checking now...
Post by Akira Yokosawa
Hello,
Is the following LaTeX warning a known issue in TL 2018 pretest?
---
LaTeX Warning: You have requested, on input line 4, version
`2016-10-22' of package verbatimbox,
but only version
`2014/03/12 v3.13 Routines for placing verbatim text into boxes,
useful in places where the verbatim environment is inaccessible. Secondarily,
for adding vertical buffer around an object.'
is available.
---
Thanks in advance,
Akira
Joseph Wright
2018-04-08 15:17:21 UTC
Permalink
Raw Message
Post by Akira Yokosawa
Hello,
Is the following LaTeX warning a known issue in TL 2018 pretest?
---
LaTeX Warning: You have requested, on input line 4, version
`2016-10-22' of package verbatimbox,
but only version
`2014/03/12 v3.13 Routines for placing verbatim text into boxes,
useful in places where the verbatim environment is inaccessible. Secondarily,
for adding vertical buffer around an object.'
is available.
---
Thanks in advance,
Akira
The package has a very funny \ProvidesPackage line ...

Joseph
David Carlisle
2018-04-08 15:47:55 UTC
Permalink
Raw Message
I think you got the same in tl217?
Enrico Gregorio
2018-04-08 15:52:44 UTC
Permalink
Raw Message
Post by David Carlisle
I think you got the same in tl217?
If I try

latex '\documentclass{article}\usepackage{verbatimbox}\stop’

with TL2017 I get

latex '\documentclass{article}\usepackage{verbatimbox}\stop'
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded format=latex)
restricted \write18 enabled.
entering extended mode
LaTeX2e <2017-04-15>
Babel <3.18> and hyphenation patterns for 84 language(s) loaded.
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2017/texmf-dist/tex/latex/verbatimbox/verbatimbox.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/tools/verbatim.sty)
(/usr/local/texlive/2017/texmf-dist/tex/latex/readarray/readarray.sty
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2017/texmf-dist/tex/generic/listofitems/listofitems.sty
(/usr/local/texlive/2017/texmf-dist/tex/generic/listofitems/listofitems.tex))
readarray: bounds checking OFF
))
No pages of output.

With TL2018 (and updated LaTeX kernel)

This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=latex)
restricted \write18 enabled.
entering extended mode
LaTeX2e <2018-04-01>
Babel <3.18> and hyphenation patterns for 84 language(s) loaded.
(/usr/local/texlive/2018/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2018/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2018/texmf-dist/tex/latex/verbatimbox/verbatimbox.sty
(/usr/local/texlive/2018/texmf-dist/tex/latex/tools/verbatim.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/readarray/readarray.sty
(/usr/local/texlive/2018/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2018/texmf-dist/tex/generic/listofitems/listofitems.sty
(/usr/local/texlive/2018/texmf-dist/tex/generic/listofitems/listofitems.tex))
readarray: bounds checking OFF
))

LaTeX Warning: You have requested, on input line 0, version
`2016-10-22' of package verbatimbox,
but only version
`2014/03/12 v3.13 Routines for placing verbatim text into boxes,
useful in places where the verbatim environment is inaccessible. Secondarily,
for adding vertical buffer around an object.'
is available.

No pages of output.

Ciao
Enrico
Kazuki Maeda
2018-04-08 16:10:24 UTC
Permalink
Raw Message
Hi.
Post by Enrico Gregorio
LaTeX Warning: You have requested, on input line 0, version
`2016-10-22' of package verbatimbox,
Ripgrep says

% pwd
/usr/local/texlive/2018/texmf-dist/tex/latex
% rg 2016-10-22
readarray/readarray.sty
37:\RequirePackage{listofitems}[2016-10-22]

verbatimbox loads readarray, and readarray loads listofitems[2016-10-22].
But there is the warning for verbatimbox. It is strange...

Best regards
Kazuki Maeda
David Carlisle
2018-04-08 16:51:32 UTC
Permalink
Raw Message
Post by Kazuki Maeda
But there is the warning for verbatimbox. It is strange...
yes sorry about that, it is now fixed in the latex sources, testing
the format (again..)
Akira Yokosawa
2018-04-08 17:08:55 UTC
Permalink
Raw Message
Post by David Carlisle
I think you got the same in tl217?
No, TL 2017 (when it is frozen), it doesn't spit such a warning.
Minimal LaTeX source to see the issue:

---
\documentclass[10pt]{article}

\usepackage{verbatimbox}

\begin{document}

\section{Sample to Use verbbox}

Following is a sample of listing centered by using ``verbatimbox'' package.

{\scriptsize
\begin{verbbox}
#include <stdio.h>
int main(void)
{
printf("Hello World!\n");
}
\end{verbbox}
}

\begin{figure}[h]
\centering
\theverbbox
\caption{Sample Listing}
\end{figure}

\end{document}
---

See, I have no revision specified in the \usepackage{}.

This compiles fine with pdflatex of TL2017. On TL 2018 pretest,
I got the warning I posted earlier in this thread.

I checked CTAN site if there is a newer version of verbatimbox,
but the latest one is [2014/03/12 v3.13].

I suppose something went wrong in the packaging.
Can you further look into this?

Thanks, Akira
David Carlisle
2018-04-08 17:17:18 UTC
Permalink
Raw Message
Post by Akira Yokosawa
Post by David Carlisle
I think you got the same in tl217?
No, TL 2017 (when it is frozen), it doesn't spit such a warning.
sorry I misinformed you (I accidentally used a tl2017 that already
had the new latex code)

it is now fixed in

https://github.com/latex3/latex2e/commit/90e4ec9fadec7ed08381ad00f973a83d0d742492


David
Post by Akira Yokosawa
---
\documentclass[10pt]{article}
\usepackage{verbatimbox}
\begin{document}
\section{Sample to Use verbbox}
Following is a sample of listing centered by using ``verbatimbox'' package.
{\scriptsize
\begin{verbbox}
#include <stdio.h>
int main(void)
{
printf("Hello World!\n");
}
\end{verbbox}
}
\begin{figure}[h]
\centering
\theverbbox
\caption{Sample Listing}
\end{figure}
\end{document}
---
See, I have no revision specified in the \usepackage{}.
This compiles fine with pdflatex of TL2017. On TL 2018 pretest,
I got the warning I posted earlier in this thread.
I checked CTAN site if there is a newer version of verbatimbox,
but the latest one is [2014/03/12 v3.13].
I suppose something went wrong in the packaging.
Can you further look into this?
Thanks, Akira
Akira Yokosawa
2018-04-08 21:12:33 UTC
Permalink
Raw Message
Post by David Carlisle
Post by Akira Yokosawa
Post by David Carlisle
I think you got the same in tl217?
No, TL 2017 (when it is frozen), it doesn't spit such a warning.
sorry I misinformed you (I accidentally used a tl2017 that already
had the new latex code)
it is now fixed in
https://github.com/latex3/latex2e/commit/90e4ec9fadec7ed08381ad00f973a83d0d742492
Thanks!
Is this fix going to make the public release of tl2018?

Akira
Post by David Carlisle
David
[...]
David Carlisle
2018-04-08 21:31:46 UTC
Permalink
Raw Message
Post by Akira Yokosawa
Is this fix going to make the public release of tl2018?
yes thanks to Manfred and Karl for fast tracking it on to ctan and
texlive respectively.

Loading...