From 7d2d41b1c21e5ee299443eb9b3acb59f6c0b7138 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Wed, 13 Jul 2016 14:14:01 +0200 Subject: [PATCH] doc: Fix compilation errors (probably caused by newer version of pandoc and/or other tools) --- doc/.latexmkrc | 1 - doc/Makefile | 2 +- doc/rpp_simulink.tex | 5 +++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/.latexmkrc b/doc/.latexmkrc index 91e4f67..518d29b 100644 --- a/doc/.latexmkrc +++ b/doc/.latexmkrc @@ -2,4 +2,3 @@ $pdflatex = 'pdflatex -synctex=1 -file-line-error -interaction nonstopmode %O %S $pdf_mode = 1; $postscript_mode = $dvi_mode = 0; $recorder = 1; -$use_make_for_missing_files = 1; diff --git a/doc/Makefile b/doc/Makefile index 4875079..f74a459 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -9,9 +9,9 @@ include ../rpp/lib/Makefile.config export TEXINPUTS=.:_$(TARGET): rpp_simulink.pdf: rpp_simulink.tex + @echo "Building for target: $(TARGET)" latexmk -deps -deps-out=$@.deps $< # See also .latexmkrc - rpp_simulink.tex: block_desc.tex block_table.tex rpp-test-sw-cmds.tex version.tex _$(TARGET)/target_def.tex _$(TARGET)/hwdesc.tex blocks = $(sort $(shell $(if $(RELEASE_ATTR),../rpp/lib/etc/git-ls-files-attr $(RELEASE_ATTR),git ls-files) ../rpp/blocks/sfunction_*.c)) diff --git a/doc/rpp_simulink.tex b/doc/rpp_simulink.tex index 7b572d4..3bc9ed3 100644 --- a/doc/rpp_simulink.tex +++ b/doc/rpp_simulink.tex @@ -2647,6 +2647,11 @@ This section contains the description of the available commands. The same description is also available in the program itself via the \texttt{help} command. +% Pandoc generates \tightlist in its output. Since we don't use pandoc +% template, we have put its definition here. +\providecommand{\tightlist}{% + \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} + \input{rpp-test-sw-cmds.tex} \chapter{Glossary} -- 2.39.2