Giter Club home page Giter Club logo

Comments (8)

m3nu avatar m3nu commented on May 19, 2024

The problem is that with the -table option documents will be parsed a little differently. So templates need to be different.

It's simple to get the static version of xpdf. No dependencies.

from invoice2data.

alexis-via avatar alexis-via commented on May 19, 2024

Ok, I understand your point. I hope that the Linux distro will update their packages soon.

from invoice2data.

DavidGoodenough avatar DavidGoodenough commented on May 19, 2024

Debian sid currently does not package pdftotext in the xpdf package, but rather in the poppler-utils package. Which version of that has the --table option?

from invoice2data.

m3nu avatar m3nu commented on May 19, 2024

Debian Sid has the required package, but it's called xpdf, not poppler.

from invoice2data.

m3nu avatar m3nu commented on May 19, 2024

I know the requirement sucks until Debian Sid is out. But as you saw in your other issue, the table-option makes a big difference for almost all invoices that use tables. (almost all invoices use tables). If we allow 2 versions, we need to redo most matching templates.

The download is just a single binary, so it's not impossible.

  • Ubuntu already has the correct version. (Xenial)
  • OSX also has it via Homebrew
  • Debian doesn't, but will get it next year. (or can just add the bin from the website)

Do we need a better error message until then?

from invoice2data.

DavidGoodenough avatar DavidGoodenough commented on May 19, 2024

If you go to https://packages.debian.org/sid/amd64/xpdf/filelist you will see that the pdftoxxxx utils are no longer there. However if you do to https://packages.debian.org/sid/amd64/poppler-utils/filelist you will find them all there.

from invoice2data.

m3nu avatar m3nu commented on May 19, 2024

Ah. They re-organized it. That should be added as note. Would be even better if they add a backports package.

from invoice2data.

m3nu avatar m3nu commented on May 19, 2024

It will try with- and without -table option now and give a warning.

I guess anyone adding new templates should use the newer version to avoid them breaking in the next months.

from invoice2data.

Related Issues (20)

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.