Unverified Commit 65b59113 authored by xvrabcov's avatar xvrabcov Committed by GitHub
Browse files

Merge pull request #17 from xvrabcov/feature/terms-abbrv

Dictionary/Abbreviations
parents c9084f9b e61c016a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -24,7 +24,8 @@ MAKES=guide/mu/Makefile guide/mu/resources/Makefile \
	style/mu/Makefile test/Makefile test/mu/blind/Makefile \
	test/mu/compare/Makefile test/mu/compare-example/Makefile
USEREXAMPLE_SOURCES=example/mu/Makefile example/mu/example.dtx \
	example/mu/*.ins example/mu/latexmkrc
	example/mu/*.ins example/mu/latexmkrc \
	example/mu/example-terms-abbrs.tex
USEREXAMPLES=example/mu/econ-lualatex.pdf \
	example/mu/econ-pdflatex.pdf example/mu/fi-lualatex.pdf \
	example/mu/fi-pdflatex.pdf example/mu/fsps-lualatex.pdf \
+2 −2
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ all: $(OUTPUT) clean
		$(patsubst %-pdflatex.tex,%-,$(subst lua,pdf,$@))*.tex

# This target typesets a pdfLaTeX example.
%-pdflatex.pdf: %-pdflatex.tex example.bib
%-pdflatex.pdf: %-pdflatex.tex example.bib example-terms-abbrs.tex
	$(PDFLATEX) $< # The initial typesetting.
	biber                               $(basename $<).bcf
	$(PDFLATEX) $< # Update the index after the bibliography insertion.
@@ -30,7 +30,7 @@ all: $(OUTPUT) clean
	$(PDFLATEX) $<

# This target typesets a LuaLaTeX example.
%-lualatex.pdf: %-lualatex.tex example.bib
%-lualatex.pdf: %-lualatex.tex example.bib example-terms-abbrs.tex
	$(LUALATEX) $< # The initial typesetting.
	biber                               $(basename $<).bcf
	$(LUALATEX) $< # Update the index after the bibliography insertion.
+12 −0
Original line number Diff line number Diff line
% These are examples for entries in Dictionary of Terms 
% and List of Abbreviations

% Example of Dictionary entry
\newglossaryentry{Overleaf}
{
    name=Overleaf,
    description={is an online service for working with LaTex files.}
}

% Example of LoA entry
\newacronym{MUNI}{MUNI}{Masaryk University}
+22 −2
Original line number Diff line number Diff line
@@ -510,8 +510,16 @@
%%    assignment         = assignment.pdf,
}
%</sci>
%    \end{macrocode}
% \changes{v1.0.0}{2021/03/22}{Added \textsf{glossaries} package.
%    [TV]}
%    \begin{macrocode}
\usepackage{makeidx}      %% The `makeidx` package contains
\makeindex                %% helper commands for index typesetting.
\usepackage[acronym]{glossaries}          %% The `glossaries` package
\renewcommand*\glspostdescription{\hfill} %% contains helper commands
\loadglsentries{example-terms-abbrs.tex}  %% for dict and loa
\makenoidxglossaries                      %% typesetting.
%% These additional packages are used within the document:
\usepackage{paralist} %% Compact list environments
\usepackage{amsmath}  %% Mathematics
@@ -544,6 +552,18 @@
\makeatother

%</econ>
%    \end{macrocode}
% \changes{v1.0.0}{2021/03/22}{Added \cs{printnoidxglossary} to print
%   Dictionary and List of Abbreviations. [TV]}
%    \begin{macrocode}
%% Uncomment the following lines (by removing the %% at the beginning)
%% and to print out List of Abbreviations and/or Dictionary in your
%% document. Titles for these tables can be changed by replacing the
%% titles `Abbreviations` and `Dictionary`, respectively.
%% \clearpage
%% \printnoidxglossary[title={Abbreviations}, type=\acronymtype]
%% \printnoidxglossary[title={Dictionary}]

\chapter*{Introduction}
\addcontentsline{toc}{chapter}{Introduction}

@@ -885,7 +905,7 @@ proofs.
%<*econ>
  \emph{Source: <<Image Source>>}
%</econ>
  \caption{The logo of the Masaryk University at $\frac23$ and
	\caption{The logo of the \acrlong{MUNI} at $\frac23$ and
    $\frac13$ of text width}
  \label{fig:mulogo2}
\end{figure}
@@ -947,7 +967,7 @@ run of
\texttt{lualatex \jobname.tex}
%</luatex>
and a second run is going to be needed for the references to
resolve. With online services -- such as Overleaf -- this is
resolve. With online services -- such as \Gls{Overleaf} -- this is
performed automatically.

\chapter{Mathematical equations}
+2 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
\usepackage{paralist}
\usepackage{multicol}


% Making paragraphs numbered
\makeatletter
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
@@ -1260,6 +1261,7 @@
% When the |\thesis@assignmentFiles| macro is defined and
% non-empty, the style files should take that as a cue that the
% user wishes to typeset the thesis assignment.

% \begin{macro}{\thesis@bibFiles}
% \subsubsection{The \texttt{bib} key}
% The \marg{\texttt{bib}=list} pair sets the comma-delimited