Skip to content
Permalink
Browse files

The new gengo is 'Reiwa' (v0.5)

  • Loading branch information...
zr-tex8r committed Apr 1, 2019
1 parent d08650b commit e3121fb853c066a5993f82a522c2f25f91d3baa9
Showing with 26 additions and 20 deletions.
  1. +1 −1 LICENSE
  2. +3 −1 README.md
  3. BIN bxwareki.pdf
  4. +2 −2 bxwareki.sty
  5. +12 −11 bxwareki.tex
  6. +3 −0 bxwareki2019.def
  7. +3 −3 etc/bxwareki2019.def
  8. +2 −2 etc/gen_bxwareki2019.pl
@@ -1,6 +1,6 @@
The MIT License

Copyright (c) 2018 Takayuki YATO (aka. "ZR")
Copyright (c) 2018,2019 Takayuki YATO (aka. "ZR")

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -36,6 +36,8 @@ See the manual `bxwareki.pdf` for detail.
Revision History
----------------

* Version 0.5 ‹2019/04/01›
- Support for the new gengo “令和”.
* Version 0.4 ‹2018/10/01›
- Add `\warekigengoinitial`.
- Add option `download2019`.
@@ -46,4 +48,4 @@ Revision History

--------------------
Takayuki YATO (aka. "ZR")
http://zrbabbler.sp.land.to/
https://github.com/zr-tex8r
BIN +1.18 KB (100%) bxwareki.pdf
Binary file not shown.
@@ -1,7 +1,7 @@
%%
%% This is file 'bxwareki.sty'.
%%
%% Copyright (c) 2018 Takayuki YATO (aka. "ZR")
%% Copyright (c) 2018,2019 Takayuki YATO (aka. "ZR")
%% GitHub: https://github.com/zr-tex8r
%% Twitter: @zr_tex8r
%%
@@ -12,7 +12,7 @@

%% package declaration
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bxwareki}[2018/10/01 v0.4]
\ProvidesPackage{bxwareki}[2019/04/01 v0.5]

%% preparation
\def\bxwy@pkgname{bxwareki}
@@ -3,8 +3,8 @@
\usepackage[scale=0.75]{geometry}
\usepackage{shortvrb}
\MakeShortVerb{\|}
\newcommand{\PkgVersion}{0.4}
\newcommand{\PkgDate}{2018/10/01}
\newcommand{\PkgVersion}{0.5}
\newcommand{\PkgDate}{2019/04/01}
\newcommand{\Pkg}[1]{\textsf{#1}}
\newcommand{\Meta}[1]{$\langle$\textit{#1}$\rangle$}
\newcommand{\Note}{\par\noindent\emph{Note:}\quad}
@@ -146,7 +146,7 @@ \subsection{Conversion from the given date}
(\Ja{廿} and \Ja{卅}) are employed (\Ja{28} $\to$ \Ja{廿八});
\item |o|\Means
uses \emph{imyo} (\Ja{異名}) for months%
\footnote{Don't ask me if this form is ever used in LaTeX document!}
\footnote{Don't ask me if this form is ever used in {\LaTeX} document!}
(\Ja{8\+月} $\to$ \Ja{葉月}).
\end{itemize}

@@ -215,19 +215,20 @@ \section{Support for the kaigen planned in 2019}

In Japan a kaigen (due to the abdication of the Emperor)
is planned on 2019/05/01,
but the new gengo is not yet announced.
Thus in the current version of the package,
the date of the day or later is not supported
(the Western year will be printed instead).

This package will be updated to support the new gengo
and uploaded to CTAN,
as soon as the new gengo is announced.
and the new gengo ``\Ja{令和}'' has been announced in advance.
(The announcement was made on 2019/04/01.)
Thus this package has been updated to support the new gengo.

%-------------------
\subsection{The \texttt{download2019} option}
\label{ssec:download2019}

\begin{quote}\itshape
This function is no longer necessary,
since the new gengo is supported by default in the current version.
The function will be removed in near future.
\end{quote}

Instead of manually downloading the new version from CTAN,
you can get the support for the new gengo
with a single run of {\LaTeX}
@@ -0,0 +1,3 @@
E4BBA4:4EE4:4E61:l44
E5928C:548C:4F42:l83
R
@@ -1,3 +1,3 @@
E99BBB:96FB:4545:hDA
E69BB8:66F8:3D71:f16
D
E4BBA4:4EE4:4E61:l44
E5928C:548C:4F42:l83
R
@@ -4,8 +4,8 @@
use utf8;
use Encode qw(encode decode);

my $gengo = '電書';
my $gengo_initial = 'D';
my $gengo = '令和';
my $gengo_initial = 'R';
my $out_file = './bxwareki2019.def';

sub one_char {

0 comments on commit e3121fb

Please sign in to comment.
You can’t perform that action at this time.