Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#776644: texlive-xetex: xeCJK error message apparently prints wrong command

94 views
Skip to first unread message

Leonardo Boiko

unread,
Jan 30, 2015, 8:30:03 AM1/30/15
to
Package: texlive-xetex
Version: 2012.20120611-5
Severity: normal

If I try to compile a document including \usepacakge{xeCJK}, but without
a main font command, xelatex prints this message:

*************************************************
* xeCJK warning: "no-CJKfamily"
*
* It seems that you have not declare a CJKfamily.
* If you want to use xeCJK in the right way, you should use
*
* \xeCJKmainfont[...]{...}
*
* in the preamble to declare the main CJKfamily.
*
*************************************************

But if I use the suggested command, I get:

! Undefined control sequence.
l.20 \xeCJKmainfont

The included example files don't use \xeCJKmainfont , they use
\setCJKmainfont .


######################################
List of ls-R files

-rw-r--r-- 1 root root 3104 Jan 30 11:14 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Jan 9 2013 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 Oct 3 2012 /usr/share/texlive/texmf/ls-R -> /var/lib/texmf/ls-R-TEXLIVEMAIN
-rw-rw-r-- 1 root staff 80 Apr 1 2013 /usr/local/share/texmf/ls-R
lrwxrwxrwx 1 root root 31 Oct 3 2012 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Oct 3 2012 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Oct 3 2012 /usr/share/texlive/texmf/ls-R -> /var/lib/texmf/ls-R-TEXLIVEMAIN
######################################
Config files
-rw-r--r-- 1 root root 1101 Jan 14 2013 /etc/texmf/web2c/texmf.cnf
-rw-r--r-- 1 root root 9560 Jan 30 11:13 /var/lib/texmf/web2c/fmtutil.cnf
lrwxrwxrwx 1 root root 32 Oct 3 2012 /usr/share/texmf/web2c/updmap.cfg -> /var/lib/texmf/updmap.cfg-DEBIAN
-rw-r--r-- 1 root root 17000 Jan 30 11:13 /var/lib/texmf/tex/generic/config/language.dat
######################################
Files in /etc/texmf/web2c/
total 8
-rw-r--r-- 1 root root 283 Nov 10 2008 mktex.cnf
-rw-r--r-- 1 root root 1101 Jan 14 2013 texmf.cnf
######################################
md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c /etc/texmf/texmf.d/00debian.cnf
055e06548bac99958d8ab2dd1248f2b4 /etc/texmf/texmf.d/80tex4ht.cnf

-- System Information:
Debian Release: 7.8
APT prefers stable
APT policy: (990, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.18.1 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to ja_JP.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages texlive-xetex depends on:
ii dpkg 1.16.15
ii tex-common 3.15
ii texlive-base 2012.20120611-5
ii texlive-binaries 2012.20120628-4
ii texlive-common 2012.20120611-5
ii texlive-latex-base 2012.20120611-5
ii tipa 2:1.3-19

Versions of packages texlive-xetex recommends:
ii lmodern 2.004.2-1

texlive-xetex suggests no packages.

Versions of packages tex-common depends on:
ii debconf [debconf-2.0] 1.5.49
ii dpkg 1.16.15
ii ucf 3.0025+nmu3

Versions of packages tex-common suggests:
ii debhelper 9.20120909

Versions of packages texlive-xetex is related to:
ii tex-common 3.15
ii texlive-binaries 2012.20120628-4

-- debconf information excluded


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Hilmar Preuße

unread,
Jan 30, 2015, 9:00:02 AM1/30/15
to
On 30.01.2015 14:24, Leonardo Boiko wrote:

Hi,

> If I try to compile a document including \usepacakge{xeCJK}, but without
> a main font command, xelatex prints this message:
>
> *************************************************
> * xeCJK warning: "no-CJKfamily"
> *
> * It seems that you have not declare a CJKfamily.
> * If you want to use xeCJK in the right way, you should use
> *
> * \xeCJKmainfont[...]{...}
> *
> * in the preamble to declare the main CJKfamily.
> *
> *************************************************
>
At least the string "xeCJKmainfont" does not occur an more in recent
versions of xeCJK. Do you have the chance to test w/ Debian unstable? If
not, could you provide a minimal xetex input file for testing?

Hilmar
--
http://www.hilmar-preusse.de.vu/ #206401 http://counter.li.org

Leonardo Boiko

unread,
Feb 2, 2015, 7:00:03 PM2/2/15
to
You're right, I'm sorry for not checking before.  In jessie (texlive-xetex 2014.20141024-2), the message is better (though ideally I think it should mention the command, but that's not a packaging bug):

    *************************************************
    * xeCJK warning: "fandol"
    *
    * Fandol is being set as the default font for CJK text.
    * Please make sure it has been properly installed.
    *************************************************

Incidentally, I stumbled on another xecjk bug in wheezy (it stack-overflows if you use the fontspec option \defaultfontfeatures{Scale=MatchLowercase} ); but this, too, is already fixed in the jessie version.

Again, sorry for taking your time.


0 new messages