]> pere.pagekite.me Git - text-madewithcc.git/blobdiff - Makefile
Add figure titles to cross referable figures in markdown, and remove workaround for...
[text-madewithcc.git] / Makefile
index 683c4d750730593d338fd1768f01a57ea9e07553..1037f9d34568ed4cfbda6ec7c3496f9560180b18 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -101,8 +101,7 @@ DBLATEX_OPTS = -T simple -t tex -b xetex -p extra/pdf.xsl
 # handled by LaTeX/dblatex, see <URL: https://bugs.debian.org/889603 >.
 %.tex: %.xml
        dblatex $(DBLATEX_OPTS) $^
-       perl -p -i -e 's/\\caption\\end/\\caption{} \\end/; \
-               s/ / /g; \
+       perl -p -i -e 's/ / /g; \
                s/\\chapter\{(Colophon|Dedication)\}/\\chapter*{}/; \
                s/\\section\{(Notes|Notas)\}/\\section*{$$1}/; \
                s/(Web links?|Vínculos Web)/\\section*{$$1}/;' $@