Skip to content

Ibidem — CLI tool that makes it easier to write academic papers with citations

License

Notifications You must be signed in to change notification settings

stefandevai/ibidem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Ibidem logo


Build Status License: MIT



What is it about?

Ibidem makes it easier to write academic papers with citations. It uses a markdown to LaTeX conversion:

How to use?

Currently it has only been tested in Linux and OS X using SBCL.

First option: build an executable

  1. Make sure that you have SBCL, quicklisp and asdf installed.

  2. Run git clone https://github.com/stefandevai/ibidem && cd ibidem on a terminal.

  3. Run make && cd bin/ to build the program.

  4. Run ./ibidem input-path -o output-path, where input-path is the markdown file and output-path is the path and name of the output .tex file.

Second option: run from the REPL

  1. Make sure that you have SBCL, quicklisp and asdf installed.

  2. Run git clone https://github.com/stefandevai/ibidem && cd ibidem on a terminal.

  3. Run the SBCL's REPL and enter (load "ibidem.asd").

  4. Run (ibidem:create input-path output-path) where input-path is the markdown file and output-path is the path and name of the output .tex file.

Superset of Markdown's syntax

We use a superset of Markdown's syntax in order to allow meta information about the text, citations and bibliography sources.

Header block

If we want to have a latex header, we write a header at the beginning of the markdown file containing the following format and parameters:

---
author: "Your Name"
date: "25/10/1917"
location: "A location"
---

Bibliography block

If we want to have citations in our text, we can write a bibliography block. This can usually be placed at the end of the file:

~~~bibliography
---
id: "[source-unique-id]"
type: "[citation-type]"
author: "Author's Full Name"
title: "Source's Title"
journal: "Source's Journal"
year: "Publication year"
volume-issue: "[volume]([issue])"
---

---
id: "jacoby"
type: "article"
author: "William G. Jacoby"
title: "Public attitudes toward government spending"
journal: "American Journal of Political Science"
year: "1994"
volume-issue: "38(2)"
---
~~~

Each block piece is described in isolation here:

~~~bibliography
[This is a bibliography block. It expects citation source blocks.]
~~~

~~~bibliography
---
[This is a citation source block. It expects parameters about a single source.]
---

---
[You can have multiple citation source blocks.]
---
~~~

Citation

Within the text, you can have citations in the following format: c[source-unique-id:pages]

E.g. c[jacoby:334-336]

About

Ibidem — CLI tool that makes it easier to write academic papers with citations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published