Giter VIP home page Giter VIP logo

Comments (4)

lierdakil avatar lierdakil commented on June 14, 2024

You can add "empty label" to each equation you want numbered, but not
referenced, e.g.

$$...$${#eq:}

I try to not to be invasive with this filter to avoid breaking existing
work flows. This sometimes comes at the cost of extra verbosity.
25 янв. 2016 г. 16:52 пользователь "Lucas Verney" [email protected]
написал:

Hi,

Would it be possible to have a setting to number all equations by default?

I like to have all my equations numbered, although I do not necessarily
reference them further in the document, and would be great if it could be
done without having to introduce extra useless labels or using \begin{equation}
… \end{equation}.

Thanks!


Reply to this email directly or view it on GitHub
#56.

from pandoc-crossref.

Phyks avatar Phyks commented on June 14, 2024

OK.

My proposal is the following:

  • Add an auto_number_equations option (boolean) to turn on or off the auto-numbering feature (then preventing the necessity to use an empty label on each equation).
  • Make it "off" by default to preserve the actual workflow, but still allow people to enable it if they are aware of it and the potential breaking.

What do you think?

from pandoc-crossref.

lierdakil avatar lierdakil commented on June 14, 2024

Okay, master implements this with autoEqnLabels option via f48ec4e. This is barely tested, however.

from pandoc-crossref.

Phyks avatar Phyks commented on June 14, 2024

Cool! Thanks! I will try to give it a try ASAP. :)

from pandoc-crossref.

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.