summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/bxjaprnind/LICENSE2
-rw-r--r--Master/texmf-dist/doc/latex/bxjaprnind/README-ja.md2
-rw-r--r--Master/texmf-dist/doc/latex/bxjaprnind/README.md1
-rw-r--r--Master/texmf-dist/doc/latex/bxjaprnind/bxjaprnind.pdfbin365765 -> 321328 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bxjaprnind/bxjaprnind.tex5
-rw-r--r--Master/texmf-dist/tex/latex/bxjaprnind/bxjaprnind.sty31
6 files changed, 37 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/bxjaprnind/LICENSE b/Master/texmf-dist/doc/latex/bxjaprnind/LICENSE
index 61a74fd2d15..8ada757fbc8 100644
--- a/Master/texmf-dist/doc/latex/bxjaprnind/LICENSE
+++ b/Master/texmf-dist/doc/latex/bxjaprnind/LICENSE
@@ -1,6 +1,6 @@
The MIT License
-Copyright (c) 2013 Takayuki YATO (aka. "ZR")
+Copyright (c) 2017 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
diff --git a/Master/texmf-dist/doc/latex/bxjaprnind/README-ja.md b/Master/texmf-dist/doc/latex/bxjaprnind/README-ja.md
index 41f194c849b..8c82f26e7c3 100644
--- a/Master/texmf-dist/doc/latex/bxjaprnind/README-ja.md
+++ b/Master/texmf-dist/doc/latex/bxjaprnind/README-ja.md
@@ -34,6 +34,8 @@ bxjaprnind パッケージ ― 本体
更新履歴
--------
+ * Version 0.3b 〈2017/09/12〉
+ - source special 挿入への対策。
* Version 0.3a 〈2013/05/05〉
- 会話用の特別な鉤括弧の処理を追加した。
* Version 0.3 〈2013/04/29〉
diff --git a/Master/texmf-dist/doc/latex/bxjaprnind/README.md b/Master/texmf-dist/doc/latex/bxjaprnind/README.md
index a57432112ea..bbe62aeab0a 100644
--- a/Master/texmf-dist/doc/latex/bxjaprnind/README.md
+++ b/Master/texmf-dist/doc/latex/bxjaprnind/README.md
@@ -52,6 +52,7 @@ See the manual bxjaprnind.pdf (in Japanese) for detail.
Revision History
----------------
+ * Version 0.3b 〈2017/09/12〉
* Version 0.3a 〈2013/05/05〉
* Version 0.3 〈2013/04/29〉
* Version 0.2 〈2012/05/14〉
diff --git a/Master/texmf-dist/doc/latex/bxjaprnind/bxjaprnind.pdf b/Master/texmf-dist/doc/latex/bxjaprnind/bxjaprnind.pdf
index 294d7045f7d..3de18a0b44a 100644
--- a/Master/texmf-dist/doc/latex/bxjaprnind/bxjaprnind.pdf
+++ b/Master/texmf-dist/doc/latex/bxjaprnind/bxjaprnind.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/bxjaprnind/bxjaprnind.tex b/Master/texmf-dist/doc/latex/bxjaprnind/bxjaprnind.tex
index 79a0792e93a..d9f63c803a0 100644
--- a/Master/texmf-dist/doc/latex/bxjaprnind/bxjaprnind.tex
+++ b/Master/texmf-dist/doc/latex/bxjaprnind/bxjaprnind.tex
@@ -5,7 +5,8 @@
\usepackage{metalogo}
\usepackage{shortvrb}
\MakeShortVerb{\|}
-\newcommand{\PkgVersion}{0.3a}
+\newcommand{\PkgVersion}{0.3b}
+\newcommand{\PkgDate}{2017/09/12}
\newcommand{\Pkg}[1]{\textsf{#1}}
\newcommand{\Meta}[1]{$\langle$\mbox{}#1\mbox{}$\rangle$}
\newcommand{\Note}{\par\noindent ※}
@@ -16,7 +17,7 @@
\begin{document}
\title{\Pkg{bxjaprnind} パッケージ(v\PkgVersion)}
\author{八登崇之\ (Takayuki YATO; aka.~``ZR'')}
-\date{2013/05/05}
+\date{v\PkgVersion\quad[\PkgDate]}
\maketitle
%===========================================================
diff --git a/Master/texmf-dist/tex/latex/bxjaprnind/bxjaprnind.sty b/Master/texmf-dist/tex/latex/bxjaprnind/bxjaprnind.sty
index ac2b9028950..77196e842f1 100644
--- a/Master/texmf-dist/tex/latex/bxjaprnind/bxjaprnind.sty
+++ b/Master/texmf-dist/tex/latex/bxjaprnind/bxjaprnind.sty
@@ -3,7 +3,7 @@
%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bxjaprnind}[2013/05/05 v0.3a]
+\ProvidesPackage{bxjaprnind}[2017/09/12 v0.3b]
\def\bxpi@pkgname{bxjaprnind}
\def\bxpi@error{\PackageError\bxpi@pkgname}
@@ -109,6 +109,8 @@
\newbool{bxpi@forceind}
%% \bxpi@choice
\let\bxpi@choice\relax
+%% \bxpi@special
+\let\bxpi@special\relax
%%<*> \useparheadparenindent
\bxNewrobustcmd*{\useparheadparenindent}{
@@ -165,6 +167,7 @@
\bxpi@prnindtrue
\bxpi@forceindfalse
\let\bxpi@choice=m
+ \let\bxpi@special\relax
\kernel@ifnextchar[{
\bxpi@prnind@a
}{%else
@@ -185,6 +188,7 @@
\bxpi@forceindfalse
\let\bxpi@choice=l
\let\bxpi@value\bxpi@linehead
+ \let\bxpi@special\relax
}
%% \bxpi@parse@arg{<str>}
@@ -234,6 +238,19 @@
\bxpi@forceindfalse
\let\bxpi@choice=p
\let\bxpi@value\bxpi@parhead
+ \let\bxpi@special\relax
+ \futurelet\bxpi@tok\bxpi@par@hook@a
+}
+\def\bxpi@par@hook@a{
+ \bxIfx{\bxpi@tok\special}{
+ \bxpi@par@hook@b
+ }{%else
+ \bxpi@paren@indent
+ }
+}
+\def\bxpi@par@hook@b#1#2{
+ \def\bxpi@special{#2}
+\bxDebug{special:#2}
\bxpi@paren@indent
}
@@ -250,6 +267,7 @@
\ifbool{bxpi@prnind}{
\futurelet\bxpi@tok\bxpi@prnindent@a
}{%else
+ \bxpi@put@special
\ignorespaces
}
}
@@ -262,6 +280,7 @@
}{\bxIfCharToken\bxpi@tok{
\bxpi@prnindent@b
}{%else
+ \bxpi@put@special
\ignorespaces
}}
}
@@ -280,6 +299,7 @@
\fi
\bxpi@prnindent@c
}
+ \bxpi@put@special
#1
}
\def\bxpi@prnindent@c{
@@ -292,6 +312,15 @@
\bxpi@inhibitglue
}
+%% \bxpi@put@special
+\def\bxpi@put@special{
+ \ifx\bxpi@special\relax\else
+\bxDebug{put-special:}
+ \special{\bxpi@special}
+ \let\bxpi@special\relax
+ \fi
+}
+
%% \bxpi@if@open@paren
\def\bxpi@if@open@paren#1{
\bxIfcsundef{bxpi@P/#1}