1

From the installation chapter of the ifpdf documentation, it sounds like having the oberdiek package means you have the ifpdf package. When I use the MiKTeX 2.9 package manager, oberdiek shows up as installed but ifpdf does not show up at all. The ifpdf package is not listed at the CTAN page for oberdiek, but it is listed at the MiKTeX package page for oberdiek. Obviously, I trust the latter more since I'm using MiKTeX, but it sure would be reassuring if ifpdf showed up explicitly. Is there a way to double check its presence?

This message has been posted as the following threads. http://latex-community.org/forum/viewtopic.php?f=9&t=24134

  • 3
    ifpdf is listed under the oberdiek bundle on CTAN: ctan.org/tex-archive/macros/latex/contrib/oberdiek – Werner Nov 12 '13 at 5:27
  • 1
    The documentation to ifpdf also says it is a part of the Oberdiek bundle. The question is what MikTeX does, I suppose, and I can't answer that. – jon Nov 12 '13 at 5:41
  • 2
    ifpdf.sty is in the miktex package "oberdiek" (you can check the file list in the properties) and is installed by miktex in tex\generic\oberdiek\ifpdf.sty. And if you want to check its presence use findtexmf on the command line - or simply typeset a small document which loads it. – Ulrike Fischer Nov 12 '13 at 10:17
  • 2
    ifpdf.sty is in the ctan.org catalogue web page for the oberdiek bundle, but the formatting of the page is so dire that no-one would blame you for not noticing it. the xml sources that i write contain formatting hints, and they are preserved in the old-style catalogue formatting (at mirror.ctan.org/help/Catalogue/entries/oberdiek.html) – wasteofspace Nov 12 '13 at 11:57
1

The CTAN page contains a link to oberdiek.pdf which lists ifpdf. The webpage itself doesn't seem to (at least not from my case-insensitive search). I also couldn't find it from searching the source code for the page (AFTERNOTE: This is because it shows up as if-pdf in Microsoft Internet Exporer!). I would have found it if I looked in oberdiek.pdf, but I probably would have been confused by the disparity between the webpage summary and the document. So thanks for clearing that up, as well as for pointers on how to check for its presence. In particular, from web searching, the findtexmf command seems to be specific to MiKTeX and one needs to know th file to look for. This can be found in the ifpdf documentation under Section 4.3 (Package Installation).

I was hesitant to actually rely on loading the package as a test because I'm not too sure what kind of measures LaTeX resorts to in order to avoid crashing when it doesn't find a package. I suppose "nothing" is the right answer.

The thread at http://latex-community.org/forum/viewtopic.php?f=9&t=24134 also suggests "texdoc oberdiek". I issued this at the DOS command line, which made it abundantly clear that ifpdf is present.

Thanks, all.

AFTERNOTE: Because of the browser wrinkle in searching for package names, described above, one really needs to delve into the PDF documentation. Unless you are guaranteed to be alway using a browser that is immune the problem described.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.