Skip to content
This repository has been archived by the owner on Mar 1, 2019. It is now read-only.

elifesciences/sciencebeam-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Experimental Tools

Pre-requisites

  • Python 3

Setup

pip install -r requirements.txt

lxml to svg

Convert Layout XML produced by Grobid's fork of pdf2xml or pdftoxml to SVG.

Because SVG doesn't support multiple pages yet, separate files will be created.

For example to convert a PDF to LXML you may run:

pdftoxml test.pdf test.lxml

Convert the file to SVG:

python -m sciencebeam_lab.lxml_to_svg --lxml-path test.lxml

That will create test-page1.svg, test-page2.svg, etc.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages