texlive[46923] Master/texmf-dist: thaispec (10mar18)

commits+karl at tug.org commits+karl at tug.org
Sun Mar 11 21:27:12 CET 2018


Revision: 46923
          http://tug.org/svn/texlive?view=revision&revision=46923
Author:   karl
Date:     2018-03-11 21:27:11 +0100 (Sun, 11 Mar 2018)
Log Message:
-----------
thaispec (10mar18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/thaispec/README.md
    trunk/Master/texmf-dist/doc/latex/thaispec/thaispec.pdf
    trunk/Master/texmf-dist/source/latex/thaispec/thaispec.dtx
    trunk/Master/texmf-dist/source/latex/thaispec/thaispec.ins
    trunk/Master/texmf-dist/tex/latex/thaispec/thaispec.sty

Modified: trunk/Master/texmf-dist/doc/latex/thaispec/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/thaispec/README.md	2018-03-11 20:26:48 UTC (rev 46922)
+++ trunk/Master/texmf-dist/doc/latex/thaispec/README.md	2018-03-11 20:27:11 UTC (rev 46923)
@@ -1,6 +1,13 @@
 # thaispec
 Thai Language Typesetting in XeLaTeX
 
+This package allows you to input Thai characters directly to LaTeX documents
+and choose any (system wide) Thai fonts for typesetting in XeLaTeX.
+It also tries to appropriately justify paragraphs with no more external tools.
+
+## Author
+Ratthaprom Promkam (ratthaprom at me.com)
+
 ## Prerequisite
 Thai national fonts, i.e., SIPAFonts (See https://github.com/epsilonxe/sipafonts)
 

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

Modified: trunk/Master/texmf-dist/source/latex/thaispec/thaispec.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/thaispec/thaispec.dtx	2018-03-11 20:26:48 UTC (rev 46922)
+++ trunk/Master/texmf-dist/source/latex/thaispec/thaispec.dtx	2018-03-11 20:27:11 UTC (rev 46923)
@@ -1,11 +1,11 @@
 %\iffalse
 % thaispec.dtx generated using makedtx version 1.2 (c) Nicola Talbot
 % Command line args:
+%   -src "thaispec\.sty=>thaispec.sty"
+%   -author "Ratthaprom_Promkam"
 %   -doc "thaispec.tex"
-%   -author "Ratthaprom Promkam"
-%   -src "thaispec\.sty=>thaispec.sty"
 %   thaispec
-% Created on 2018/2/25 18:17
+% Created on 2018/3/9 18:44
 %\fi
 %\iffalse
 %<*package>
@@ -28,18 +28,10 @@
 %\fi
 % \iffalse
 % Doc-Source file to use with LaTeX2e
-% Copyright (C) 2018 Ratthaprom Promkam, all rights reserved.
+% Copyright (C) 2018 Ratthaprom_Promkam, all rights reserved.
 % \fi
 % \iffalse
 %<*driver>
-%!TEX engine = xelatex
-%!TEX root = thaispec.tex
-%!TEX enableSynctex = yes
-%!TEX outputDirectory = OutputDir
-%!TEX spellcheck = en_US
-%!TEX encoding = UTF-8
-%!TEX enableShellEscape = yes
-
 \documentclass{article}
 
 \usepackage[thaispacing=false,thaicaption=false]{thaispec}
@@ -86,7 +78,7 @@
 
 \title{The \pkgname\ package: \\Thai language typesetting in \XeLaTeX}
 \author{Ratthaprom Promkam\\{\texttt{\small ratthaprom at me.com}}}
-\date{Version 0.2 from February 25, 2018}
+\date{Version 0.3 from March 9, 2018}
 
 \begin{document}
 \DocInput{thaispec.dtx}
@@ -254,7 +246,7 @@
 %\begin{document}
 %\section{Math ภาษาไทย}
 %การพิมพ์ภาษาไทยในเอกสาร $ax^2+bx+c=0$
-%	
+%
 %\end{minted}
 %
 %
@@ -290,7 +282,7 @@
 %    \end{macrocode}
 %\fi
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{thaispec}[2018/02/25 version 0.2 thaispec]
+\ProvidesPackage{thaispec}[2018/03/29 version 0.3 thaispec]
 
 \RequirePackage{kvoptions}
 \RequirePackage[no-math]{fontspec}
@@ -442,9 +434,9 @@
 
 
 % Thai theorem environments
-
 \ifTHL at thaithm
-\AfterPackage{amsthm}{%
+\@ifpackageloaded{amsthm}
+{%
 \IfStrEqCase{\THL at thmcount}{%
 {default}{%
 \newtheorem{theorem}{ทฤษฎีบท}
@@ -560,7 +552,7 @@
 }%
 }%
 \xpatchcmd{\@thm}{\thm at headpunct{.}}{\thm at headpunct{}}{}{}
-}
+}{}
 \fi
 
 \endinput

Modified: trunk/Master/texmf-dist/source/latex/thaispec/thaispec.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/thaispec/thaispec.ins	2018-03-11 20:26:48 UTC (rev 46922)
+++ trunk/Master/texmf-dist/source/latex/thaispec/thaispec.ins	2018-03-11 20:27:11 UTC (rev 46923)
@@ -1,10 +1,10 @@
-% thaispec.ins generated using makedtx version 1.2 2018/2/25 18:17
+% thaispec.ins generated using makedtx version 1.2 2018/3/9 18:44
 \input docstrip
 
 \preamble
 
  thaispec.dtx
- Copyright 2018 Ratthaprom Promkam
+ Copyright 2018 Ratthaprom_Promkam
 
  This work may be distributed and/or modified under the
  conditions of the LaTeX Project Public License, either version 1.3
@@ -16,7 +16,7 @@
 
  This work has the LPPL maintenance status `maintained'.
 
- The Current Maintainer of this work is Ratthaprom Promkam.
+ The Current Maintainer of this work is Ratthaprom_Promkam.
 
  This work consists of the files thaispec.dtx and thaispec.ins and the derived file thaispec.sty.
 

Modified: trunk/Master/texmf-dist/tex/latex/thaispec/thaispec.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/thaispec/thaispec.sty	2018-03-11 20:26:48 UTC (rev 46922)
+++ trunk/Master/texmf-dist/tex/latex/thaispec/thaispec.sty	2018-03-11 20:27:11 UTC (rev 46923)
@@ -7,7 +7,7 @@
 %% thaispec.dtx  (with options: `thaispec.sty,package')
 %% 
 %%  thaispec.dtx
-%%  Copyright 2018 Ratthaprom Promkam
+%%  Copyright 2018 Ratthaprom_Promkam
 %% 
 %%  This work may be distributed and/or modified under the
 %%  conditions of the LaTeX Project Public License, either version 1.3
@@ -19,7 +19,7 @@
 %% 
 %%  This work has the LPPL maintenance status `maintained'.
 %% 
-%%  The Current Maintainer of this work is Ratthaprom Promkam.
+%%  The Current Maintainer of this work is Ratthaprom_Promkam.
 %% 
 %%  This work consists of the files thaispec.dtx and thaispec.ins and the derived file thaispec.sty.
 %% 
@@ -58,7 +58,7 @@
 %%
 %%\end{lstlisting}
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{thaispec}[2018/02/25 version 0.2 thaispec]
+\ProvidesPackage{thaispec}[2018/03/29 version 0.3 thaispec]
 
 \RequirePackage{kvoptions}
 \RequirePackage[no-math]{fontspec}
@@ -189,9 +189,9 @@
 \def\today{\DTMfetchday{now}\ \dtmonth\ พ.ศ. \theyearbd}
 }
 
-
 \ifTHL at thaithm
-\AfterPackage{amsthm}{%
+\@ifpackageloaded{amsthm}
+{%
 \IfStrEqCase{\THL at thmcount}{%
 {default}{%
 \newtheorem{theorem}{ทฤษฎีบท}
@@ -307,7 +307,7 @@
 }%
 }%
 \xpatchcmd{\@thm}{\thm at headpunct{.}}{\thm at headpunct{}}{}{}
-}
+}{}
 \fi
 
 \endinput



More information about the tex-live-commits mailing list