[tex-live] [dluecking at sbcglobal.net: Re: Polyglossia breaks XeLaTeX]

Zdenek Wagner zdenek.wagner at gmail.com
Sun Sep 2 17:17:38 CEST 2012


2012/9/2 Haines Brown <haines at histomat.net>:
> ----- Forwarded message from Dan&Jan Luecking <dluecking at sbcglobal.net> -----
>
> Date: Sat, 1 Sep 2012 22:16:04 -0500
> From: Dan&Jan Luecking <dluecking at sbcglobal.net>
> To: tex-live at tug.org
> Subject: Re: [tex-live] Polyglossia breaks XeLaTeX
> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
>
> On Sat Sep 1 2012 at 20:24:41 CEST, Haines Brown <mailto:tex-live%40tug.org?Subject=Re%3A%20%5Btex-live%5D%20Polyglossia%20breaks%20XeLaTeX&In-Reply-To=%3C20120901182441.GH5314%40histomat.net%3E>haines
> at histomat.net wrote:
>
>> > Here again is the test document preamble (first line changed fom xetex
>> > to XeLaTeX):
>> >
>> >   %!TEX TS-program = XeLaTeX
>
>> Is this correct? Isn't Unix case sensitive? Shouldn't it be xelatex?
>
> I don't know. I just copied it from somewhere. It was not apparent that
> two lines are even needed. Note below the "Running 'XeLaTeX'".
>
> Here's a test document in its entirety:
>
>   %!TEX TS-program = xelatex
>   %!TEX encoding = UTF-8 Unicode
>
>   \documentclass[12pt,titlepage]{article}
>   \usepackage{xltxtra}
>   \usepackage{xunicode,fontspec}
>   \usepackage(csquotes}
>   \begin{document}
>   body
>   \end{document}
>
> When not using the csquotes package, things work (the PDF displays
> "body"). However, with use of this package (or polyglossia) I get an
> error. When I do C-c C-l I get:
>
As already pointed by Dan, you have ( instead of { when calling
csquotes. \usepackage thus takes ( as its single argument and tries to
load (.sty.

>   Running `XeLaTeX' on `test-xelatex-document' with ``xelatex test-xelatex-document.tex''
>   This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012)
>    restricted \write18 enabled.
>   entering extended mode
>   (./test-xelatex-document.tex
>   LaTeX2e <2011/06/27>
>   ...
>   *************************************************
>   * LaTeX warning: "xparse/redefine-command"
>   *
>   * Redefining document command \textsuperscript with arg. spec. 's' on line 28.
>   *************************************************
>   ) (/home/haines/texlive/2011/texmf-dist/tex/latex/metalogo/metalogo.sty))
>
>   ! LaTeX Error: File `(.sty' not found.
>
>   Type X to quit or <RETURN> to proceed,
>   or enter new name. (Default extension: sty)
>
>   Enter file name:
>
>> Check for a line like
>>   \usepackage(foo)
>> using parentheses instead of braces.
>
> There were no lines at all that contained the string "usepackage".
>
> I checked the .log file also, and the string was not in it
> either, nor a string "csquotes".
>
> I have no idea why it says "TeX Live 2012" above. I had a TL2011
> installation and all I did was to run tlmgr and did "Update all
> installed". I didn't expect this to install TL2012, but I see that
> tlmgr is the version for 2012. However, I have ~/texlive/2011 (and no
> /usr/local/texlive). If I inadvertantly upgraded to TL2012, I'm not
> surprised I have problems. But If I have TL2012 in a 2011 dirctory, I
> don't know how to fix it.
>
>
> Haines Brown



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



More information about the tex-live mailing list