SlideShare a Scribd company logo
EPUB
a Workshop
by Beat Oderbolz
Standard from the IDPF (International Digital Publishing Forum)
An arrangement of several other standards, mainly:
XHTML, CSS, XML and some more.
3 parts, addressing
• Content (OPS - Open Publication Structure)
• Package Metadata (OPF - Open Packaging Format)
• Archive (OCF - OEBPS Container Format)
It is powerful, straightforward, and non-proprietary
What is EPUB?
+ Mimetype
+ META-INF
+ OEBPS
EPUP - Structure
Text file: “application/epub+zip”
- Folder
- Folder (Open eBook Publication Structure)
TASKS
• Get the file Example.epub from the folder Workpackage-EPUB.
• Change its extension from .epub to .zip
• Expand it – open the expanded folder.
+ Mimetype
+ META-INF
+ container.xml
+ OEBPS
EPUP - Structure
Text file: “application/epub+zip”
- Folder
Points to the content.opf file
- Folder (Open eBook Publication Structure)
+ Mimetype
+ META-INF
+ container.xml
+ OEBPS
+ content.opf
+ toc.ncx
+ Text
+ Images
+ Styles
EPUP - Structure
Text file: “application/epub+zip”
- Folder
Points to the content.opf file
- Folder (Open eBook Publication Structure)
Metadata, file manifest, linear reading order (spine)
Hierarchical Table of Contents
- Folder
- Folder
- Folder
+ Mimetype
+ META-INF
+ container.xml
+ OEBPS
+ content.opf
+ toc.ncx
+ Text
+ chapter_001.xhtml
+ chapter_002.xhtml
+ chapter_003.xhtml
+ …
+ Images
+ image_001.png
+ image_002.jpg
+ image_003.gif
+ …
+ Styles
+ styles.css
EPUP - Structure
Text file: “application/epub+zip”
- Folder
Points to the content.opf file
- Folder (Open eBook Publication Structure)
Metadata, file manifest, linear reading order (spine)
Hierarchical Table of Contents
- Folder
Chapters (xhtml files)
- Folder
Pictures (png / jpg / gif)
- Folder
CSS Stylesheet(s)
EPUB - Sigil
EPUB - Sigil
TASKS
•Please open the file Example-for-Sigil.epub in Sigil
•Confirm that it contains:
•3 chapters
•1 big image in the first chapter, 1 small image in the second
•1 stylesheet linked to the chapters
The general form of an HTML element
<tag attribute1="value1" attribute2="value2">content</tag>
<a href=http://www.w3schools.com target="_blank">link</a>
CSS - Cascading Style Sheets
selector {
property1: value1;
property2: value2;
...;
propertyn: valuen;
}
EPUB – Sigil, HTML & CSS
p {
font-weight: bold;
margin-left: 1em;
margin-right: 1em;
text-align: justify;
}
EPUB – Sigil, HTML & CSS
www.w3schools.com
HTML / HTML5 / CSS / JavaScript / XML / …
Tutorials & References
O’Reilly Pocket References
For HTML/XHTML and CSS
EPUB – Sigil, HTML & CSS
TASKS
Make the following changes to the EPUB:
• Change the color of the <h1> tag
• Reduce the indent of the main text to zero
• In the stylesheet, create a class .bold (use .italic as basis)
• Change all text in italic to bold
• Create your own class(es) and use them on the content
3 basic possibilities:
- Write directly into Sigil
- Copy / Paste
- Import HTML file
EPUB – Getting Text into Sigil
EPUB – Getting Text into Sigil
TASKS
• Open the folder Import into Sigil
• Copy/paste the text of the first page of the pfd-file
A short History of NATO.pdf into the chapter section0003.xhtml
• Import the html-file NATO – The Washington Treaty.html into
your eBook
• Clear out unnecessary code and text
• Link the stylesheet into your new chapter
• Headlines inside the correct <h> tags
• Body-text inside <p> tags (no <div>, no <span>)
• Format the text using the stylesheet formats
• Add formats to the stylesheet if needed
• Validate your EPUB and fix Errors
EPUB – Cleaning up & Formating
EPUB – Cleaning up & Formating
TASKS
Clean up the code of the two imports and reformat it.
1. Clear out unnecessary code and text
2. Link the stylesheet into your new chapter(s)
3. Headlines inside the correct <h> tags
4. All Body-text inside <p> tags (no <div>, no <span>)
5. Format the text using the stylesheet formats
6. Add formats to the stylesheet if needed
7. Validate your EPUB and fix Errors
EPUB formating is like HTML
coding in the early days…
…only worse.
EPUB – The Golden Rule of Formating
Keep it simple!
Stay away from elaborate design ideas
Use a stylesheet with a limited set of styles
Clean code is nice code
• Pictures / Coverpage
• Creating a TOC
• Metadata
• Advanced Stuff
• Embedding Fonts
• Using EPUB3
EPUB – Sigil: the Remains of the Day…
EPUB – Sigil: the Remains of the Day…
TASKS
• Import the pictures sign_warning.png & IntroToEPUB-Cover.png
into Sigil
• Use sign_warning.png somewhere in your eBook: aligned on
the left side, with text floating around it.
• Use IntroToEPUB-Cover.png as a Cover Image for your eBook
• Enter some more titles - <h1>, <h2> and <h3> and create a TOC
• Enter the mandatory metadata
Or: How to get your eBook onto reading devices
EPUB - Distribution
www.w3schools.com
HTML / HTML5 / CSS / JavaScript / XML / …
Tutorials & References
Resources…
http://code.google.com/p/sigil/
Multi-platform EPUB ebook editor «Sigil»
Download & Documentation
http://calibre-ebook.com/
Multi-platform and open source e-book format conversion &
library management application «Calibre»
Download & Documentation

More Related Content

What's hot

Web design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introductionWeb design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introduction
Mustafa Kamel Mohammadi
 
The beauty behind ebooks: CSS - ebookcraft 2015 - Iris Febres
The beauty behind ebooks: CSS - ebookcraft 2015 - Iris FebresThe beauty behind ebooks: CSS - ebookcraft 2015 - Iris Febres
The beauty behind ebooks: CSS - ebookcraft 2015 - Iris Febres
BookNet Canada
 
Week 6 Lecture
Week 6 LectureWeek 6 Lecture
Html 5
Html 5Html 5
Week 4 Lecture Part 1
Week 4 Lecture Part 1Week 4 Lecture Part 1
Week 4 Lecture Part 1
Katherine McCurdy-Lapierre, R.G.D.
 
HTML Start Up - Introduction to HTML
HTML Start Up - Introduction to HTMLHTML Start Up - Introduction to HTML
HTML Start Up - Introduction to HTML
Grayzon Gonzales, LPT
 
The Ebook Developer's Toolbox - ebookcraft 2016 - Sanders Kleinfeld
The Ebook Developer's Toolbox - ebookcraft 2016 - Sanders Kleinfeld The Ebook Developer's Toolbox - ebookcraft 2016 - Sanders Kleinfeld
The Ebook Developer's Toolbox - ebookcraft 2016 - Sanders Kleinfeld
BookNet Canada
 
Artistic Web Applications - Week3 - Part 2
Artistic Web Applications - Week3 - Part 2Artistic Web Applications - Week3 - Part 2
Artistic Web Applications - Week3 - Part 2
Katherine McCurdy-Lapierre, R.G.D.
 
HTML email design and usability
HTML email design and usabilityHTML email design and usability
HTML email design and usability
Keith Kmett
 
You Want to Go XML-First: Now What? Building an In-House XML-First Workflow -...
You Want to Go XML-First: Now What? Building an In-House XML-First Workflow -...You Want to Go XML-First: Now What? Building an In-House XML-First Workflow -...
You Want to Go XML-First: Now What? Building an In-House XML-First Workflow -...
BookNet Canada
 
Week 4 Lecture Part 2
Week 4 Lecture Part 2Week 4 Lecture Part 2
Week 4 Lecture Part 2
Katherine McCurdy-Lapierre, R.G.D.
 
Html link and list tags
Html link and list tagsHtml link and list tags
Html link and list tags
Himanshu Pathak
 
Html
HtmlHtml
Creating WebPages using HTML
Creating WebPages using HTMLCreating WebPages using HTML
Creating WebPages using HTML
Mohammad Arshad
 
HTML5 - My First Webpage
HTML5 - My First Webpage HTML5 - My First Webpage
HTML5 - My First Webpage
Grayzon Gonzales, LPT
 
BASICS OF HTML
BASICS OF HTMLBASICS OF HTML
BASICS OF HTML
Sasemohan C
 
Basic Webpage
Basic WebpageBasic Webpage
Basic Webpage
bmike06
 
Web Development Using CSS3
Web Development Using CSS3Web Development Using CSS3
Web Development Using CSS3
Anjan Mahanta
 
Web Development Using CSS3
Web Development Using CSS3Web Development Using CSS3
Web Development Using CSS3
Anjan Mahanta
 
HTML5- Create divisions in a web page
HTML5- Create divisions in a web pageHTML5- Create divisions in a web page
HTML5- Create divisions in a web page
Grayzon Gonzales, LPT
 

What's hot (20)

Web design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introductionWeb design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introduction
 
The beauty behind ebooks: CSS - ebookcraft 2015 - Iris Febres
The beauty behind ebooks: CSS - ebookcraft 2015 - Iris FebresThe beauty behind ebooks: CSS - ebookcraft 2015 - Iris Febres
The beauty behind ebooks: CSS - ebookcraft 2015 - Iris Febres
 
Week 6 Lecture
Week 6 LectureWeek 6 Lecture
Week 6 Lecture
 
Html 5
Html 5Html 5
Html 5
 
Week 4 Lecture Part 1
Week 4 Lecture Part 1Week 4 Lecture Part 1
Week 4 Lecture Part 1
 
HTML Start Up - Introduction to HTML
HTML Start Up - Introduction to HTMLHTML Start Up - Introduction to HTML
HTML Start Up - Introduction to HTML
 
The Ebook Developer's Toolbox - ebookcraft 2016 - Sanders Kleinfeld
The Ebook Developer's Toolbox - ebookcraft 2016 - Sanders Kleinfeld The Ebook Developer's Toolbox - ebookcraft 2016 - Sanders Kleinfeld
The Ebook Developer's Toolbox - ebookcraft 2016 - Sanders Kleinfeld
 
Artistic Web Applications - Week3 - Part 2
Artistic Web Applications - Week3 - Part 2Artistic Web Applications - Week3 - Part 2
Artistic Web Applications - Week3 - Part 2
 
HTML email design and usability
HTML email design and usabilityHTML email design and usability
HTML email design and usability
 
You Want to Go XML-First: Now What? Building an In-House XML-First Workflow -...
You Want to Go XML-First: Now What? Building an In-House XML-First Workflow -...You Want to Go XML-First: Now What? Building an In-House XML-First Workflow -...
You Want to Go XML-First: Now What? Building an In-House XML-First Workflow -...
 
Week 4 Lecture Part 2
Week 4 Lecture Part 2Week 4 Lecture Part 2
Week 4 Lecture Part 2
 
Html link and list tags
Html link and list tagsHtml link and list tags
Html link and list tags
 
Html
HtmlHtml
Html
 
Creating WebPages using HTML
Creating WebPages using HTMLCreating WebPages using HTML
Creating WebPages using HTML
 
HTML5 - My First Webpage
HTML5 - My First Webpage HTML5 - My First Webpage
HTML5 - My First Webpage
 
BASICS OF HTML
BASICS OF HTMLBASICS OF HTML
BASICS OF HTML
 
Basic Webpage
Basic WebpageBasic Webpage
Basic Webpage
 
Web Development Using CSS3
Web Development Using CSS3Web Development Using CSS3
Web Development Using CSS3
 
Web Development Using CSS3
Web Development Using CSS3Web Development Using CSS3
Web Development Using CSS3
 
HTML5- Create divisions in a web page
HTML5- Create divisions in a web pageHTML5- Create divisions in a web page
HTML5- Create divisions in a web page
 

Similar to EPUB - a workshop for beginners

Creating ebooks
Creating ebooksCreating ebooks
Creating ebooks
Suwimon Group
 
2a web technology html basics 1
2a web technology html basics 12a web technology html basics 1
2a web technology html basics 1
Jyoti Yadav
 
Down and Dirty EPUB 3
Down and Dirty EPUB 3Down and Dirty EPUB 3
Down and Dirty EPUB 3
digitalbindery
 
Easy Blogging With Emacs
Easy Blogging With EmacsEasy Blogging With Emacs
Easy Blogging With Emacs
Dashamir Hoxha
 
Lecture 2 - HTML Basics
Lecture 2 - HTML BasicsLecture 2 - HTML Basics
Lecture 2 - HTML Basics
KULeuven-OnlinePublishing
 
Kick start @ html5
Kick start @ html5Kick start @ html5
Kick start @ html5
Umesh Agarwal
 
UNC Chapel Hill 2014 CTC Retreat - Creating epub e books
UNC Chapel Hill 2014 CTC Retreat - Creating epub e booksUNC Chapel Hill 2014 CTC Retreat - Creating epub e books
UNC Chapel Hill 2014 CTC Retreat - Creating epub e books
Jonathan Pletzke
 
Creating Fixed-Layout EPUBs
Creating Fixed-Layout EPUBsCreating Fixed-Layout EPUBs
Creating Fixed-Layout EPUBs
Laura Brady
 
E-publishing
E-publishingE-publishing
E-publishing
Ganesh Koli
 
Web 101 intro to html
Web 101  intro to htmlWeb 101  intro to html
Web 101 intro to html
Hawkman Academy
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
Himanshu Pathak
 
Class1slides
Class1slidesClass1slides
Class1slides
Alexis Goldstein
 
Easy Blogging With Emacs
Easy Blogging With EmacsEasy Blogging With Emacs
Easy Blogging With Emacs
Dashamir Hoxha
 
HTML & CSS.ppt
HTML & CSS.pptHTML & CSS.ppt
HTML & CSS.ppt
vaseemshaik21
 
Slides 2 - HTML
Slides 2 - HTMLSlides 2 - HTML
Slides 2 - HTML
Massimo Callisto
 
MMI-402 - Lecture 1
MMI-402 - Lecture 1MMI-402 - Lecture 1
MMI-402 - Lecture 1
Ahmed Abozeed
 
BASIC HTML PROGRAMMING
BASIC HTML PROGRAMMINGBASIC HTML PROGRAMMING
BASIC HTML PROGRAMMING
Gautham Rajesh
 
3. tutorial html web desain
3. tutorial html web desain3. tutorial html web desain
3. tutorial html web desain
faizibra
 
ITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf.docx
ITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf.docxITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf.docx
ITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf.docx
christiandean12115
 
Css introduction
Css introductionCss introduction
Css introduction
Sridhar P
 

Similar to EPUB - a workshop for beginners (20)

Creating ebooks
Creating ebooksCreating ebooks
Creating ebooks
 
2a web technology html basics 1
2a web technology html basics 12a web technology html basics 1
2a web technology html basics 1
 
Down and Dirty EPUB 3
Down and Dirty EPUB 3Down and Dirty EPUB 3
Down and Dirty EPUB 3
 
Easy Blogging With Emacs
Easy Blogging With EmacsEasy Blogging With Emacs
Easy Blogging With Emacs
 
Lecture 2 - HTML Basics
Lecture 2 - HTML BasicsLecture 2 - HTML Basics
Lecture 2 - HTML Basics
 
Kick start @ html5
Kick start @ html5Kick start @ html5
Kick start @ html5
 
UNC Chapel Hill 2014 CTC Retreat - Creating epub e books
UNC Chapel Hill 2014 CTC Retreat - Creating epub e booksUNC Chapel Hill 2014 CTC Retreat - Creating epub e books
UNC Chapel Hill 2014 CTC Retreat - Creating epub e books
 
Creating Fixed-Layout EPUBs
Creating Fixed-Layout EPUBsCreating Fixed-Layout EPUBs
Creating Fixed-Layout EPUBs
 
E-publishing
E-publishingE-publishing
E-publishing
 
Web 101 intro to html
Web 101  intro to htmlWeb 101  intro to html
Web 101 intro to html
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Class1slides
Class1slidesClass1slides
Class1slides
 
Easy Blogging With Emacs
Easy Blogging With EmacsEasy Blogging With Emacs
Easy Blogging With Emacs
 
HTML & CSS.ppt
HTML & CSS.pptHTML & CSS.ppt
HTML & CSS.ppt
 
Slides 2 - HTML
Slides 2 - HTMLSlides 2 - HTML
Slides 2 - HTML
 
MMI-402 - Lecture 1
MMI-402 - Lecture 1MMI-402 - Lecture 1
MMI-402 - Lecture 1
 
BASIC HTML PROGRAMMING
BASIC HTML PROGRAMMINGBASIC HTML PROGRAMMING
BASIC HTML PROGRAMMING
 
3. tutorial html web desain
3. tutorial html web desain3. tutorial html web desain
3. tutorial html web desain
 
ITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf.docx
ITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf.docxITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf.docx
ITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf.docx
 
Css introduction
Css introductionCss introduction
Css introduction
 

Recently uploaded

Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
RamseyBerglund
 
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptxA Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
OH TEIK BIN
 
Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.
IsmaelVazquez38
 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
TechSoup
 
skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)
Mohammad Al-Dhahabi
 
How to Fix [Errno 98] address already in use
How to Fix [Errno 98] address already in useHow to Fix [Errno 98] address already in use
How to Fix [Errno 98] address already in use
Celine George
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
Juneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School DistrictJuneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School District
David Douglas School District
 
SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
zuzanka
 
BPSC-105 important questions for june term end exam
BPSC-105 important questions for june term end examBPSC-105 important questions for june term end exam
BPSC-105 important questions for june term end exam
sonukumargpnirsadhan
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
khuleseema60
 
Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
nitinpv4ai
 
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxxSimple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
RandolphRadicy
 
How to Setup Default Value for a Field in Odoo 17
How to Setup Default Value for a Field in Odoo 17How to Setup Default Value for a Field in Odoo 17
How to Setup Default Value for a Field in Odoo 17
Celine George
 
How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17
Celine George
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
blueshagoo1
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
danielkiash986
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
giancarloi8888
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
Steve Thomason
 

Recently uploaded (20)

Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
 
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptxA Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
 
Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.
 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
 
skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)
 
How to Fix [Errno 98] address already in use
How to Fix [Errno 98] address already in useHow to Fix [Errno 98] address already in use
How to Fix [Errno 98] address already in use
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
Juneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School DistrictJuneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School District
 
SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
 
BPSC-105 important questions for june term end exam
BPSC-105 important questions for june term end examBPSC-105 important questions for june term end exam
BPSC-105 important questions for june term end exam
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
 
Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
 
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxxSimple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
 
How to Setup Default Value for a Field in Odoo 17
How to Setup Default Value for a Field in Odoo 17How to Setup Default Value for a Field in Odoo 17
How to Setup Default Value for a Field in Odoo 17
 
How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
 

EPUB - a workshop for beginners

  • 2. Standard from the IDPF (International Digital Publishing Forum) An arrangement of several other standards, mainly: XHTML, CSS, XML and some more. 3 parts, addressing • Content (OPS - Open Publication Structure) • Package Metadata (OPF - Open Packaging Format) • Archive (OCF - OEBPS Container Format) It is powerful, straightforward, and non-proprietary What is EPUB?
  • 3. + Mimetype + META-INF + OEBPS EPUP - Structure Text file: “application/epub+zip” - Folder - Folder (Open eBook Publication Structure) TASKS • Get the file Example.epub from the folder Workpackage-EPUB. • Change its extension from .epub to .zip • Expand it – open the expanded folder.
  • 4. + Mimetype + META-INF + container.xml + OEBPS EPUP - Structure Text file: “application/epub+zip” - Folder Points to the content.opf file - Folder (Open eBook Publication Structure)
  • 5. + Mimetype + META-INF + container.xml + OEBPS + content.opf + toc.ncx + Text + Images + Styles EPUP - Structure Text file: “application/epub+zip” - Folder Points to the content.opf file - Folder (Open eBook Publication Structure) Metadata, file manifest, linear reading order (spine) Hierarchical Table of Contents - Folder - Folder - Folder
  • 6. + Mimetype + META-INF + container.xml + OEBPS + content.opf + toc.ncx + Text + chapter_001.xhtml + chapter_002.xhtml + chapter_003.xhtml + … + Images + image_001.png + image_002.jpg + image_003.gif + … + Styles + styles.css EPUP - Structure Text file: “application/epub+zip” - Folder Points to the content.opf file - Folder (Open eBook Publication Structure) Metadata, file manifest, linear reading order (spine) Hierarchical Table of Contents - Folder Chapters (xhtml files) - Folder Pictures (png / jpg / gif) - Folder CSS Stylesheet(s)
  • 8. EPUB - Sigil TASKS •Please open the file Example-for-Sigil.epub in Sigil •Confirm that it contains: •3 chapters •1 big image in the first chapter, 1 small image in the second •1 stylesheet linked to the chapters
  • 9. The general form of an HTML element <tag attribute1="value1" attribute2="value2">content</tag> <a href=http://www.w3schools.com target="_blank">link</a> CSS - Cascading Style Sheets selector { property1: value1; property2: value2; ...; propertyn: valuen; } EPUB – Sigil, HTML & CSS p { font-weight: bold; margin-left: 1em; margin-right: 1em; text-align: justify; }
  • 10. EPUB – Sigil, HTML & CSS www.w3schools.com HTML / HTML5 / CSS / JavaScript / XML / … Tutorials & References O’Reilly Pocket References For HTML/XHTML and CSS
  • 11. EPUB – Sigil, HTML & CSS TASKS Make the following changes to the EPUB: • Change the color of the <h1> tag • Reduce the indent of the main text to zero • In the stylesheet, create a class .bold (use .italic as basis) • Change all text in italic to bold • Create your own class(es) and use them on the content
  • 12. 3 basic possibilities: - Write directly into Sigil - Copy / Paste - Import HTML file EPUB – Getting Text into Sigil
  • 13. EPUB – Getting Text into Sigil TASKS • Open the folder Import into Sigil • Copy/paste the text of the first page of the pfd-file A short History of NATO.pdf into the chapter section0003.xhtml • Import the html-file NATO – The Washington Treaty.html into your eBook
  • 14. • Clear out unnecessary code and text • Link the stylesheet into your new chapter • Headlines inside the correct <h> tags • Body-text inside <p> tags (no <div>, no <span>) • Format the text using the stylesheet formats • Add formats to the stylesheet if needed • Validate your EPUB and fix Errors EPUB – Cleaning up & Formating
  • 15. EPUB – Cleaning up & Formating TASKS Clean up the code of the two imports and reformat it. 1. Clear out unnecessary code and text 2. Link the stylesheet into your new chapter(s) 3. Headlines inside the correct <h> tags 4. All Body-text inside <p> tags (no <div>, no <span>) 5. Format the text using the stylesheet formats 6. Add formats to the stylesheet if needed 7. Validate your EPUB and fix Errors
  • 16. EPUB formating is like HTML coding in the early days… …only worse.
  • 17. EPUB – The Golden Rule of Formating Keep it simple! Stay away from elaborate design ideas Use a stylesheet with a limited set of styles Clean code is nice code
  • 18. • Pictures / Coverpage • Creating a TOC • Metadata • Advanced Stuff • Embedding Fonts • Using EPUB3 EPUB – Sigil: the Remains of the Day…
  • 19. EPUB – Sigil: the Remains of the Day… TASKS • Import the pictures sign_warning.png & IntroToEPUB-Cover.png into Sigil • Use sign_warning.png somewhere in your eBook: aligned on the left side, with text floating around it. • Use IntroToEPUB-Cover.png as a Cover Image for your eBook • Enter some more titles - <h1>, <h2> and <h3> and create a TOC • Enter the mandatory metadata
  • 20. Or: How to get your eBook onto reading devices EPUB - Distribution
  • 21. www.w3schools.com HTML / HTML5 / CSS / JavaScript / XML / … Tutorials & References Resources… http://code.google.com/p/sigil/ Multi-platform EPUB ebook editor «Sigil» Download & Documentation http://calibre-ebook.com/ Multi-platform and open source e-book format conversion & library management application «Calibre» Download & Documentation