From 79f3772c99f78a5532a825172d504814d1f2a47a Mon Sep 17 00:00:00 2001 From: Matt Sephton Date: Mon, 6 Dec 2021 13:00:51 +0000 Subject: [PATCH 1/2] changes to build without warnings on macOS in December 2021 1. install included fonts 2. install required extensions 3. build --- content/manifestos/2007-avant-pop.md | 2 +- content/manifestos/2015-01-new-clues.md | 2 +- scripts/build.sh | 4 ++-- templates/customV2.latex | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) mode change 100644 => 100755 scripts/build.sh diff --git a/content/manifestos/2007-avant-pop.md b/content/manifestos/2007-avant-pop.md index 34b9a0c..5f314bb 100644 --- a/content/manifestos/2007-avant-pop.md +++ b/content/manifestos/2007-avant-pop.md @@ -39,7 +39,7 @@ Antonin Artaud, founder of The Theater of Cruelty, once said that "I am the enem ### 7 -We don't give a shit about your phony social reality either. "Once upon a time" doesn't interest us whether your setting is the past (historical fiction), the present (contemporary classics) or the future (cyberhype). We prefer to lose ourselves in the exquisite realms of spacy sex and timeless narrative disaster, the thrill of breaking down syntax and deregulating the field of composition so that you no longer have to feel chained to the bed of commercial standardization. The emerging youth culture's ability to align itself with intuitive intelligence and non-linear narrative surfing is just one sign of where the Avant-Pop artist's audience is situated. Soon the Data Superhighway will finally once and for all do away with the high-priced middlemen, and artists will reap the benefits of their own hard-earned labor. The distribution formula will radically change from +We don't give a shit about your phony social reality either. "Once upon a time" doesn't interest us whether your setting is the past (historical fiction), the present (contemporary classics) or the future (cyberhype). We prefer to lose ourselves in the exquisite realms of spacy sex and timeless narrative disaster, the thrill of breaking down syntax and deregulating the field of composition so that you no longer have to feel chained to the bed of commercial standardization. The emerging youth culture's ability to align itself with intuitive intelligence and non-linear narrative surfing is just one sign of where the Avant-Pop artist's audience is situated. Soon the Data Superhighway will finally once and for all do away with the high-priced middlemen, and artists will reap the benefits of their own hard-earned labor. The distribution formula will radically change from **Author - Agent - Publisher - Printer - Distributor - Retailer - Consumer** diff --git a/content/manifestos/2015-01-new-clues.md b/content/manifestos/2015-01-new-clues.md index b43d3f0..1ddd20f 100644 --- a/content/manifestos/2015-01-new-clues.md +++ b/content/manifestos/2015-01-new-clues.md @@ -49,7 +49,7 @@ January 8, 2015 1. The Internet is not made of copper wire, glass fiber, radio waves, or even tubes. 2. The devices we use to connect to the Internet are not the Internet. -3. Verizon, Comcast, AT&T, Deutsche Telekom, and 中国电信 do not own the Internet. Facebook, Google, and Amazon are not the Net’s monarchs, nor yet are their minions or algorithms. Not the governments of the Earth nor their Trade Associations have the consent of the networked to bestride the Net as sovereigns. +3. Verizon, Comcast, AT&T, Deutsche Telekom, and China Telecom do not own the Internet. Facebook, Google, and Amazon are not the Net’s monarchs, nor yet are their minions or algorithms. Not the governments of the Earth nor their Trade Associations have the consent of the networked to bestride the Net as sovereigns. 4. We hold the Internet in common and as unowned. 5. From us and from what we have built on it does the Internet derive all its value. 6. The Net is of us, by us, and for us. diff --git a/scripts/build.sh b/scripts/build.sh old mode 100644 new mode 100755 index 2b255d2..1019089 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -71,8 +71,8 @@ END { ## HK Grotesk - by Alfredo Marco Pradil, Hanken Design Co. pandoc -f markdown --template=../templates/customV2 $TEMP \ - --latex-engine=xelatex \ - --variable mainfont="HK Grotesk Pro" \ + --pdf-engine=xelatex \ + --variable mainfont="HKGrotesk-Regular" \ --variable boldfont="LinLibertineOB" \ --variable italicfont="LinLibertineOI" \ --variable fontsize=9pt \ diff --git a/templates/customV2.latex b/templates/customV2.latex index 1880c49..9bb810f 100644 --- a/templates/customV2.latex +++ b/templates/customV2.latex @@ -134,7 +134,6 @@ $endif$ $if(lang)$ \ifxetex \usepackage{polyglossia} - \setmainlanguage{$mainlang$} \setotherlanguages{$for(otherlang)$$otherlang$$sep$,$endfor$} \else \usepackage[shorthands=off,$lang$]{babel} From c50b58054ff5b1c9da1a102a75e7a18079610ad1 Mon Sep 17 00:00:00 2001 From: Matt Sephton Date: Mon, 6 Dec 2021 13:08:28 +0000 Subject: [PATCH 2/2] Add epub building --- scripts/build.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/scripts/build.sh b/scripts/build.sh index 1019089..92c7589 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -16,6 +16,7 @@ TEMP2="../temp/newfile2.txt" ##TIMESTAMP=$(date +"%s") TIMESTAMP=$(date -u +%Y%m%d_%H%M%SZ) OUTPUT="../output/Manifestos_for_the_Internet_Age-"$TIMESTAMP".pdf" +OUTPUTEPUB="../output/Manifestos_for_the_Internet_Age-"$TIMESTAMP".epub" ## Create the temp and output folder if they does not exist if [ ! -d "../temp" ]; then @@ -84,4 +85,18 @@ pandoc -f markdown --template=../templates/customV2 $TEMP \ --include-before-body=../content/intro.txt \ -o $OUTPUT +pandoc -f markdown --template=../templates/custom $TEMP \ + --pdf-engine=xelatex \ + --variable mainfont="HKGrotesk-Regular" \ + --variable boldfont="LinLibertineOB" \ + --variable italicfont="LinLibertineOI" \ + --variable fontsize=9pt \ + --variable urlcolor=black \ + --variable linkcolor=black \ + --variable documentclass=book \ + --toc --toc-depth=1 \ + --listings \ + --include-before-body=../content/intro.txt \ + -o $OUTPUTEPUB + ## End of file