summaryrefslogtreecommitdiff
path: root/macros/unicodetex/latex/unisc/unisc.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-04-30 03:02:24 +0000
committerNorbert Preining <norbert@preining.info>2022-04-30 03:02:24 +0000
commit9f2f967e007f0ea011b3875148304d46c921dd90 (patch)
tree25c3a1741135535e14cc4556f73606db25f47be0 /macros/unicodetex/latex/unisc/unisc.dtx
parent871577883bd14da9df6a3b85bae42337e392f583 (diff)
CTAN sync 202204300302
Diffstat (limited to 'macros/unicodetex/latex/unisc/unisc.dtx')
-rw-r--r--macros/unicodetex/latex/unisc/unisc.dtx45
1 files changed, 31 insertions, 14 deletions
diff --git a/macros/unicodetex/latex/unisc/unisc.dtx b/macros/unicodetex/latex/unisc/unisc.dtx
index 676bcf4a2d..bb1e7d379e 100644
--- a/macros/unicodetex/latex/unisc/unisc.dtx
+++ b/macros/unicodetex/latex/unisc/unisc.dtx
@@ -3,14 +3,14 @@
% File: unisc.dtx
% -------------------------------------------------------
% Package: unisc
-% Version: v0.1 (21 April, 2022)
+% Version: v0.2 (29 April, 2022)
% Author: निरंजन
% Description: Unicode small caps with Xe/LuaLaTeX.
% Repository: https://puszcza.gnu.org.ua/projects/unisc
% License: GPLv3+, GFDLv1.3+
% -------------------------------------------------------
%
-% LaTeX Package unisc v0.1
+% The LaTeX Package unisc v0.2
% Copyright © 2022 निरंजन
%
% This program is free software: you can redistribute it
@@ -42,7 +42,7 @@
%<*readme>
-------------------------------------------------------
Package: unisc
-Version: v0.1 (21 April, 2022)
+Version: v0.2 (29 April, 2022)
Author: निरंजन
Description: Unicode small caps with Xe/LuaLaTeX.
Repository: https://puszcza.gnu.org.ua/projects/unisc
@@ -54,8 +54,8 @@ License: GPLv3+, GFDLv1.3+
%</internal>
%<*driver|package>
\def\uniscname{unisc}
-\def\uniscversion{0.1}
-\def\uniscdate{2022-04-21}
+\def\uniscversion{0.2}
+\def\uniscdate{2022-04-29}
\def\uniscdescription{%
Unicode small caps with Xe/LuaLaTeX.%
}
@@ -67,7 +67,7 @@ License: GPLv3+, GFDLv1.3+
\usepackage{hologo}
\DeclareRobustCommand\XeLaTeX{\hologo{XeLaTeX}}
\usepackage{unisc}
-\usepackage{hyperref}
+\usepackage{hyperref,hyperxmp}
\hypersetup{%
unicode,%
colorlinks,%
@@ -76,8 +76,25 @@ License: GPLv3+, GFDLv1.3+
citecolor=green!60!black,%
pdftitle={The unisc package},%
pdfauthor={निरंजन},%
- pdfsubject={\uniscdescription}
-}%
+ pdfsubject={\uniscdescription},%
+ pdfcreator={निरंजन},%
+ pdfkeywords={Unicode, small caps, LaTeX},%
+ pdfcopyright={%
+ The LaTeX package unisc\textLF
+ Copyright © 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}%
+}
+\ExplSyntaxOn
+\pdf_version_gset:n{2.0}
+\ExplSyntaxOff
\usepackage{mdframed}
\usepackage{fontspec}
\newfontfamily\charissil{CharisSIL}
@@ -143,7 +160,7 @@ License: GPLv3+, GFDLv1.3+
%
% {^^A
% \setlength{\parindent}{0pt}
-% \LaTeX\ package \pkg{unisc}
+% The \LaTeX\ package \pkg{unisc}
%
% Copyright © 2022 {\devanagari निरंजन}
%
@@ -233,7 +250,7 @@ License: GPLv3+, GFDLv1.3+
% \begin{macrocode}
%<@@=unisc>
%<*package>
-\ProvidesPackage{unisc}[2022/04/21 v0.1
+\ProvidesPackage{unisc}[2022/04/29 v0.2
Unicode small caps with Lua/XeLaTeX.]
% \end{macrocode}
% Load the necessary packages.
@@ -433,8 +450,8 @@ Unicode small caps with Lua/XeLaTeX.]
\pgfparserdef{scparser}{initiated}x{%
\unisc@outputexpanded{\symbol{"0078}}%
\PackageWarning{unisc}{%
- You have used the unsupported character `x' in the\MessageBreak
- argument of \string\textsc
+ You have used the unsupported character `x' with the\MessageBreak
+ \string\textsc\space or \string\scshape\space command%
}%
}
\pgfparserdef{scparser}{initiated}X{%
@@ -470,8 +487,8 @@ Unicode small caps with Lua/XeLaTeX.]
\RenewDocumentCommand\scshape{ }{%
\ifdefined\unisc@initiated
\PackageError{unisc}{Nested use not allowed}{%
- You somehow made \string\nirshape\space expand inside
- the parser. This isn't supported.%
+ \string\unisc@initiated\space already defined,
+ this shouldn't happen. Aborting.%
}%
\expandafter\@gobbletwo
\else