Giter Club home page Giter Club logo

pandoc-starter's Introduction

Pandoc Starter

This repository contains a number of files for getting started with Pandoc. Each example comes with:

  • A README.md, describing the type of document and usage
  • A Makefile, for building the document
  • A preview of the document
  • The relevant starter files (usually Markdown, sometimes LaTeX)

Other projects

License

MIT License

pandoc-starter's People

Contributors

eferm avatar jez avatar vichoreyes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pandoc-starter's Issues

Background images for slides?

Markdown->Pandoc-> reveal.js includes some basic guides on how to have a background image applied to the slides.

It would help enormously with company policy if I could include the artwork which is in the Powerpoint Templates.

LaTeX Error: Command `\Bbbk' already defined

$ cd book-writeup/src
$ make

pandoc --template template.tex -f markdown+tex_math_single_backslash -t latex  --pdf-engine=xelatex -o sample.pdf ./00-meta.md ./chapters/01-overview.md ./chapters/00-dedication.md
Error producing PDF.
! LaTeX Error: Command `\Bbbk' already defined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.261 ...ol{\Bbbk}           {\mathord}{AMSb}{"7C}

make: *** [Makefile:48: sample.pdf] Error 43

If I delete amssymb from the line \usepackage{amssymb,amsmath} fix the problem.
But maybe is not the correct solution.

changing font in yaml does not change the font in the document

I have the following yaml inside my md file. producing the pdf does not generate an error or anything else for the fonts.

---
documentclass: tufte-handout
title: "Summary Chapter 11: Art and Telematics"
author: foo
date: \today
fontsize: 12pt
# Comment or change these if you don't have these fonts installed
mainfont: IBM Plex Mono Regular
monofont: IBM Plex Mono Regular
newtxmathoptions:
- cmintegrals
- cmbraces
colorlinks: true
linkcolor: RoyalBlue
urlcolor: RoyalBlue
---

How to use tufte-handout in Windows 10

The tufte-handout class does not work fully out of the box for Windows 10. I am on MikTex 2.9, pandoc 2.1.1, and the standard Windows PowerShell without the bash functionalities.

The main issue for me was that the fonts specified in the markdown file wasn't applied to the output. Solution I found:

  1. Add the following lines to template.tex, after line 31:
    % Set up the spacing using fontspec features \renewcommand\allcapsspacing[1]{{\addfontfeature{LetterSpace=15}#1}} \renewcommand\smallcapsspacing[1]{{\addfontfeature{LetterSpace=10}#1}}
  2. Instead of pdflatex, use xelatex:
    pandoc -f markdown+tex_math_single_backslash -t latex --pdf-engine=xelatex -o sample.pdf --template template.tex sample.md

Opening this issue to see what might be the best way to incorporate this solution into the code, or at least document here how I solved it. This is where I found the solution tex code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.