![]() |
#1 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Aug 2025
Device: none
|
![]()
This feature request is a long shot, as it seems rather challenging to implement.
However, it would be great if Sigil had support for CSL (I'm unsure if citeproc-js can be used, but citeproc JSON seems like a good choice for source descriptions). One way I can see this working is by citation IDs inside HTML <cite> tags being used to detect citations. Obviously given the ebook format, footnote based styles would have to be adopted to endnotes which is quite a challenge. I hope this suggestion isn't ridiculous or impossible. I must admit a lack of familiarity with CSL as well as the codebase of Sigil. I'm just yet to find a good way to manage citations within an epub, and this functionality would be really nice. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,682
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
This is the first time I've even heard of CSL. The main hurdle I see (after an admittedly very quick glance) is that to be integrated into Sigil, it would require non-epub compliant filetypes to be included to help generate the html. That would be unlikely to happen. I see there's a citeproc-py generator though. Since Sigil comes with the ability to run Python plugins, it would be technically possible for someone to create a CSL input plugin that could be used to generate an epub. It might prove difficult, however, to enlist a plugin developer to create a complex plugin that utilizes technology they are neither familiar with, nor have a personal need to use.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,882
Karma: 6120478
Join Date: Nov 2009
Device: many
|
As far as I can tell. It is meant to be a preprocessor that is useful for citation focused management software. Its *output* is useful for finished papers and journals to match styling requirements so all citations are identically formatted for journal standards.
It is meant to by used for formatting citations from various sources *before* submittal to a journal. I really do not see it as being apart of the epub creation process outside a plugin that would request the citations in csl format and generating a final styled xhtml file for the epub. So I really only see this as an input plugin and possibly an output plugin to generate the CSL from an existing set of endnotes. Not as a new non-compliant file type in an epub. Last edited by KevinH; Today at 11:02 AM. |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,739
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
|
It's highly unlikely that someone is going to write a full citation manager plugin for Sigil.
Assuming that CSL files that the OP works with look like my simple json sample, it would theoretically be possible to create a simple plugin that converts the CSL .json content to an .xhtml file with citeproc-py and adds it as an endnotes section to the current epub. JSON: Spoiler:
HTML: Spoiler:
Last edited by Doitsu; Today at 11:12 AM. |
![]() |
![]() |
![]() |
#5 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,882
Karma: 6120478
Join Date: Nov 2009
Device: many
|
Yes, citeproc.py look like the right approach for a plugin as it requires lxml which is already part of Sigil.
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Feature request: CBR support | BloodRagg | KOReader | 8 | 05-01-2019 12:12 PM |
new feature request - paste image support | dhdurgee | Sigil | 16 | 11-22-2015 06:29 AM |
Feature Request: ZIM Conversion Support | kichigai | Conversion | 1 | 07-24-2011 08:53 PM |
feature request - OPDS support | readx | EPUBReader | 4 | 01-13-2010 01:03 PM |
feature request: support for iliad on OS X | petteri | Calibre | 1 | 12-30-2009 08:23 AM |