Giter Site home page Giter Site logo

cgranade / aps-length Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ihincks/aps-length

0.0 3.0 0.0 117 KB

Calculate length (number of equivalent words) for APS manuscripts written with LaTeX

License: GNU General Public License v2.0

Python 100.00%

aps-length's Introduction

aps-length

(c) James Kermode [email protected] 2014

Usage: aps-length [options] tex-files

Count number of equivalent words in an APS manuscript formatted in LaTeX, following guidelines described at http://journals.aps.org/authors/length-guide

Requires detex (http://www.ctan.org/pkg/detex) and either ghostscript (http://www.ghostscript.com/) or ImageMagick identify (http://www.imagemagick.org) to be available on your path.

Use --figs=gs if you have .eps or .pdf figures, and --figs=identify if you have .png figures.

Options:
  -h, --help            show this help message and exit
  -v key value, --var=key value
                        Define TeX variables e.g. to specify location of
                        figure files.
  -e env1,env2,..., --env=env1,env2,...
                        Comma-separated list of LaTeX environments to ignore.
  -m (detex | wordcount), --method=(detex | wordcount)
                        Tool to use to count words in main text. Default is
                        wordcount, detex is also supported
                        (but tends to underestimate word count).
  -f (identify | gs), --figs=(identify | gs)
                        Tool to use to extract bounding box from figure.
                        Default is gs, ImageMagick identify also supported.
		    gs works with eps and pdf images, while
		    identify is a better choice for png images.
  --scale-figs=SCALE_FIGS
                        Scale estimate of figure word counts by factor,
                        default 1.1 (10%)
  -j PRL, --journal=PRL
                        Journal abbreviation (e.g. PRL, PRB-RC)
  -l LATEX, --latex=LATEX
                        Latex executable. Default is "pdflatex".

aps-length's People

Contributors

cgranade avatar ihincks avatar jameskermode avatar

Watchers

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