Giter VIP home page Giter VIP logo

Comments (7)

paolobrasolin avatar paolobrasolin commented on September 5, 2024

Now inline citations are rendered using CSL by default.
This means that is style can be obtained coherently (e.g. using ieee).

from asciidoctor-bibliography.

ronaldtse avatar ronaldtse commented on September 5, 2024

Yes '[16]' style works with the ieee style.

However the bibliography shows lines like this:

[1]CDSA, “Content Protection & Security Standard and Guidance,” Content Delivery & Security Alliance, New York, USA, CDSA, Mar. 2014.

Notice that a white space is missing after the reference "[1]". In DIN style the whitespace is correctly put there.

from asciidoctor-bibliography.

paolobrasolin avatar paolobrasolin commented on September 5, 2024

I think that's either a bug in the ieee style (I seriously doubt that) or a misconfigured default in citeproc. Looking into that.

from asciidoctor-bibliography.

ronaldtse avatar ronaldtse commented on September 5, 2024

Any news on this? Thanks!

from asciidoctor-bibliography.

ronaldtse avatar ronaldtse commented on September 5, 2024

@paolobrasolin any updates here? Thanks!

from asciidoctor-bibliography.

paolobrasolin avatar paolobrasolin commented on September 5, 2024

Yes! I finally got it.
It wasn't a bug or any other deficiency in the style or the rendered.

Long story short, the IEEE style prescribes the numeric labels to be on the margin of indented text (the rest of the citation). The implementation of the formatting depends upon the output format. In fact, the visual editor renders this perfectly. citeproc is capable of that too (e.g. using css classes when using HTML format). Since the style contains no separating space, we have the problem we observed when exporting to other (textual) formats.

I see two possible solutions to this:

  1. write a quick hack to alter the IEEE style (and hopefully similar ones) on the fly to add a separating space;
  2. instruct our custom formatter (see #37 ) to handle the indending option.

The latter is clearly the real solution; I'll fall back to 1 in case it fails.

I'll make a PR with the bugfix tomorrow.

from asciidoctor-bibliography.

ronaldtse avatar ronaldtse commented on September 5, 2024

Thanks @paolobrasolin !

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.