]> rtime.felk.cvut.cz Git - jenkicar/rpp-simulink.git/commitdiff
doc: Fix compilation errors
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 13 Jul 2016 12:14:01 +0000 (14:14 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 13 Jul 2016 12:14:01 +0000 (14:14 +0200)
(probably caused by newer version of pandoc and/or other tools)

doc/.latexmkrc
doc/Makefile
doc/rpp_simulink.tex

index 91e4f673a841818a0d6ee1e23ed97c79663ab069..518d29bc739e939a22d548edc1afb2cea583f470 100644 (file)
@@ -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;
index 48750797ea0fd2851e922ab82690f3a8efe96095..f74a459afd3df8b9e7d8fd229ec4ebb2c1c89993 100644 (file)
@@ -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))
index 7b572d405ceadc3430857dfd3297022621547ac0..3bc9ed3496067181dd2089ba62266c9a0b289612 100644 (file)
@@ -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}