[XeTeX] Problem with ifpdf switch

John Was johnoxuk at gmail.com
Mon Jul 6 22:37:31 CEST 2020


That's very interesting - I'll see if I can get to the bottom of it
tomorrow.

But I can absolutely confirm that I'm not using any legacy version of XeTeX
anywhere:  this was a fresh install from CTAN on a brand new computer that
had nothing at all on it apart from AVG antivirus and Mozilla Firefox!  (I
already reported to UKTUG that the DVD wouldn't install as AVG pounced
immediately on the setup, saying (probably wrongly) that it was infected -
hence my recourse to CTAN for an online installation.)

The spurious output doesn't occur when I typeset on the old computer with
the 2013 version of TeXLive:  it can only have happened in the intervening
period,

Best wishes

John 🇪🇺


<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Mon, 6 Jul 2020 at 19:00, David Carlisle <d.p.carlisle at gmail.com> wrote:

> I get no spurious output from this document with xetex
>
> \input ifpdf.sty
> \input eplain
>
> xxx
>
> \bye
>
>
> However you do not have the current version of ifpdf.sty your text is
> showing a 2016 date which presumably means you have an old copy somewhere
> on a local input path that is masking the one you would have installed with
> a current installation.
>
>
>
> The current  version of ifpdf.sty as distributed with texlive2020 has the
> line
>
>   \ProvidesPackage{ifpdf}[2019/10/25 v3.4 ifpdf legacy package. Use iftex
> instead.]
>
> So will not have made the text that you show.
>
> Some other macro that you have loaded has apparently defined
> \ProvidesPackage so that instead of sending the final argument to the log
> it typesets it, but impossible to say what that is from the information
> posted.
>
> David
>
>
> On Mon, 6 Jul 2020 at 18:31, Julian Bradfield <jcb+xetex at jcbradfield.org>
> wrote:
>
>> On 2020-07-06, John Was <johnoxuk at gmail.com> wrote:
>> > On acquiring a new PC I decided to install the latest TeXLive
>> (previously I
>> > was on the 2013 version).  I use plain XeTeX.  To my surprise, the first
>> > page now has at the top the text:
>> >
>> > ifpdf [2016/04/04 v3.0 Provides the ifpdf switch]
>> >
>> > See the attached one-page PDF.
>> >
>> > Below I give some lines from my log file - it's the last line that is of
>> > interest, viz.:
>>
>> No, that's not the line of interest. The lines of interest are all the
>> other files you might have loaded that might cause this breakage.
>> The line you see is, naturally, coming from ifpdf.sty, and to see it,
>> something must have broken the \ProvidesPackage, messed with catcodes,
>> or done something else to cause the break, unless the (rather old)
>> ifpdf.sty itself is buggy, which seems unlikely.
>>
>> Please construct a minimal (non-)working example, and post the full
>> log file, with links to all non-standard files loaded.
>>
>> Unless of course somebody jumps in to say they recognize the problem!
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/xetex/attachments/20200706/2f7037c2/attachment.html>


More information about the XeTeX mailing list.