# [XeTeX] Extraneous comma shows conflict between memoir and xecjk package?

jon jon at newkanji.com
Thu Jun 7 06:53:31 CEST 2012

Thanks, Ross.

That was plunge into the deep end of the pool! I gave it try,
nevertheless, and was still searching the log for the extraneous comma
when Qing Lee's message came in, a virtual life-saver for a poor
swimmer. <g>

Jon

On 06/06/2012 02:30 PM, Ross Moore wrote:
> Hello Jon,
>
> On 07/06/2012, at 5:15 AM, jon wrote:
>
>> THE BAD
>> The following does not produce expected results. There is an *extraneous comma* (or superscripted comma) inserted  into the body text directly before every footnote number.
>>
>> \documentclass[12pt]{memoir}
>
>> \usepackage{fontspec}
>> \setmainfont[Mapping=tex-text,Numbers=OldStyle]{Linux Libertine O}
>
>>
>  \usepackage{xeCJK}
>
>> \setCJKmainfont[]{AR PL UKai TW}
>
>> \begin{document}
> {\tracingall
>> But if I don't \emph{See through it and let it go},"\footnote{看得破，放得下。\emph{Kàn de pò, fàng de xià}.} the karma will carry forward....
>
>
>
> }
>
>> \end{document}
>> The book is 99.5% typeset so it is not practical to switch away from memoir at this point. If there is a way to use Chinese fonts without using xeCJK, I could try that. Any ideas how to get rid of that extraneous comma?
> First you need to find out where it is coming from.
> Inserting \tracingall (within a group {...} to limit the scope)
> will produce lots of output in the .log  or Console window.
>
> You should be able to search this to find where the extra comma
> is inserted, then follow backwards the various macro-expansions
> that caused this.
>
> Once the source is located, you should be able to make a single
> macro re-definition in your document preamble, to prevent
> the behaviour that you do not want.
>
>
> This may seem a rather tedious way to tackle the problem,
> but it is reliable and very instructive for solving such
> delicate problems, if you are interested in programming.
> — Not everyone's cup of tea, though.
>
>> Thanks!
>>
>> Jon
>> --
>> Jon Babcock
>
> Hope this helps,
>
> 	Ross
>
> ------------------------------------------------------------------------
> Ross Moore                                       ross.moore at mq.edu.au
> Mathematics Department                           office: E7A-419
> Macquarie University                             tel: +61 (0)2 9850 8955
> Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
> ------------------------------------------------------------------------
>
>
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>    http://tug.org/mailman/listinfo/xetex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20120606/9921f8d3/attachment.html>


More information about the XeTeX mailing list