cgnieder / acro

acronyms for LaTeX
LaTeX Project Public License v1.3c
40 stars 9 forks source link

Different text for "list" description is ignored #60

Closed cgnieder closed 8 years ago

cgnieder commented 8 years ago

Original report by Anonymous.


Hi, I'm trying to create a list of acronyms in my thesis using the acro package. Sometimes I want the text in the description list to be longer and more exhaustive then what should be printed in the text. According to the manual, this can be achieved by the list option when the acronym is declared.

However, when I run this MWE document, it seems that the list option is completely ignored and only short and long are printed in the list at the end of the document... How can I get the different text to appear??

#!latex

\documentclass[11pt, a4paper, headsepline, onesided, normalheadings]{scrreprt}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage{longtable}

\usepackage[list-style=longtable,only-used=false]{acro}
  \acsetup{list-short-format={\bfseries\sffamily}}

  \DeclareAcronym{hplc}{short = HPLC, list = {high-performance (also: high-pressure) liquid chromatography}, long = high-performance liquid chromatography} 
  \DeclareAcronym{uv}{short = UV, long = ultraviolet light}
  \DeclareAcronym{apci}{short = {APCI-MS}, list = {mass spectrometry using chemical ionization at atmospheric pressure}, long = {chemical ionization at atmospheric pressure}}
  \DeclareAcronym{esi}{short = ESI-MS, long = electrospray ionization, list = mass spectrometry using electrospray ionization}
  \DeclareAcronym{bsa}{short = BSA, long = bovine serum albumin}

\begin{document}
    Test document. \\
    Test \ac{hplc}. \\
    \ac{uv}

    \appendix
    \chapter{List of Abbreviations}
    \renewcommand{\baselinestretch}{1.20}\normalsize
    \printacronyms[sort=true,heading=none]

\end{document}
cgnieder commented 8 years ago

Original comment by Clemens Niederberger (Bitbucket: cgnieder, GitHub: cgnieder).


Thanks for the report.

cgnieder commented 8 years ago

Original comment by Clemens Niederberger (Bitbucket: cgnieder, GitHub: cgnieder).


v2.2c, fix issue #60

cgnieder commented 8 years ago

Original comment by Anonymous.


Wow! Thank you so much for an outstandingly quick response and fix. Now it works as expected... amazing!

cgnieder commented 7 years ago

Original comment by Clemens Niederberger (Bitbucket: cgnieder, GitHub: cgnieder).


Removing version: 2.2 (automated comment)