s/\\chapter\{(Colophon|Dedication)\}/\\chapter*{}/; \
s/\\chapter\{(Foreword|Prefacio|Forord|Introduction|Introducción|Introduksjon)\}/\\chapter*{$$1} \\addcontentsline{toc}{chapter}{$$1}/; \
s/\\section\{(Notes|Notas)\}/\\section*{$$1}/; \
- s/(Web links?|Vínculos Web)/\\section*{$$1}/; \
- s/^\s*(Revenue model|Interview date|Interviewees?|(Modelo de ingresos|Fecha de la entrevista|Entrevistad(?:o|a|os|as)))/\\textbf{$$1}/;' $@
+ s/(Web links?|Vínculos Web)/\\section*{$$1}/;' $@
XMLLINTOPTS = --nonet --noout --xinclude --postvalid
lint: $(SOURCE).xml
end
end
+log 0, 'emphesize keywords'
+data.map {|lin| lin.gsub!(/^(>\s*)(Revenue model|Interview date|Interviewees?):/, '\\1**\\2**:')}
+
log 0, 'Writing processed file'
File.open(dstfile, 'w') {|f| f.puts data.join("\n")}