Giter VIP home page Giter VIP logo

Comments (4)

lierdakil avatar lierdakil commented on June 14, 2024

Right. This is due to fix for #11 (since multiple spaces would be typeset as one by LaTeX, but ~ is not). There is a corner case which I'm unsure about though. If there are multiple references, and cleveref is not used, then it would be expanded to

Figure~ \ref{a}, \ref{b}, \ref{c}

There are two options to fix this. First is to just strip leading spaces, which would give

Figure~\ref{a}, \ref{b}, \ref{c}

Second is to use non-breaking spaces all the way, e.g.

Figure~\ref{a},~\ref{b},~\ref{c}

Which one would suit you best?

from pandoc-crossref.

JonathanReeve avatar JonathanReeve commented on June 14, 2024

Cool. The first of those two options sounds the best to me. I myself rarely have more than one reference at a time, but I imagine that multiple references could probably be wrapped after the first one.

from pandoc-crossref.

lierdakil avatar lierdakil commented on June 14, 2024

Ok, I've pushed 0.1.0.2 to hackage.

from pandoc-crossref.

JonathanReeve avatar JonathanReeve commented on June 14, 2024

Awesome.

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.