Skip to content
Open
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
af727e8
A lua filter enabling multiple columns in Latex, PDF, and HTML documents
chrisaga Oct 23, 2021
5296ecd
Forgot to update expected.* files before previous commit
chrisaga Oct 24, 2021
9d650d4
Don't use a standalone (pandoc -s) document for expected.tex since
chrisaga Oct 24, 2021
2cc9018
Allow 'signifiant' class names to be in random position in the list
chrisaga Oct 24, 2021
c887e85
add color (html and latex) and background-color (html) processing plus
chrisaga Nov 11, 2021
f4e7a64
background-color processing for latex output
chrisaga Nov 11, 2021
9918551
update test files to match changes in the filter
chrisaga Nov 12, 2021
f9167f8
Merge branch 'pandoc:master' into master
chrisaga Nov 24, 2021
cfc9479
Add color in sample.md and expected.* files
chrisaga Jan 16, 2022
f3ede85
Remove beamer support and arbitrary latex environment
chrisaga Jan 16, 2022
cf96742
Merge branch 'master' of github.com:chrisaga/lua-filters
chrisaga Jan 16, 2022
3371914
Update column-div/column-div.lua (tipo in comment)
chrisaga Jan 17, 2022
47ea5cd
Merge branch 'pandoc:master' into master
chrisaga Jan 22, 2022
1abec29
Create files
chrisaga Jan 22, 2022
e6976fc
First working filter with test file for the 4 kinds of tables supported
chrisaga Jan 22, 2022
816295e
Fix the gap between horizontal and vertical rules
chrisaga Jan 22, 2022
8a2fbca
Code cleaning
chrisaga Jan 22, 2022
fb6c1e9
Manage both horizontal and vertical rules without hacking longtable
chrisaga Jan 29, 2022
1aeeb12
Correct comment about fixing latex preamble
chrisaga Jan 30, 2022
61bcc01
Merge branch 'pandoc:master' into tables-vrules
chrisaga May 20, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Correct comment about fixing latex preamble
  • Loading branch information
chrisaga committed Jan 30, 2022
commit 1aeeb1231848f13823637bf0b62be15e8af0286e
6 changes: 3 additions & 3 deletions tables-vrules/tables-rules.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function Table(table)
latex_code = latex_code:sub(envdef:len() + 1)
end
end

-- Add \midrules after each row if needed
if vars.hrules then
latex_code = latex_code:gsub('(\\\\\n)([\\%w]+)', repl_midrules)
Expand All @@ -80,8 +80,8 @@ function Table(table)
end

function Meta(meta)
-- We have to add this since Pandoc doesn't do it when a filter is
-- processing tables (is it a bug or a feature ???)
-- We have to add this since Pandoc doesn't because there are no
-- table anymore in the AST. We converted them in RawBlocks

if not vars.vrules and not vars.hrules then return nil end
includes = [[
Expand Down