Skip to content

Commit a48fb11

Browse files
authored
match build rules from Markdown action (#57)
* match build rules from Markdown action * reorder filters
1 parent 87ccba3 commit a48fb11

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -266,12 +266,12 @@ if [ -n "${pdf_output}" ]; then
266266
--filter=mermaid-filter \
267267
--filter=pandoc-crossref \
268268
--lua-filter=parse-html.lua \
269+
--lua-filter=table-rules.lua \
269270
--resource-path=.:/resources \
270271
--data-dir=/resources \
271272
--top-level-division=section \
272273
--variable=block-headings \
273274
--variable=numbersections \
274-
--variable=table-use-row-colors \
275275
--metadata=date-english:"${DATE_ENGLISH}" \
276276
--metadata=year:"${YEAR}" \
277277
--metadata=titlepage:true \
@@ -280,7 +280,7 @@ if [ -n "${pdf_output}" ]; then
280280
--metadata=titlepage-rule-height:0 \
281281
--metadata=colorlinks:true \
282282
--metadata=contact:[email protected] \
283-
--from=markdown+implicit_figures+grid_tables+table_captions-citations-markdown_in_html_blocks \
283+
--from=markdown+implicit_figures+grid_tables+table_captions-markdown_in_html_blocks \
284284
${extra_pandoc_options} \
285285
--to=pdf \
286286
"${build_dir}/${input_file}.3" \
@@ -299,12 +299,12 @@ if [ -n "${latex_output}" ]; then
299299
--filter=mermaid-filter \
300300
--filter=pandoc-crossref \
301301
--lua-filter=parse-html.lua \
302+
--lua-filter=table-rules.lua \
302303
--resource-path=.:/resources \
303304
--data-dir=/resources \
304305
--top-level-division=section \
305306
--variable=block-headings \
306307
--variable=numbersections \
307-
--variable=table-use-row-colors \
308308
--metadata=date-english:"${DATE_ENGLISH}" \
309309
--metadata=year:"${YEAR}" \
310310
--metadata=titlepage:true \
@@ -313,7 +313,7 @@ if [ -n "${latex_output}" ]; then
313313
--metadata=titlepage-rule-height:0 \
314314
--metadata=colorlinks:true \
315315
--metadata=contact:[email protected] \
316-
--from=markdown+implicit_figures+grid_tables+table_captions-citations-markdown_in_html_blocks \
316+
--from=markdown+implicit_figures+grid_tables+table_captions-markdown_in_html_blocks \
317317
${extra_pandoc_options} \
318318
--to=latex \
319319
"${build_dir}/${input_file}.3" \
@@ -334,7 +334,7 @@ if [ -n "${docx_output}" ]; then
334334
--lua-filter=parse-html.lua \
335335
--resource-path=.:/resources \
336336
--data-dir=/resources \
337-
--from=markdown+implicit_figures+grid_tables+table_captions-citations-markdown_in_html_blocks \
337+
--from=markdown+implicit_figures+grid_tables+table_captions-markdown_in_html_blocks \
338338
--reference-doc=/resources/templates/tcg_template.docx \
339339
${extra_pandoc_options} \
340340
--to=docx \

0 commit comments

Comments
 (0)