From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- language/maltese/README.txt | 11 +++ language/maltese/maltese.dtx | 212 +++++++++++++++++++++++++++++++++++++++++++ language/maltese/maltese.ins | 55 +++++++++++ language/maltese/maltese.pdf | Bin 0 -> 106345 bytes language/maltese/maltese.sty | 56 ++++++++++++ 5 files changed, 334 insertions(+) create mode 100644 language/maltese/README.txt create mode 100644 language/maltese/maltese.dtx create mode 100644 language/maltese/maltese.ins create mode 100644 language/maltese/maltese.pdf create mode 100644 language/maltese/maltese.sty (limited to 'language/maltese') diff --git a/language/maltese/README.txt b/language/maltese/README.txt new file mode 100644 index 0000000000..e8401554f3 --- /dev/null +++ b/language/maltese/README.txt @@ -0,0 +1,11 @@ +This folder contains the source and compiled version for the maltese package. +It provides support for writing the non-Lating Maltese characters in Maltese. +See maltese.pdf for further details. + +To regenerate the document: + +latex maltese.ins +pdflatex maltese.dtx +makeindex -s gglo.ist -o maltese.gls maltese.glo +pdflatex maltese.dtx +pdflatex maltese.dtx diff --git a/language/maltese/maltese.dtx b/language/maltese/maltese.dtx new file mode 100644 index 0000000000..4c2adcfb91 --- /dev/null +++ b/language/maltese/maltese.dtx @@ -0,0 +1,212 @@ +% \iffalse meta-comment +% +% Copyright (C) 2005 by Paulseph-John Farrugia +% ------------------------------------------------------- +% +% This file may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in: +% +% http://www.latex-project.org/lppl.txt +% +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% \fi +% +% \iffalse +%<*driver> +\ProvidesFile{maltese.dtx} +% +%\NeedsTeXFormat{LaTeX2e}[1999/12/01] +%\ProvidesPackage{maltese}[2003/11/24 v1.3 Maltese input support] +% +%\RequirePackage{ucs} +% +%<*driver> +\documentclass{ltxdoc} +\usepackage{maltese} +\usepackage{url} +\EnableCrossrefs +\CodelineIndex +\RecordChanges +\begin{document} + \DocInput{maltese.dtx} + \PrintChanges + \PrintIndex +\end{document} +% +% \fi +% +% \CheckSum{92} +% +% \CharacterTable +% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +% Digits \0\1\2\3\4\5\6\7\8\9 +% Exclamation \! Double quote \" Hash (number) \# +% Dollar \$ Percent \% Ampersand \& +% Acute accent \' Left paren \( Right paren \) +% Asterisk \* Plus \+ Comma \, +% Minus \- Point \. Solidus \/ +% Colon \: Semicolon \; Less than \< +% Equals \= Greater than \> Question mark \? +% Commercial at \@ Left bracket \[ Backslash \\ +% Right bracket \] Circumflex \^ Underscore \_ +% Grave accent \` Left brace \{ Vertical bar \| +% Right brace \} Tilde \~} +% +% +% \changes{v1.0}{2003/03/03}{Initial version} +% \changes{v1.1}{2003/09/19}{Resolved bug when using unicode characters 126 and 127 in a tabbing environment} +% \changes{v1.2}{2003/11/24}{Barred h definition changed} +% +% \GetFileInfo{skeleton.dtx} +% +% \DoNotIndex{\newcommand,\newenvironment} +% +% +% \newcommand{\sample}{{\mH}{\mi}nja {\mc}-{\mc}awla {\mz}-{\mz}{\my}ira li q{\mi}{\my}da ti{\mg}ri fil-{\mh}amrija.} +% +% +% \title{The \textsf{Maltese} package} +% \author{Paulseph-John Farrugia \\ \url{paulseph@hotmail.com}} +% +% \maketitle +% +% \section{Introduction} +% +% This package is intended to facilitate the input of Maltese +% characters with special diacritics (\mc, \mC, \mg, \mG, \mh, \mH, +% \my, \mY, \mi, \mI, \mz, \mZ) in {\LaTeXe}. +% +% \section{Requirements} +% +% This package requires the following \emph{ucs} package to be already available. +% +% \section{Installation} +% +% To install, simply copy the available \emph{maltese.sty} package +% file to an appropriate path for the {\LaTeXe} distribution being +% used and refresh the system as necessary. (Refer to the local +% guide for further details.) +% +% \section{Usage} +% +% The package provides the commands given in Table +% \ref{tbl:commands}. The commands for \emph{\my} and \emph{\mi} are +% not simply shorthand, but are intended to prevent hyphenation to +% occur within these characters. +% +% \begin{table} +% \begin{center} +% \begin{tabular}{ccc} +% \hline \textbf{Long Form} & \textbf{Short Form} & \textbf{Result} \\ \hline +% \verb!\maltesec! & \verb!\mc! & \mc \\ \hline +% \verb!\malteseC! & \verb!\mC! & \mC \\ \hline +% \verb!\malteseg! & \verb!\mg! & \mg \\ \hline +% \verb!\malteseG! & \verb!\mG! & \mG \\ \hline +% \verb!\malteseh! & \verb!\mh! & \mh \\ \hline +% \verb!\malteseH! & \verb!\mH! & \mH \\ \hline +% \verb!\maltesey! & \verb!\my! & \my \\ \hline +% \verb!\malteseY! & \verb!\mY! & \mY \\ \hline +% \verb!\maltesei! & \verb!\mi! & \mi \\ \hline +% \verb!\malteseI! & \verb!\mI! & \mI \\ \hline +% \verb!\maltesez! & \verb!\mz! & \mz \\ \hline +% \verb!\malteseZ! & \verb!\mZ! & \mZ \\ \hline +% \end{tabular} +% \end{center} +% \caption{\textbf{maltese} package commands\label{tbl:commands}} +% \end{table} +% +% The following are samples in various styles of the default font: +% +% \begin{quote} +% +% \sample +% +% \textbf{\sample} +% +% \textit{\sample} +% +% \textbf{\textit{\sample}} +% +% \textsl{\sample} +% +% \end{quote} +% +% \section{Notes} +% +% The package provides good results with the default {\LaTeXe} +% font. However, some characters may not look right with typewriter +% text or if a different font, such as \emph{times}, is loaded. +% +% \section{Acknowledgements} +% +% Thanks go to Dominique Unruh (\url{dominique@unruh.de}), author of +% the \emph{ucs} package, for kindly providing the current +% definitions for \emph{\mh} and \emph{\mH}. Thanks to Sinclair Calleja for testing +% and helping with debugging. +% +% \StopEventually{} +% +% \section{Implementation} +% +% Redefine h@bar to safeguard from tabbing environment. +% +% \begin{macrocode} +\let\h@bar=\= +% \end{macrocode} +% +% Define barred h lower and upper case. +% +% \begin{macrocode} +\DeclareUnicodeCharacter{"126}{\leavevmode\rlap{\h@bar{\empty}}H\llap{\h@bar{\empty}}} +\DeclareUnicodeCharacter{"127}{\leavevmode\rlap{\h@bar{\empty}}h} +% \end{macrocode} +% +% Declare shortcuts. +% +% \begin{macrocode} +\newcommand{\mc}{\unichar{"10B}} +\newcommand{\mC}{\unichar{"10A}} +\newcommand{\mg}{\unichar{"121}} +\newcommand{\mG}{\unichar{"120}} +\newcommand{\mh}{\unichar{"127}} +\newcommand{\mH}{\unichar{"126}} +\newcommand{\mz}{\unichar{"17C}} +\newcommand{\mZ}{\unichar{"17B}} +\newcommand{\my}{{g\mh}} +\newcommand{\mY}{{G\mh}} +\newcommand{\mi}{{ie}} +\newcommand{\mI}{{Ie}} +% \end{macrocode} +% +% Declare longer named versions. +% +% \begin{macrocode} +\newcommand{\maltesec}{\mc} +\newcommand{\malteseC}{\mC} +\newcommand{\malteseg}{\mg} +\newcommand{\malteseG}{\mG} +\newcommand{\malteseh}{\mh} +\newcommand{\malteseH}{\mH} +\newcommand{\maltesez}{\mz} +\newcommand{\malteseZ}{\mZ} +\newcommand{\maltesey}{\my} +\newcommand{\malteseY}{\mY} +\newcommand{\maltesei}{\mi} +\newcommand{\malteseI}{\mI} +% \end{macrocode} +% +% \begin{macro}{\maltesetext} +% A utility macro to wrap Maltese text with a font that will correctly +% display the non-Latin characters. +% \begin{macrocode} +\newcommand{\maltesetext}[1]{\bgroup\fontfamily{cmr}\selectfont#1\egroup} +% \end{macrocode} +% \end{macro} +% +% \Finale +\endinput diff --git a/language/maltese/maltese.ins b/language/maltese/maltese.ins new file mode 100644 index 0000000000..923b263335 --- /dev/null +++ b/language/maltese/maltese.ins @@ -0,0 +1,55 @@ +%% +%% Copyright (C) 2005 by Paulseph-John Farrugia +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.2 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.2 or later is part of all distributions of LaTeX version +%% 1999/12/01 or later. +%% + +\input docstrip.tex +\keepsilent + +%\usedir{tex/latex/maltese} + +\preamble + +This is a generated file. + +Copyright (C) 2004 by Paulseph-John Farrugia + +This file may be distributed and/or modified under the conditions of +the LaTeX Project Public License, either version 1.2 of this license +or (at your option) any later version. The latest version of this +license is in: + + http://www.latex-project.org/lppl.txt + +and version 1.2 or later is part of all distributions of LaTeX version +1999/12/01 or later. + +\endpreamble + +\generate{\file{maltese.sty}{\from{maltese.dtx}{package}}} + +\obeyspaces +\Msg{*************************************************************} +\Msg{* *} +\Msg{* To finish the installation you have to move the following *} +\Msg{* file into a directory searched by TeX: *} +\Msg{* *} +\Msg{* maltese.sty *} +\Msg{* *} +\Msg{* To produce the documentation run the file maltese.dtx *} +\Msg{* through LaTeX. *} +\Msg{* *} +\Msg{* Happy TeXing! *} +\Msg{* *} +\Msg{*************************************************************} + +\endbatchfile diff --git a/language/maltese/maltese.pdf b/language/maltese/maltese.pdf new file mode 100644 index 0000000000..ba62e78525 Binary files /dev/null and b/language/maltese/maltese.pdf differ diff --git a/language/maltese/maltese.sty b/language/maltese/maltese.sty new file mode 100644 index 0000000000..759a6834de --- /dev/null +++ b/language/maltese/maltese.sty @@ -0,0 +1,56 @@ +%% +%% This is file `maltese.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% maltese.dtx (with options: `package') +%% +%% This is a generated file. +%% +%% Copyright (C) 2004 by Paulseph-John Farrugia +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.2 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.2 or later is part of all distributions of LaTeX version +%% 1999/12/01 or later. +%% +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesPackage{maltese}[2003/11/24 v1.3 Maltese input support] +\RequirePackage{ucs} +\let\h@bar=\= +\DeclareUnicodeCharacter{"126}{\leavevmode\rlap{\h@bar{\empty}}H\llap{\h@bar{\empty}}} +\DeclareUnicodeCharacter{"127}{\leavevmode\rlap{\h@bar{\empty}}h} +\newcommand{\mc}{\unichar{"10B}} +\newcommand{\mC}{\unichar{"10A}} +\newcommand{\mg}{\unichar{"121}} +\newcommand{\mG}{\unichar{"120}} +\newcommand{\mh}{\unichar{"127}} +\newcommand{\mH}{\unichar{"126}} +\newcommand{\mz}{\unichar{"17C}} +\newcommand{\mZ}{\unichar{"17B}} +\newcommand{\my}{{g\mh}} +\newcommand{\mY}{{G\mh}} +\newcommand{\mi}{{ie}} +\newcommand{\mI}{{Ie}} +\newcommand{\maltesec}{\mc} +\newcommand{\malteseC}{\mC} +\newcommand{\malteseg}{\mg} +\newcommand{\malteseG}{\mG} +\newcommand{\malteseh}{\mh} +\newcommand{\malteseH}{\mH} +\newcommand{\maltesez}{\mz} +\newcommand{\malteseZ}{\mZ} +\newcommand{\maltesey}{\my} +\newcommand{\malteseY}{\mY} +\newcommand{\maltesei}{\mi} +\newcommand{\malteseI}{\mI} +\newcommand{\maltesetext}[1]{\bgroup\fontfamily{cmr}\selectfont#1\egroup} +\endinput +%% +%% End of file `maltese.sty'. -- cgit v1.2.3