Did you know ... Search Documentation:
Packs (add-ons) for SWI-Prolog

Package "orgref_fix"

Title:Fix Org-ref citations.
Rating:Not rated. Create the first rating!
Latest version:0.1.0
SHA1 sum:7f76c67aa196b675f7e6910be4b3bd0912e9bfcc
Author:Christian Gimenez <christian.gimenez@fi.uncoma.edu.ar>
Home page:https://bitbucket.org/cnngimenez/swi-orgref_fix
Download URL:https://bitbucket.org/cnngimenez/swi-orgref_fix/get/orgref_fix-*.zip


No reviews. Create the first review!.

Details by download location


![img](https://melpa.org/#/org-ref) ![img](https://melpa.org/#/ox-twbs)

Org-ref Fix

When using Org-mode with org-ref, beautiful references are generated on LaTeX exports. But what about HTML? References and citations are exported as broken links, specially if you use the ox-twbs package.

So, this package provides predicates to fix this and more. This is what this package can do for you:

  • Search for references and citations from an Org-file.
  • Take those citations, the BibTeX file and retrieve their entries.
  • Generate the bibliography section in HTML.
  • Fix all citation reference links to point to the bibliography item properly.
  • Fix all citation reference texts to a proper somewhat simmilar APA label.
  • Fix all references to figures, tables and footnotes (:warning: not yet implemented!).

How to use?

First, install the package in SWI-Prolog. Run swipl on your terminal and write:


Then, load the orgref_fixes library and execute fix_all/4 predicate. For example, to fix the citations, references and to add the bibliography to the HTML export file from org_file.org, write the following:

fix_all('org_file.org', 'bibtex_file.bib', 'exported_html_file.html', 'output_file.html').



This software is under the General Public Licence version 3.

See COPYING.txt file or the GNU GPL Licence page.

Contents of pack "orgref_fix"

Pack contains 17 files holding a total of 100K bytes.