GithubHelp home page GithubHelp logo

Comments (9)

johanneswilm avatar johanneswilm commented on August 15, 2024

I don't think we allow any field more than once, do we?

The innermost [...] is there because it can contain styling. The next [...] is there because we allow a range of pages. The third level [...] is because we allow pages and ranges (plural). See the description in the biblatex PDF:

One or more page numbers or page ranges

from biblatex-csl-converter.

retorquere avatar retorquere commented on August 15, 2024

I didn't think so either, but I was trying to parse this field. Indented, it looks like this:

[
  [
    [
      {
        "type": "text",
        "text": "300"
      }
    ],
    [
      {
        "type": "text",
        "text": "301"
      }
    ]
  ]
]

So that's a single-element array, containing a two-element array (the range); I had expected a two-element top-level array to designate the range.

from biblatex-csl-converter.

johanneswilm avatar johanneswilm commented on August 15, 2024

Right. So for example you could have these values:

"301-302, 310-313"

It's plural "ranges", right?

from biblatex-csl-converter.

retorquere avatar retorquere commented on August 15, 2024

Oh, right. I'll have to figure out how to translate that to Zotero (only one pages field there). Thanks for the info!

from biblatex-csl-converter.

johanneswilm avatar johanneswilm commented on August 15, 2024

Also, one needs to be able to differentiate between: "310, 313" and "310-313".

from biblatex-csl-converter.

johanneswilm avatar johanneswilm commented on August 15, 2024

And the pages field in Zotero doesn't allow more than one range? In bibtext it's just one instance of the pages field, but that one field can contain several page ranges, as I understand it.

from biblatex-csl-converter.

retorquere avatar retorquere commented on August 15, 2024

That looks to be right, and Zotero doesn't really do much itself with the pages field. I'd have to go dive into the CSL processor to see what it does with the field value.

from biblatex-csl-converter.

johanneswilm avatar johanneswilm commented on August 15, 2024

Hmm, Just tried out Zotero. For input it seems just to give a simple input field and doesn't really seem to care about what I put into it.

from biblatex-csl-converter.

retorquere avatar retorquere commented on August 15, 2024

That's Zotero. It leaves most of the interpretation to citeproc (or BBT)

from biblatex-csl-converter.

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.