Git Product home page Git Product logo

affiliator's Introduction

affiliator

This script converts a spread sheet file containing Author-Affiliations to LaTeX header for use with package authblk. This might be needed for submission to some journals.

Motivation

Some journals need a specific Author Affiliation format, which is based on LaTeX package authblk. But sometimes it is easier to manage the affiliations of a large collaboration using a spreadsheet file, like in LibreOffice. After you set the order of the appearance of the authors, then you can feed the ODS file to the script. It will automatically generate the LaTeX header.

Installation

You can directly use the app:

python3 -m affiliator coauthor_list.ods

or first install it by:

pip install -r requirements.txt
pip install .

Uninstalling is similarly using pip.

Example:

For example an ODS file containing this information:

First First Abb. Last Email ORCID 1st Affiliation 2nd Affiliation 3rd Affiliation 4th Affiliation
Eva Lilith E. L. Cielo [email protected] 0000-0123-4567-8910 City University College of Arts Another University University of Antarctica
Eva Maria E. M. Cemballo [email protected] 0000-0123-4567-8910 City University Penn State Another University Japan University of Natural Sciences

will render to:

\author[1, 2, 3, 4]{E.~L.~Cielo}
\author[1, 5, 3, 6]{E.~M.~Cemballo} 
\affil[1]{City University}
\affil[2]{College of Arts}
\affil[3]{Another University}
\affil[4]{University of Antarctica}
\affil[5]{Penn State}
\affil[6]{Japan University of Natural Sciences}

As long as the script knows on which column the affiliations start, all affiliations are considered. This can be set in the code.

Here is a link to the exampmle file.

affiliator's People

Contributors

xaratustrah 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.