Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

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

Closed
hainuo opened this issue Jul 9, 2015 · 3 comments
Closed

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

hainuo opened this issue Jul 9, 2015 · 3 comments

Comments

@hainuo
Copy link

hainuo commented Jul 9, 2015

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
Copy link
Author

hainuo commented Jul 9, 2015

mactex 20150613
pandoc 1.15.04

@killercup
Copy link
Owner

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
Copy link
Author

hainuo commented Jul 9, 2015

thanks it does well!

@hainuo hainuo closed this as completed Jul 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants