texlive[49250] Master/texmf-dist: platex-tools (25nov18)

commits+karl at tug.org commits+karl at tug.org
Sun Nov 25 23:08:38 CET 2018


Revision: 49250
          http://tug.org/svn/texlive?view=revision&revision=49250
Author:   karl
Date:     2018-11-25 23:08:38 +0100 (Sun, 25 Nov 2018)
Log Message:
-----------
platex-tools (25nov18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/platex-tools/Makefile
    trunk/Master/texmf-dist/doc/latex/platex-tools/README.md

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/platex-tools/pxmulticol.pdf
    trunk/Master/texmf-dist/doc/latex/platex-tools/pxmulticol.tex
    trunk/Master/texmf-dist/tex/latex/platex-tools/pxmulticol.sty

Modified: trunk/Master/texmf-dist/doc/latex/platex-tools/Makefile
===================================================================
--- trunk/Master/texmf-dist/doc/latex/platex-tools/Makefile	2018-11-25 22:08:21 UTC (rev 49249)
+++ trunk/Master/texmf-dist/doc/latex/platex-tools/Makefile	2018-11-25 22:08:38 UTC (rev 49250)
@@ -3,7 +3,7 @@
 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

Modified: trunk/Master/texmf-dist/doc/latex/platex-tools/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/platex-tools/README.md	2018-11-25 22:08:21 UTC (rev 49249)
+++ trunk/Master/texmf-dist/doc/latex/platex-tools/README.md	2018-11-25 22:08:38 UTC (rev 49250)
@@ -23,6 +23,10 @@
     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 @@
 
 ## Release Date
 
-2018-10-28
+2018-11-25
 
 Hironobu Yamashita

Added: trunk/Master/texmf-dist/doc/latex/platex-tools/pxmulticol.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/platex-tools/pxmulticol.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/platex-tools/pxmulticol.pdf	2018-11-25 22:08:21 UTC (rev 49249)
+++ trunk/Master/texmf-dist/doc/latex/platex-tools/pxmulticol.pdf	2018-11-25 22:08:38 UTC (rev 49250)

Property changes on: trunk/Master/texmf-dist/doc/latex/platex-tools/pxmulticol.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/platex-tools/pxmulticol.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/platex-tools/pxmulticol.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/platex-tools/pxmulticol.tex	2018-11-25 22:08:38 UTC (rev 49250)
@@ -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}


Property changes on: trunk/Master/texmf-dist/doc/latex/platex-tools/pxmulticol.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/platex-tools/pxmulticol.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/platex-tools/pxmulticol.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/platex-tools/pxmulticol.sty	2018-11-25 22:08:38 UTC (rev 49250)
@@ -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 at footnotes{\ifvoid\footins\else
+      \insert\footins{\iftbox\footins\tate\else\yoko\fi}\fi}
+%
+%% done
+
+\endinput


Property changes on: trunk/Master/texmf-dist/tex/latex/platex-tools/pxmulticol.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


More information about the tex-live-commits mailing list