Comments (9)
Unless I did something wrong, pip install pantable==0.13.0
should now supports pandoc 2.11.2+. This is a big release so please be careful on potential regression and open new issues for any that you find.
from pantable.
Do you have work-in-progress code for the rewrite in a branch somewhere?
from pantable.
No. It probably is quite simple to support panflute>=2 from the current code base. But I've bigger plan for it which basically requires major rewrite and the old code base will becomes obsolete very soon so I don't think it will be time well spent to do that.
That said if anyone want to have a PR for that it would be welcomed. pantable2csv would be a bit strange there but we could assume it was a simple table like in the past and it would at least passes current tests. But I don't know if anyone would spend time on such a PR that would have been overwritten by the major change very soon.
No promise on the time lineβbut I'd guess by the end of the year.
P.S. The "bigger plan", which is always the goal of pantable, is to be able to write a table with all features supported in pandoc.
from pantable.
C.f. jgm/pandoc-types#86. Because of the potential breaking change, this project will be put on hold indefinitely until a stable pandoc table AST is decided.
from pantable.
Ug π. I understand of course, but still ug.
from pantable.
Frankly I have quite a big plan for pantable and it has gotten into a state I quite like it. May be I'm overreacting but knowing the AST may change again really is a wake up call for me to pause a bit and not betting too much in the stability of the pandoc AST.
May be the goal of supporting every feature pandoc table support is too ambitious. (That requires pantable having a lossless representation of pandoc AST and therefore very sensitive to AST change.) But that's really my motivation for pantable from day 1.
from pantable.
While I get that, 0%
coverage is a lot worse than 0% < π₯ < 100%
coverage. For the vast majority of my production use cases I'm just converting CSV data to very basic tables that pose no particular challenges for the AST. I have to imagine the bulk of what other people do with this is in line with those same basic requirements.
from pantable.
I'm considering to use what I have written as is and just make the 2 filters as lossy conversion to my internal structure for now and just pause for my big plan for the moment.
from pantable.
I would like to share my current solution: https://gist.github.com/tzok/3d017b4b35601aa1330adee38e827403
Namely, I have a Docker image with pandoc 2.9.2.1 - the last one compatible with current pantable. There is also a Makefile to show how to use the image.
For simple tables this works just fine.
from pantable.
Related Issues (20)
- Allowing caller to specify the csv dialect HOT 4
- Unable to install HOT 1
- Travis CI not working HOT 1
- Change default alignment? HOT 1
- Test dependencies appear to be bogus HOT 1
- Relicensing to BSD 3-clause license HOT 6
- Pantable filters broken after Pandoc upgrade HOT 1
- incorrect path when --extract-media is used in conjunction with
- Add other format supports HOT 2
- bug when using fancy_table HOT 1
- footnote in table lost when using pantable2csv
- Inserting midrules
- Support pandoc 2.14 HOT 1
- support pandoc 2.15β16
- fixed width tables do not get parsed in docx HOT 1
- Clarify usage of parameters when using CSV from file
- Filter out single and double quotes from CSV HOT 1
- Show escaping of quotes in example
- Add compatibility with Pandoc 2.18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pantable.