summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bxjaholiday/README.md
blob: 52c23bf39d72e768aef995f0f12282cf330b4875 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# The 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:

```tex
\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](https://github.com/latex3/l3build).

* Installing the package to TEXMFHOME

```
$ l3build install --full
```

* Typesetting documentation

```
$ l3build doc
```

* Running tests

```
$ l3build check
```

## License

This package is distributed under [the MIT license](./LICENSE).

## Revision History

* Version 1.1.1  ‹2021-09-28›
  * A bug fix
* Version 1.1.0  ‹2020-11-28›
  * Add Japanese documentation
  * Support special cases in 2021
* 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](https://twitter.com/wtsnjp))