Code Monkey home page Code Monkey logo

Comments (10)

cgnieder avatar cgnieder commented on August 15, 2024

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


Hi Bastian,

I'm assuming by “introduced at least once” you mean the long version somewhere in the text? I can see that this might be a useful option. I'll have a look at your code (thanks for it) and probably will add this to an upcoming version

from acro.

cgnieder avatar cgnieder commented on August 15, 2024

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


Hi Clemens,

with "introduce an acronym" I actually mean "long (short)". So after thinking about it, just the long form wouldn't be sufficient either. But since I don't use \acl regulary, I missed that. So my code only covers the \acs case.

Yours,
Bastian

from acro.

cgnieder avatar cgnieder commented on August 15, 2024

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


I actually meant that... sorry for the confusion. The switch should then probably cover all but \ac and \acp or should \acf and \acfp also be excluded?

from acro.

cgnieder avatar cgnieder commented on August 15, 2024

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


I think \acf and \acfp also introduce the acronym (as to \Acf, ...). I often use \acf to make sure that long and short form are printed at this specific place regardless of what happened before. Afterwards, the acronym is still introduced even if this happened to be the first time.

So from my point of view the switch should cover all but \ac, \acf, their plural forms, and their capital letter forms.

BTW: I must postpone my answers to your other comments to tomorrow. Thanks anyway for your surprisingly fast answers.

from acro.

cgnieder avatar cgnieder commented on August 15, 2024

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


“So from my point of view the switch should cover all but \ac, \acf, their plural forms, and their capital letter forms.” That's what I thought.

(I happenend to sit in front of my PC instead of going to bed when your comments popped up in my email program...)

from acro.

cgnieder avatar cgnieder commented on August 15, 2024

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


My idea would be to let \afp (and the uppercase and plural versions as well as the implicit usage in \ac and kin) set a flag so that every usage of the other \ac... commands would only set the used flag if this new flag has been set (still controlled by a package option to let everything be as it is). Do you think this meets your needs?

from acro.

cgnieder avatar cgnieder commented on August 15, 2024

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


resolve issue #7

from acro.

cgnieder avatar cgnieder commented on August 15, 2024

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


I actually haven't understood your solution yet, but if

\acreset{id} \acs{id} \ac{id}

gives <short> <long> (<short>)
instead of <short> - <short> the answer seems to be yes. ;-)

from acro.

cgnieder avatar cgnieder commented on August 15, 2024

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


It does

from acro.

cgnieder avatar cgnieder commented on August 15, 2024

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


Removing version: 1.1 (automated comment)

from acro.

Related Issues (20)

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.