Skip to content

2columnに対応した#2

Open
Dragon-taro wants to merge 2 commits intop1ass:masterfrom
Dragon-taro:master
Open

2columnに対応した#2
Dragon-taro wants to merge 2 commits intop1ass:masterfrom
Dragon-taro:master

Conversation

@Dragon-taro
Copy link
Copy Markdown

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

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

@p1ass p1ass self-requested a review October 27, 2019 00:59
Copy link
Copy Markdown
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 thread scripts/mdtopdf-2cols
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
Copy Markdown
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}

Comment thread scripts/mdtotex-2cols
-F pandoc-crossref \
-M "crossrefYaml=/config/crossref_config.yaml" \
-V geometry:margin=1in \
-V classoption=twocolumn No newline at end of file
Copy link
Copy Markdown
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