{"id":13424255,"url":"https://github.com/fractaledmind/pandoc-templates","last_synced_at":"2025-03-15T18:34:26.805Z","repository":{"id":13595263,"uuid":"16288110","full_name":"fractaledmind/pandoc-templates","owner":"fractaledmind","description":"Some elementary templates and css files for Pandoc, especially for .docs","archived":false,"fork":true,"pushed_at":"2015-01-18T19:26:45.000Z","size":222,"stargazers_count":36,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-26T23:54:45.494Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"kjhealy/pandoc-templates","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fractaledmind.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-27T18:25:47.000Z","updated_at":"2022-12-06T20:06:41.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/fractaledmind/pandoc-templates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fractaledmind%2Fpandoc-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fractaledmind%2Fpandoc-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fractaledmind%2Fpandoc-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fractaledmind%2Fpandoc-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fractaledmind","download_url":"https://codeload.github.com/fractaledmind/pandoc-templates/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243775798,"owners_count":20346265,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T00:00:50.847Z","updated_at":"2025-03-15T18:34:21.768Z","avatar_url":"https://github.com/fractaledmind.png","language":"CSS","funding_links":[],"categories":["CSS"],"sub_categories":[],"readme":"# Pandoc Configuration and Support Files\n\n## Description\n\nA collection of support files for use with [Pandoc](http://johnmacfarlane.net/pandoc/), and specifically for helping to turn pandoc markdown files into nice HTML, LaTeX, PDF, and Microsoft Word Document output. These files go in your `~/.pandoc/` folder. \n\n## Installation\n\nTo install, simply run this command from your Terminal:\n\n`git clone https://github.com/smargh/pandoc-templates.git ~/.pandoc`\n\nThis will clone this repositorty into the appropriate Pandoc templates directory.\n\n## Notes\n\nWhat's included?\n\n+ Under `templates`, some [Pandoc](http://johnmacfarlane.net/pandoc/) templates for an article in PDF (via LaTeX) or HTML. These can be be pointed to directly with the `--template=` switch as appropriate. The `html.template`, `latex.template`, and `xelatex.template` files are all forked from KJ Healy's `[pandoc-templates repo](https://github.com/kjhealy/pandoc-templates)`. The `reference.docx` file, however, is of my own creation. It can be used via the `--reference-docx` pandoc option. The `.docx` template uses [Hoefler Text](http://www.typography.com/fonts/hoefler-text/overview/) as its font. It is double spaced, with small caps headers and 1\" indented, single-line block quotes. It works well for academic papers. The `latex.template` and `xelatex.template` depend on the style files in [latex-custom-kjh](http://kjhealy.github.com/latex-custom-kjh/).  \n+ Under `marked`, a single CSS file for generating HTML previews of Markdown documents using [Marked](http://marked2app.com/), a very handy HTML live previewer for markdown files. The `css` file in the `marked/` folder is meant to be used together with pandoc and [Marked](http://markedapp.com/). To have [Marked](http://marked2app.com/) work with [Pandoc](http://johnmacfarlane.net/pandoc/), simply go to Marked \u003e Preferences \u003e Advanced. Then specify the filepath to Pandoc like this (e.g.): `/usr/bin/pandoc` and the various switches and arguments to pandoc in the 'Args' field below it, like this:\n    ```\n    -r markdown -w html -s -S --bibliography=biblio.bib\n    ```\nThen check the box telling Marked to use this by default. The `pandoc` CSS file can be added in Marked \u003e Style \u003e Custom CSS. Marked can then use it to format the HTML output such that it looks like the final `.docx` file will.\n+ The CSL files in the `csl/` folder format the bibliography generated by pandoc and citeproc. (For simplicity we avoid dealing with biblatex directly at all.) The `chicago-syllabus.csl` file makes a tiny change to a standard Chicago Notes CSL file so you can use it to output citation information in the body text of a document. This makes it useful for lists of references in CVs and course syllabuses. The other files are the APA, MLA, and Chicago standard files from the main [CSL styles repository](https://github.com/citation-style-language/styles).\n+ Under `defaults`, you will find all of Pandoc's standard templates for the many of its output formats. These can be helpful in creating your own templates.\n+ Finally, under `examples`, you will find one plain text Markdown file, one BibTeX `.bib` file and a `.docx` file. These demonstrate how these templates can be used to generate a beautiful Microsoft Word file from Pandoc. To generate the files for youself, use this pandoc command: \n    ```\n    -r markdown -w docx -s -S --bibliography=Thesis.bib --csl=/Users/smargheim/Documents/GitHub/pandoc-templates/csl/chicago-author-date.csl --reference-docx=/Users/smargheim/Documents/GitHub/pandoc-templates/templates/reference.docx academic_test.txt --output=academic_test.docx\n    ```\n\n## Contact\nStephen Margheim, `stephen.margheim@gmail.com`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffractaledmind%2Fpandoc-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffractaledmind%2Fpandoc-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffractaledmind%2Fpandoc-templates/lists"}