Comments (7)
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.
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.
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.
Any news on this? Thanks!
from asciidoctor-bibliography.
@paolobrasolin any updates here? Thanks!
from asciidoctor-bibliography.
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:
- write a quick hack to alter the IEEE style (and hopefully similar ones) on the fly to add a separating space;
- 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.
Thanks @paolobrasolin !
from asciidoctor-bibliography.
Related Issues (20)
- Bug with custom attributes when translating to DocBook HOT 3
- Question: own styles HOT 1
- :bibliography-database: not set via asciidoctor-epub3 for included documents HOT 6
- Bib entry with identical author and year HOT 18
- Minor APA format issue HOT 4
- Converting directly with Ruby HOT 2
- Variable interpolation breaks include
- anomalies when using Asciidoctor's ifeval::[] and asciidoctor-bibliography HOT 3
- Errors with asciidoctor-pdf HOT 2
- Numbered bibliography
- Comparison with asciidoc-bib and asciidoctor-bibtex
- A problem building Nokogiri, when installing on Windows HOT 7
- Migrate to GitHub Actions from Travis
- Change default branch to main HOT 1
- Asciidoc-bibliography messes with section levels after include
- Feature request: Styling per bibliography
- Citations get parsed within inline source code environment HOT 2
- Multi-Citation of more than two keys not working HOT 5
- [enhancement] nocite macro for bibliography entry without expicit citation HOT 1
- Incompatibility with asciidoctor version >= 2.0 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asciidoctor-bibliography.