Change apuntsfme to apuntsgenerics

- Removes references to ApuntsFME resources and the ApuntsFME string.
- Changes the name of the package from apuntsfme to apuntsgenerics.
- Adds new maintainer for the new apuntsgenerics package.
- Removes .gitlab-ci.yml file.

Change-Id: I97aa28ebd8bcd4b7ee045d084d7f1f86e844fd8c
diff --git a/.gitignore b/.gitignore
index fc62b93..c47d6d3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,7 +9,7 @@
 *.pdf
 *.sty
 *.cls
-apuntsfme/
+apuntsgenerics/
 *tar.gz
 *.fdb_latexmk
 *.fls
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
deleted file mode 100644
index a6f7fa9..0000000
--- a/.gitlab-ci.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-# use docker image with latex preinstalled
-# since there is no official latex image, use https://github.com/blang/latex-docker
-# possible alternative: https://github.com/natlownes/docker-latex
-image: blang/latex
-
-build:
-    stage: deploy
-    script:
-        - make apuntsfme.tar.gz
-    artifacts:
-        paths:
-            - apuntsfme.tar.gz
-
-
diff --git a/Makefile b/Makefile
index f5919f0..4a33fff 100644
--- a/Makefile
+++ b/Makefile
@@ -1,21 +1,21 @@
-apuntsfme.tar.gz: apuntsfme.dtx apuntsfme.ins apuntsfme_guide.pdf README
-	mkdir -p apuntsfme
-	cp README apuntsfme
-	cp apuntsfme.ins apuntsfme
-	cp apuntsfme.dtx apuntsfme
-	cp apuntsfme_guide.pdf apuntsfme
-	tar -czf apuntsfme.tar.gz apuntsfme
+apuntsgenerics.tar.gz: apuntsgenerics.dtx apuntsgenerics.ins apuntsgenerics_guide.pdf README
+	mkdir -p apuntsgenerics
+	cp README apuntsgenerics
+	cp apuntsgenerics.ins apuntsgenerics
+	cp apuntsgenerics.dtx apuntsgenerics
+	cp apuntsgenerics_guide.pdf apuntsgenerics
+	tar -czf apuntsgenerics.tar.gz apuntsgenerics
 
-apuntsfme_guide.pdf: apuntsfme.dtx apuntsfme.sty
-	pdflatex -jobname="apuntsfme_guide" "\AtBeginDocument{\OnlyDescription}\input apuntsfme.dtx"	
-	makeindex apuntsfme_guide
-	pdflatex -jobname="apuntsfme_guide" "\AtBeginDocument{\OnlyDescription}\input apuntsfme.dtx"	
+apuntsgenerics_guide.pdf: apuntsgenerics.dtx apuntsgenerics.sty
+	pdflatex -jobname="apuntsgenerics_guide" "\AtBeginDocument{\OnlyDescription}\input apuntsgenerics.dtx"
+	makeindex apuntsgenerics_guide
+	pdflatex -jobname="apuntsgenerics_guide" "\AtBeginDocument{\OnlyDescription}\input apuntsgenerics.dtx"
 
-apuntsfme.sty: apuntsfme.ins apuntsfme.dtx
-	yes | pdflatex apuntsfme.ins
+apuntsgenerics.sty: apuntsgenerics.ins apuntsgenerics.dtx
+	yes | pdflatex apuntsgenerics.ins
 	
 
 .PHONY: clean
 clean:
-	rm -rf apuntsfme apuntsfme.tar.gz *.aux *.auxlock *.glo *.ind *.idx *.ilg *.log *.out *.cls *.sty apuntsfme_guide.pdf
+	rm -rf apuntsgenerics apuntsgenerics.tar.gz *.aux *.auxlock *.glo *.ind *.idx *.ilg *.log *.out *.cls *.sty apuntsgenerics_guide.pdf
 
diff --git a/README b/README
index 709fea4..4418a8a 100644
--- a/README
+++ b/README
@@ -1,5 +1,15 @@
-APUNSTFME PACKAGE
-=================
+APUNSTGENERICS PACKAGE
+======================
+
+This is a modification of the original ApuntsFME package which makes
+it brand-neutral, and can be used by any organization to take notes.
+
+The reasoning is that the original ApuntsFME package references
+the ApuntsFME logo and includes the string "ApuntsFME" in various
+parts of the compiled documents.
+
+Original ApuntsFME package description
+======================================
 
 This is a package created by ApuntsFME in order to make taking notes
 in math lessons easier. This will provide the required environments
@@ -13,6 +23,7 @@
 
 -----
 
+Copyright 2021 avm99963
 Copyright 2019 ApuntsFME
 
 This work may be distributed and/or modified under the
diff --git a/apuntsfme.dtx b/apuntsgenerics.dtx
similarity index 92%
rename from apuntsfme.dtx
rename to apuntsgenerics.dtx
index 0fcbe84..923063f 100644
--- a/apuntsfme.dtx
+++ b/apuntsgenerics.dtx
@@ -1,7 +1,8 @@
 % \iffalse meta-comment
 %
-%% apuntsfme.dtx
+%% apuntsgenerics.dtx
 %% Copyright 2019 ApuntsFME
+%% Copyright 2021 avm99963
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3
@@ -13,27 +14,27 @@
 %
 % This work has the LPPL maintenance status `maintained'.
 % 
-% The Current Maintainer of this work is the ApuntsFME organization.
+% The Current Maintainer of this work is avm99963.
 %
-% This work consists of the files apuntsfme.dtx and apuntsfme.ins
-% and the derived file apuntsfme.sty.
+% This work consists of the files apuntsgenerics.dtx and
+% apuntsgenerics.ins and the derived file apuntsgenerics.sty.
 %
 % \fi
 %
 % \iffalse
 %<*driver>
-\ProvidesFile{apuntsfme.dtx}
+\ProvidesFile{apuntsgenerics.dtx}
 %</driver>
 %
 %<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
-%<package>\ProvidesPackage{apuntsfme}[2019/07/08 v1.o .dtx apuntsfme file]
+%<package>\ProvidesPackage{apuntsgenerics}[2019/07/08 v1.o .dtx apuntsgenerics file]
 %
 %<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
 %<class>\ProvidesClass{notes}[2019/10/12 v1.0 class for taking notes in class]
 %
 %<*driver>
 \documentclass{ltxdoc}
-\usepackage{apuntsfme}
+\usepackage{apuntsgenerics}
 \usepackage{hyperref}
 \usepackage{csquotes}
 \usepackage{booktabs}
@@ -42,7 +43,7 @@
 \CodelineIndex
 \RecordChanges
 \begin{document}
-    \DocInput{apuntsfme.dtx}
+    \DocInput{apuntsgenerics.dtx}
 \end{document}
 %</driver>
 % \fi
@@ -67,13 +68,13 @@
 %
 % \changes{v1.0}{2019/07/14}{Initial version}
 %
-% \GetFileInfo{apuntsfme.sty}
+% \GetFileInfo{apuntsgenerics.sty}
 %
 %
-% \title{The \textsf{ApuntsFME} package\thanks{This document
-%   corresponds to \textsf{apuntsfme}~\fileversion,
+% \title{The \textsf{ApuntsGenerics} package\thanks{This document
+%   corresponds to \textsf{apuntsgenerics}~\fileversion,
 %   dated~\filedate.}}
-% \author{Ernesto Lanchares\\ \href{mailto:e.lancha98@gmail.com}{e.lancha98@gmail.com} \and Oscar Benedito \\ \href{mailto:oscar@oscarbenedito.com}{oscar@oscarbenedito.com}}
+% \author{Ernesto Lanchares\\ \href{mailto:e.lancha98@gmail.com}{e.lancha98@gmail.com} \and Oscar Benedito \\ \href{mailto:oscar@oscarbenedito.com}{oscar@oscarbenedito.com} \and Adrià Vilanova\\ \href{mailto:me@avm99963.com}{me@avm99963.com}}
 %
 % \maketitle
 %
@@ -81,12 +82,20 @@
 %   A package that aims to make taking notes in math class in \LaTeX\ easy.
 % \end{abstract}
 %
+% This is a modification of the original ApuntsFME package which makes it brand-neutral, and can be used
+% by any organization to take notes.
+%
+% The reasoning is that the original ApuntsFME package references the ApuntsFME logo and includes the
+% string ``ApuntsFME'' in various parts of the compiled documents.
+%
+% \textbf{Original description:}
+%
 % The goal of this package is make taking notes on class easy. It includes a lot of packages and shortcuts
 % that aim to make it easy to remember and easy to type. Note that this package is not meant to set a
 % reference in how \LaTeX\ should be writter nor it's meant to be a guideline of any kind.
 %
-% \section{The ApuntsFME package}
-% The ApuntsFME package has the purpose of providing the shortcuts and
+% \section{The ApuntsGenerics package}
+% The ApuntsGenerics package has the purpose of providing the shortcuts and
 % environments used for short typing.
 %
 % \subsection{Packages imported}
@@ -148,7 +157,7 @@
 % \texttt{noexternal}.
 %
 % \begin{verbatim}
-% \usepackage[externalfolder=myfigures]{apuntsfme}
+% \usepackage[externalfolder=myfigures]{apuntsgenerics}
 % \end{verbatim}
 %
 % \StopEventually{}
@@ -352,17 +361,17 @@
 %
 % \subsubsection{Index}
 %    \begin{macrocode}
-\newcounter{apuntsfme@index}
-\setcounter{apuntsfme@index}{1}
+\newcounter{apuntsgenerics@index}
+\setcounter{apuntsgenerics@index}{1}
 \def\consume#1{}%
 \def\printcmd{\expandafter\consume\string}
 \def\idx#1{%
-        \edef\apuntsfme@tmp{apuntsfme@index:\Roman{apuntsfme@index}}%
-	\expandafter\label\expandafter{\apuntsfme@tmp}%
-	\expandafter\xdef\csname indice\Roman{apuntsfme@index}\endcsname%
-        ##1{\noexpand\hyperref[apuntsfme@index:\Roman{apuntsfme@index}]{##1}}%
-	\index{#1|\expandafter\printcmd\csname indice\Roman{apuntsfme@index}\endcsname}%
-	\stepcounter{apuntsfme@index}%
+        \edef\apuntsgenerics@tmp{apuntsgenerics@index:\Roman{apuntsgenerics@index}}%
+	\expandafter\label\expandafter{\apuntsgenerics@tmp}%
+	\expandafter\xdef\csname indice\Roman{apuntsgenerics@index}\endcsname%
+        ##1{\noexpand\hyperref[apuntsgenerics@index:\Roman{apuntsgenerics@index}]{##1}}%
+	\index{#1|\expandafter\printcmd\csname indice\Roman{apuntsgenerics@index}\endcsname}%
+	\stepcounter{apuntsgenerics@index}%
 }
 
 \makeindex
@@ -718,9 +727,9 @@
     }
     \renewcommand*{\and}{ }
     \hypersetup{
-        pdftitle={{\@title} -- ApuntsFME},
+        pdftitle={{\@title} -- Apunts},
         pdfsubject={\@title},
-        pdfkeywords={ApuntsFME},
+        pdfkeywords={Apunts},
     }
 }
 %    \end{macrocode}
@@ -749,13 +758,13 @@
 %    \begin{macrocode}
 \newcommand*{\@metaauthor}{}
 
-\newcount\apuntsfme@numberauthor
-\apuntsfme@numberauthor=0
+\newcount\apuntsgenerics@numberauthor
+\apuntsgenerics@numberauthor=0
 
 \def\@author{}
 \renewcommand*{\author}[1]{%
-    \expandafter\gdef\csname apuntsfme@author\the\apuntsfme@numberauthor\endcsname{#1}%
-    \advance\apuntsfme@numberauthor by1 %
+    \expandafter\gdef\csname apuntsgenerics@author\the\apuntsgenerics@numberauthor\endcsname{#1}%
+    \advance\apuntsgenerics@numberauthor by1 %
 }
 %    \end{macrocode}
 %
@@ -828,8 +837,6 @@
     \vspace*{\fill}
     \vspace*{\fill}
     
-    \includegraphics[width=5cm]{../logo.pdf}
-    
     \vspace{0.3\baselineskip}
     
     Barcelona, \@titlemonth
@@ -837,30 +844,30 @@
 
 \vspace*{\fill}
 
-\ifnum\apuntsfme@numberauthor=0%
+\ifnum\apuntsgenerics@numberauthor=0%
 \else%
     \ifx\@otherauthor\empty %
-        \ifnum\apuntsfme@numberauthor=1%
+        \ifnum\apuntsgenerics@numberauthor=1%
             \noindent \@authortext: %
         \else%
             \noindent \@authorstext: %
         \fi%
     \else%
-        \ifnum\apuntsfme@numberauthor=1%
+        \ifnum\apuntsgenerics@numberauthor=1%
             \noindent \@prauthortext: %
         \else%
             \noindent \@prauthorstext: %
         \fi%
     \fi
-    \newcount\apuntsfme@tempauthor%
+    \newcount\apuntsgenerics@tempauthor%
     \loop%
-        \ifnum\apuntsfme@tempauthor=0 %
+        \ifnum\apuntsgenerics@tempauthor=0 %
         \else%
             , %
         \fi%
-        \csname apuntsfme@author\the\apuntsfme@tempauthor\endcsname%
-    \advance\apuntsfme@tempauthor by 1 %
-    \ifnum\apuntsfme@tempauthor < \apuntsfme@numberauthor%
+        \csname apuntsgenerics@author\the\apuntsgenerics@tempauthor\endcsname%
+    \advance\apuntsgenerics@tempauthor by 1 %
+    \ifnum\apuntsgenerics@tempauthor < \apuntsgenerics@numberauthor%
     \repeat%
     .%
 \fi
diff --git a/apuntsfme.ins b/apuntsgenerics.ins
similarity index 71%
rename from apuntsfme.ins
rename to apuntsgenerics.ins
index a38b1f9..4255edd 100644
--- a/apuntsfme.ins
+++ b/apuntsgenerics.ins
@@ -1,5 +1,6 @@
-%% apuntsfme.ins
+%% apuntsgenerics.ins
 %% Copyright 2019 ApuntsFME
+%% Copyright 2021 avm99963
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3
@@ -11,19 +12,21 @@
 %
 % This work has the LPPL maintenance status `maintained'.
 % 
-% The Current Maintainer of this work is the ApuntsFME organization.
+% The Current Maintainer of this work is avm99963.
 %
-% This work consists of the files apuntsfme.dtx and apuntsfme.ins
-% and the derived file apuntsfme.sty.
+% This work consists of the files apuntsgenerics.dtx and
+% apuntsgenerics.ins and the derived file apuntsgenerics.sty.
 \input docstrip.tex
 \keepsilent
-\usedir{/tex/latex/apuntsfme}
+\usedir{/tex/latex/apuntsgenerics}
 
 \preamble
 This is a generated file.
 
 Copyright 2019 ApuntsFME
 
+Copyright 2021 avm99963
+
 This work may be distributed and/or modified under the
 conditions of the LaTeX Project Public License, either version 1.3
 of this license or (at your option) any later version.
@@ -34,14 +37,14 @@
 
 This work has the LPPL maintenance status `maintained'.
 
-The Current Maintainer of this work is the ApuntsFME organization.
+The Current Maintainer of this work is avm99963.
 
-This work consists of the files apuntsfme.dtx and apuntsfme.ins
-and the derived file apuntsfme.sty.
+This work consists of the files apuntsgenerics.dtx and
+apuntsgenerics.ins and the derived file apuntsgenerics.sty.
 \endpreamble
 
-\generate{\file{apuntsfme.sty}{\from{apuntsfme.dtx}{package}}}
-\generate{\file{notes.cls}{\from{apuntsfme.dtx}{class}}}
+\generate{\file{apuntsgenerics.sty}{\from{apuntsgenerics.dtx}{package}}}
+\generate{\file{notes.cls}{\from{apuntsgenerics.dtx}{class}}}
 
 \obeyspaces
 \Msg{*****************************************************}
@@ -49,11 +52,11 @@
 \Msg{* To finish the installation you have to move the   *}
 \Msg{* following files into a directory searched by TeX: *}
 \Msg{*                                                   *}
-\Msg{*     apuntsfme.sty                                 *}
+\Msg{*     apuntsgenerics.sty                            *}
 \Msg{*     notes.cls                                     *}
 \Msg{*                                                   *}
 \Msg{* To produce the documentation run the file         *}
-\Msg{* apuntsfme.dtx through LaTeX.                      *}
+\Msg{* apuntsgenerics.dtx through LaTeX.                 *}
 \Msg{*                                                   *}
 \Msg{* Happy TeXing!                                     *}
 \Msg{*                                                   *}