8000 pandoc --columns not function in sub files · Issue #7656 · jgm/pandoc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
pandoc --columns not function in sub files #7656
Closed
@ajeep8

Description

@ajeep8

If these's a pipe table in main.md file, it will wrap lines only when line content length >72.
so if the line content lenght is long but <=72, pandoc to pdf, the table will expand far to pdf page right and can not see all the content.

I can walk around this problem using:

pandoc --columns=10 main.md -o main.pdf

(set columns a very small value than 72) the pipe table line will wrap even the line content<=72.

But, if the pipe table is in sub files, this trick will not function.

I test 3 filters:
lua-filters:include-files.lua: sub file pipe table only wrap when pipe table line content >80, even I set --columns=10
panda.lua: same as include-files.lua
pandoc-include: sub file pipe table only wrap when pipe table line content >72, even I set --columns=10

I didn't find any process for columns or table in these 3 filter source code, so maybe bug in pandoc? I'm using pandoc 2.14.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0