Tag Info

Hot answers tagged

7

Some will frown on this, but the error is $\lambda$ being used in \begin{equation}...\end{equation} when \gls{slambda} is replaced with $\lambda$ then. It's not possible to use $...$ inside equation-like environments. Omitting works for the environment, but then \printglossaries complains about missing math mode. One possible solution is to apply ...


3

Either try to use \printacronyms instead of \printglossary or \printglossary[type=acronym] (+ some additional options) \documentclass[a4paper, 11pt]{article} \renewcommand{\baselinestretch}{1.2} \usepackage{fancyhdr} \usepackage[titletoc,title]{appendix} \usepackage[hidelinks]{hyperref}% \usepackage[section,numberedsection, acronym, toc]{glossaries} ...


2

The O.P. defined \newcommand*{\acro}[3][]{\newacronym[#1]{#2}{#2}{#3}} but tries to call it (why???) \acro{TVWS}[see=TV]{Television White Spaces} i.e. the optional argument is at the 2nd place here. This is difficult to achieve with a standard \newcommand approach, but easy with \NewDocumentCommand from xparse package: ...


2

I finally managed to solve the problem. I had a look at the output of \detokenize{##2} (where ##2is the page list in \glossentry) and found that it has a substring glsignore if there is no page number. Furthermore there is at least one substring delimRor delimNbetween page numbers (only when here is more than one page referenced). Since \glossaryentryfield ...


2

To do this you can use the xindy option to the glossaries package together with the \GlsSetXdyMinRangeLength command. According to the glossaries manual you should be able to use \GlsSetXdyMinRangeLength{none} but this did not work for me. Instead I used \GlsSetXdyMinRangeLength{100} To create the glossary this way you need to add xindy as an option to ...


1

It was my fault, I have various files, they were formatted differently: part UTF-8 (the glossary) and part ISO-8859.. (checked with the 'file' command) Now I 'recode'(d) all to UTF-8, edited the \inputenc command to UTF-8 and now it works everything (except for the .bib file)


1

This is only a partial solution -- it works for the first use of \gls{foo} label only, later calls with the same label are 'ignored' or do nothing. glossaries does indeed define a glsentry-foo label when \gls{foo} is used -- but this refers to the location of foo in the glossary, not on the calling page. I've grabbed a little bit of xparse etc. and other ...


1

I adapted your source to really be Example.dtx and Example.ins since there's already an example.sty in standard TeX distributions. Example.dtx: % \iffalse meta-comment % % Copyright (C) XXXX by Carel <Care@sx.so> % ---------------------------------------- % % This file may be distributed and/or modified under the % conditions of the LaTeX Project ...


1

I suggest to use logical markup with a command \meansymbol, which is set to \mu here, which prints the usual italic version of the greek letter mu. This way, it's easy to make a consistent notation throughout the document. Additionally, I provided the upshape version, \upmu in the \meanupsymbol -- this requires \usepackage{upgreek} then. (Of course, \upmu ...


1

I found the solution after some time, so in case someone has the same issue... In fact, there were two installations of MikTeX in the machine, an old one which had not been properly uninstalled, and a more recent one. Because MikTeX always adds its bin directory to the environment path, and the most recent installation is added later, the scripts get ...


1

This works. You need to use the entries defined in the glossary. Otherwise there is no way to sort them! \documentclass[a4paper,12pt]{report} \usepackage[style=long,toc,acronym,xindy,sort=use]{glossaries} \makeglossaries \newglossaryentry{computer}{ name=computer, description={is a programmable machine that receives input, stores and manipulates ...


1

You can use the .aux file: \documentclass{article} \usepackage{lipsum} \usepackage{glossaries} \usepackage{hyperref} \makeatletter \newcommand{\glssubsection}[1]{% \@ifundefined{@glssubsection\detokenize{#1}} {\protected@write\@auxout{}{\string\newglossaryentry{#1}{name=#1,description={}}}% \global\@namedef{@glssubsection\detokenize{#1}}{}}{}% ...


1

You can use the key argument to specify the proper sorting order; for example, \glossary(Aa){\emph{Aa.Vv.}}{\emph{Autori vari}} A complete example \documentclass[12pt,a4paper]{memoir} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{filecontents} \makeglossary % glossaire, fichié généré: .gls %generate .gst style file ...



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