Giter Club home page Giter Club logo

orgtexer's Introduction

ORGTeXer

Processor for org-mode - this is Org with TeX mixed in. Actually it is more than that. I have come to realise that we need front-ends for processing markdown, Org and all that, and ‘knowledgeable’ back-ends that can target either TeX or HTML. And the front-end can act based on knowledge of the target. Either that or create a very smart Tex -> HTML converter, something no one has achieved in a satisfactory way (that I am aware).

The reason for this processor is that I often write text in Emacs Org mode (before it was Markdown or WikiTeXer with vim) and usually want output as LaTeX or HTML. These, in turn, can be converted to PDF or Word documents for collaborators.

I know Org can also output HTML and TeX, but somehow it is never what I want. I need something hackable. DocBook is another options - but there is little love lost between XML and me. I prefer transformers that are source code and skip the intermediate presentation(s).

The general idea of OrgTeXer is to create convenience methods for transforming Org-style markdown to TeX or HTML. Anything that is not recognised is basically passed through. That means you can use TeX in TeX targeted documents and you can use HTML in HTML targeted documents. I used this methodology to write almost all my papers and my PhD thesis.

OrgTeXer also requires support for bibtex citations. Maybe I’ll use Org-ref for that. The good news is that the software stack around Org-mode is getting more and more sophisticated and increasingly used. One thing that bothers me, however, is that they are not command line tools.

There exists also the older WikiTeXer project which did the same for Wikimedia style input files mixed with Tex. The architecture for both projects is quite different. OrgTeXer will be a ‘pipe’ based system with small transformers doing small jobs. The current version is written in Ruby, but I may change it to something LISPier soon.

OrgTeXer is published under a liberal BSD-style license.

Pjotr Prins.

Using Bibtex references

The tool bibtex-org reads a number of textual (org, HTML, …) files and bibtex files. Whenever it finds a \cite{tag} it will look up the bibtex reference. When done it will inject the list of references using a template. It will also replace all \cite{tag} locations with the reference style used. Note that cite can contain multiple tags separated by a comma such as supported by LaTeX, e.g. \cite{tag1,tag2}.

orgtexer's People

Contributors

pjotrp avatar

Stargazers

João Fernando Apel Miguel avatar Jonathan McHugh avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.