Commit 957b4bf0 authored by Johnson, Seth R.'s avatar Johnson, Seth R.
Browse files

Fix acronyms

parent 14d0aa00
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
.DS_Store
*.acn
*.acr
*.alg
*.aux
*.bbl
*.bcf
+8 −1
Original line number Diff line number Diff line
@@ -1563,7 +1563,7 @@ endif
# Extensions generated by LaTeX invocation that can be removed when complete
rm_ext		:= \
	log *.log aux $(pre_pdf_extensions) pdf blg bbl out nav snm toc lof lot lol pfg \
	fls vrb idx ind ilg glg glo gls lox nls nlo nlg brf mtc* mlf* mlt* maf brf ist fmt
	acn acr alg fls vrb idx ind ilg glg glo gls lox nls nlo nlg brf mtc* mlf* mlt* maf brf ist fmt
backup_patterns	:= *~ *.bak *.backup body.tmp head.tmp

graph_stem	:= _graph
@@ -2002,6 +2002,7 @@ define get-log-index
$(SED) \
-e 's/^No file \(.*\.ind\)\.$$/TARGETS=\1/' \
-e 's/^No file \(.*\.[gn]ls\)\.$$/TARGETS=\1/' \
-e 's/^No file \(.*\.acr\)\.$$/TARGETS=\1/' \
-e 's/[[:space:]]/\\&/g' \
-e '/^TARGETS=/{' \
-e '  h' \
@@ -3085,6 +3086,11 @@ endif
	$(QUIET)$(call echo-build,$<,$@)
	$(QUIET)$(call run-makeindex,$<,$@,$*.glg,$*.ist)

# Create an acronym file from a .ist file
%.acr:	%.acn %.tex %.ist
	$(QUIET)$(call echo-build,$<,$@)
	$(QUIET)$(call run-makeindex,$<,$@,$*.alg,$*.ist)

# Create a glossary file from a glossary input formatted for xindy
%.gls:	%.glo %.tex %.xdy
	$(QUIET)$(call echo-build,$<,$@)
@@ -4224,6 +4230,7 @@ endef
#     log -> dot [label="Graphic file"]
#     log -> idx [label="No file *.ind"]
#     log -> glo [label="No file *.gls"]
#     log -> acn [label="No file *.acr"]
#     log -> nlo [label="No file *.nls"]
#     gpi -> gpi_data [label="plot '...'"]
#     gpi -> gpi_includes [label="load '...'"]
+22 −22
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@
\makeglossaries
\newacronym{doe}{DOE}{Department of Energy}
\newacronym{nrc}{NRC}{Nuclear Regulatory Commission}
\newacronym{tm}{TM}{Technical memo}
\newacronym{tm}{TM}{technical memo}
\newacronym{ornl}{ORNL}{Oak Ridge National Laboratory}
\newacronym{tnr}{TNR}{Times New Roman}

@@ -101,30 +101,34 @@ list may include any or all of the following sections and should begin on an
odd-numbered page in the order listed below:

\begin{itemize}
  \item FOREWORD \marginpar{Note: spelling is not ``FORWARD.''}
  \item PREFACE
  \item ACKNOWLEDGMENTS
  \item EXECUTIVE SUMMARY OR SUMMARY
  \item ABSTRACT
  \item Foreword \marginpar{Note: spelling is not ``Forward.''}
  \item Preface
  \item Acknowledgments
  \item Executive summary, or Summary
  \item Abstract
\end{itemize}

Each section of the front material begins on an odd-numbered page. The
Each section of the front material begins on an odd-numbered page (the
\verb|\section| command inserts a \verb|\cleardoublepage| before each one). The
abstract, if very brief, may begin on page 1 inserted above the introduction
section.


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ADDITIONAL FRONT MATTER (OPTIONAL)
\section*{General Information}
\subsection*{General Information}

Document margins are 1 in.~all around. Generally, the \ac{tm} styling reflects
the defaults of Microsoft Word, because that is the publishing application of
choice for the \ac{doe}. \Aclp{tm} are more fun to write in \LaTeX.

Document margins are 1 in. all around.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection*{Footnotes}

Text footnotes are 9 pt., TNR with no space between notes. \footnote{Footnotes
are 9pt., TNR with no space between notes.} Footnote indicators in text can be
Text footnotes are 9 pt., \ac{tnr} with no space between notes. \footnote{Footnotes
are 9pt., \ac{tnr} with no space between notes.} Footnote indicators in text can be
superscript Arabic numerals as shown above or as superscript symbols
(using markup changes) as shown below.

% Makes footnotes symbols.
% Use symbols for footnotes
\renewcommand*{\thefootnote}{\fnsymbol{footnote}}

If symbols, they will appear the following order: \footnote{First},
@@ -132,19 +136,15 @@ If symbols, they will appear the following order: \footnote{First},
\footnote{etc}. Symbols \emph{are not} used as table footnote indicators (see
Section~\ref{sec:tables}).

% Returns footnotes back to Arabic numbers.
% Use Arabic numbers for footnotes
\renewcommand*{\thefootnote}{\arabic{footnote}}
% Resets footnote count.
% Restore footnote count
\setcounter{footnote}{0}

Footnotes may be used in addition to the author-date citation method, in which
case, the footnotes provide additional information to the text, not
bibliographic citations.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section*{Acknowledgment}
Add acknowledgment if applicable.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ABSTRACT
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -251,7 +251,7 @@ and should follow their call out (see Table \ref{tab:1}) in the text as closely
as possible. (LaTeX automatically floats Tables and Figures, depending on how
much space is left on the page at the point that they are processed. If there is
not enough room on the current page, the float is moved to the top of the next
page.) Tables are formatted using small TNR. To accommodate large tables, the
page.) Tables are formatted using small \ac{tnr}. To accommodate large tables, the
font size can be decreased and, if necessary, landscaped.

\begin{table}[ht]
@@ -312,7 +312,7 @@ vitae. Sed et molestie sapien. Nullam commodo id mauris quis mollis.
\label{sec:citations}

\subsection{Using In-Text Citations}
For the ORNL TM reports, \textit{Chicago Manual of Style} references and
For the \ac{ornl} \ac{tm} reports, \textit{Chicago Manual of Style} references and
citations are preferred. Of these, you can choose between author-date +
references cited or footnote + references cited.

+1 −4
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@
\RequirePackage{titlesec} % title modification: use text size
\RequirePackage[pdfusetitle]{hyperref} % url and links in PDF
\RequirePackage{tocloft} % table of contents styling
\RequirePackage[shortcuts]{glossaries} % acronyms
\RequirePackage[shortcuts,acronym]{glossaries} % acronym support

% Set footrule width for pages w/footnotes.
% THIS DOESN'T WORK.
@@ -431,9 +431,6 @@ under contract DE-AC05-00OR22725

\setacronymstyle{long-short}

\providecommand*{\printacronyms}[1][]{%
\printglossary[type=\acronymtype,#1]}%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% MAIN MATTER
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%