Skip to content

Commit

Permalink
userguide: Don't use pandoc for final tex output
Browse files Browse the repository at this point in the history
When using pandoc to create the main .tex document, we lose all styles
and formatting information in the main userguide doc.

This change reverts commit bba5b18, and
adds the \tighlist macro that was required by that change.

Signed-off-by: Jeremy Kerr <[email protected]>
  • Loading branch information
jk-ozlabs committed May 26, 2016
1 parent dd7e999 commit 8b80cb6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@ all: userguide.pdf

.PHONY: all clean

userguide.pdf: userguide.tex
userguide.pdf: userguide/userguide.tex
$(tex) $^

userguide.tex: userguide/userguide.tex
pandoc -f latex -t latex -s -o $@ $^

userguide/userguide.tex: rest-api.tex host-management.tex console.tex code-update.tex

%.tex: %.md
Expand Down
4 changes: 4 additions & 0 deletions userguide/userguide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
urlcolor=blue
}

% workaround for pandoc / xetex version differences
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}

\begin{document}

\title{OpenBMC User's Guide}
Expand Down

0 comments on commit 8b80cb6

Please sign in to comment.