[latex3-commits] [git/LaTeX3-latex3-latex2e] gh353: Update changes.txt and layout.dtx to add the option japanese (b8fb16b8)
Johannes Braams
texniek at braams.xs4all.nl
Sat Jul 25 18:51:27 CEST 2020
Repository : https://github.com/latex3/latex2e
On branch : gh353
Link : https://github.com/latex3/latex2e/commit/b8fb16b81bdeacc3c2867a5278658d64016d8638
>---------------------------------------------------------------
commit b8fb16b81bdeacc3c2867a5278658d64016d8638
Author: Johannes Braams <texniek at braams.xs4all.nl>
Date: Sat Jul 25 18:51:27 2020 +0200
Update changes.txt and layout.dtx to add the option japanese
>---------------------------------------------------------------
b8fb16b81bdeacc3c2867a5278658d64016d8638
required/tools/changes.txt | 5 +++++
required/tools/layout.dtx | 27 ++++++++++++++++++++++++++-
2 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/required/tools/changes.txt b/required/tools/changes.txt
index b0695627..2cb986ff 100644
--- a/required/tools/changes.txt
+++ b/required/tools/changes.txt
@@ -4,6 +4,11 @@ It is provided for convenience only. It therefore makes no claims to
completeness or accuracy and it contains some references to files that
are not part of the distribution.
=======================================================================
+2020-07-25 Johannes Braams <Johannes.Braams at latex-project.org>
+
+ * layout.dtx: (subsection{Options}):
+ Option japanese added (gh/353)
+
2020-07-20 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
diff --git a/required/tools/layout.dtx b/required/tools/layout.dtx
index 8918ffdc..f3b47901 100644
--- a/required/tools/layout.dtx
+++ b/required/tools/layout.dtx
@@ -30,7 +30,7 @@
%<+package>\ProvidesPackage{layout}
%<+driver>\ProvidesFile{layout.drv}
%\ProvidesFile{layout.dtx}
- [2014/10/28 v1.2c Show layout parameters]
+ [2020-07-25 v1.2d Show layout parameters]
%
% A short driver is provided that can be extracted if necessary by
% the \textsf{DocStrip} program provided with \LaTeXe.
@@ -54,6 +54,17 @@
% \changes{v1.1d}{1994/09/08}{Stored texts in control sequences to
% allow other languages}
%
+% \makeatletter
+% \def\allowtofu{^^A
+%\def\UTFviii at undefined@err##1{^^A
+% \PackageWarning{inputenc}{Unicode character \expandafter
+% \UTFviii at splitcsname\string##1\relax
+% \MessageBreak
+% not set up for use with LaTeX}^^A
+% \raisebox{.8pt}{\fboxsep1pt\kern.1pt\fbox{$\cdot$}\kern.1pt}^^A
+% }}
+% \makeatother
+%
% \GetFileInfo{layout.dtx}
% \title{Displaying page layout variables}
% \author{Kent McPherson a.o.\thanks{Converted for \LaTeXe\ by
@@ -173,6 +184,20 @@
}
% \end{macrocode}
%
+% \changes{v1.2d}{2020-07-25}{Added option for Japanese (gh353)}
+% \begin{allowtofu}
+% \begin{macrocode}
+\DeclareOption{japanese}{%
+ \def\Headertext{天}
+ \def\Bodytext{基本版面}
+ \def\Footertext{地}
+ \def\MarginNotestext{傍\\注}
+ \def\oneinchtext{1インチ}
+ \def\notshown{非表示}
+ }
+% \end{macrocode}
+% \end{allowtofu}
+%
% This package has an option \Lopt{verbose}. Using it will make the
% command |\layout| type some of the parameters on the terminal.
% \begin{macrocode}
More information about the latex3-commits
mailing list.