CTAN Comprehensive TeX Archive Network

Direc­tory macros/generic/ifptex

README.md

if­p­tex Pack­age Bun­dle

: To check the en­gine is p (or its deriva­tives)

The if­p­tex pack­age is a coun­ter­part of ifx­e­tex, iflu­a­tex, etc. for the p en­gine. The ifup­tex pack­age is an alises to if­p­tex pro­vided for back­ward com­pat­i­bil­ity.

Sys­tem Re­quire­ments

  • for­mat: plain , (and any plain-com­pat­i­ble ones).
    • en­gine: Any­thing.
    • DVI driver (in DVI mode): Any­thing.

In­stal­la­tion

In a sys­tem com­pli­ant to TDS 1.1, move the files as fol­lows:

  • *.sty → $TEXMF/tex/la­tex/if­p­tex

And re­hash your TEXMF trees if nec­es­sary.

Li­cense

This pack­age is dis­tributed un­der the MIT Li­cense.

if­p­tex Pack­age ― Test for p en­gine

Pack­age Load­ing

In plain :

\input ifptex.sty

In :

\usepackage{ifptex}

Usage

NB: Here “-ness” is not con­sid­ered.

  • \ifpTeX (or \ifptex) if-to­ken Whether the en­gine is p (in­clud­ing up or p-ng).
    • \ifstrictpTeX (or \ifstrictptex) if-to­ken Whether the en­gine is p but not up or p-ng.
    • \ifupTeX (or \ifuptex) if-to­ken Whether the en­gine is up (in­clud­ing p-ng).
    • \ifstrictupTeX (or \ifstrictuptex) if-to­ken Whether the en­gine is up but not p-ng.
    • \ifnativeupTeX if-to­ken Whether the en­gine is up and its in­ter­nal en­cod­ing is Uni­code.
    • \ifpTeXng (or \ifptexng) if-to­ken Whether the en­gine is p-ng.
    • \RequirepTeX Is­sues an er­ror if \ifpTeX fails.
    • \RequireStrictpTeX Is­sues an er­ror if \ifstrictpTeX fails.
    • \RequireupTeX Is­sues an er­ror if \ifupTeX fails.
    • \RequireStrictupTeX Is­sues an er­ror if \ifstrictupTeX fails.
    • \RequireNativeupTeX Is­sues an er­ror if \ifnativeupTeX fails.
    • \RequirepTeXng Is­sues an er­ror if \ifpTeXng fails.

ifup­tex Pack­age ― Alias of if­p­tex

The ifup­tex pack­age does noth­ing but load­ing if­p­tex in­ter­nally. It is pro­vided for back­ward com­pat­i­bil­ity.

Pack­age Load­ing

In plain :

\input ifuptex.sty

In :

\usepackage{ifuptex}

Usage

Just the same as the if­p­tex pack­age.

Re­vi­sion His­tory

  • Ver­sion 1.2c 〈2017/10/04〉
    • Ver­sion 1.2b 〈2017/09/20〉
    • Ver­sion 1.2a 〈2017/09/15〉
    • Ver­sion 1.2 〈2017/09/09〉
      • Add \ifstrictupTeX and RequireStrictupTeX.
    • Ver­sion 1.1 〈2017/05/04〉
      • Mi­nor fix.
    • Ver­sion 1.0 〈2013/04/29〉
      • Move to a sep­a­rate bun­dle.
        • Change the pack­age name to if­p­tex, and added the test for p (be­sides up).
    • Ver­sion 0.2 〈2008/03/14〉
      • First pub­lic ver­sion.

Takayuki YATO (aka. "ZR") https://github.com/zr-tex8r

Down­load the con­tents of this pack­age in one zip archive (7.0k).

if­p­tex – Check if the en­gine is p or one of its deriva­tives

The if­p­tex pack­age is a coun­ter­part of ifx­e­tex, iflu­a­tex, etc. for the ptex en­gine. The ifup­tex pack­age is an alias to if­p­tex pro­vided for back­ward com­pat­i­bil­ity.

Pack­ageif­p­tex
Re­pos­i­toryhttps://github.com/zr-tex8r/if­p­tex
Ver­sion1.2c 2017-10-04
Li­censesMIT Li­cense
Main­tainerTakayuki Yato
Con­tained inTeX Live as if­p­tex
MiKTeX as if­p­tex
TopicsEn­vi­ron­ment query
Ja­panese
...
Guest Book Sitemap Contact Contact Author