Code Monkey home page Code Monkey logo

acro's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

acro's Issues

example_one.tex throws error

Original report by boltzmann (Bitbucket: boltzmann, GitHub: boltzmann).


I am not able to process the example_one.tex file. Even easier test files are not processable. For example

#!latex

\documentclass{article}
\usepackage{acro}
\DeclareAcronym{aa}{
  short = AA,
  long = amino acid,
}
\begin{document}
\ac*{aa}
\end{document}

throws (pdflatex .tex)

#!latex

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! LaTeX error: "seq/empty-sequence"
! 
! Empty sequence \g__acro_aa_tmp_seq.
! 
! See the LaTeX3 documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  
                                                  
l.9 \end{document}

and the test file example_one.tex throws

#!latex

! Missing number, treated as zero.
<to be read again> 
                   \bool_g__acro_ecm_label_bool_1:w 
l.64 erstes Mal: \ac{ecm}

short-plural-form

Original report by RobertTerwilliger (Bitbucket: RobertTerwilliger, GitHub: RobertTerwilliger).


Yet another feature request:

For some acronyms, it might be desirable to have a short-plural-form property. Say

\DeclareAcronym{p}{
  short             = {p},
  long              = {page},
  short-plural-form = {pp},
}

or

\DeclareAcronym{f}{
  short             = {f.},
  long              = {folgende},
  short-plural-form = {ff.},
  long-plural       = {},
}

One can bypass this with short-plural={p} or alt={ff.}/\aca{f}, but having an equivalent to long-plural-form seems more intuitive.

Nested acronyms with indefinite article

Original report by lbaeni (Bitbucket: lbaeni, GitHub: lbaeni).


I use nested acronyms which include the short form of another acronym in their long form. For these acronyms \iac results in 2 indefinite articles.

#!latex

\documentclass{standalone}
\usepackage{acro}
\DeclareAcronym{CD}{
    short = CD,
    long  = Compact Disc
}
\DeclareAcronym{CDROM}{
    short = CD-R,
    long  = \acs{CD} Read-Only Memory
}
\begin{document}
\iac{CDROM}
\end{document}

No-Heading Option

Original report by Anonymous.


First of all, thank you for the amazing work! One issue: I am a linguist, and it is customary for abbreviations in papers to be listed in a footnote. I have created an inline list (using enumitem) for appropriately formatting the actual list of acronyms, but the problem is that the heading gets printed in the footnote as well. (See attachments)

In order for me (and other linguists) to really get full use out of this package, it would be really great if there were a way to suppress the heading.

I found out a way to sort of hack this into the existing .sty file, but admittedly, I do not follow how your package really works, so this might break other things. What I did was add the following to the part of the .sty file where sectioning options are defined (around line 1000):

#!\DeclareInstance { acro-title } { none      } { sectioning }
  { name-format =  }


Thank you so much!

Allow omission of "long" if "foreign" is given

Original report by J S (Bitbucket: sirixlancelot, ).


In order to make it easier to use german AND english acronyms, it would be convenient, if long could be omitted if foreign is given.

This would allow consistent formatting for all foreign keys via package options, even if they are not used paired with a german counterpart.

Using the normal long declaration for those entries would require to duplicate the formatting manually for those entries via long-format and list-long-format.

Would this be possible?

foreign-format

Original report by Anonymous.


For some reason I can't get the foreign-format key to work, it gets an "kernel/key undefined" error.

The other format-keys work fine though, the foreign key itself as well.

New feature

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


The first time an acronym is used, it's shown as:

New York (NY)

It would be nice to be able to attach a citation to the end of the text string
by a non-breakable space as if I typed in LaTeX:

New York (NY)~\cite{ny_history}

so it shows up as something like:

New York (NY) [5]

I don't mind if it appears in the whole list of acronyms with the citation, so
I included it in the long form of my acronym. But that produces:

New York [5] (NY)

which is less than ideal, I think.

Make it possible to exclude page-ref for \tableofcontents

Original report by Robin Schneider (Bitbucket: ypid, GitHub: ypid).


Consider the following example. The page-ref will include the occurrence in the \tableofcontents.

\documentclass{article}
\usepackage[
  page-ref = plain,
]{acro}

\DeclareAcronym{foo}{
  short = foo ,
  long = this is the description for foo
}
\DeclareAcronym{bar}{
  short = bar ,
  long = this is the description for bar
}

\begin{document}
\tableofcontents%
\printacronyms%

\newpage
\section{\acl{foo}}

\ac{foo} \ac{bar}

\end{document}

Support for mouse-over

Original report by RobertTerwilliger (Bitbucket: RobertTerwilliger, GitHub: RobertTerwilliger).


I would like to suggest support for mouse-overs as an enhancement. (See also StackExchange: TeX Question 256627.)

I am not sure, how useful this feature is as long as it is supported only by Adobe’s PDF-engine and not by Poppler (anyone able to file a bug?) and how compliant it is with standards (PDF/A, PDF/UA, most certainly not PDF/X).

Anyway, from my personal point of view this would enrich typesetting PDFs with some flavour of (La)TeX (and was the original reason I switched from acronym to acro).

Error when updating from 1.6 to 2.0

Original report by Joao Andrade (Bitbucket: andradx, GitHub: andradx).


Hello,

Updating to version 2.0 to use the single-form options yields this:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! LaTeX error: "kernel/property-unknown"
!
! The key property '.value_required:n' is unknown.
!
! See the LaTeX3 documentation for further information.
!
! For immediate help type H .
!...............................................

I haven't changed any options. Can try and produce a mwe if not obvious to reproduce.

I've assigned this to v1.6 but it pertains to v2.0 whose option is omitted below, though CTAN provides v2.0 already.

LaTeX error: "kernel/command-not-defined" with acro 1.6b

Original report by Sebastian Hofer (Bitbucket: sebhofer, GitHub: sebhofer).


After updating to 1.6b I'm getting this error message

#!latex

ERROR: LaTeX error: "kernel/command-not-defined"

--- TeX said ---
! 
! Control sequence \tl_mixed_case:n undefined.
! 
! See the LaTeX3 documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  
                                                  
l.297 ...enerate_variant:Nn \tl_mixed_case:n { x }
                                                  
--- HELP ---
From the .log file...

|'''''''''''''''''''''''''''''''''''''''''''''''
| This is a coding error.
| 
| LaTeX has been asked to use a command \tl_mixed_case:n, but this has not
| been defined yet.
|...............................................

for the a very simple MWE

#!latex

\documentclass{article}
\usepackage{acro}
\begin{document}
foo
\end{document}

Is this a problem of my setup [I'm running this with pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)], or is it a acro problem?

\acs should not mark an acronym as used

Original report by Bastian Sauert (Bitbucket: sauert, GitHub: sauert).


Hi Clemens,

I would like to thank you for your wonderful acro package.
I actually was a long-time user of the acronyms package. Lately I tried glossaries for its sorting ability and ability to define acronyms in the preamble, which allows seeing them after one compilation, but all this indexing stuff was increasingly making trouble in section titles. Therefore, I was very pleased to see you package.

However, I am missing some functionality, which I implemented for myself in an extension style file and which I would like to share with you, in case you want to include them to acro. The extensions work for me and I tried to implement them as universal as possible, but I did not test all combinations of options, so I for sure have missed something. I have three extensions, which are more or less independent of each other. So I split them in two proposals and one answer to a task.

As my first comment, I am using a package for acronyms also to make sure, that every acronym I use is at least introduced once. This somewhat contradicts to your behaviour that \acs also marks an acronym as used. Of course, I could take care that I only use the starred version of \acs before the first \ac, but firstly it might not be so obvious with figures etc. what actually comes first and secondly I can't be sure anymore, that I haven't missed one. While there are for sure good reasons for this behaviour, I can't see them for my application.

Therefore, I introduced an option "mark-short-as-used". If set to true, the default, everything behaves as before, but if set to false, \acs still records the page number but doesn't mark the acronym as used. AFAICS, this is what I would consider the "right" behaviour.

Yours,
Bastian

Single option improved flexibility

Original report by Joao Andrade (Bitbucket: andradx, GitHub: andradx).


I think that from a certan typesetting perspective, a single time utilization can conform to the general acronym form. Instead of printing the long format, the long (short) could be printed.

Maybe this is a bump on issue #16, but I guess a more controlled way to how single acts would be great

Acronym used with $\text{\acl{test}}$ does not appear in printacronyms

Original report by Robin Schneider (Bitbucket: ypid, GitHub: ypid).


Hi

I noticed that a acronym in math mode is expanded to the long form correctly but not added to the index for \printacronyms. The logfile contains no hints. I tried it with v1.6b and v1.6.

Refer to the following MWE:

#!latex
\documentclass{scrreprt}
\usepackage{
  amsmath,
  textcase,
  acro,
}
\DeclareAcronym{test}{short=test,long=a test entry}

%% https://tex.stackexchange.com/questions/201527/using-math-mode-in-the-package-acronym
%% Does not solve the problem for acro.
\DeclareRobustCommand{\Myacl}[1]{\acl{#1}}
\begin{document}
\printacronyms%

\clearpage%

% \acl{test}\\
% \clearpage%

$\text{\acl{test}}$\\
%
% $\text{\Myacl{test}}$\\

\end{document}

xspace option incombatible with cite keys

Original report by flambda (Bitbucket: flambda, GitHub: flambda).


Hi,

if the xspace option is set and an entry has a cite key, lets say "test",
the reference in \cite will not be \cite{test} but \cite{test }.
I assume this is due to a xspace being set after the test which you can only see as a space after the compilation.

Here a minimal example (it does not matter if "test" was defined as a key in the bibliografy so I left it out)

#!latex

\documentclass{scrreprt}
\usepackage{biblatex}
\usepackage[xspace]{acro}
\DeclareAcronym{test}{short=test,long=a test entry,cite=test}
\begin{document}
\ac{test} \\
\end{document}

You can clearly see, that it is looking for [test ] instead of [test].
This means no cite key will ever be found if the xspace option is used.

I only have version 1.5 right now to play around with but I did not find any issue with a similar problem so it might still be around for 1.6.

Handling periods

Original report by Anonymous.


(From GoLaTeX.)

I request a feature to handle periods automaticly.

MWE:

\documentclass{article}

\usepackage{acro}

\DeclareAcronym{etc.1}{short     = {etc.},
                       long      = {et cetera},
                      }
\DeclareAcronym{etc.2}{short     = {etc.\@},
                       long      = {et cetera},
                       pdfstring = {etc.},
                       accsupp   = {etc.},
                      }
\makeatletter
\newcommand\etc{etc\@ifnextchar.{}{.\@}}
\makeatother


\begin{document}

 \ac{etc.1}                                           % right
 
 \ac{etc.2}                                           % right
 
 et cetera (\etc{})                                   % right
 
 et cetera (\etc)                                     % right
 
 The abbreviation \ac{etc.1}   goes in the middle of the sentence.   % wrong

 The abbreviation \ac{etc.1}\@ goes in the middle of the sentence.   % right

 The abbreviation \ac{etc.2}   goes in the middle of the sentence.   % right

 The abbreviation \etc{}       goes in the middle of the sentence.   % right

 The abbreviation \etc         goes in the middle of the sentence.   % wrong
 
 At the end of the sentence there is the abbreviation \ac{etc.1}. % wrong

 At the end of the sentence there is the abbreviation \ac{etc.2}. % wrong

 At the end of the sentence there is the abbreviation \etc{}.     % wrong

 At the end of the sentence there is the abbreviation \etc.       % right
 
\end{document}

Access foreign

Original report by Anonymous.


Given the following (not so) minimal working example

#!latex
\documentclass{scrartcl}

\usepackage[accsupp=true]{acro}
\usepackage{filecontents}
\usepackage{pdfcomment}
\usepackage{polyglossia}
\usepackage{hyperref}
\usepackage{biblatex}

\setdefaultlanguage[latesthyphen=true, babelshorthands=true]{german}
\setotherlanguage                                           {english}

\DeclareAcronym{AIDS}{short=\textenglish{HIV}/\textenglish{AIDS}, long=\textenglish{Human Immunodeficiency Virus Infection/Acquired Immune Deficiency Syndrome}, pdfstring=HIV/AIDS, accsupp=HIV/AIDS, long-format=\itshape}
\DeclareAcronym{MDG}{short=\textenglish{MDG}, long=Millenniums-\texorpdfstring{Ent"|wicklungs"|ziel}{Entwicklungsziel}, short-plural=, long-plural=e, foreign=\textenglish{Millennium Development Goal}, pdfstring=MDG, accsupp=MDG}
\DeclareAcronym{UN}{short=\textenglish{UN}, long=\texorpdfstring{Ver"|einte}{Vereinte} Nationen, foreign=\textenglish{United Nations}, pdfstring=UN, accsupp=UN}

\begin{filecontents}{Test.bib}
 @Report{MDG-Report:2015,
  author       = {{United Nations}},
  title        = {The Millennium Development Goals Report~2015},
  type         = {report},
  institution  = {\acs{UN}},
  date         = {2015-07-01},
  location     = {New York},
  isbn         = {978-92-1-101320-7},
  pagetotal    = {75},
  url          = {http://www.un.org/millenniumgoals/2015_MDG_Report/pdf/MDG 2015 rev (July 1).pdf},
  urldate      = {2015-07-22},
  editor       = {Way, Catharine},
  editortype   = {editor},
  foreword     = {Ban Ki-moon},
  introduction = {Wu Hongbo},
  shortauthor  = {\acs{UN}},
  shorttitle   = {\acsp{MDG} Report~2015},
  gender       = {sn},
  langid       = {english},
 }
\end{filecontents}

\addbibresource{Test.bib}

\begin{document}
 
 Die \citeauthor{MDG-Report:2015} wollen laut \citetitle{MDG-Report:2015}
 \begin{enumerate}
  \item extreme Armut und Hunger be"|seitigen,
  \item Grund"|schul"|aus"|bildung für alle Kinder ge"|währ"|leisten,
  \item Gleich"|stellung und größeren Ein"|fluss der Frauen fördern,
  \item die Kinder"|sterb"|lich"|keit senken,
  \item die Gesund"|heit der Mütter ver"|bessern,
  \item \acs{AIDS}, Malaria und andere Krank"|heiten be"|kämpfen,
  \item eine nach"|haltige Um"|welt ge"|währ"|leisten und
  \item eine globale Partner"|schaft im Dienst der Ent"|wicklung schaffen.
 \end{enumerate}

 \printbibliography
 \printacronyms

\end{document}

(XeLaTeX, Biber, XeLaTeX)

I would appreciate a feature to address the foreign acronym directly via a command like \ac-foreign. Also, a foreign-plural field would help.

Don’t know if this is possible and the needed effort; so just a hint.

printacronyms broken with current LuaLaTeX

Original report by Genmutant (Bitbucket: Genmutant, GitHub: Genmutant).


If you try to print the acronyms with the current LuaLaTeX in TeXLive 2014 updated to 25.06.2014, you get the error

#!latex

! Undefined control sequence.
<argument> \pdftex_strcmp:D 
                 {clr}{mkl}=-1
l.8 \end
      {document}

For the minimal example:

#!latex

\documentclass{article}
\usepackage{acro}
\DeclareAcronym{clr}{short = CLR, long  = {Common Language Runtime}}
\DeclareAcronym{mkl}{short = MKL, long  = {Intel Math Kernel Library}}
\listfiles
\begin{document}
\printacronyms
\end{document}

It works fine with pdflatex.

Apparently this commit changed the handling of that command.

Replacing \pdftex_strcmp:D with \__str_if_eq_x:nn like in the commit seems to work?

With best wishes,
Juri

Support for indefinite article

Original report by Bastian Sauert (Bitbucket: sauert, GitHub: sauert).


Hi Clemens,

my second enhancement is about "indefinite articles" similar to the latest improvement of the acronyms package. As in english, the indefinite article (a/an) depends on the pronounciation of the next word, short and long forms can have different indefinite articles. However, you can't know which one \ac shows.

Therefore, I introduced a general option "indefinite-article" to set the default article with default "a". Furthermore, the acronym declaration has two new options "short-indefinite" and "long-indefinite" which set the indefinite articles for the two forms.
Finally, I added the macros \iac, \iacs, \iacl, and \iacf, each one with the plural and the first captial letter flavor, which display the appropriate indefinite article followed by a space and the usual acronym in short or long form. Strictly speaking, one knows for \acs, \acl, and \acf which form is displayed, so the \iac... forms are not really necessary. I added them nevertheless, so that the user doesn't have to think about it when he later changes from one to the other.

In the implementation, I tried to duplicate as less code as possible and therefore call the \ac* macros instead of duplicating them. I am not using the alternative form, so it is missing in my extension.

Yours,
Bastian

`short-format` not working in package options

Original report by Michel Voßkuhle (Bitbucket: vosskuhle, GitHub: vosskuhle).


If short-format = ... is given in the package options, the document will not compile. If given via \acsetup{short-format = ...} however, it works as expected.

Minimal (non-)working example:

\documentclass{article}

\usepackage[
 short-format=\itshape
]{acro}

\DeclareAcronym{abc}{
 short = ABC,
 long  = the alphabet
}

\begin{document}
 \ac{abc} \ac{abc}
 \printacronyms
\end{document}

Compilation failed on a TeX Live 2012 system with only acro.sty in a newer version (v1.3).

Minimal working example:

\documentclass{article}

\usepackage{acro}
\acsetup{
 short-format=\itshape
}

\DeclareAcronym{abc}{
 short = ABC,
 long  = the alphabet
}

\begin{document}
 \ac{abc} \ac{abc}
 \printacronyms
\end{document}

Support \pdfbookmark for \printacronyms.

Original report by Robin Schneider (Bitbucket: ypid, GitHub: ypid).


Hi

Its me again. This time hopefully with something constructive …
Have you thought about adding support to set a \pdfbookmark for \printacronyms?

Currently, I do this:

\documentclass{article}
\usepackage{hyperref}
\usepackage[
  page-ref = plain,
]{acro}

\DeclareAcronym{foo}{
  short = foo ,
  long = this is the description for foo
}
\DeclareAcronym{bar}{
  short = bar ,
  long = this is the description for bar
}

\begin{document}
\tableofcontents%
\pdfbookmark[1]{Acronyms}{Acronyms}
\printacronyms%

\newpage
\section{\acl{foo}}

\ac{foo} \ac{bar}

\end{document}

aclu minimal example not working anymore

Original report by Alexander Willner (Bitbucket: [Alexander Willner](https://bitbucket.org/Alexander Willner), ).


Steps that will reproduce the problem?

  • Copy and paste the minimal example at the bottom of the URL above
  • pdflatex file.tex

What is the expected result?

file.pdf

What happens instead?

! Undefined control sequence.
\Aclu code ..._acronym:nn {#2}{false}\acro_upper: 
                                                  \acro_if_acronym_used:nTF ...
l.68 \Aclu{Metacomputing}
                          and later \aclu{Metacomputing}.

Possible workaround:

unknown

Any additional information:
In my own (other) document probably the same root cause:

! Undefined control sequence.
<argument> \__acro_is_single_p:n 
                                 
l.88 \aclu{Metacomputing}
                          characterizes a specific form

Generalized single option

Original report by Anonymous.


Sometimes I would like to have acronyms that are used in short form only if the number of occurrences is more than n, where I get to specify n. As things stand now, short forms must appear if the term is used only twice (even if the single option is given).

In other words, I'm suggesting an option single = such that 1 is the default, single = 0 means that short forms are always introduced, and single = n means that short forms are introduced and used only if the number of occurrences is more than n. Perhaps the name single is a bad choice for the generalized option's name.

starred commands

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


Add starred versions of the \ac(x) commands that print an acronym but don't mark it as used. Add also plussed versions that mark them as used but don't print anything.

short-format crashes \ac

Original report by Zunbeltz Izaola (Bitbucket: zunbeltz_izaola, ).


After adding the option short-format = \scshape; the document does not compile.
I get the error:
Missing control sequence inserted.

I get the inpresion that somehow, when typesetting the short form
some space is mixing between \scshape and the acronym.
My definition of the acronym is:

#!latex

\DeclareAcronym{ECR}{%
  short = \textsc{ECR},
  long = Ciclotrón de resonancia del electrón,
  % foreign = Electron Cyclotron Resonance,
  % pdfstring = PDF ,
  % accsupp = PDF
}

The document runs properly when short-format is removed.

Error message when definition is missing

Original report by Anonymous.


Hi,
I want to request a change according to missing acronym-definitions.

I use TeXnicCenter for writing latex documents and a missing definition there looks like in the picture I have attached.

Compared to a missing citation with just one single warning line with
"Citation 'test' on page XX undefined"
it is a little confusing in the first moment to see such an error report. Because normally I see such a big error report something really went bad.

Since a missing citation and a missing acronym for me are the same level of problem I want to request that you change your error report to a single line warning like
"Acronym 'test' on page XX is undefined"

Maybe you can as well write the Acronym in bold letters like the citation package writes a question mark.

This would be really great.

Thank you for your good work.

Document class scrbook and list type table result in a page overflow

Original report by Alexander Willner (Bitbucket: [Alexander Willner](https://bitbucket.org/Alexander Willner), ).


See title, attachment and MWE:

\documentclass{scrbook}
\usepackage{longtable}

\usepackage{acro}
\DeclareInstance{acro-page-number}{dotfill}{default}{
  punct = true,
  punct-symbol = \dotfill
}
\acsetup{
            single=false,
            sort=true,
            list-type=table,
            list-style=longtable,
            page-ref=dotfill,
            pages=first,
            page-name={},
            pages-name={},
}

\DeclareAcronym{bar}{ short = bar, long = {Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.} }

\DeclareAcronym{foo}{ short = foo, long = {foo} }
\begin{document}

\ac{foo}\newpage
\ac{bar}\newpage
\ac{foo}\newpage

\printacronyms

\end{document}

double s ('ss') plural ending when using \acifused

Original report by Anonymous.


When using \acifused in the declaration of an acronym like this:

#!latex

\DeclareAcronym{dc}{
	short = DC ,
	long = dendritic cell
}

\DeclareAcronym{pdc}{
	short = p\acs{dc} ,
	long = plasmacytoid \acifused{dc}{\acs{dc}}{\acl{dc}}
}

and usage in the text like this:

#!latex

\acp{pdc}

results in:

"pDCss" instead of "pDCs".

\Ac{} capitalizes name of first embedded acronym

Original report by sappjw (Bitbucket: sappjw, GitHub: sappjw).


It seems that \Ac{} will capitalize the name of the first acronym, resulting in an error if that's not how it was defined (e.g., it was defined in all lowercase). I'm fairly certain that this did not happen prior to 1.6b.

The attached example shows how this bug can crop up. I get the following error when compiling:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! acro error: "undefined"
! 
! You've requested acronym `Cd' on line 21 but you apparently haven't defined
! it, yet! Maybe you've misspelled it?
! 
! See the acro documentation for further information.
! 
! Type <return> to continue.
!...............................................  

This may be related to issue #36.

acronym resetting

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


When an acronym is reset any \ref{ac:ID} still refer to the first appearance of the acronym before it has been resetted. This should probably be changed.

Compatibility with tocloft or else finer control over table of acronym list

Original report by Ian Craig (Bitbucket: icraig, GitHub: icraig).


I have to produce a lot of reports that contain a table of contents (ToC), table of figures (ToF), and table of acronyms (ToA), etc. all at the start. In order to get the ToC and ToF formatting consistent, I use the tocloft package. I would like to make the ToA look similar, with a bold acronym and definition flush left, the pages flush right, with the intervening space filled with dots. I would like to see acro have the ability to add support for tocloft or some similar ToC formatting package (if one exists) or else provide finer control over the formatting of the table so that I can do it by hand.

Error in upper case plural forms

Original report by Dirk Holz (Bitbucket: dirkholz, GitHub: dirkholz).


There seems to be an error with the upper case plural forms (Acp, Acfp, ...):

With the following declaration:

#!latex

\DeclareAcronym{MAV}{
  short = MAV ,
  long = micro aerial vehicle ,
}

1.6b 2015-05-10 (CTAN) will show the following behavior:

While \acp{MAV} gives "micro aerial vehicles (MAVs)", \Acp{MAV} gives "Micro aerial vehicleMAV (MAVs)" appending the short-form to the long-form instead of the long-plural.

Capitalization is inconsistent with declaration when capitalizing first letter

Original report by sappjw (Bitbucket: sappjw, GitHub: sappjw).


I'd like to use an acronym with a multi-word long definition that has capitalized all first letters of the long definition (see attached MWE). Whenever I use the \Ac{} command, it only capitalizes the first letter of the first word regardless of the case of the definition. I believe that prior to 1.6b (though I'm not sure how much prior) the behavior was to retain capitalization as defined in the "long" key. In the attached document, the expected behavior with \Ac{} is the second line but with the first letter guaranteed to be capitalized.

Short form optional

Original report by Anonymous.


Most of the time I define an acronym the id and the short form are identical.
So I thought it would be nice if the short form would be optional and if its not given the id would be used instead.
Just an idea, don't know if thats possible with the mechanism.

mfg

Multi-Column List

Original report by Anonymous.


Hello Clemens,

first of all, thanks for your effort on this package!
I am using acro for all types of my nomenclature, i.e. symbols, superscripts, subscripts, and acronyms. Actually this works good. However, I noticed that my superscripts are very short in its length. There would be enough space to have a multicolumn representation. Is there an option to print the list in a double column?

Thanks in advance!
Oliver

Error when using packages acro and tocstyle

Original report by Stephan Jung (Bitbucket: StephanJung, GitHub: StephanJung).


Hallo,

wenn ich die Pakete acro und tocstyle verwende erhalte ich den Fehler "Undefined control sequence. \begin{document}
Kommentiert man nur eins von beiden aus, so wird das Dokument korrekt erzeugt. Hier mein Minimalbeispiel:

#!latex

\documentclass[12pt,a4paper]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}

\usepackage{tocstyle} 

\usepackage{acro}

\DeclareAcronym{H2}{
	short = $\mathrm{H_2}$ ,
	long  = hydrogen
}

\begin{document}
  \tableofcontents
	TEST
  \section{title1}
  \section{title2}
  \subsection{subtitle1}
  \subsection{subtitle2}
\end{document}

In meinem Fall das das Paket tocstyle in einer Vorlage enthalten und ich konnte es weglassen. Vielleicht hat der eine oder andere hier aber kein Glück.

Grüße,
Stephan

List of acronyms broken in v1.3c

Original report by Anonymous.


Commit 299011a breaks acro for me.

Results after applying 299011a:

  1. The list of acronyms (\printacronyms) is messed up. Only the long versions are printed and they are printed in a row.

  2. The short versions appear at a seemingly random point in the document superimposing each other.

The observed behavior seems independent of my local configuration of acro.
Even with all options removed and only the acronym declarations (\DeclareAcronym) and references (\ac, \acs and \acs*) preserved, acro behaves in the described way.

Format of plural 's'

Original report by lbaeni (Bitbucket: lbaeni, GitHub: lbaeni).


Hi,

I'd like to use \textsmaller from the relsize package as format for my short forms.

I noticed that the plural 's' of the short form is typeset in the default format. I'd prefer the 's' in the same format as the rest of the short form.

Is this possible already or would it be possible to implement an option to do so?

Thanks a lot!

#!latex

\documentclass{article}
\usepackage{relsize}
\usepackage{acro}
\DeclareAcronym{test}{
	short = test,
	long  = Test Acronym,
	short-format = \textsmaller
}
\begin{document}
\acp{test}
\end{document}

Provide keyword for foreign-format

Original report by J S (Bitbucket: sirixlancelot, ).


In my text, I'd like to highlight foreign words (e.g. using \emph{} ).

Please provide a foreign-format keyword which is analog to short-format and long-format or a general option which sets the format for all foreign keys.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.