开源软件名称(OpenSource Name):davecap/markdown-latex-boilerplate开源软件地址(OpenSource Url):https://github.com/davecap/markdown-latex-boilerplate开源编程语言(OpenSource Language):TeX 88.9%开源软件介绍(OpenSource Introduction):Pandoc Markdown-Latex Boilerplate
Use this to write a paper in Markdown and render it using the Pandoc engine.
QUICKSTART for windows users: double-click on NOTE: The windows batch file hasn't been fully tested, but is based on the previously working version published by David Caplan. Testing and pull requests are welcome. RequirementsFollow instruction on installing pandoc in this link http://pandoc.org/installing.html . For PDF output, you’ll also need to install LaTeX. We recommend MiKTeX. You also need to install the content of https://github.com/citation-style-language/styles into the csl if you want to fully ultilize csl. You can update them as follows:
BuildingConfiguring the build systemEdit the configuration file BUILDNAME=dissertation
OUTPUT_FOLDER=output
REFS=references.bib
TEMPLATE=cuny
DOCX_TEMPLATE=
ODT_TEMPLATE=
CSL=chicago-author-date
PANDOC_OPTIONS=--dpi=600 --latex-engine=xelatex --filter pandoc-tablenos --filter pandoc-fignos --filter pandoc-citeproc You can customize the configuration variables as follows:
Notes:
SECTIONS_FILEPATHEdit the source file
Where each file to be included is entered on a single line or separated by a single space. The first item should be your Pandoc metadata file (e.g., The last item should be the references (or bibliography, works cited) document (e.g., MetadataBe sure to edit the CSL: Citation Style LanguageThe CSL files are located in the csl submodule. Linux/OS X
Optional targets
Example
Will generate a PDF and then automatically open it. Default target: WindowsJust double click on
Removes the build folder
Builds a pdf file to ./build/ folder. Requires LaTeX.
Builds a pdf file to ./build/ folder. Requires LaTeX. Ignores template and CSL settings.
Builds a epub file to ./build/ folder
Builds a html file to ./build/ folder
Opens up a prompt. Tips and TricksUsing makefile in windowsYou are not restricted to using winmake.bat in windows. If you install git for windows from http://www.git-scm.com/ in addition to the make program in http://gnuwin32.sourceforge.net/packages/make.htm (Also add the program to path). This is since a copy of git will include a Git Bash Shell, which will support unix commands like For your convenience, a copy of make.exe (As of 25 November 2006) is included. Being GPLed its source code is also in the website.. Opening Window commandline in the right directory quicklySHIFT+RIGHT_CLICK on your folder in windows will display an extra entry in the dropdown saying "Open Command Window Here". This will save you lots of time. Or you can make a batch file like COPYRIGHTCopyright 2016, 2017 Keith Miyake keith.miyake@gmail.com Copyright 2011-2016 David Caplan LICENSEThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论