[tex-live] xesearch (under xetex) has error loading (TeX Live (cygwin) user)

John Wong thjwong at gmail.com
Tue Nov 17 01:25:21 CET 2015


Thanks for pointing out that. I found out I can compile it with xelatex
outside of emacs, I must now only find a way to make sure the xetex engine
is called inside emacs for the job.

On Tue, Nov 17, 2015 at 12:54 AM, Zdenek Wagner <zdenek.wagner at gmail.com>
wrote:

> Yes, this is the most likely reason. I do not see anything that could
> undefine XeTeXinterchartoks which is a XeTeX primitive.
>
> Zdeněk Wagner
> http://ttsm.icpf.cas.cz/team/wagner.shtml
> http://icebearsoft.euweb.cz
>
> 2015-11-17 0:42 GMT+01:00 Herbert Schulz <herbs at wideopenwest.com>:
>
>> > On Nov 16, 2015, at 5:25 PM, John Wong <thjwong at gmail.com> wrote:
>> >
>> > Hi all, below is my minimal sample file and I just assume the
>> specification at the end of file will direct the process to xetex.
>> > What else can I do to make it work?
>> >
>> > \documentclass{article}
>> >
>> > \usepackage{xesearch}
>> > % \newcounter{counted}% for creating unique counted* macros
>> > % \newcounter{words}[counted]% let words counter be reset by counted
>> > % \makeatletter
>> > % \newenvironment{counted}{%
>> > %   \noindent\hrulefill\par
>> > %   \stepcounter{counted}%
>> > %   \@ifundefined{counted\thecounted}{%
>> > %     \marginpar{\footnotesize\itshape?? words}%
>> > %   }{%
>> > %     \marginpar{\footnotesize\itshape\@nameuse{counted\thecounted}
>> words}%
>> > %   }%
>> > %   % \marginpar{\footnotesize\textit{\thewords\ words}}%
>> > %   % \setcounter{words}{0}%
>> > %   \SearchList!{wordcount}{\stepcounter{words}}
>> > %   {a?,b?,c?,d?,e?,f?,g?,h?,i?,j?,k?,l?,m?,
>> > %     n?,o?,p?,q?,r?,s?,t?,u?,v?,w?,x?,y?,z?}
>> > %   \UndoBoundary{'}
>> > %   \SearchOrder{p;}}{%
>> > %   \StopSearching
>> > %
>>  \immediate\write\@auxout{\string\global\string\@namedef{counted\thecounted}{\thewords}}%
>> > %   \marginpar{\raggedright\footnotesize\textit{End counting words}}
>> > %   \par\noindent\hrulefill}
>> > % \makeatother
>> >
>> > \begin{document}
>> >
>> > \section{Section 1}
>> > % \begin{counted}
>> > Text here
>> > % \end{counted}
>> > % (\thewords\ words.)
>> >
>> > \end{document}
>> > %%% Local Variables:
>> > %%% coding: utf-8
>> > %%% mode: latex
>> > %%% TeX-engine: xetex
>> > %%% TeX-master: t
>> > %%% End:
>> >
>> >
>> > On Mon, Nov 16, 2015 at 10:13 PM, David Carlisle <
>> d.p.carlisle at gmail.com> wrote:
>> > On 16 November 2015 at 19:59, John Wong <thjwong at gmail.com> wrote:
>> > > Dear mailing list members,
>> > >
>> > > I am a user of TeX Live (with cygwin under windows).
>> > >
>> > > The xesearch package does not load and simply \usepackage{xesearch}
>> will
>> > > give me the following errors.
>> > >
>> > >
>> > > ERROR: Undefined control sequence.
>> > >
>>
>> Howdy,
>>
>> If you make sure you are compiling with xelatex there is no problem. Your
>> error message is typical of what you get if your try to compile with
>> pdflatex. Have you tried to compile outside of emacs which seems to be what
>> you are doing from the directives?
>>
>> Good Luck,
>>
>> Herb Schulz
>> (herbs at wideopenwest dot com)
>>
>>
>>
>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20151117/0a28a573/attachment.html>


More information about the tex-live mailing list