summaryrefslogtreecommitdiff
path: root/macros/unicodetex/latex/tipauni/tipauni.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-10-22 03:01:21 +0000
committerNorbert Preining <norbert@preining.info>2022-10-22 03:01:21 +0000
commit3183c46c6fe93c96cf342a65ba2ac2b74a14dcbd (patch)
tree256d81eebebf8e4aee8d2885c462164404e854ff /macros/unicodetex/latex/tipauni/tipauni.dtx
parentb3bdf86b91849c38a256c86082770bf854db7610 (diff)
CTAN sync 202210220301
Diffstat (limited to 'macros/unicodetex/latex/tipauni/tipauni.dtx')
-rw-r--r--macros/unicodetex/latex/tipauni/tipauni.dtx72
1 files changed, 53 insertions, 19 deletions
diff --git a/macros/unicodetex/latex/tipauni/tipauni.dtx b/macros/unicodetex/latex/tipauni/tipauni.dtx
index 94bdc36c8a..c9db68206c 100644
--- a/macros/unicodetex/latex/tipauni/tipauni.dtx
+++ b/macros/unicodetex/latex/tipauni/tipauni.dtx
@@ -4,13 +4,13 @@
% ---------------------------------------------------------------------------
% Package: tipauni
% Author: निरंजन
-% Version: v0.6 (21 February, 2022)
+% Version: v0.6.1 (21 October, 2022)
% Description: For producing Unicode characters with TIPA commands.
% Repository: https://git.gnu.org.ua/tipauni.git
% Bug tracker: https://puszcza.gnu.org.ua/bugs/?group=tipauni
% License: GPL v3.0+, GFDL v1.3+
% ---------------------------------------------------------------------------
-% LaTeX Package tipauni v0.6
+% LaTeX Package tipauni v0.6.1
% Copyright © 2021, 2022 निरंजन
%
% This program is free software: you can redistribute it and/or modify
@@ -40,7 +40,7 @@
--------------------------------------------------------------------------
Package: tipauni
Author: निरंजन
-Version: v0.6 (21 February, 2022)
+Version: v0.6.1 (22 October, 2022)
Description: For producing Unicode characters with TIPA commands.
Repository: https://git.gnu.org.ua/tipauni.git
Bug tracker: https://puszcza.gnu.org.ua/bugs/?group=tipauni
@@ -52,8 +52,8 @@ License: GPL v3.0+, GFDL v1.3+
%</internal>
%<*driver|package>
\def\tipauniname{tipauni}
-\def\tipauniversion{0.6}
-\def\tipaunidate{2022-02-21}
+\def\tipauniversion{0.6.1}
+\def\tipaunidate{2022-10-21}
\def\tipaunidescription{For producing Unicode characters with TIPA commands}
%</driver|package>
%<*driver>
@@ -75,14 +75,32 @@ Script=Devanagari,%
Renderer=Harfbuzz,%
Scale=0.8%
]{Shobhika}
-\usepackage{hyperref}
+\usepackage{fontawesome5}
+\usepackage{hyperxmp}
\hypersetup{%
+ unicode,%
colorlinks,%
+ urlcolor=blue!60!black,%
linkcolor=red!60!black,%
citecolor=green!60!black,%
- urlcolor=blue!60!black%
+ pdftitle={The tipauni package},%
+ pdfauthor={निरंजन},%
+ pdfsubject={For producing Unicode characters with TIPA commands.},%
+ pdfcreator={निरंजन},%
+ pdfkeywords={Linguistics, Phonetics, IPA, TIPA, LaTeX},%
+ pdfcopyright={%
+ The LaTeX package tipauni\textLF
+ Copyright © 2021, 2022 निरंजन\textLF
+ Permission is granted to copy, distribute and/or modify
+ this document under the terms of the GNU Free
+ Documentation License, Version 1.3 or any later version
+ published by the Free Software Foundation; with no
+ Invariant Sections, no Front-Cover Texts, and no
+ Back-Cover Texts. A copy of the license is included in
+ the section entitled “GNU Free Documentation License”.%
+ },%
+ pdflicenseurl={https://www.gnu.org/licenses/fdl-1.3.txt}%
}%
-\usepackage{fontawesome5}
\renewcommand{\arraystretch}{1.2}
\begin{document}
@@ -118,6 +136,8 @@ Scale=0.8%
% \vfill
% {%
% \setlength{\parindent}{0pt}
+% The \LaTeX\ package tipauni
+%
% Copyright © 2021, 2022 {\devtext निरंजन}
%
% Permission is granted to copy, distribute and/or modify this document under
@@ -175,6 +195,10 @@ Scale=0.8%
% Fix a typo in Input B of Near-close near-front rounded.
% \href{https://puszcza.gnu.org.ua/bugs/index.php?542}{(link)}
% \end{description}
+%
+% Anja Hasse pointed a bug in the package with an SE question\footnote{%
+% URL: \url{https://tex.stackexchange.com/q/662466}%
+% }. It got fixed in v0.6.1 of the package.
%
% All of these contributions are highly valuable for the development of this
% package.
@@ -557,7 +581,7 @@ Scale=0.8%
% \end{macrocode}
% Provide the package with some description \textit{\&} version specifications.
% \begin{macrocode}
-\ProvidesPackage{tipauni}[2022/02/21 v0.6
+\ProvidesPackage{tipauni}[2022/10/21 v0.6.1
Unicode characters with TIPA commands]
% \end{macrocode}
% Load necessary packages.
@@ -1315,14 +1339,18 @@ Unicode characters with TIPA commands]
% \begin{macrocode}
%%-- Dependent diacritic marks
%%--** Voiceless
+\DeclareUnicodeAccent{\textsupring}{TU}{"030A}%% ̊
\DeclareUnicodeAccent{\textsubring}{TU}{"0325}%% ̥
-\DeclareTextCommand{\r}{TU}{\tipaunisubring}
-\protected\def\tipaunisubring{\@ifstar{\TipaUniSubRing}{\TipaUniSubRing}}
+\DeclareTextCommand{\r}{TU}{\tipauniring}
+\protected\def\tipauniring{\@ifstar{\TipaUniSubRing}{\TipaUniSupRing}}
+\NewDocumentCommand\TipaUniSupRing{ m }{\textsupring{\textipa{#1}}}
\NewDocumentCommand\TipaUniSubRing{ m }{\textsubring{\textipa{#1}}}
%%--** Voiced
+\DeclareUnicodeAccent{\textsupwedge}{TU}{"030C}%% ̌
\DeclareUnicodeAccent{\textsubwedge}{TU}{"032C}%% ̬
-\DeclareTextCommand{\v}{TU}{\tipaunisubwedge}
-\protected\def\tipaunisubwedge{\@ifstar{\TipaUniSubWedge}{\TipaUniSubWedge}}
+\DeclareTextCommand{\v}{TU}{\tipauniwedge}
+\protected\def\tipauniwedge{\@ifstar{\TipaUniSubWedge}{\TipaUniSupWedge}}
+\NewDocumentCommand\TipaUniSupWedge{ m }{\textsupwedge{\textipa{#1}}}
\NewDocumentCommand\TipaUniSubWedge{ m }{\textsubwedge{\textipa{#1}}}
%%--** More rounded
\DeclareUnicodeAccent{\textsubrhalfring}{TU}{"0339}%% ̹
@@ -1334,22 +1362,28 @@ Unicode characters with TIPA commands]
\DeclareUnicodeAccent{\textsubplus}{TU}{"031F}%% ̟
\NewDocumentCommand\tipaunisubplus{ m }{\textsubplus{\textipa{#1}}}
%%--** Retracted
+\DeclareUnicodeAccent{\textsupbar}{TU}{"0304}%% ̄
\DeclareUnicodeAccent{\textsubbar}{TU}{"0320}%% ̠
-\DeclareTextCommand{\=}{TU}{\tipaunisubbar}
-\protected\def\tipaunisubbar{\@ifstar{\TipaUniSubBar}{\TipaUniSubBar}}
+\DeclareTextCommand{\=}{TU}{\tipaunibar}
+\protected\def\tipaunibar{\@ifstar{\TipaUniSubBar}{\TipaUniSupBar}}
+\NewDocumentCommand\TipaUniSupBar{ m }{\textsupbar{\textipa{#1}}}
\NewDocumentCommand\TipaUniSubBar{ m }{\textsubbar{\textipa{#1}}}
%%--** Mid-centralized
\DeclareUnicodeAccent{\textovercross}{TU}{"033D}%% ̽
\NewDocumentCommand\tipauniovercross{ m }{\textovercross{\textipa{#1}}}
%%--** Breathy voiced
+\DeclareUnicodeAccent{\textsupumlaut}{TU}{"0308}%% ̈
\DeclareUnicodeAccent{\textsubumlaut}{TU}{"0324}%% ̤
-\DeclareTextCommand{\"}{TU}{\tipaunisubumlaut}
-\protected\def\tipaunisubumlaut{\@ifstar{\TipaUniSubUmlaut}{\TipaUniSubUmlaut}}
+\DeclareTextCommand{\"}{TU}{\tipauniumlaut}
+\protected\def\tipauniumlaut{\@ifstar{\TipaUniSubUmlaut}{\TipaUniSupUmlaut}}
+\NewDocumentCommand\TipaUniSupUmlaut{ m }{\textsupumlaut{\textipa{#1}}}
\NewDocumentCommand\TipaUniSubUmlaut{ m }{\textsubumlaut{\textipa{#1}}}
%%--** Creaky voiced
+\DeclareUnicodeAccent{\textsuptilde}{TU}{"0303}%% ̃
\DeclareUnicodeAccent{\textsubtilde}{TU}{"0330}%% ̰
-\DeclareTextCommand{\~}{TU}{\tipaunisubtilde}
-\protected\def\tipaunisubtilde{\@ifstar{\TipaUniSubTilde}{\TipaUniSubTilde}}
+\DeclareTextCommand{\~}{TU}{\tipaunitilde}
+\protected\def\tipaunitilde{\@ifstar{\TipaUniSubTilde}{\TipaUniSupTilde}}
+\NewDocumentCommand\TipaUniSupTilde{ m }{\textsuptilde{\textipa{#1}}}
\NewDocumentCommand\TipaUniSubTilde{ m }{\textsubtilde{\textipa{#1}}}
%%--** Linguo-labialized
\DeclareUnicodeAccent{\textseagull}{TU}{"033C}%% ̼