Git Product home page Git Product logo

pypaper's Introduction

Hello there!

IRF

My name is Daniel Kastinen and I'm working with space physics research focusing on meteors, radars, small bodies in the solar-system, numerical simulations and all things space safety at the πŸ‘‰

My personal pages

Main topics of interest are:

  • Meteors
  • Orbital dynamics and solar-system physics
  • Developing scientific software
  • NEO’s
  • Space debris
  • Radar data analysis
  • Inversion problems
  • Statistical and Bayesian analysis

GitHub stats

My GitHub stats

My Top Langs

pypaper's People

Contributors

danielk333 avatar

Watchers

 avatar  avatar

pypaper's Issues

Strings defined in external file

My BibTeX file uses strings defined in a separate file strings,bib.
This gives rise to an undefined string error, like this:
bibtexparser.bibdatabase.UndefinedString: 'grl'

todos

2020-06-12 @programming +pypaper implement generalized function argument parsing estimate:3h due:2021-01-01 t:2021-05-04
2020-06-12 @programming +pypaper implement "try automatic document pickup" estimate:2h due:2021-01-01 t:2021-05-04
2020-06-12 @programming +pypaper implement "doc" searching exactly like with bib estimate:1h due:2021-01-01 t:2021-05-04
2020-06-12 @programming +pypaper implement custom bibtex file customization estimate:1h due:2021-01-01 t:2021-05-04
2020-06-12 @programming +pypaper implement export function to html estimate:1h due:2021-01-01 t:2021-05-04
2020-06-12 @programming +pypaper add scihub download and search api maybe estimate:2h due:2021-01-01 t:2021-05-04
2020-06-12 @programming +pypaper add replacement of latex macros estimate:30m due:2021-01-01 t:2021-05-04
2020-06-12 @programming +pypaper add exporting of pdf files estimate:1h due:2021-01-01 t:2021-05-04

String expansion regression

Hi,

last correction has an interesting effect

pypaper
...
File "/home/fredrik/.local/lib/python3.7/site-packages/pypaper/bib.py", line 68, in rename_bibtex
author_str = entry['publisher'].replace(' ', '_').strip()
AttributeError: 'BibDataStringExpression' object has no attribute 'replace'
...
(Pdb) entry['publisher']
BibDataStringExpression([BibDataString('afgl')])

The entry is the first one in the bibtex file
(Pdb) entry
{'editor': 'Adolph, S. J.', 'year': '1985', 'publisher': BibDataStringExpression([BibDataString('afgl')]), 'title': 'Handbook of {G}eophysics and the {S}pace\n{E}nvironment', 'ENTRYTYPE': 'book', 'ID': 'adolph1985afgl'}

Add replacement of AASTeX journal name variables

TeX macro Journal name


aj Astronomical Journal
actaa Acta Astronomica
araa Annual Review of Astron and Astrophys
apj Astrophysical Journal
apjl Astrophysical Journal, Letters
apjs Astrophysical Journal, Supplement
ao Applied Optics
apss Astrophysics and Space Science
aap Astronomy and Astrophysics
aapr Astronomy and Astrophysics Reviews
aaps Astronomy and Astrophysics, Supplement
azh Astronomicheskii Zhurnal
baas Bulletin of the AAS
caa Chinese Astronomy and Astrophysics
cjaa Chinese Journal of Astronomy and Astrophysics
icarus Icarus
jcap Journal of Cosmology and Astroparticle Physics
jrasc Journal of the RAS of Canada
memras Memoirs of the RAS
mnras Monthly Notices of the RAS
na New Astronomy
nar New Astronomy Review
pra Physical Review A: General Physics
prb Physical Review B: Solid State
prc Physical Review C
prd Physical Review D
pre Physical Review E
prl Physical Review Letters
pasa Publications of the Astron. Soc. of Australia
pasp Publications of the ASP
pasj Publications of the ASJ
rmxaa Revista Mexicana de Astronomia y Astrofisica
qjras Quarterly Journal of the RAS
skytel Sky and Telescope
solphys Solar Physics
sovast Soviet Astronomy
ssr Space Science Reviews
zap Zeitschrift fuer Astrophysik
nat Nature
iaucirc IAU Cirulars
aplett Astrophysics Letters
apspr Astrophysics Space Physics Research
bain Bulletin Astronomical Institute of the Netherlands
fcp Fundamental Cosmic Physics
gca Geochimica Cosmochimica Acta
grl Geophysics Research Letters
jcp Journal of Chemical Physics
jgr Journal of Geophysics Research
jqsrt Journal of Quantitiative Spectroscopy and Radiative Transfer
memsai Mem. Societa Astronomica Italiana
nphysa Nuclear Physics A
physrep Physics Reports
physscr Physica Scripta
planss Planetary Space Science
procspie Proceedings of the SPIE

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.