GithubHelp home page GithubHelp logo

paper-convert-scripts's Introduction

Scripts for converting paper formats

Installation

Required Python packages are specified in conda_env.yml. The Python environment is specified using conda, which can be obtained by installing Anaconda or Miniconda (recommended).

To install the environment, run:

conda env create -f conda_env.yml

This will create a new conda environment called paper_convert with the required packages installed.

LaTeX conversion requires a recent version of TexLive. TexLive 2020 and older do not properly handle subfigures, for example.

Checking reference styles also requires the anystyle-cli Ruby gem to be installed, e.g., via sudo gem install anystyle-cli.

Configuration

Edit config.json to adjust the paths to required applications, including the correct Python environment and path to anystyle.

messages.json can also be used to modify the warning messages shown when something goes wrong during paper conversion.

Using conversion scripts

Scripts can be run via the paper-convert-www frontend or from the command line.

If run from the command line, scripts must be run from the current directory. The result will be an index.html file in the specified output folder, which may also include conversion_warnings.csv containing a record of possible problems encountered during conversion. Additionally, there will be any images that are part of the paper.

Run python main_docx.py -h to see info on DOCX => HTML conversion. The DOCX converter also produces a tmp.docx file for some types of image conversion. tmp.docx may be safely deleted.

Run python main_latex.py -h to see info on LaTeX => HTML conversion. The LaTeX converter also produces a source temporary directory in the output, which can be deleted, and a few tmp-* files that can also be safely deleted.

3rd-part licenses

acm-sig-proceedings-long-author-list.csl is used under the Creative Commons Attribution-ShareAlike 3.0 License. See file for authorship information.

paper-convert-scripts's People

Contributors

aolney avatar pnb avatar

Watchers

 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.