Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 02-02-2018, 12:35 AM   #1
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 493
Karma: 787774
Join Date: May 2013
Location: Philippines
Device: Android S5
ZoteroRefsImport - Imports Zotero refs into epubs

Imports Zotero refs and creates a new bibliography section in epubs


Requirements
Plugin Type: Edit
MIT Licence(OSI)
Minimum Sigil requirement: v0.9.3 or higher
Python Requirements: Python 3.4+ (Bundled or External)
OS Requirements: Windows, Linux or OSX
*** Tested on Windows 7, 8 & 10 only ***

Current Version: "0.1.0"

Installation
* Select Manage Plugins from the Plugins menu. In the dialog box, select either the Bundled Python or the External Python(Python 3.4+ should be installed on your computer to run this plugin externally).
* Click Add Plugin and select ZoteroRefsImport_vXXX.zip. This will load and install the plugin into Sigil, which you can then run by selecting Plugins > Edit > ZoteroRefsImport.

Description
This plugin can import bibliographical ref items(in CMOS author-date style only) from a Zotero export file which can then be used to automatically create a new bibliography or reference section at the end of the epub. This plugin also gives users more formatting control over the imported bib ref items(See User Options for details).

Note: This plugin should only be used to import Zotero files containing bib refs that are formatted using Zotero's Chicago Style(CMOS). If you use any other bib ref formatting style with Zotero other than CMOS styles(there are over 400 different styles available in Zotero) then you will probably get errors.

User Options(via dialog)
This dialog allows the user to further format all imported bibliographical ref entries in the following way:

* Remove all hanging indents -- Converts all entries to block text format
* Remove all italics formatting -- Removes italic formatting from all entries.
* Remove all hyperlink formatting -- Removes hyperlink formatting from all entries.
* Delete all hyperlinks -- Deletes hyperlinks from all entries.
* Add text justification for all entries -- Adds text justify for all entries

Plugin Run

Adding a new bibliography or reference section to your epub in Sigil

* In the Zotero app, select all required ref items using click/shift-click.

* Then right click and choose Create Bibliography from items...

* In the Create Citation/Bibliography dialog, choose your CMOS style(author-date style only), ensure that Bibliography and Save as HTML are selected and then click OK. Save the Zotero file to your desktop.

* In Sigil, create a new blank file by right-clicking on the Text directory in the Book Browser and select Add Blank HTML File. Be sure to click and select this blank file and then just run the plugin

Caveat
Please note that this plugin only guarantees success without error if users import Zotero files containing refs that are only formatted using Chicago Style's 'author-date' format. And if any other Zotero styles are used other than CMOS then this will also generate errors.

You can also use this plugin in two ways.You can either add all your bib ref items to a bibliography or ref section all in one hit. Or you can add(append) your bib ref items one at a time or in smaller groups using Zotero and the plugin multiple times on the same bibliography or reference section.

Changes:

Spoiler:

v0.1.0
-- Initial release
Attached Files
File Type: zip ZoteroRefsImport_v010.zip (28.1 KB, 215 views)

Last edited by slowsmile; 02-25-2018 at 11:03 PM.
slowsmile is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ZoteroNotesImport - Imports Zotero notes into epubs slowsmile Plugins 4 02-20-2018 07:49 AM
Zotero and calibre WereVince Calibre 7 02-01-2012 06:59 AM
Windows ereader program that imports epubs and has page turn animation? Smalis Reading and Management 2 09-16-2011 03:54 PM
PB und Zotero? timmorn PocketBook 5 03-03-2010 06:07 AM
iLiad zotero? readmore iRex Developer's Corner 1 12-12-2007 11:51 AM


All times are GMT -4. The time now is 12:21 AM.


MobileRead.com is a privately owned, operated and funded community.