summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/muling/muling.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-04-03 03:04:19 +0000
committerNorbert Preining <norbert@preining.info>2023-04-03 03:04:19 +0000
commit3b4a242af88203c2f3f551d46161bdd037c0d127 (patch)
treed0f11425ac288e446783f8da0c4808d9f6b58df0 /macros/latex/contrib/muling/muling.dtx
parenta9dc5b575ce3fc6956336d6fc6ab7247995defc1 (diff)
CTAN sync 202304030304
Diffstat (limited to 'macros/latex/contrib/muling/muling.dtx')
-rw-r--r--macros/latex/contrib/muling/muling.dtx79
1 files changed, 74 insertions, 5 deletions
diff --git a/macros/latex/contrib/muling/muling.dtx b/macros/latex/contrib/muling/muling.dtx
index 48613dfd9a..526c727607 100644
--- a/macros/latex/contrib/muling/muling.dtx
+++ b/macros/latex/contrib/muling/muling.dtx
@@ -10,7 +10,7 @@
% Bugs: https://puszcza.gnu.org.ua/bugs/?group=muling
% Licenses: GPLv3+, GFDLv1.3+
% ----------------------------------------------------------
-% LaTeX Package muling v0.4
+% LaTeX Package muling v0.5
% Copyright © 2020, 2021, 2023 निरंजन
%
% This program is free software: you can redistribute it
@@ -47,7 +47,7 @@
-----------------------------------------------------------
Class: muling
Author: निरंजन
-Version: 0.4 (1 April, 2023)
+Version: 0.5 (2 April, 2023)
Description: A class file for the Department of
Linguistics, University of Mumbai
Repository: https://git.gnu.org.ua/muling.git
@@ -61,6 +61,7 @@ License: GPLv3+, GFDLv1.3+
%<*driver>
\documentclass{l3doc}
\usepackage{xcolor}
+\usepackage{leipzig}
\usepackage{fontspec}
\newfontfamily{\sho}[%
Script = {Devanagari},%
@@ -107,7 +108,7 @@ License: GPLv3+, GFDLv1.3+
% \title{The \cls{muling} class}
% \author{{\sho निरंजन}}
% \date{^^A
-% Version 0.4---1 April, 2023\\[1ex]^^A
+% Version 0.5---2 April, 2023\\[1ex]^^A
% {^^A
% \small\faIcon{link}\quad
% \url{https://ctan.org/pkg/muling}^^A
@@ -134,6 +135,73 @@ License: GPLv3+, GFDLv1.3+
% \newpage
%
% \begin{documentation}
+% \section{Provisions}
+%
+% With this class, a few essential packages are already
+% loaded. If you have a full installation of \TeX\ Live
+% 2023 (or later), you should be able to compile everything
+% without any problem. This package has the following
+% provisions which will make the thesis-writing easier.
+%
+% \begin{enumerate}
+% \item With this class, we load the |NewCM10-Regular.otf|
+% font which is a fork of Latin Modern with extended
+% support for Unicode IPA. Using this font enables us to
+% print IPA directly from the input text. An additional
+% advantage of using this font is that it matches with the
+% TIPA typeface exactly. So whether you use Unicode or
+% TIPA visually won't make any difference.
+% \item The class pre-loads the following packages commonly
+% used in linguistics.
+% \begin{description}
+% \item[\pkg{leipzig}:] Used for inter-linear glossing.
+% Using |\Nom| will produce \Nom. While glossing, it is
+% advised that you use these macros so that all of them
+% get printed correctly with the |\printglossary|
+% command pre-loaded by the class. Of course you will be
+% required to compile the code with the |makeglossaries|
+% program.
+% \item[\pkg{biblatex}:] Used for citations. The |apa|
+% style, required by the department, is used by default.
+% \item[\pkg{forest}:] Used for syntactic trees.
+% \item[\pkg{expex}:] Used for finest typesetting of
+% linguistic examples.
+% \item[\pkg{csquotes}:] For quoting text. One can use
+% \cs{enquote}\marg{some text} to produce
+% \emph{\enquote{some text}}.
+% \end{description}
+% \end{enumerate}
+%
+% It is advised that you use the following order on a bash
+% terminal for compiling your code:
+%
+% \medskip
+% \begin{minipage}{\linewidth}
+% \begin{verbatim}
+% lualatex document # for Unicode text
+% biber document # for citations
+% makeglossaries document # for glossaries
+% lualatex document
+% lualatex document
+% \end{verbatim}
+% \end{minipage}
+%
+% \medskip
+% If you use \pkg{arara}, then you can use the following
+% code somewhere in your document and just compile the code
+% with \pkg{arara}.
+%
+% \medskip
+% \begin{minipage}{\linewidth}
+% \begin{verbatim}
+% % arara: lualatex
+% % arara: biber
+% % arara: makeglossaries
+% % arara: lualatex
+% % arara: lualatex
+% \end{verbatim}
+% \end{minipage}
+%
% \section{Package macros}
%
% This package has the following commands.
@@ -232,7 +300,7 @@ License: GPLv3+, GFDLv1.3+
%<*class>
% \end{macrocode}
% \begin{macrocode}
-\ProvidesClass{muling}[2023/04/01 v0.4
+\ProvidesClass{muling}[2023/04/02 v0.5
Department of Linguistics, University of Mumbai]
\DeclareOption{digital}{\PassOptionsToClass{oneside}{book}}
\newif\iflof
@@ -284,6 +352,7 @@ Department of Linguistics, University of Mumbai]
\RequirePackage{fancyhdr}
\RequirePackage{fontspec}
\RequirePackage{hyperref}%
+\makeglossaries
\setmainfont[%
% Courtesy: https://topanswers.xyz/tex?q=3042#a3083
IgnoreFontspecFile,%
@@ -407,7 +476,7 @@ Department of Linguistics, University of Mumbai]
\thispagestyle{empty}%
\phantomsection
\addcontentsline{toc}{section}{Abbreviations}%
- \printglossary
+ \printglossary[style=mcolblock]
\clearpage\pagebreak
\thispagestyle{empty}%
\phantomsection