在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):aaronwolen/pandoc-letter开源软件地址(OpenSource Url):https://github.com/aaronwolen/pandoc-letter开源编程语言(OpenSource Language):TeX 98.9%开源软件介绍(OpenSource Introduction):A simple letter template for PandocAuthors: Aaron Wolen and Andrew Dunning This template allows you to write letters in Markdown and convert them to nice looking PDFs using Pandoc and LaTeX. It accepts arguments used in the LaTeX letter class, including:
All of which can be specified in a YAML metadata block. Additional Pandoc/LaTex options can be configured directly in the metadata block. For example: ---
author: Aaron
opening: To whom it may concern,
closing: Sincerely,
address:
- 123 Street Rd
- Chicago, IL
return-address:
- My Home
- 456 Road St.
- New York, NY
# ADDITIONAL ARGUMENTS
links-as-notes: true
... Note that each address component should start with a hyphen. The provided example letter can be compiled with the following command: pandoc --template=template-letter.tex example/letter.md -o example/letter.pdf You can see the PDF output here. FeaturesThe following can be set either as variables when executing
Running with DockerThis requires Docker to be installed. After cloning the repository build the container.
This has to be executed only once per machine. To create a letter run
Make sure you insert the full folder path where Images, AttachmentsTo insert an image into the body of your letter:
The curly brackets are optional. This inserts the image into the location of the command, above the signature. The recommended way to attach images on a new page after the signature is to compile a separate pdf file by other means than pandoc-letter, and then attach the two pdf files with whatever utilities you are familiar with. LicenseGPL-3 for pandoc-letter and the underlying Pandoc template. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论