Skip to content
LaTeX: Support for Japanese holidays
TeX Lua
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
testfiles
.gitignore
LICENSE
README.md
build.lua
bxjaholiday.sty
bxjaholiday.tex
config-ptex.lua

README.md

BXjaholiday Package

LaTeX: Support for Japanese holidays

System requirements

  • TeX format: LaTeX
  • TeX engine: pdfTeX, XeTeX, LuaTeX, pTeX, and upTeX (The e-TeX extension is required)

Usage

This package provides following LaTeX2e commands:

\jaholidayname{<year>}{<month>}{<day>}
\jadayofweek{<year>}{<month>}{<day>}
\IfJaHoliday(TF){<year>}{<month>}{<day>}{<true code>}{<false code>}

Further functions are provided for expl3. See the manual (bxjaholiday.pdf) for the details.

Building

You can easily build this package with l3build.

  • Installing the package to TEXMFHOME
$ ./build.lua install --full
  • Typesetting documentation
$ ./build.lua doc
  • Running tests
$ ./build.lua check

License

This package is distributed under the MIT license.

Revision History

  • Version 1.0.0 ‹2019/02/03›
    • Add documentation
    • Rename \g_bxjh_sport_tl -> \g_bxjh_sports_tl
  • Version 0.2.0 ‹2019/01/27›
    • Support special holidays in 2019
    • Add new expl3 interface \bxjh_apply_(next|prev)_day:Nnnn
    • Fix a potential bug
  • Version 0.1.0 ‹2018/12/03›
    • The first public version

Takuto ASAKURA (wtsnjp)

You can’t perform that action at this time.