Bug#870280: xelatex: Undefined control sequence \l__xeCJK_listings_letter_bool

2017-08-04 Thread W. Martin Borgert
After Alexis gave a pure latex example without docbook/dblatex,
shouldn't the bug be assigned back to texlive-latex-recommended?


signature.asc
Description: PGP signature


Bug#870280: xelatex: Undefined control sequence \l__xeCJK_listings_letter_bool

2017-08-01 Thread Alexis Bienvenüe
Hi.

Digging a little more, I found that \l__xeCJK_listings_letter_bool is
never defined.
Adding the following line in
/usr/share/texlive/texmf-dist/tex/xelatex/xecjk/xeCJK-listings.sty (eg.
line 160) corrects the bug:

\bool_new:N \l__xeCJK_listings_letter_bool

I also tried the following source file:

\documentclass{article}
\usepackage{expl3}
\begin{document}
\ExplSyntaxOn
\bool_if:NTF \l__TEST { TRUE } { FALSE }
\ExplSyntaxOff
\end{document}

It compiles OK with LaTeX3 from 2017.20170629-1 (showing "FALSE"), but
reports an error (I think this is the proper result) with 2017.20170724-1.

Regards,
Alexis Bienvenüe.



Bug#870280: xelatex: Undefined control sequence \l__xeCJK_listings_letter_bool

2017-08-01 Thread Alexis Bienvenüe
Hi.

On Mon, 31 Jul 2017 23:49:38 +0900 Norbert Preining
 wrote:
> Using this package has been an endless source of problems. Please
> provide a minimal non-working example *NOT* using docbook (dblatex)

The same problem arises with the following source file:

\documentclass{article}
\usepackage{listings}
\usepackage{xeCJK}
\setCJKmainfont{IPAexMincho}
\setCJKsansfont{IPAexGothic}
\setCJKmonofont{IPAexGothic}
\begin{document}
\lstinline!x!
\end{document}

Note that this file is compiling properly (xelatex) with debian version
2017.20170629-1.
Also, this file is compiling properly with debian version
2017.20170724-1 *and* the following files from version 2017.20170629-1
in the current directory:
expl3-code.tex
expl3.sty
l3keys2e.sty
l3xdvipdfmx.def
xparse.sty
xtemplate.sty

Regards,
Alexis Bienvenüe.



Bug#870280: xelatex: Undefined control sequence \l__xeCJK_listings_letter_bool

2017-07-31 Thread Adrian Bunk
Control: tags -1 - moreinfo
Control: severity -1 serous
Control: affects -1 src:developers-reference src:kicad
Control: reassign -1 dblatex
Control: tags -1 buster sid

On Mon, Jul 31, 2017 at 11:49:38PM +0900, Norbert Preining wrote:
> tags 870280 + moreinfo

I did give a small example,

> severity 870280 normal

and a regression that causes at least 6 packages to FTBFS
has to be RC bug(s) somewhere.

> thanks
> 
> > \usepackage{docbook}
> 
> Using this package has been an endless source of problems. Please
> provide a minimal non-working example *NOT* using docbook (dblatex)
> or reassign the bug to dblatex.
> 
> dblatex is notorious for messing up all kinds of internals of all
> kinds of packages, and there is nothing to be debugged in the
> horrible conondrum of dblatex. It is up to the dblatex maintainers.

I'm reassigning to dblatex.

> Best
> 
> Norbert

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#870280: xelatex: Undefined control sequence \l__xeCJK_listings_letter_bool

2017-07-31 Thread Norbert Preining
tags 870280 + moreinfo
severity 870280 normal
thanks

> \usepackage{docbook}

Using this package has been an endless source of problems. Please
provide a minimal non-working example *NOT* using docbook (dblatex)
or reassign the bug to dblatex.

dblatex is notorious for messing up all kinds of internals of all
kinds of packages, and there is nothing to be debugged in the
horrible conondrum of dblatex. It is up to the dblatex maintainers.

Best

Norbert

--
PREINING Norbert   http://www.preining.info
Accelia Inc. +JAIST +TeX Live +Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



Bug#870280: xelatex: Undefined control sequence \l__xeCJK_listings_letter_bool

2017-07-31 Thread Adrian Bunk
Package: texlive-latex-recommended
Version: 2017.20170724-1
Severity: serious
Control: affects -1 src: auto-multiple-choice src:debian-reference 
src:installation-guide src:maint-guide

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/arm64/auto-multiple-choice.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/debian-reference.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/installation-guide.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/maint-guide.html

These packages FTBFS with an error that can be reproduced with:

$ cat test.tex  
\documentclass{article}
\usepackage{ifxetex}
\usepackage{docbook}
\setuplocale{ja}
\usepackage{xeCJK}
\setCJKmainfont{IPAexMincho}
\setCJKsansfont{IPAexGothic}
\setCJKmonofont{IPAexGothic}

\begin{document}
\begin{CJK}{UTF8}{gkai}
\lstsetup
\end{CJK}
\end{document}
$ xelatex test.tex  
This is XeTeX, Version 3.14159265-2.6-0.8 (TeX Live 2017/Debian) (preloaded 
format=xelatex)
 restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2017-04-15>
Babel <3.12> and hyphenation patterns for 9 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf/tex/latex/dblatex/style/docbook.sty
(/usr/share/texlive/texmf-dist/tex/latex/titlesec/titlesec.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texlive/texmf-dist/tex/latex/pdfpages/pdfpages.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/share/texlive/texmf-dist/tex/latex/tools/calc.sty)
(/usr/share/texlive/texmf-dist/tex/latex/eso-pic/eso-pic.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/atbegshi.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/xetex.def)))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)))
(/usr/share/texlive/texmf-dist/tex/latex/pdfpages/ppxetex.def))
(/usr/share/texlive/texmf-dist/tex/latex/multirow/multirow.sty)
(/usr/share/texlive/texmf-dist/tex/latex/subfigure/subfigure.sty

* Local config file subfigure.cfg used *

(/usr/share/texlive/texmf-dist/tex/latex/subfigure/subfigure.cfg))
(/usr/share/texlive/texmf-dist/tex/latex/tools/tabularx.sty
(/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty))
(/usr/share/texlive/texmf-dist/tex/latex/footmisc/footmisc.sty)
(/usr/share/texlive/texmf-dist/tex/latex/appendix/appendix.sty)
(/usr/share/texmf/tex/latex/dblatex/style/dbk_fonts.sty
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty)))
(/usr/share/texmf/tex/latex/dblatex/style/dbk_hyper.sty
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/auxhook.sty)
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty))

Package hyperref Message: Driver (autodetected): hxetex.

(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hxetex.def
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/stringenc.sty)
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/bookmark.sty
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/bkm-dvipdfm.def)))
(/usr/share/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
(/usr/share/texlive/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and firstline=lastline fix 
<2008/02/07> (tvz)) (/usr/share/texlive/texmf-dist/tex/latex/float/float.sty)
(/usr/share/texlive/texmf-dist/tex/latex/lastpage/lastpage.sty)