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
Requires:bibtex

Reviews

No reviews. Create the first review!.

Details by download location

VersionSHA1#DownloadsURL
0.1.07f76c67aa196b675f7e6910be4b3bd0912e9bfcc7https://bitbucket.org/cnngimenez/swi-orgref_fix/get/orgref_fix-0.1.0.zip

![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:

pack_install(orgref_fix).

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:

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

License

!img

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.