Thanks for the explanation and the PR! I understand the situation now. I will read the document anyway. Thanks && Regards, K4zuki/Kazuki 2020年8月1日土曜日 5:27:09 UTC+9 Albert Krewinkel: > K4zuki writes: > > > I have been using "widths" attribute in lua filter but it is no longer > > working from pandoc==2.10. > > I think this is matter of pandoc-types as it has changed (I can see > > 'col_span' attribute). I am welcoming new structure of long wanted but > > compatibility seems dropped. > > This also applies to Lua filter document as its sample code also relies > on > > structure of pandoc<2.10. > > > > How can/should I access widths' information from lua filter for > > pandoc>=2.10 and/or could we have limit feature for upper side version > > (such as: filter works for pandoc version later than 2.7 and earlier > than > > 2.10 )? > > Mea culpa. The Lua code was one of the last road blocks which > prevented the new table code from being merged. I rushed to make > the necessary adjustments, with the intention of fixing it > later[^1]. Then life happened, including a change of jobs in the > midst of a pandemic, and it fell of my list. > > The docs have now been updated in the repository but not on the > website. > > https://github.com/jgm/pandoc/blob/master/doc/lua-filters.md#table-type-table > > We are also exploring options to improve usability. The new table > format is very flexible, which also means it is more difficult to > use conveniently in Lua (and/or to make it convenient to use). > > The following is a PR which should at least make it easier to > adjust old filters to newer pandoc versions. Feedback is welcome. > https://github.com/jgm/pandoc/pull/6575 > > [^1]: https://github.com/jgm/pandoc/pull/6224#issuecomment-612801408 > > -- > Albert Krewinkel > GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/3613afab-d02e-406d-bdea-cb7c5b4ce2cdn%40googlegroups.com.