killercup / trpl-ebook

UNMAINTAINED
http://killercup.github.io/trpl-ebook/
478 stars 56 forks source link

i got one error on building pdf(a4) #18

Closed hainuo closed 9 years ago

hainuo commented 9 years ago

the error is

! Undefined control sequence.
l.196 \tightlist

pandoc: Error producing PDF from TeX source

change some fonts in template.tex

can you help me ?

my rep is https://github.com/hainuo/trpl-ebook

hainuo commented 9 years ago

mactex 20150613 pandoc 1.15.04

killercup commented 9 years ago

IIRC, I've not been using the latest pandoc. Did something change with the last few releases?

Quick googling found tompollard/phd_thesis_markdown#5 and jgm/pandoc#1571.

It looks like adding this:

\newcommand{\tightlist}{%
  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}

to the LaTeX template might fix your problem.

hainuo commented 9 years ago

thanks it does well!