From f9fef3b975aaf94259fc9f273b3433e03deb879a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 12 Nov 2020 21:45:42 +0000 Subject: muling (12nov20) git-svn-id: svn://tug.org/texlive/trunk@56920 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/muling/README.txt | 10 + Master/texmf-dist/doc/latex/muling/muling.pdf | Bin 0 -> 390122 bytes Master/texmf-dist/source/latex/muling/muling.dtx | 365 +++++++++++++++++++++++ Master/texmf-dist/source/latex/muling/muling.ins | 48 +++ Master/texmf-dist/tex/latex/muling/muling.cls | 207 +++++++++++++ Master/tlpkg/bin/tlpkg-ctan-check | 2 +- Master/tlpkg/tlpsrc/collection-publishers.tlpsrc | 1 + Master/tlpkg/tlpsrc/muling.tlpsrc | 0 8 files changed, 632 insertions(+), 1 deletion(-) create mode 100644 Master/texmf-dist/doc/latex/muling/README.txt create mode 100644 Master/texmf-dist/doc/latex/muling/muling.pdf create mode 100644 Master/texmf-dist/source/latex/muling/muling.dtx create mode 100644 Master/texmf-dist/source/latex/muling/muling.ins create mode 100644 Master/texmf-dist/tex/latex/muling/muling.cls create mode 100644 Master/tlpkg/tlpsrc/muling.tlpsrc diff --git a/Master/texmf-dist/doc/latex/muling/README.txt b/Master/texmf-dist/doc/latex/muling/README.txt new file mode 100644 index 00000000000..cf458560a8c --- /dev/null +++ b/Master/texmf-dist/doc/latex/muling/README.txt @@ -0,0 +1,10 @@ +-------------------------------------------------------------------------- +Class: muling +Author: Niranjan +Version: 0.1 (12 November, 2020) +Description: A class file for the Department of Linguistics, University of + Mumbai +Repository: https://gitlab.com/niranjanvikastambe/muling +Bug tracker: https://gitlab.com/niranjanvikastambe/muling/-/issues +License: The LaTeX Project Public License v1.3c or later. +-------------------------------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/muling/muling.pdf b/Master/texmf-dist/doc/latex/muling/muling.pdf new file mode 100644 index 00000000000..158eebda4e8 Binary files /dev/null and b/Master/texmf-dist/doc/latex/muling/muling.pdf differ diff --git a/Master/texmf-dist/source/latex/muling/muling.dtx b/Master/texmf-dist/source/latex/muling/muling.dtx new file mode 100644 index 00000000000..e7a5ccf9d19 --- /dev/null +++ b/Master/texmf-dist/source/latex/muling/muling.dtx @@ -0,0 +1,365 @@ +% \iffalse meta-comment +% +% File: muling.dtx +% --------------------------------------------------------------------------- +% Class: muling +% Author: Niranjan +% Description: A class file for the Department of Linguistics, University of +% Mumbai +% Repository: https://gitlab.com/niranjanvikastambe/muling +% Bug tracker: https://gitlab.com/niranjanvikastambe/muling/-/issues +% License: The LaTeX Project Public License v1.3c or later. +% --------------------------------------------------------------------------- +% This work may be distributed and/or modified under the conditions of the +% LaTeX Project Public License, either version 1.3c 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. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Niranjan. +% +% This work consists of the files muling.dtx +% muling.ins +% and the derived file muling.cls. +% \fi +% \iffalse +%<*internal> +\iffalse +% +%<*readme> +-------------------------------------------------------------------------- +Class: muling +Author: Niranjan +Version: 0.1 (12 November, 2020) +Description: A class file for the Department of Linguistics, University of + Mumbai +Repository: https://gitlab.com/niranjanvikastambe/muling +Bug tracker: https://gitlab.com/niranjanvikastambe/muling/-/issues +License: The LaTeX Project Public License v1.3c or later. +-------------------------------------------------------------------------- +% +%<*internal> +\fi +% +%<*driver|class> +\def\mulingClassName{muling} +\def\mulingClassVersion{0.1} +\def\mulingClassDate{2020/11/12} +\def\mulingClassDescription{A class file for the Department of Linguistics, + University of Mumbai +} +% +%<*driver> +\documentclass{l3doc} +\usepackage{hyperref} +\usepackage{xcolor} +\hypersetup{ + colorlinks, + linkcolor=red!60!black, + citecolor=green!60!black, + urlcolor=blue!60!black +} +\usepackage{fontawesome5} +\begin{document} +\DocInput{\mulingClassName.dtx} +\end{document} +% +% \fi +% \title{The \cls{\mulingClassName} class} +% \author{Niranjan} +% \date^^A +% {^^A +% Version \mulingClassVersion\ --- \mulingClassDate\\[1ex] +% {\small\faIcon{link}\quad\url{https://ctan.org/pkg/muling}}\\ +% {\small\faIcon{gitlab}\quad\url{https://gitlab.com/niranjanvikastambe/muling}} +% } +% \maketitle +% \begin{abstract} +% This is a class-file written for the students of the Department of +% Linguistics, University of Mumbai. It uses the standard layout prescribed +% by the university, loads some necessary packages for +% typesetting a thesis in linguistics \textit{\&} adds the declaration +% needed by the university from the submitter. +% \end{abstract} +% \tableofcontents +% \begin{documentation} +% \section{Package macros} +% This package has the following commands. It is recommended to use all of +% them in the preamble only. +% \begin{function}{\subtitle} +% \begin{syntax} +% \cs{subtitle}\marg{a subtitle} +% \end{syntax} +% The subtitle is printed exactly under the title on the title page. +% \end{function} +% \begin{function}{\shorttitle} +% \begin{syntax} +% \cs{shorttitle}\marg{a short title} +% \end{syntax} +% The short title is printed on the top right corner of the page with the +% year of submission. +% \end{function} +% \begin{function}{\supervisor} +% \begin{syntax} +% \cs{supervisor}\marg{name of the supervisor} +% \end{syntax} +% Name of the supervisor is printed on the title-page, in the declaration +% text \textit{\&} under the name of the supervisor for the signature. +% \end{function} +% \section{Package options} +% \begin{function}{digital} +% This package option is developed for getting a read-only version of +% the thesis. By default the thesis is formatted as a print-ready +% document as the per the university requirements. If you want to submit a +% digital copy of the thesis, use this option. +% \end{function} +% \begin{function}{lof} +% This package option is developed for getting a list of figures after the +% list of tables. Every thesis might not need a list of figures, therefore +% it isn't added by default. +% \end{function} +% \section{Example code} +% Try this sample document. +% \begin{verbatim} +% \documentclass[digital,lof]{muling} % Remove `digital' for a print-version. +% \title{Linguistic profile of Konkani} +% \author{Niranjan} +% \supervisor{Dr.\ Renuka Ozarkar} +% \shorttitle{Konkani} +% \subtitle{Phonological \& morphological description of the Konkani language} +% +% \begin{document} +% \maketitle +% +% \chapter{Test chapter} +% \pex +% Department of linguistics +% \xe +% \begin{center} +% \begin{forest} +% [NP +% [\head{N}\\ +% Department] +% [PP +% [\head{P}\\ +% of] +% [NP +% [\head{N}\\ +% linguistics] +% ] +% ] +% ] +% \end{forest} +% \end{center} +% \end{document} +% \end{verbatim} +% \end{documentation} +% \begin{implementation} +% \section{Implementation} +% \begin{macrocode} +%<*class> +% \end{macrocode} +% \begin{macrocode} +\ProvidesClass{muling}[2020/11/12 v0.1 +A class file for the Department of Linguistics, +University of Mumbai] +\DeclareOption{digital}{\PassOptionsToClass{oneside}{book}} +\newif\iflof +\DeclareOption{lof}{\loftrue} +\ProcessOptions +\iflof +\def\@printlof{% + \thispagestyle{empty}% + \phantomsection + \addcontentsline{toc}{section}{List of figures}% + \listoffigures + \clearpage\pagebreak +}% +\else +\let\@printlof\@empty +\fi +\LoadClass{book} +% \end{macrocode} +% This part of code loads the \cls{book} class \textit{\&} provides the option +% \verb|digital| for typesetting a document with read-only format \textit{\&} +% option \verb|lof| for automatically adding list of figures. +% \begin{macrocode} +\RequirePackage{hyperref} +\hypersetup{ + colorlinks, + linkcolor=red!60!black, + citecolor=green!60!black, + urlcolor=blue!60!black +} +\RequirePackage[backend=biber,style=apa]{biblatex} +\RequirePackage[linguistics]{forest} +\RequirePackage{tipa} +\RequirePackage{leipzig} +\RequirePackage{expex} +\RequirePackage{ling-macros} +% \end{macrocode} +% This part of code loads some other essential packages for typesetting +% documents with linguistic content. +% \begin{macrocode} +\makeatletter +\let\@supervisor\@empty +\def\supervisor#1{% + \def\@supervisor{#1}% +}% +\let\@shorttitle\@empty +\def\shorttitle#1{% + \def\@shorttitle{#1}% +}% +\let\@subtitle\@empty +\def\subtitle#1{% + \def\@subtitle{#1}% +}% +% \end{macrocode} +% This code enables three additional entries required in the title-page. +% \textit{\&} at various other places. +% \begin{macrocode} +\RequirePackage{fancyhdr} +\pagestyle{fancy} +\cfoot{\thepage} +\rhead{} +\lhead{% + \begin{tabular}{l} + \@author\\% + \textsc{% + \footnotesize University of Mumbai% + }% + \end{tabular}% + \hfill + \@shorttitle +}% +% \end{macrocode} +% This part of code adds the name of the author, the name of the university and +% a short-title with the year of submission at the top right corner of every +% page. \href{https://tex.stackexchange.com/a/525452/174620}{This} answer helped +% me for developing this code. +% \begin{macrocode} +\newlength{\shift} +\setlength{\shift}{0.3in} +% \end{macrocode} +% A new length is created for typesetting the title-page at the center of the +% page like in the \cls{article} +% class. \href{https://tex.stackexchange.com/a/514536/174620}{This} answer +% helped me for developing this code. +% \begin{macrocode} +\renewcommand{\maketitle}{% + \thispagestyle{empty}% + \addtolength{\oddsidemargin}{\shift}% + \fboxsep3em + \noindent\fbox{% + \begin{minipage} + [c][\dimexpr\textheight-2\fboxsep-2\fboxrule] + [c]{\dimexpr\linewidth-2\fboxsep-2\fboxrule} + \begin{center} + \bigskip + \hrule + \vspace{2ex} + \textbf{% + {\LARGE \@title}\\% + \vspace{0.2cm}% + {\textsc\@subtitle}% + } + \vspace{2ex} + \hrule + \vfill + {\large + \textsc{% + \@author% + }% + }\\% + \vspace{0.5in}% + {\large + \textsc{% + supervisor : \@supervisor% + }% + }\\% + \vspace{0.5in}% + {\large + \textsc{% + a dissertation submitted in\\ the partial fulfillment of the + requirements for the masters of linguistics% + }% + }\\% + \vspace{0.5in}% + \textsc{% + department of linguistics\\% + university of mumbai, kalina% + }\\% + \smallskip + \bigskip + \textsc{\@date}% + \end{center} + \end{minipage} + \makeatother + \addtolength{\oddsidemargin}{-\shift} + } + \clearpage\pagebreak + \thispagestyle{empty} + \tableofcontents + \clearpage\pagebreak + \thispagestyle{empty} + \phantomsection + \addcontentsline{toc}{section}{Abbreviations} + \printglossary + \clearpage\pagebreak + \thispagestyle{empty} + \phantomsection + \addcontentsline{toc}{section}{List of tables} + \listoftables + \clearpage\pagebreak + \thispagestyle{empty} + \phantomsection + \begin{center} + \texttt{% + \LARGE + \textsc{% + declaration% + }% + }% + \end{center} + \bigskip + \texttt{% + As required by the University Regulation No: R. 1972 I wish to state that the + work embodied in this thesis titled \@title{} : \@subtitle{} forms my own + contribution to the research work carried out under the guidance of + \@supervisor{} at the University of Mumbai.\\ + \indent This work has not been submitted for any other degree of this or any + other university. Whenever references have been made to previous works of + others, it has been clearly indicated as such and included in the + bibliography.\\ + \bigskip + \texttt{% + \flushright{% + Date : \@date\\ + \vspace{0.5in} + }% + Signature of the candidate :\\ + \hfill Name : \@author + }\\% + \bigskip + \flushleft{% + Certified by -\\ + \vspace{0.5in} + Signature of the guide :\\ + Name : \@supervisor + }% + }% +}% +% \end{macrocode} +% This code typesets a customized title-page, adds a table of contents, list of +% tables\footnote{Having a list of figures is optional as seen earlier.} and the +% declaration text with all the details filled \textit{\&} some blank space left +% for the signature. +% \begin{macrocode} +% +% \end{macrocode} +% \end{implementation} +% \Finale \ No newline at end of file diff --git a/Master/texmf-dist/source/latex/muling/muling.ins b/Master/texmf-dist/source/latex/muling/muling.ins new file mode 100644 index 00000000000..f833ba10ace --- /dev/null +++ b/Master/texmf-dist/source/latex/muling/muling.ins @@ -0,0 +1,48 @@ +% File: muling.ins +\input l3docstrip.tex + +\keepsilent +\askforoverwritefalse + +\preamble + +--------------------------------------------------------------------------- +Class: muling +Author: Niranjan +Description: A class file for the Department of Linguistics, University of + Mumbai +Repository: https://gitlab.com/niranjanvikastambe/muling +Bug tracker: https://gitlab.com/niranjanvikastambe/muling/-/issues +License: The LaTeX Project Public License v1.3c or later. +--------------------------------------------------------------------------- +This work may be distributed and/or modified under the conditions of the +LaTeX Project Public License, either version 1.3c 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. + +This work has the LPPL maintenance status `maintained'. + +The Current Maintainer of this work is Niranjan. + +This work consists of the files muling.dtx + muling.ins +and the derived file muling.cls. +--------------------------------------------------------------------------- + +\endpreamble + +\usedir{tex/latex/\jobname} +\generate{ + \file{\jobname.cls}{\from{\jobname.dtx}{class}} +} + +\nopreamble\nopostamble +\usedir{doc/latex/\jobname} +\generate{ + \file{README.txt}{\from{\jobname.dtx}{readme}} +} + +\endbatchfile \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/muling/muling.cls b/Master/texmf-dist/tex/latex/muling/muling.cls new file mode 100644 index 00000000000..0b0f25d8600 --- /dev/null +++ b/Master/texmf-dist/tex/latex/muling/muling.cls @@ -0,0 +1,207 @@ +%% +%% This is file `muling.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% muling.dtx (with options: `class') +%% +%% --------------------------------------------------------------------------- +%% Class: muling +%% Author: Niranjan +%% Description: A class file for the Department of Linguistics, University of +%% Mumbai +%% Repository: https://gitlab.com/niranjanvikastambe/muling +%% Bug tracker: https://gitlab.com/niranjanvikastambe/muling/-/issues +%% License: The LaTeX Project Public License v1.3c or later. +%% --------------------------------------------------------------------------- +%% This work may be distributed and/or modified under the conditions of the +%% LaTeX Project Public License, either version 1.3c 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. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Niranjan. +%% +%% This work consists of the files muling.dtx +%% muling.ins +%% and the derived file muling.cls. +%% --------------------------------------------------------------------------- +%% +\def\mulingClassName{muling} +\def\mulingClassVersion{0.1} +\def\mulingClassDate{2020/11/12} +\def\mulingClassDescription{A class file for the Department of Linguistics, + University of Mumbai +} +\ProvidesClass{muling}[2020/11/12 v0.1 +A class file for the Department of Linguistics, +University of Mumbai] +\DeclareOption{digital}{\PassOptionsToClass{oneside}{book}} +\newif\iflof +\DeclareOption{lof}{\loftrue} +\ProcessOptions +\iflof +\def\@printlof{% + \thispagestyle{empty}% + \phantomsection + \addcontentsline{toc}{section}{List of figures}% + \listoffigures + \clearpage\pagebreak +}% +\else +\let\@printlof\@empty +\fi +\LoadClass{book} +\RequirePackage{hyperref} +\hypersetup{ + colorlinks, + linkcolor=red!60!black, + citecolor=green!60!black, + urlcolor=blue!60!black +} +\RequirePackage[backend=biber,style=apa]{biblatex} +\RequirePackage[linguistics]{forest} +\RequirePackage{tipa} +\RequirePackage{leipzig} +\RequirePackage{expex} +\RequirePackage{ling-macros} +\makeatletter +\let\@supervisor\@empty +\def\supervisor#1{% + \def\@supervisor{#1}% +}% +\let\@shorttitle\@empty +\def\shorttitle#1{% + \def\@shorttitle{#1}% +}% +\let\@subtitle\@empty +\def\subtitle#1{% + \def\@subtitle{#1}% +}% +\RequirePackage{fancyhdr} +\pagestyle{fancy} +\cfoot{\thepage} +\rhead{} +\lhead{% + \begin{tabular}{l} + \@author\\% + \textsc{% + \footnotesize University of Mumbai% + }% + \end{tabular}% + \hfill + \@shorttitle +}% +\newlength{\shift} +\setlength{\shift}{0.3in} +\renewcommand{\maketitle}{% + \thispagestyle{empty}% + \addtolength{\oddsidemargin}{\shift}% + \fboxsep3em + \noindent\fbox{% + \begin{minipage} + [c][\dimexpr\textheight-2\fboxsep-2\fboxrule] + [c]{\dimexpr\linewidth-2\fboxsep-2\fboxrule} + \begin{center} + \bigskip + \hrule + \vspace{2ex} + \textbf{% + {\LARGE \@title}\\% + \vspace{0.2cm}% + {\textsc\@subtitle}% + } + \vspace{2ex} + \hrule + \vfill + {\large + \textsc{% + \@author% + }% + }\\% + \vspace{0.5in}% + {\large + \textsc{% + supervisor : \@supervisor% + }% + }\\% + \vspace{0.5in}% + {\large + \textsc{% + a dissertation submitted in\\ the partial fulfillment of the + requirements for the masters of linguistics% + }% + }\\% + \vspace{0.5in}% + \textsc{% + department of linguistics\\% + university of mumbai, kalina% + }\\% + \smallskip + \bigskip + \textsc{\@date}% + \end{center} + \end{minipage} + \makeatother + \addtolength{\oddsidemargin}{-\shift} + } + \clearpage\pagebreak + \thispagestyle{empty} + \tableofcontents + \clearpage\pagebreak + \thispagestyle{empty} + \phantomsection + \addcontentsline{toc}{section}{Abbreviations} + \printglossary + \clearpage\pagebreak + \thispagestyle{empty} + \phantomsection + \addcontentsline{toc}{section}{List of tables} + \listoftables + \clearpage\pagebreak + \thispagestyle{empty} + \phantomsection + \begin{center} + \texttt{% + \LARGE + \textsc{% + declaration% + }% + }% + \end{center} + \bigskip + \texttt{% + As required by the University Regulation No: R. 1972 I wish to state that the + work embodied in this thesis titled \@title{} : \@subtitle{} forms my own + contribution to the research work carried out under the guidance of + \@supervisor{} at the University of Mumbai.\\ + \indent This work has not been submitted for any other degree of this or any + other university. Whenever references have been made to previous works of + others, it has been clearly indicated as such and included in the + bibliography.\\ + \bigskip + \texttt{% + \flushright{% + Date : \@date\\ + \vspace{0.5in} + }% + Signature of the candidate :\\ + \hfill Name : \@author + }\\% + \bigskip + \flushleft{% + Certified by -\\ + \vspace{0.5in} + Signature of the guide :\\ + Name : \@supervisor + }% + }% +}% +\endinput +%% +%% End of file `muling.cls'. diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index d33257501e8..db30bc57dc7 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -512,7 +512,7 @@ my @TLP_working = qw( moreverb morewrites morisawa movie15 mp3d mparhack mparrows mpattern mpcolornames mpfonts mpgraphics mpman-ru mpostinl mptopdf mptrees ms msc msg mslapa msu-thesis mtgreek - mucproc mugsthesis multenum + mucproc mugsthesis muling multenum multiaudience multibbl multibib multibibliography multicap multicolrule multidef multido multienv multiexpand multilang multiobjective multirow munich diff --git a/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc b/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc index c290a167147..0fe4f803bd8 100644 --- a/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc @@ -125,6 +125,7 @@ depend modeles-factures-belges-assocs depend msu-thesis depend mucproc depend mugsthesis +depend muling depend musuos depend muthesis depend mynsfc diff --git a/Master/tlpkg/tlpsrc/muling.tlpsrc b/Master/tlpkg/tlpsrc/muling.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d -- cgit v1.2.3