blob: 86ee29a75e5102dc4d81bcb56f6ebcf3716ed377 (
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
|
# 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
```
$ ./build.lua install --full
```
* Typesetting documentation
```
$ ./build.lua doc
```
* Running tests
```
$ ./build.lua check
```
## License
This package is distributed under [the MIT license](./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](https://twitter.com/wtsnjp))
|