texlive[46152] Master/texmf-dist: fixjfm (27dec17)

commits+karl at tug.org commits+karl at tug.org
Thu Dec 28 01:26:22 CET 2017


Revision: 46152
          http://tug.org/svn/texlive?view=revision&revision=46152
Author:   karl
Date:     2017-12-28 01:26:22 +0100 (Thu, 28 Dec 2017)
Log Message:
-----------
fixjfm (27dec17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/fixjfm/fixjfm-doc.pdf
    trunk/Master/texmf-dist/doc/generic/fixjfm/fixjfm-doc.tex
    trunk/Master/texmf-dist/tex/generic/fixjfm/fixjfm.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/generic/fixjfm/README

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/generic/fixjfm/README.txt

Added: trunk/Master/texmf-dist/doc/generic/fixjfm/README
===================================================================
--- trunk/Master/texmf-dist/doc/generic/fixjfm/README	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/generic/fixjfm/README	2017-12-28 00:26:22 UTC (rev 46152)
@@ -0,0 +1,16 @@
+
+
+The fixjfm package --- Fix JFM (for *pTeX)
+
+CTAN Homepage: https://ctan.org/pkg/fixjfm
+
+Repository: https://github.com/Man-Ting-Fang/fixjfm
+
+Version: 2017-12-27 v0.7
+
+Copyright 2017 Yue ZHANG
+
+License: Knuth License (https://ctan.org/license/knuth)
+
+This package fixes several bugs in the JFM format. Both LaTeX and plain TeX are
+supported.


Property changes on: trunk/Master/texmf-dist/doc/generic/fixjfm/README
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/doc/generic/fixjfm/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/generic/fixjfm/README.txt	2017-12-27 23:13:59 UTC (rev 46151)
+++ trunk/Master/texmf-dist/doc/generic/fixjfm/README.txt	2017-12-28 00:26:22 UTC (rev 46152)
@@ -1,16 +0,0 @@
-
-
-The fixjfm package --- Fix JFM (for *pTeX)
-
-CTAN Homepage: https://ctan.org/pkg/fixjfm
-
-Repository: https://github.com/Man-Ting-Fang/fixjfm
-
-Version: 2017-09-21 v0.6
-
-Copyright 2017 Yue ZHANG
-
-License: Knuth License (https://ctan.org/license/knuth)
-
-This package fixes several bugs in the JFM format. Both LaTeX and plain TeX are
-supported.

Modified: trunk/Master/texmf-dist/doc/generic/fixjfm/fixjfm-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/generic/fixjfm/fixjfm-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/fixjfm/fixjfm-doc.tex	2017-12-27 23:13:59 UTC (rev 46151)
+++ trunk/Master/texmf-dist/doc/generic/fixjfm/fixjfm-doc.tex	2017-12-28 00:26:22 UTC (rev 46152)
@@ -19,6 +19,8 @@
 
 \AtBeginEnvironment{verbatim}{\microtypesetup{activate=false}}
 
+\abovetopsep=\medskipamount
+
 \newcommand\NormalSans{\normalfont\sffamily}
 \newcommand\pkg[1]{{\protect\NormalSans#1}}
 
@@ -69,7 +71,7 @@
 \font\sans=SourceSansPro-Semibold-tlf-ot1 at 10pt
 
 \newenvironment{history}[1]%
-  {\noindent\textbf{#1}\begin{itemize}}%
+  {\noindent\textbf{#1}\nopagebreak\relax\begin{itemize}}%
   {\end{itemize}}
 
 \begin{document}
@@ -78,7 +80,7 @@
   \thanks{CTAN Homepage: \texttt{https://ctan.org/pkg/fixjfm}}
   \thanks{Repository: \texttt{https://github.com/Man-Ting-Fang/fixjfm}}}
 \author{Yue \textsc{Zhang}}
-\date{2017-09-21\quad v0.6}
+\date{2017-12-27\quad v0.7}
 
 \maketitle
 
@@ -98,7 +100,7 @@
 \item Bug 2: the spacing between two consecutive fullwidth punctuation marks
   cannot be adjusted if the font is changed there, see Table \ref{tab:adj}.
 \end{itemize}
-\begin{figure}[ht]\centering
+\begin{figure}[!ht]\centering
 \demotext{3}\demotext{2.5}
 \caption{Comparison of the indentation produced without this package (left) and
   with this package (right)}
@@ -105,11 +107,10 @@
 \label{fig:ind}
 \end{figure}
 \vskip-20pt\relax
-\begin{table}[ht]\centering
+\begin{table}[!ht]\centering
 \caption{Comparison of the adjustment of the spacing between two consecutive
   fullwidth punctuation marks}
 \label{tab:adj}
-\medskip
 \begin{tabular}{ccll}
 \toprule
 Font change & This package        & Input          & Output                  \\
@@ -257,6 +258,8 @@
     \FixJFMParindent
     \EveryparPreHook
     \EveryparPostHook
+    \ifUseFixJFMCJKTextFontCommands
+    \ifUseStandardCJKTextFontCommands
 \end{verbatim}
 They are worthless for ordinary use. If you are interested in them, please have
 a look at the source code.
@@ -332,4 +335,9 @@
     https://github.com/Man-Ting-Fang/fixjfm/pull/4
 \end{verbatim}
 
+\begin{history}{2017-12-27 v0.7}
+\item Add \verb|\ifUseFixJFMCJKTextFontCommands| and
+  \verb|\ifUseStandardCJKTextFontCommands|.
+\end{history}
+
 \end{document}

Modified: trunk/Master/texmf-dist/tex/generic/fixjfm/fixjfm.sty
===================================================================
--- trunk/Master/texmf-dist/tex/generic/fixjfm/fixjfm.sty	2017-12-27 23:13:59 UTC (rev 46151)
+++ trunk/Master/texmf-dist/tex/generic/fixjfm/fixjfm.sty	2017-12-28 00:26:22 UTC (rev 46152)
@@ -11,7 +11,7 @@
 \begingroup\expandafter\expandafter\expandafter\endgroup
   \expandafter\ifx\csname ProvidesPackage\endcsname\relax
   \else
-    \ProvidesPackage{fixjfm}[2017/09/21 v0.6 Fix JFM (for *pTeX)]%
+    \ProvidesPackage{fixjfm}[2017/12/27 v0.7 Fix JFM (for *pTeX)]%
   \fi
 
 \edef\FIXJFMDOTSTYRESTORECATCODE{\catcode`\noexpand\@=\the\catcode`\@\relax}
@@ -183,6 +183,9 @@
   \def\SetFixJFMSpacingShrink#1{}%
 \fi
 
+\newif\ifUseFixJFMCJKTextFontCommands
+\newif\ifUseStandardCJKTextFontCommands
+
 \begingroup\expandafter\expandafter\expandafter\endgroup
   \expandafter\ifx\csname DeclareTextFontCommand\endcsname\relax
     \def\DeclareFixJFMCJKTextFontCommand#1#2{}%
@@ -198,9 +201,13 @@
       \DeclareRobustCommand#1[1]{%
         \relax\ifmmode\expandafter\nfss at text\fi{#2##1}}}%
     \def\UseFixJFMCJKTextFontCommands{%
+      \UseFixJFMCJKTextFontCommandstrue
+      \UseStandardCJKTextFontCommandsfalse
       \DeclareFixJFMCJKTextFontCommand\textmc{\mcfamily}%
       \DeclareFixJFMCJKTextFontCommand\textgt{\gtfamily}}%
     \def\UseStandardCJKTextFontCommands{%
+      \UseStandardCJKTextFontCommandstrue
+      \UseFixJFMCJKTextFontCommandsfalse
       \DeclareStandardCJKTextFontCommand\textmc{\mcfamily}%
       \DeclareStandardCJKTextFontCommand\textgt{\gtfamily}}%
     \UseFixJFMCJKTextFontCommands



More information about the tex-live-commits mailing list