8000 2columnに対応した by Dragon-taro · Pull Request #2 · p1ass/mdtopdf · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

2columnに対応した #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

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
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
0