CTAN Comprehensive TeX Archive Network

Directory macros/jptex/latex/plautopatch

README.md

plautopatch

Japanese p/up formats and packages often conflict with other packages which are unaware of p/up. In the worst case, such packages throw a fatal error or end up with a wrong output.

The goal of this package "plautopatch" is that there should be no need to worry about such incompatibilities, because specific patches are loaded automatically whenever necessary. This helps not only to simplify source files, but also to make the appearance of working p/up sources similar to those of ordinary ones.

The following patches are currently registered:

  • doc (latex) -> pldocverb (platex-tools)
  • tracefnt (latex) -> ptrace/uptrace (platex/uplatex)
  • fltrace (latex) -> pfltrace (platex)
  • array (latex-tools) -> plarray (platex-tools)
  • array (latex-tools) + plext (platex) -> plextarray (platex-tools)
  • delarray (latex-tools) + plext (platex) -> plextdelarray (platex-tools)
  • colortbl + plext (platex) -> plextcolortbl (platex-tools)
  • arydshln -> plarydshln (maintained here!)
  • arydshln + plext (platex) -> plextarydshln (maintained here!)
  • siunitx -> plsiunitx (maintained here!)
  • collcell -> plcollcell (maintained here!)
  • everysel (ms) -> pxeverysel (platex-tools)
  • everyshi (ms) -> pxeveryshi (platex-tools)
  • atbegshi (oberdiek) -> pxatbegshi (platex-tools)
  • ftnright (latex-tools) -> pxftnright (platex-tools)
  • multicol (latex-tools) -> pxmulticol (platex-tools)
  • xspace (latex-tools) -> pxxspace (platex-tools)
  • textpos -> pxtextpos (gentombow)
  • eso-pic -> pxesopic (gentombow)
  • pdfpages -> pxpdfpages (gentombow)
  • stfloats (sttools) -> pxstfloats (pxsttools)
  • hyperref -> pxjahyper (by Takayuki YATO)
  • pgfrcs (pgf) -> pxpgfrcs (maintained here!)
  • pgfcore (pgf) -> pxpgfmark (by Takayuki YATO)

Requirements

If 2020-10-01 or newer is running, this package uses the new hook system such as \AddToHook{package/before/...} and \AddToHook{package/after/...}. If is older than that, this package depends on filehook package (written by Martin Scharrer).

Miscellaneous

This bundle may distribute some tiny patches together with the main package. All packages are meant for use with p/up. Short information:

  • plarydshln.sty: Patch for arydshln.sty (by Hiroshi Nakashima) to improve compatibility with p kernel.
  • plextarydshln.sty: Patch for arydshln.sty (by Hiroshi Nakashima) to improve compatibility with plext.sty in p.
  • plsiunitx.sty: Patch for siunitx.sty (by Joseph Wright) to fix conflict with plarray.sty (platex-tools).
  • plcollcell.sty: Patch for collcell.sty (by Martin Scharrer) to fix conflict with plarray.sty (platex-tools).
  • pxpgfrcs.sty: Patch for pgfrcs.sty (part of PGF) to support Japanese classes for vertical writing.
  • pxstfloats.sty: Patch for stfloats.sty (sttools) to improve compatibility with p kernel. Actually part of pxsttols (https://github.com/aminophen/pxsttools) but included here for convenience.

Installation

  • .sty -> $TEXMF/tex/platex/plautopatch
  • .tex, .pdf -> $TEXMF/doc/platex/plautopatch

Repository

The bundle is maintained on GitHub: https://github.com/aminophen/plautopatch

License

The bundle may be distributed and/or modified under the terms of the 3-clause BSD license (see LICENSE).

Release Date

2021-12-07

Hironobu Yamashita

Download the contents of this package in one zip archive (147.5k).

plautopatch – Automated patches for p/up

Japanese p/up formats and packages often conflict with other packages which are unaware of p/up. In the worst case, such packages throw a fatal error or end up with a wrong output.

The goal of this package is that there should be no need to worry about such incompatibilities, because specific patches are loaded automatically whenever necessary. This helps not only to simplify source files, but also to make the appearance of working p/up sources similar to those of ordinary ones.

Packageplautopatch
Repositoryhttps://github.com/aminophen/plautopatch
Version0.9q 2021-12-07
Licenses3-clause BSD License
Copyright2018–2021 Hironobu Yamashita
MaintainerHironobu Yamashita
Contained inTeX Live as plautopatch
MiKTeX as plautopatch
TopicsJapanese
Debug supp
Bugfix
...
Guest Book Sitemap Contact Contact Author