Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Dragon-taro
Copy link

-V classoption=twocolumnを追加しただけやけど、コピーしてコマンド増やしたからコード汚くなったすまそん🙇‍♂️

scriptディレクトリ切ってるのきれいでいいね

@p1ass p1ass self-requested a review October 27, 2019 00:59
Copy link
Owner

@p1ass p1ass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exampleだけお願いします🙏

Comment on lines +1 to +7
#!/bin/bash
str=$1
pandoc -s -N ${str%.*}.md -o ${str%.*}.pdf -V documentclass=ltjarticle --pdf-engine=lualatex \
-F pandoc-crossref \
-M "crossrefYaml=/config/crossref_config.yaml" \
-V geometry:margin=1in \
-V classoption=twocolumn
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

examples/example.md に対して mdtopdf-2cols を実行するとエラーになるので、2カラム用のexampleも一緒に用意しといてくれると嬉しい。

内容はほぼ一緒で構わないので、コンパイル通るようにしてほしい

🤔.oO( docker run -it --rm -v `pwd`:/workdir plass/mdtopdf mdtopdf-2cols example.md
Error producing PDF.
! Package longtable Error: longtable not in 1-column mode.

See the longtable package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.202 \begin{longtable}

-F pandoc-crossref \
-M "crossrefYaml=/config/crossref_config.yaml" \
-V geometry:margin=1in \
-V classoption=twocolumn No newline at end of file
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

最後改行されていない

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants