# Tag Info

9

It's another case of a spurious space! \documentclass{book} \usepackage{xparse} \usepackage{tocvsec2} \usepackage{glossaries} \makeatletter \renewcommand\resetsecnumdepth{% \@ifstar{% \setcounter{secnumdepth}{\value{max@secnumdepth}}% \edef\stack@secnumdepth{\the\c@secnumdepth\relax}% }{% \ifx\stack@secnumdepth\@empty ...

7

You can use the package silence. Issue \WarningsOff* before loading glossaries and \WarningsOn after it. MWE: \documentclass{memoir} \usepackage{silence} \WarningsOff* \usepackage{glossaries} \WarningsOn \makeglossaries \begin{document} Hello World \printglossary \end{document} In this way those warnings are gone and all the rest of them in the ...

7

With the same style as for \printglossary, you can use \documentclass{memoir} \let\printglossary\relax \let\theglossary\relax \let\endtheglossary\relax \usepackage{glossaries} \makeglossaries \begin{document} Hello World \printglossary \end{document} I wouldn't silence off all warnings by glossaries. With silence you can override the relevant messages ...

6

Following Nicola Talbot's comment, and the output from arara, we know that the makeglossaries rule is really just a short cut for: makeindex -s myfile.ist -t myfile.glg -o myfile.gls myfile.glo As such, we can make an arara do this for us by using @{getBasename(file)}. makeglossariesNP.yaml !config # Make glossaries *without perl* rule for arara # ...

5

Update to glossaries version 4.04 and use the noredefwarn package option: \documentclass{memoir} \usepackage[noredefwarn]{glossaries} \makeglossaries \begin{document} Hello World \printglossary \end{document} glossaries also has a nowarn option that suppresses warnings, but if something unexpected happens it's best to switch the warnings back on.

5

Short Answer: This isn't an error or anything wrong with your settings. You're just using an operating system that doesn't support makeglossaries's preferred method of running makeindex/xindy so it uses a platform independent approach instead. The next version of glossaries (4.04) will include a new version of makeglossaries (2.14) that will have a new -Q ...

5

If you're not interested in collating the location lists, the following will work: % arara: pdflatex % arara: makeglossaries % arara: pdflatex \documentclass{article} \usepackage[pagewise]{lineno} \usepackage{etoolbox} \usepackage[subentrycounter]{glossaries} \usepackage{lipsum} \makeglossaries \newcounter{glslabcount} \renewcommand*{\glsentryfmt}{% ...

5

You can't have active characters in the glossary label. You'll need an extra parameter to provide a label: \documentclass{report} \usepackage{enumitem} \usepackage{glossaries} \makeglossaries \newcommand{\mathgloss}[4]{% \newglossaryentry{#1}{name={#2},description={#3},symbol={#4}}% \begin{description}[labelwidth=3em]% \item[\gls{#1}]#3 ...

4

cmhughes's answer is best for general purposes, but you can also just use the makeindex directive however you need to explicitly write the file names. If your LaTeX file is called myDoc.tex then the following will work: % arara: makeindex: {style: myDoc.ist, options: "-t myDoc.glg -o myDoc.gls myDoc.glo"} (Avoid spaces in the file names.) That will just ...

3

You can simply increase the value of the length \glsdescwidth whose default value is 0.6\hsize. For example, add the line \setlength{\glsdescwidth}{0.8\hsize} in your preamble and you'll have Complete code: \documentclass[12pt,a4paper]{report} \usepackage{amsmath} \usepackage{hyperref} \usepackage{longtable} ...

3

The unwanted space comes from \defglsdisplayfirst of glossaries.sty 2014/01/20 v4.03, see the line marked with % <==: \newcommand*{\defglsdisplayfirst}[2][\glsdefaulttype]{% \GlossariesWarning{\string\defglsdisplayfirst\space is now obsolete.^^J Use \string\defglsentryfmt\space instead}% \expandafter\def\csname ...

3

The default glossary style (list) uses the description environment which doesn't like a line break immediately after \item. Your second entry has a line break at the start of the description which tries to break the line immediately after \item, which is what's causing the problem. You can add an empty box immediately before the line break (which is what the ...

3

(Converting comment into an answer.) Commands like \glsentrylong and \glsentryshort access the long and short keys. These keys (and their plural versions) are set by \newacronym but have to be explicitly set, if required, when using \newglossaryentry. However in this case it's simpler to just use the optional argument of \newacronym to set the ...

3

As cmhughes indicates, this is the intended behaviour. By default, the book class assumes that your book will be printed double-sided and that you would like things like the table of contents to always appear on an odd page. Usually, that is what you want. If not, however, you have various options. If your document is to be double-sided but you don't mind ...

3

As from glossaries version 4.04, it's now possible to use different sort methods, but only if you use the \makenoidxglossaries option which uses TeX to perform the sorting: \documentclass{article} \usepackage[nopostdot,nogroupskip]{glossaries} \newglossary{nomen}{}{}{Nomenclature} \makenoidxglossaries % main glossary ...

3

If your first and text values are the same, you can achieve this using: \documentclass{report} \usepackage{etoolbox} \usepackage[colorlinks]{hyperref} \usepackage [ nohypertypes={main}% suppress automatic links for main glossary ] {glossaries} % reset entries at the start of each chapter \preto\chapter{\glsresetall} \makeglossaries % Modify the ...

3

Given that this question has been open for several months, perhaps you've already solved your problem, but I have written some macros to solve a virtually identical problem, so I thought I'd share them. Other solutions to this type of problem use the label (or, as you requested) the name key to create the index. However there are times when you will almost ...

2

You need at least version 4.02 for the following: \documentclass[12pt,a4paper]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[acronym,sort=use,toc,nopostdot]{glossaries} \glssetnoexpandfield{useri} \newacronymstyle{long-alt-short} {% \ifdefempty\glscustomtext {% \ifglsused\glslabel {% \glsifplural {% ...

2

Suppose your spreadsheet looks something like: Method 1: Export the spreadsheet to CSV. For example, sample.csv: Name,Type,Past Tense,Description sit,verb,sat,rest on one's hind quarters cat,noun,---,small domesticate feline animal mat,noun,---,floor covering the,determiner,---,the definite article Now you can use a combination of datatool and ...

2

Don't worry, this is the expected behaviour; what you're seeing is the result of the \cleardoublepage command which is issued by the book document class between successive chapters. You can manually tell it not to do so by temporarily disabling the command- the following code does the trick: \begingroup \let\cleardoublepage\relax \tableofcontents ...

Only top voted, non community-wiki answers of a minimum length are eligible