summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-11-25 22:08:38 +0000
committerKarl Berry <karl@freefriends.org>2018-11-25 22:08:38 +0000
commitb5cf9aad99f165daa6f125d38585e7aa4010d3e9 (patch)
treedef9b60596a5cffd3dead2ff40f5a92343bcf425 /Master
parentb8996f0f541d768f8f70ef9c6ca5b938ad164b70 (diff)
platex-tools (25nov18)
git-svn-id: svn://tug.org/texlive/trunk@49250 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/platex-tools/Makefile2
-rw-r--r--Master/texmf-dist/doc/latex/platex-tools/README.md6
-rw-r--r--Master/texmf-dist/doc/latex/platex-tools/pxmulticol.pdfbin0 -> 49650 bytes
-rw-r--r--Master/texmf-dist/doc/latex/platex-tools/pxmulticol.tex62
-rw-r--r--Master/texmf-dist/tex/latex/platex-tools/pxmulticol.sty25
5 files changed, 93 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/platex-tools/Makefile b/Master/texmf-dist/doc/latex/platex-tools/Makefile
index f29bbf95216..a1bc26e10a1 100644
--- a/Master/texmf-dist/doc/latex/platex-tools/Makefile
+++ b/Master/texmf-dist/doc/latex/platex-tools/Makefile
@@ -3,7 +3,7 @@ FONTMAP = -f ipaex.map -f ptex-ipaex.map
TEXMF = $(shell kpsewhich -var-value=TEXMFHOME)
all: plarray.pdf plextarray.pdf plextdelarray.pdf \
- pxatbegshi.pdf pxftnright.pdf \
+ pxatbegshi.pdf pxftnright.pdf pxmulticol.pdf \
pxeverysel.pdf pxeveryshi.pdf
.SUFFIXES: .tex .dvi .pdf
diff --git a/Master/texmf-dist/doc/latex/platex-tools/README.md b/Master/texmf-dist/doc/latex/platex-tools/README.md
index e88f159fb9c..51d952a3b86 100644
--- a/Master/texmf-dist/doc/latex/platex-tools/README.md
+++ b/Master/texmf-dist/doc/latex/platex-tools/README.md
@@ -23,6 +23,10 @@ and some additional packages are included.
Patch for ftnright.sty (latex-tools) to support
Japanese classes for vertical writing.
Can be used on pLaTeX/upLaTeX.
+- pxmulticol.sty:
+ Patch for multicol.sty (latex-tools) to support
+ `\footnote` in vertical writing.
+ Can be used on pLaTeX/upLaTeX.
- pxeverysel.sty:
Patch for everysel.sty (ms) to improve
compatibility with Japanese font selection in pLaTeX.
@@ -74,6 +78,6 @@ the 3-clause BSD license (see [LICENSE](./LICENSE)).
## Release Date
-2018-10-28
+2018-11-25
Hironobu Yamashita
diff --git a/Master/texmf-dist/doc/latex/platex-tools/pxmulticol.pdf b/Master/texmf-dist/doc/latex/platex-tools/pxmulticol.pdf
new file mode 100644
index 00000000000..a82970574c0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/platex-tools/pxmulticol.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/platex-tools/pxmulticol.tex b/Master/texmf-dist/doc/latex/platex-tools/pxmulticol.tex
new file mode 100644
index 00000000000..352c46a5410
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/platex-tools/pxmulticol.tex
@@ -0,0 +1,62 @@
+%# -*- coding: utf-8 -*-
+\ifx\epTeXinputencoding\undefined\else % defined in e-pTeX (> TL2016)
+ \epTeXinputencoding utf8 % ensure utf-8 encoding for platex
+\fi
+
+\documentclass[a4paper]{jsarticle}
+\begingroup
+ \def\NeedsTeXFormat#1\ProvidesPackage#2[#3 #4 #5]{%
+ \gdef\fileversion{#4}\gdef\filedate{#3}\endinput}
+ \input{pxmulticol.sty}
+\endgroup
+\title{Package \textsf{pxmulticol} \fileversion}
+\author{Hironobu Yamashita}
+\date{\filedate}
+\begin{document}
+
+\maketitle
+
+Package \textsf{multicol}, included in \textsf{latex-tools} bundle,
+throws an error when \verb+\footnote+ appears in vertical writing on
+(u)p\LaTeX. The package \textsf{pxmulticol} provides a patch to
+solve this problem.
+
+This package is part of \textsf{platex-tools} bundle:
+\begin{verbatim}
+ https://github.com/aminophen/platex-tools
+\end{verbatim}
+
+The rest of this document is written in Japanese, and includes some
+examples of usage.
+
+\bigskip
+
+\textsf{latex-tools}バンドルに含まれる\textsf{multicol}パッケージは、
+縦組で脚注 (\verb+\footnote+) を使うとエラーを出してしまいます。
+この\textsf{pxmulticol}パッケージを読み込むことで、縦組クラスでも
+\textsf{multicols}環境内で脚注を使うことができるようになります。
+
+\section{使いかた}
+
+\textsf{multicol}パッケージの代わりに、あるいは追加で
+\textsf{pxmulticol}パッケージを読み込みます。
+
+\begin{verbatim}
+ \documentclass[a4paper]{tarticle}
+ \usepackage{pxmulticol}% multicol の代わり
+ \begin{document}
+ \begin{multicols}{2}
+ 縦組で段組をする場合も、脚注\footnote{こんな感じです。}を使う
+ ことができます。
+ \end{multicols}
+ \end{document}
+\end{verbatim}
+
+\section*{References}
+
+\begin{itemize}
+\item 縦書き二段組における段移動\\
+ \texttt{https://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=2535}
+\end{itemize}
+
+\end{document}
diff --git a/Master/texmf-dist/tex/latex/platex-tools/pxmulticol.sty b/Master/texmf-dist/tex/latex/platex-tools/pxmulticol.sty
new file mode 100644
index 00000000000..a55341af957
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/platex-tools/pxmulticol.sty
@@ -0,0 +1,25 @@
+%
+% pxmulticol.sty
+% written by Hironobu Yamashita (@aminophen)
+%
+% This package is part of the platex-tools bundle.
+% https://github.com/aminophen/platex-tools
+%
+% This package is expected to be compatible with
+% * multicol.sty in latex-tools
+% (1995/10/19 v1.5l -- 2018/04/01 v1.8r)
+%
+
+\NeedsTeXFormat{pLaTeX2e}
+\ProvidesPackage{pxmulticol}
+ [2018/11/25 v0.2 footnote layout package for pLaTeX]
+\RequirePackageWithOptions{multicol}
+
+%% patching internal code for multicol.sty
+%
+\def\reinsert@footnotes{\ifvoid\footins\else
+ \insert\footins{\iftbox\footins\tate\else\yoko\fi}\fi}
+%
+%% done
+
+\endinput