cgnieder/fnpct

Kernel warnings with recent version of latex

cgnieder opened this issue · 4 comments

Original report by Anonymous.


With a recent version of latex (pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018/W32TeX)) when I latex a minimal document that loads fnpct I get the following warnings:

#!

*************************************************
* LaTeX warning: "kernel/deprecated-variant"
* 
* Variant form 'V' deprecated for base form '\peek_meaning_remove:NTF'. One
* should not change an argument from type 'N' to type 'V': base form only
* accepts a single token argument.
*************************************************
*************************************************
* LaTeX warning: "kernel/deprecated-variant"
* 
* Variant form 'V' deprecated for base form '\token_if_eq_meaning:NNTF'. One
* should not change an argument from type 'N' to type 'V': base form only
* accepts a single token argument.
*************************************************

See Kernel deprecation warning with fnpct on StackExchange.

Original comment by Michael Ehrt (Bitbucket: tkrwm, ).


I updated my MiKTeX distribution to the latest version this morning. This now changed from a warning to an error, so I can't compile my documents anymore. Please fix.

Minimal document:

#!latex

\documentclass{article}
\usepackage{fnpct}
\listfiles
\begin{document}
\end{document}

Output:

#!latex

miktex-pdftex: warning: running with administrator privileges
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6930 64-bit)
entering extended mode
(untitled-2.tex
LaTeX2e <2018-12-01>
("C:\Users\m.ehrt\AppData\Local\Programs\MiKTeX 2.9\tex/latex/base\article.cls"
Document Class: article 2018/09/03 v1.4i Standard LaTeX document class
("C:\Users\m.ehrt\AppData\Local\Programs\MiKTeX 2.9\tex/latex/base\size10.clo")
) ("C:\Users\m.ehrt\AppData\Local\Programs\MiKTeX 2.9\tex/latex/fnpct\fnpct.sty
"
("C:\Users\m.ehrt\AppData\Local\Programs\MiKTeX 2.9\tex/latex/l3packages/xparse\xparse.sty"
("C:\Users\m.ehrt\AppData\Local\Programs\MiKTeX 2.9\tex/latex/l3kernel\expl3.sty"
("C:\Users\m.ehrt\AppData\Local\Programs\MiKTeX 2.9\tex/latex/l3kernel\expl3-code.tex")
("C:\Users\m.ehrt\AppData\Local\Programs\MiKTeX 2.9\tex/latex/l3kernel\l3pdfmode.def")))
("C:\Users\m.ehrt\AppData\Local\Programs\MiKTeX 2.9\tex/latex/l3packages/l3keys2e\l3keys2e.sty")
("C:\Users\m.ehrt\AppData\Local\Programs\MiKTeX 2.9\tex/latex/koma-script\scrlfile.sty")

! LaTeX3 Error: Variant form 'V' deprecated for base form
(LaTeX3)        '\peek_meaning_remove:NTF'. One should not change an
(LaTeX3)        argument from type 'N' to type 'V': base form only accepts a
(LaTeX3)        single token argument.

Type <return> to continue.
 ...                                              
                                                  
l.319 ...variant:Nn \peek_meaning_remove:NTF { V }
                                                  
? 

! LaTeX3 Error: Variant form 'V' deprecated for base form
(LaTeX3)        '\token_if_eq_meaning:NNTF'. One should not change an
(LaTeX3)        argument from type 'N' to type 'V': base form only accepts a
(LaTeX3)        single token argument.

Type <return> to continue.
 ...                                              
                                                  
l.355 ..._variant:Nn \token_if_eq_meaning:NNTF {V}
                                                  
? 

Original comment by Sean Allred (Bitbucket: vermiculus, GitHub: vermiculus).


I've submitted pull request #3.

Original comment by Clemens Niederberger (Bitbucket: cgnieder, GitHub: cgnieder).


fixed in commit 86894ef

Original comment by Clemens Niederberger (Bitbucket: cgnieder, GitHub: cgnieder).


Removing version: 0.4 (automated comment)