Kyslik / FEIStyle

Upgraded FEIStyle
MIT License
22 stars 23 forks source link

Package keyval Error: seconds undefined #17

Closed rakyi closed 7 years ago

rakyi commented 7 years ago

Build error on latest master. Any clues? Running Ubuntu 16.04, texlive 2016.20160523-1~ubuntu16.04.1york1 (from PPA).

$ pdflatex example.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./example.tex
LaTeX2e <2016/03/31>
Babel <3.9r> and hyphenation patterns for 5 language(s) loaded.
(./FEIstyle.cls
Document Class: FEIstyle 2017/03/13 v. 1.5 Thesis template - FEI STUBA
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
<**REDACTED**>
Space colon enabled: false
Showing total pages enabled: false
Short numeration enabled: false
Printing thesis info at the end enabled: true
)) (/usr/share/texlive/texmf-dist/tex/latex/biblatex-iso690/iso-numeric.cbx
(/usr/share/texlive/texmf-dist/tex/latex/biblatex/cbx/numeric.cbx)
(/usr/share/texlive/texmf-dist/tex/latex/biblatex-iso690/iso-fullcite.cbx))
(/usr/share/texlive/texmf-dist/tex/latex/biblatex/biblatex.cfg)

! Package keyval Error: seconds undefined.

See the keyval package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.11963 \blx@processoptions

?   
Kyslik commented 7 years ago

Check version of kyeval package; open up .build/example.log and search for keyval string

mine is:

Package: keyval 2014/10/28 v1.15 key=value parser
Kyslik commented 7 years ago

I advise you to use latexmk or Makefile included in repository. Or use SublimeText 3 with LatexTools package (my personal choice).

I also tried manual build chain

$ pdflatex example
$ biber example
$ makeglossaries example
$ pdflatex example
$ pdflatex example

And everything compiles fine.


Got it!

I added seconds=true package option for biblatex (to reduce warnings), so you have outdated biblatex package please do update or simply remove seconds=true from line 60 in FEIstyle.cls.

for more info read this tex question

rakyi commented 7 years ago

I have the same version of keyval package. I posted the output of pdflatex because make swallows the error message. latexmk uses pdflatex anyway which produces the error posted above. Here is the output of running make:

$ make
error_line=240 half_error_line=160 max_print_line=240 latexmk -pdf -synctex=1 -output-directory=.build -interaction=nonstopmode -silent example.tex
Unquoted string "ret" may clash with future reserved word at (eval 9) line 16, <GEN1> chunk 1.
Latexmk: Run number 1 of rule 'pdflatex'
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode

SyncTeX written on .build/example.synctex.gz.Latexmk: Non-existent bbl file '.build/example.bbl'
 No file example.bbl.
=== Creating rule for 'cusdep acn acr .build/example'
Latexmk: Summary of warnings:
  Latex failed to resolve 3 reference(s)
  Latex failed to resolve 18 citation(s)
Latexmk: Run number 1 of rule 'biber .build/example'
Biber warning: [827] Utils.pm:149> WARN - ISBN '978-44-55-X' in entry 'kniha' is invalid - run biber with '--validate_datamodel' for details.
Biber warning: [856] Utils.pm:149> WARN - ISBN '978-222-626-222-2' in entry 'zbornik' is invalid - run biber with '--validate_datamodel' for details.
Latexmk: Run number 1 of rule 'cusdep acn acr .build/example'
For rule 'cusdep acn acr .build/example', running '&do_cusdep( run_makeglossaries )' ...
Argument "ret" isn't numeric in numeric ne (!=) at /usr/bin/latexmk line 2762.
Latexmk: Run number 2 of rule 'pdflatex'
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode

SyncTeX written on .build/example.synctex.gz.Biber warning: [827] Utils.pm:149> WARN - ISBN '978-44-55-X' in entry 'kniha' is invalid - run biber with '--validate_datamodel' for details.
Biber warning: [856] Utils.pm:149> WARN - ISBN '978-222-626-222-2' in entry 'zbornik' is invalid - run biber with '--validate_datamodel' for details.
Collected error summary (may duplicate other messages):
  pdflatex: Command for 'pdflatex' gave return code 256
Latexmk: Use the -f option to force complete processing,
 unless error was exceeding maximum runs of latex/pdflatex.
Makefile:10: recipe for target 'pdf' failed
make: *** [pdf] Error 12
Kyslik commented 7 years ago

Se updated https://github.com/Kyslik/FEIStyle/issues/17#issuecomment-286725254

Kyslik commented 7 years ago

Quick tip: use makefile to make your pdf and if error is reported simply open up produced log file and search for error string.

rakyi commented 7 years ago

Thank you for the prompt help! Removing seconds=true fixed the issue. Perhaps you could try to make the project a bit more backward compatible.

Kyslik commented 7 years ago

Maybe introduce some tests on Travis.CI, there is no time to do that atm. I am sorry for inconvenience.

I am keeping my tex tools auto-updated, I did not even realise that there was a new version on my system which lead to warning which lead to me searching tex for solution.

BTW: warning is

Package biblatex Warning: Conflicting options.