summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-03-11 20:27:11 +0000
committerKarl Berry <karl@freefriends.org>2018-03-11 20:27:11 +0000
commitd7e7ffbd60ec793df794f8483ac925c1c518eb14 (patch)
tree4cd900d4a5891f8b08acb526221cedaad4aba5b9 /Master
parentecd38b6aed911b2332d01f45bb01dee5d0a9bde7 (diff)
thaispec (10mar18)
git-svn-id: svn://tug.org/texlive/trunk@46923 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/thaispec/README.md7
-rw-r--r--Master/texmf-dist/doc/latex/thaispec/thaispec.pdfbin56589 -> 56524 bytes
-rw-r--r--Master/texmf-dist/source/latex/thaispec/thaispec.dtx28
-rw-r--r--Master/texmf-dist/source/latex/thaispec/thaispec.ins6
-rw-r--r--Master/texmf-dist/tex/latex/thaispec/thaispec.sty12
5 files changed, 26 insertions, 27 deletions
diff --git a/Master/texmf-dist/doc/latex/thaispec/README.md b/Master/texmf-dist/doc/latex/thaispec/README.md
index 13f6b529fe5..dddc9d9ade9 100644
--- a/Master/texmf-dist/doc/latex/thaispec/README.md
+++ b/Master/texmf-dist/doc/latex/thaispec/README.md
@@ -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@me.com)
+
## Prerequisite
Thai national fonts, i.e., SIPAFonts (See https://github.com/epsilonxe/sipafonts)
diff --git a/Master/texmf-dist/doc/latex/thaispec/thaispec.pdf b/Master/texmf-dist/doc/latex/thaispec/thaispec.pdf
index 2a402875758..fdfea254688 100644
--- a/Master/texmf-dist/doc/latex/thaispec/thaispec.pdf
+++ b/Master/texmf-dist/doc/latex/thaispec/thaispec.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/thaispec/thaispec.dtx b/Master/texmf-dist/source/latex/thaispec/thaispec.dtx
index f34f5b68fe9..7b38c5780d5 100644
--- a/Master/texmf-dist/source/latex/thaispec/thaispec.dtx
+++ b/Master/texmf-dist/source/latex/thaispec/thaispec.dtx
@@ -1,11 +1,11 @@
%\iffalse
% thaispec.dtx generated using makedtx version 1.2 (c) Nicola Talbot
% Command line args:
-% -doc "thaispec.tex"
-% -author "Ratthaprom Promkam"
% -src "thaispec\.sty=>thaispec.sty"
+% -author "Ratthaprom_Promkam"
+% -doc "thaispec.tex"
% 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 @@ autogobble=true,
\title{The \pkgname\ package: \\Thai language typesetting in \XeLaTeX}
\author{Ratthaprom Promkam\\{\texttt{\small ratthaprom@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 @@ autogobble=true,
%\begin{document}
%\section{Math ภาษาไทย}
%การพิมพ์ภาษาไทยในเอกสาร $ax^2+bx+c=0$
-%
+%
%\end{minted}
%
%
@@ -290,7 +282,7 @@ autogobble=true,
% \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 @@ prefix=THL@
% Thai theorem environments
-
\ifTHL@thaithm
-\AfterPackage{amsthm}{%
+\@ifpackageloaded{amsthm}
+{%
\IfStrEqCase{\THL@thmcount}{%
{default}{%
\newtheorem{theorem}{ทฤษฎีบท}
@@ -560,7 +552,7 @@ prefix=THL@
}%
}%
\xpatchcmd{\@thm}{\thm@headpunct{.}}{\thm@headpunct{}}{}{}
-}
+}{}
\fi
\endinput
diff --git a/Master/texmf-dist/source/latex/thaispec/thaispec.ins b/Master/texmf-dist/source/latex/thaispec/thaispec.ins
index eab5ebcf533..dea4c9b7fa2 100644
--- a/Master/texmf-dist/source/latex/thaispec/thaispec.ins
+++ b/Master/texmf-dist/source/latex/thaispec/thaispec.ins
@@ -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.
diff --git a/Master/texmf-dist/tex/latex/thaispec/thaispec.sty b/Master/texmf-dist/tex/latex/thaispec/thaispec.sty
index 25f728265b7..0390fea0cfb 100644
--- a/Master/texmf-dist/tex/latex/thaispec/thaispec.sty
+++ b/Master/texmf-dist/tex/latex/thaispec/thaispec.sty
@@ -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 @@ prefix=THL@
\def\today{\DTMfetchday{now}\ \dtmonth\ พ.ศ. \theyearbd}
}
-
\ifTHL@thaithm
-\AfterPackage{amsthm}{%
+\@ifpackageloaded{amsthm}
+{%
\IfStrEqCase{\THL@thmcount}{%
{default}{%
\newtheorem{theorem}{ทฤษฎีบท}
@@ -307,7 +307,7 @@ prefix=THL@
}%
}%
\xpatchcmd{\@thm}{\thm@headpunct{.}}{\thm@headpunct{}}{}{}
-}
+}{}
\fi
\endinput