Giter VIP home page Giter VIP logo

Comments (5)

paolobrasolin avatar paolobrasolin commented on September 5, 2024

That's actually expected behaviour: the only locators included by the CSL spec are: book, chapter, column, figure, folio, issue, line, note, opus, page, paragraph, part, section, sub-verbo, verse, volume.

This means these are the only ones that we can expect to be rendered by a CSL style (that implements them).

I think that it should be possible to use a generic unqualified locator and let the styles handle it as-is. E.g. cite:[iso:27001, "Clause 6.1.2 c 2"] could be rendered as expected. Than might make more sense instead of trying to cover every possible case? (That's what BibTeX&co do.)

Another option would be to use a custom formatter (say, enriching the TeX-like one). But again, if one comes from the TeX world she probably expects to be able to give arbitrary locators.

from asciidoctor-bibliography.

ronaldtse avatar ronaldtse commented on September 5, 2024

Or maybe just:

cite:[iso:27001, prefix="Clause 6.1.2 c 2 of "]
cite:[iso:27001, suffix="Section 3"]

?

I can't figure out how to use those locators -- the underlying CSL style needs to support them first, right?

from asciidoctor-bibliography.

paolobrasolin avatar paolobrasolin commented on September 5, 2024

Branch citations implement prefix, suffix, all standard CSL locators and a custom "locator" locator. TeX macros will require a bit more thought.

from asciidoctor-bibliography.

ronaldtse avatar ronaldtse commented on September 5, 2024

Should we close this due to #39?

from asciidoctor-bibliography.

paolobrasolin avatar paolobrasolin commented on September 5, 2024

Problem is solved for CSL citations but not yet for TeX ones.
However #38 is a better place to discuss that in order to keep things separated. Closing.

from asciidoctor-bibliography.

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.