From 684443fa8a43ca18e46b6692e124f25493062ef1 Mon Sep 17 00:00:00 2001 From: Gunnar Wolf Date: Tue, 24 Oct 2017 12:37:20 -0500 Subject: [PATCH] Markup fixes --- ...ithCreativeCommonsmostup-to-dateversion.md | 6 ++---- Makefile | 20 +++++++++++++------ po/es/mwcc.po | 2 +- po/mwcc.pot | 2 +- 4 files changed, 18 insertions(+), 12 deletions(-) diff --git a/MadewithCreativeCommonsmostup-to-dateversion.md b/MadewithCreativeCommonsmostup-to-dateversion.md index 7b3aba8..f04265b 100644 --- a/MadewithCreativeCommonsmostup-to-dateversion.md +++ b/MadewithCreativeCommonsmostup-to-dateversion.md @@ -2265,7 +2265,7 @@ what they do. The goal for any form of collaboration is to move away from thinking of consumers as passive recipients of your content and transition them into active participants.75 -#### Notes +### Notes 1. Alex Osterwalder and Yves Pigneur, Business Model Generation (Hoboken, NJ: John Wiley and Sons, 2010), 14. A preview of the book @@ -4491,9 +4491,7 @@ Web link Jonathan Mann is a singer and songwriter who is most well known as the “Song A Day” guy. Based in the U.S. -jonathanmann.net and - -jonathanmann.bandcamp.com +jonathanmann.net and jonathanmann.bandcamp.com Revenue model: charging for custom services, pay-what-you-want, crowdfunding (subscription-based), charging for in-person version diff --git a/Makefile b/Makefile index 5d83a65..85b7c7a 100644 --- a/Makefile +++ b/Makefile @@ -50,8 +50,8 @@ $(SOURCE).es.md: $(SOURCE).md po/es/mwcc.po %.xml: %.md pandoc -s -o $@ $(PANDOC_OPTS) $^ - perl -p -i -e 's/!DOCTYPE article/!DOCTYPE book/' $@ - perl -p -i -e 's!<(/?)article(info|)?>!<$$1book$$2>!' $@ + perl -p -i -e 's/!DOCTYPE article/!DOCTYPE book/ ; \ + s!<(/?)article(info|)?>!<$$1book$$2>!' $@ pdf: $(SOURCE).pdf %.pdf: %.tex @@ -60,10 +60,18 @@ pdf: $(SOURCE).pdf %.tex: %.xml dblatex -t tex -b xetex $^ - perl -p -i -e 's/\[latin1\]\{inputenc\}/[utf8]{inputenc}\n\\usepackage[spanish]{babel}/' $@ - perl -p -i -e 's/\\caption\\end/\\caption{} \\end/' $@ - perl -p -i -e 's/\\author\{and\}/\\author{Paul Stacey \\and Sarah Hinchliff Pearson}/' $@ - perl -p -i -e 's/\\DBKinditem\{\\writtenby\}\{and\}/\\DBKinditem{\writtenby}{Paul Stacey and Sarah Hinchliff Pearson}/' $@ + perl -p -i -e 's/\[latin1\]\{inputenc\}/[utf8]{inputenc}\n\\usepackage[spanish]{babel}/; \ + s/\\caption\\end/\\caption{} \\end/; \ + s/\\author\{and\}/\\author{Paul Stacey \\and Sarah Hinchliff Pearson}/; \ + s/\\DBKinditem\{\\writtenby\}\{and\}/\\DBKinditem{\writtenby}{Paul Stacey and Sarah Hinchliff Pearson}/; \ + s/\\part\{(Prefacio|Introducción)\}/\\chapter*{$$1} \\addcontentsline{toc}{chapter}{$$1}/; \ + s/\\section\{Notas\}/\\section*{Notas}/; \ + s/(Vínculos Web)/\\section*{$$1}/; \ + s/^\s*(Modelo de ingresos|Fecha de la entrevista|Entrevistad(?:o|a|os|as))/\\textbf{$$1}/;' $@ + perl -p -i -e '$$work=1 if /chapter.Arduino/; $$work=0 if /chapter.Bibliografía/; \ + next unless $$work; \ + s/(\\label\{[-\.\wáéíóúñ]+\}\\hyperlabel\{[-\.\wáéíóúñ]+\}%)/$$1\n\\begin{quote}/i; \ + s/(Perfil escrito por.+)/$$1\n\\end{quote}/' $@ XMLLINTOPTS = --nonet --noout --xinclude --postvalid lint: $(SOURCE).xml diff --git a/po/es/mwcc.po b/po/es/mwcc.po index e62c4b4..a542a29 100644 --- a/po/es/mwcc.po +++ b/po/es/mwcc.po @@ -13976,7 +13976,7 @@ msgid "" "Revenue model: charging content creators an author processing charge to be " "featured in the journal" msgstr "" -"modelo de ingresos: cobrar a los creadores de contenido un cargo por " +"Modelo de ingresos: cobrar a los creadores de contenido un cargo por " "procesamiento de autor para ser incluido en la revista" #. type: Plain text diff --git a/po/mwcc.pot b/po/mwcc.pot index a3e8990..a1a37eb 100644 --- a/po/mwcc.pot +++ b/po/mwcc.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Made with Creative Commons 20170609-2\n" -"POT-Creation-Date: 2017-10-24 12:24-0500\n" +"POT-Creation-Date: 2017-10-24 12:32-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" -- 2.47.2