SlideShare a Scribd company logo
ePUB
   /
Who

Lab
Startup


a Passionate Programmer


              lyhcode@gmail.com
Work                            e




  PLWeb   , http://plweb.org/
Java   , http://java.plweb.org/
Source Code
if (pci_read_config_byte(pdev, ET1310_PCI_EEPROM_STATUS, &eestatus)) {
         dev_err(&pdev->dev,
             "Could not read PCI config space for EEPROM Statusn");
         return -EIO;
}


/* Determine if the error(s) we care about are present. If they are
 * present we need to fail.
 */
if (eestatus & 0x4C) {
        int write_failed = 0;
        if (pdev->revision == 0x01) {
                 int     i;
                 static const u8 eedata[4] = { 0xFE, 0x13, 0x10, 0xFF };


               /* Re-write the first 4 bytes if we have an eeprom
                * present and the revision id is 1, this fixes the
                * corruption seen with 1310 B Silicon
                */
               for (i = 0; i < 3; i++)
                        if (eeprom_write(adapter, i, eedata[i]) < 0)
                                  write_failed = 1;
       }
       if (pdev->revision != 0x01 || write_failed) {
               dev_err(&pdev->dev,
                 "Fatal EEPROM Status Error - 0x%04xn", eestatus);


               /* This error could mean that there was an error
                * reading the eeprom or that the eeprom doesn't exist.
                * We will treat each case the same and not try to
                * gather additional information that normally would
                * come from the eeprom, like MAC Address
                */
               adapter->has_eeprom = 0;
               return -EIO;
       }
Java


JDK



Jar


 Java, http://java.com/
HTML5
        CSS3
   JavaScript


 Appcelerator
     Titanium



       Mobile
         App


Appcelerator Titanium, http://www.appcelerator.com/
Write once, run anywhere
$ make os=MACOSX
$ make os=LINUX
$ make os=WINDOWS
$ make os=SOLARIS
$ make deploy
$ make money
SourceTree, http://www.sourcetreeapp.com/
<?xml version="1.0"?>
<package version="2.0" xmlns="http://www.idpf.org/2007/opf" unique-identifier="BookId">


<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
 <dc:title>Pride and Prejudice</dc:title>
 <dc:language>en</dc:language>
 <dc:identifier id="BookId" opf:scheme="ISBN">123456789X</dc:identifier>
 <dc:creator opf:file-as="Austen, Jane" opf:role="aut">Jane Austen</dc:creator>
</metadata>


<manifest>
 <item id="chapter1" href="chapter1.xhtml" media-type="application/xhtml+xml"/>
 <item id="stylesheet" href="style.css" media-type="text/css"/>
 <item id="ch1-pic" href="ch1-pic.png" media-type="image/png"/>
 <item id="myfont" href="css/myfont.otf" media-type="application/x-font-opentype"/>
 <item id="ncx" href="book.ncx" media-type="application/x-dtbncx+xml"/>
</manifest>


<spine toc="ncx">
 <itemref idref="chapter1" />
</spine>


<guide>
 <reference type="loi" title="List Of Illustrations" href="appendix.html#figures" />
</guide>


</package>
<body>
 <div class="chapter" title="Chapter&nbsp;1.&nbsp;What Is EPUB 3?">
  <div class="titlepage">
   <h1 class="title"><a id="what_is_epub_3_question"></a>What Is EPUB 3?</h1>
  </div>

  <div class="sect1" title="EPUB 3 in a Nutshell">
   <div class="titlepage">
    <h1 class="title"><a id="epub_3_in_a_nutshell"></a>EPUB 3 in a Nutshell</h1>
   </div>

    <p>So what exactly is an EPUB? If you follow electronic publishing at all, you’ve
undoubtedly run into the term, but you may have seen or heard it incorrectly being used
as a synonym for “ebook”&mdash;as a shorthand for talking about <span
class="emphasis"><em>electronic</em></span> <span class="emphasis"><em>books</
em></span>. Although the two terms share a common relation in electronic book
production, they aren’t interchangeable. EPUB, as we’re here to discover, is a <span
class="emphasis"><em>format</em></span> for representing documents in electronic
form. “Ebook,” on the other hand, is just an abstract term used to encompass any
electronic representation of a book, and includes formats such as PDF, HTML, ASCII
text, Word, and a host of others, in addition to EPUB.</p>


                                  O’Reilly, What Is EPUB 3 ?, http://goo.gl/X51CK
Sigil, http://code.google.com/p/sigil/
?
  ?

eBooks
         TXT, EPUB, MOBI, PDF, CHM, ...
Write once, read anywhere
$ make type=EPUB
$ make type=EPUB3
$ make type=MOBI
$ make type=KF8     $ make publish
$ make type=PDF     $ make money
$ make type=HTML
$ make type=CHM
$ make type=TXT
v.s.
                <h1>What is EPUB?</h1>
                <p>The most widely accepted format for
                ebooks today is EPUB, which is
                developed and maintained by the IDPF.
                You can find the official specification ...




Elizabeth Castro, EPUB Straight to the Point
<h1>What is EPUB?</h1>
 What is EPUB?(Heading)
    What is EPUB?
    What is EPUB?
What is EPUB?
============


The most widely accepted **format** for ebooks today is
EPUB, which is developed and maintained by the IDPF.


Ebook Formats
---------------


* epub
* pdf
* mobi
* html

                              WYSIWYG Plain Text
Chapter 1. What Is EPUB 3?
======================

EPUB 3 in a Nutshell
-----------------------------

So what exactly is an EPUB? If you follow electronic
publishing at all, youʼve undoubtedly run into the term, but you
may have seen or heard it incorrectly being used as a
synonym for “ebook” -- as a shorthand for talking about
**electronic books**. Although the two terms share a common
relation in electronic book production, they arenʼt
interchangeable.




                                       Sigil
Chapter 1. What Is EPUB 3?
======================

EPUB 3 in a Nutshell
-----------------------------

So what exactly is an EPUB? If you follow electronic
publishing at all, youʼve undoubtedly run into the term, but you
may have seen or heard it incorrectly being used as a
synonym for “ebook” -- as a shorthand for talking about
**electronic books**. Although the two terms share a common
relation in electronic book production, they arenʼt
interchangeable.




                                                  ?
1989




2010
Chapter 1. What Is EPUB 3?
==========================

EPUB 3 in a Nutshell
--------------------

So what exactly is an EPUB? If you follow electronic
publishing at all, you’ve undoubtedly run into the term,
but you may have seen or heard it incorrectly being used
as a synonym for “ebook” -- as a shorthand for talking
about **electronic books**. Although the two terms share
a common relation in electronic book production, they
aren’t interchangeable.

                                 Chapter 1. What Is EPUB 3?
                                 ======================

                                 EPUB 3 in a Nutshell
                                 -----------------------------

                                 So what exactly is an EPUB? If you follow electronic
                                 publishing at all, youʼve undoubtedly run into the term,
                                 but you may have seen or heard it incorrectly being used
                                 as a synonym for “ebook” -- as a shorthand for talking
                                 about **electronic books**. Although the two terms share
                                 a common relation in electronic book production, they
                                 arenʼt interchangeable.
Markdown

Syntax + Software
Text-to-HTML
easy-to-read
easy-to-write



          http://daringfireball.net/projects/markdown/
notepag.es
<h1>                          </h1>
==========

                   <h2>                               </h2>
------------




      Markdown   http://markdown.tw/ ,   http://goo.gl/0pBEy
>                           <blockquote>
>
>
>                                 </blockquote>




    http://markdown.tw/ ,    http://ce.fhl.net/desert/
<p>              </p>
                <ol>
                <li>            </li>
*
                <li>                            </li>
*
                <li>                    </li>
*
                <li>            </li>
*
                <li>                 </li>
                </ol>


                <p>            </p>
                <ul>
1.   !          <li>           </li>
2.         !    <li>           </li>
3.              <li>           </li>
4.              <li>           </li>
5.              </ul>

         http://markdown.tw/
**
                                   <p>                     <strong>   </
**   *       *        ***          strong>       <em>    </em> <strong>
     ***                           <em>              </em></strong>
                                     </p>
                                   <p>                     </p>




           Markdown      http://markdown.tw/ ,        http://goo.gl/0pBEy
![Cover](/path/to/img.jpg)



[Plurk](http://plurk.com/)
mouapp.com
Chapter 1. What Is EPUB 3?
           ======================


Markdown   EPUB 3 in a Nutshell
           -----------------------------




 ?
           So what exactly is an EPUB? If you
           follow electronic publishing at all,




eBooks
         TXT, EPUB, MOBI, PDF, CHM, ...
+
Pandoc a universal document converter
      pandoc -f markdown -t epub source.txt -o target.epub




Chapter 1. What Is EPUB 3?
======================

EPUB 3 in a Nutshell
-----------------------------

So what exactly is an EPUB? If you
follow electronic publishing at all,




                                Pandoc, http://johnmacfarlane.net/pandoc/
Pandoc a universal document converter

pandoc -f markdown -t epub source.txt -o target.epub




pandoc -f markdown -t html source.txt -o target.html




pandoc -f markdown -t latex source.txt -o target.tex
xelatex target.tex




                 Pandoc, http://johnmacfarlane.net/pandoc/
ePUB
  Markdown
Leanpub
Publish Early, Publish Often


   http://leanpub.com/
Book as a Service


     Service
!   plain t
                           !
 plain       ext pla
                     in text
            text             plain t
                                     ext pla
                     plain                   in text


      !                         text
                                         plain
                                                       text
                                                              RSS
     plain text plain xttext
                ext te          t             n
                     p l a i n ext     plai
             t e x t plain t
  p l a i n in text
         pla


                                                              ...




Continuous
Publishing
Contpub

Continuous
 Publishing


contpub.org
Contpub




          http://contpub.org/
Contpub




          http://contpub.org/
Contpub




          http://contpub.org/
Don't Reinvent The Wheel


  http://sphinx.pocoo.org/




                                    http://docutils.sourceforge.net/rst.html




    http://www.latex-project.org/               http://xmlgraphics.apache.org/fop/
     http://www.tug.org/texlive/
But...


          ?
 EPUB3?
Open source projects

sphinx-cook
sphinx-themes
SimaQian
CaiLun

  http://github.com/contpub
The End

More Related Content

What's hot

Get Thee Behind Me: Making BuddyPress do thine bidding
Get Thee Behind Me: Making BuddyPress do thine biddingGet Thee Behind Me: Making BuddyPress do thine bidding
Get Thee Behind Me: Making BuddyPress do thine biddingboonebgorges
 
WebShell - confoo 2011 - sean coates
WebShell - confoo 2011 - sean coatesWebShell - confoo 2011 - sean coates
WebShell - confoo 2011 - sean coatesBachkoutou Toutou
 
Wordpress Meetup 2 23 10
Wordpress Meetup 2 23 10Wordpress Meetup 2 23 10
Wordpress Meetup 2 23 10
boonebgorges
 
Introduction to python scrapping
Introduction to python scrappingIntroduction to python scrapping
Introduction to python scrapping
n|u - The Open Security Community
 
ACTC 2013 Website Building Notes
ACTC 2013 Website Building NotesACTC 2013 Website Building Notes
ACTC 2013 Website Building Notes
John Bentley, II
 
Web 2.0 Lessonplan Day1
Web 2.0 Lessonplan Day1Web 2.0 Lessonplan Day1
Web 2.0 Lessonplan Day1
Jesse Thomas
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
sunmitraeducation
 
SPDY
SPDYSPDY
With Great Nerdery Comes Great Responsibility
With Great Nerdery Comes Great Responsibility With Great Nerdery Comes Great Responsibility
With Great Nerdery Comes Great Responsibility
John Anderson
 
Theming for BuddyPress
Theming for BuddyPressTheming for BuddyPress
Theming for BuddyPressboonebgorges
 

What's hot (14)

Get Thee Behind Me: Making BuddyPress do thine bidding
Get Thee Behind Me: Making BuddyPress do thine biddingGet Thee Behind Me: Making BuddyPress do thine bidding
Get Thee Behind Me: Making BuddyPress do thine bidding
 
Phpvsjsp
PhpvsjspPhpvsjsp
Phpvsjsp
 
WebShell - confoo 2011 - sean coates
WebShell - confoo 2011 - sean coatesWebShell - confoo 2011 - sean coates
WebShell - confoo 2011 - sean coates
 
Wordpress Meetup 2 23 10
Wordpress Meetup 2 23 10Wordpress Meetup 2 23 10
Wordpress Meetup 2 23 10
 
Session no 1
Session no 1Session no 1
Session no 1
 
Introduction to python scrapping
Introduction to python scrappingIntroduction to python scrapping
Introduction to python scrapping
 
ACTC 2013 Website Building Notes
ACTC 2013 Website Building NotesACTC 2013 Website Building Notes
ACTC 2013 Website Building Notes
 
Web 2.0 Lessonplan Day1
Web 2.0 Lessonplan Day1Web 2.0 Lessonplan Day1
Web 2.0 Lessonplan Day1
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
SPDY
SPDYSPDY
SPDY
 
With Great Nerdery Comes Great Responsibility
With Great Nerdery Comes Great Responsibility With Great Nerdery Comes Great Responsibility
With Great Nerdery Comes Great Responsibility
 
Theming for BuddyPress
Theming for BuddyPressTheming for BuddyPress
Theming for BuddyPress
 
Session no 1 html
Session no 1 htmlSession no 1 html
Session no 1 html
 
API Design - 3rd Edition
API Design - 3rd EditionAPI Design - 3rd Edition
API Design - 3rd Edition
 

Viewers also liked

ethniciti: African-Inspired Home Fashion
ethniciti: African-Inspired Home Fashionethniciti: African-Inspired Home Fashion
ethniciti: African-Inspired Home Fashion
Jeffrey St. Clair
 
The Zulu Tribe
The Zulu TribeThe Zulu Tribe
The Zulu Tribe
Lucell Cornelious Dias
 
TRANSFORMATIONS IN SOUTHERN AFRICA AFTER 1750:Political revolution in the eas...
TRANSFORMATIONS IN SOUTHERN AFRICA AFTER 1750:Political revolution in the eas...TRANSFORMATIONS IN SOUTHERN AFRICA AFTER 1750:Political revolution in the eas...
TRANSFORMATIONS IN SOUTHERN AFRICA AFTER 1750:Political revolution in the eas...
Maretha Spies
 
Anglo zulu guda
Anglo zulu guda Anglo zulu guda
Anglo zulu guda
maiderrojo03
 
The zulu girl ppt
The zulu girl pptThe zulu girl ppt
The zulu girl ppt
Shreshtha Ramsout
 
PORTFOLIO
PORTFOLIOPORTFOLIO
PORTFOLIO
Adrija Chowdhury
 
African Culture
African CultureAfrican Culture
African Culture
marxer
 

Viewers also liked (8)

ethniciti: African-Inspired Home Fashion
ethniciti: African-Inspired Home Fashionethniciti: African-Inspired Home Fashion
ethniciti: African-Inspired Home Fashion
 
Zulu original
Zulu originalZulu original
Zulu original
 
The Zulu Tribe
The Zulu TribeThe Zulu Tribe
The Zulu Tribe
 
TRANSFORMATIONS IN SOUTHERN AFRICA AFTER 1750:Political revolution in the eas...
TRANSFORMATIONS IN SOUTHERN AFRICA AFTER 1750:Political revolution in the eas...TRANSFORMATIONS IN SOUTHERN AFRICA AFTER 1750:Political revolution in the eas...
TRANSFORMATIONS IN SOUTHERN AFRICA AFTER 1750:Political revolution in the eas...
 
Anglo zulu guda
Anglo zulu guda Anglo zulu guda
Anglo zulu guda
 
The zulu girl ppt
The zulu girl pptThe zulu girl ppt
The zulu girl ppt
 
PORTFOLIO
PORTFOLIOPORTFOLIO
PORTFOLIO
 
African Culture
African CultureAfrican Culture
African Culture
 

Similar to 開放源碼電子書與EPUB幕後排版

Plagger the duct tape of internet
Plagger the duct tape of internetPlagger the duct tape of internet
Plagger the duct tape of internet
Tatsuhiko Miyagawa
 
JSUG - Spring by Christoph Pickl
JSUG - Spring by Christoph PicklJSUG - Spring by Christoph Pickl
JSUG - Spring by Christoph Pickl
Christoph Pickl
 
Automate Yo'self -- SeaGL
Automate Yo'self -- SeaGL Automate Yo'self -- SeaGL
Automate Yo'self -- SeaGL
John Anderson
 
Automate Yo' Self
Automate Yo' SelfAutomate Yo' Self
Automate Yo' Self
John Anderson
 
Web As A Platform
Web As A PlatformWeb As A Platform
Web As A Platform
evgeny.morozov
 
ePUB 3 and Publishing e-books
ePUB 3 and Publishing e-booksePUB 3 and Publishing e-books
ePUB 3 and Publishing e-books
Kerem Karatal
 
Introduction To JSFL
Introduction To JSFLIntroduction To JSFL
Introduction To JSFL
George Profenza
 
How to use cache scope component
How to use cache scope componentHow to use cache scope component
How to use cache scope component
prathyusha vadla
 
Project gutenberg's the fables of la fontaine
Project gutenberg's the fables of la fontaineProject gutenberg's the fables of la fontaine
Project gutenberg's the fables of la fontaineAndrei Hortúa
 
YQL Overview
YQL OverviewYQL Overview
YQL Overview
Jonathan LeBlanc
 
Weird Plsql
Weird PlsqlWeird Plsql
Weird Plsql
webanddb
 
Bioinformatica 27-10-2011-p4-files
Bioinformatica 27-10-2011-p4-filesBioinformatica 27-10-2011-p4-files
Bioinformatica 27-10-2011-p4-files
Prof. Wim Van Criekinge
 
Unix shell scripting basics
Unix shell scripting basicsUnix shell scripting basics
Unix shell scripting basicsAbhay Sapru
 
Unix Shell Scripting Basics
Unix Shell Scripting BasicsUnix Shell Scripting Basics
Unix Shell Scripting BasicsDr.Ravi
 
Polyglot payloads in practice by avlidienbrunn at HackPra
Polyglot payloads in practice by avlidienbrunn at HackPraPolyglot payloads in practice by avlidienbrunn at HackPra
Polyglot payloads in practice by avlidienbrunn at HackPra
Mathias Karlsson
 
Demystifying Maven
Demystifying MavenDemystifying Maven
Demystifying Maven
Mike Desjardins
 
Creating Yahoo Mobile Widgets
Creating Yahoo Mobile WidgetsCreating Yahoo Mobile Widgets
Creating Yahoo Mobile Widgets
Ricardo Varela
 
Troubleshooting Plone
Troubleshooting PloneTroubleshooting Plone
Troubleshooting PloneRicado Alves
 

Similar to 開放源碼電子書與EPUB幕後排版 (20)

Plagger the duct tape of internet
Plagger the duct tape of internetPlagger the duct tape of internet
Plagger the duct tape of internet
 
PHP 5 Sucks. PHP 5 Rocks.
PHP 5 Sucks. PHP 5 Rocks.PHP 5 Sucks. PHP 5 Rocks.
PHP 5 Sucks. PHP 5 Rocks.
 
JSUG - Spring by Christoph Pickl
JSUG - Spring by Christoph PicklJSUG - Spring by Christoph Pickl
JSUG - Spring by Christoph Pickl
 
Automate Yo'self -- SeaGL
Automate Yo'self -- SeaGL Automate Yo'self -- SeaGL
Automate Yo'self -- SeaGL
 
Automate Yo' Self
Automate Yo' SelfAutomate Yo' Self
Automate Yo' Self
 
Web As A Platform
Web As A PlatformWeb As A Platform
Web As A Platform
 
ePUB 3 and Publishing e-books
ePUB 3 and Publishing e-booksePUB 3 and Publishing e-books
ePUB 3 and Publishing e-books
 
Introduction To JSFL
Introduction To JSFLIntroduction To JSFL
Introduction To JSFL
 
How to use cache scope component
How to use cache scope componentHow to use cache scope component
How to use cache scope component
 
Project gutenberg's the fables of la fontaine
Project gutenberg's the fables of la fontaineProject gutenberg's the fables of la fontaine
Project gutenberg's the fables of la fontaine
 
YQL Overview
YQL OverviewYQL Overview
YQL Overview
 
Weird Plsql
Weird PlsqlWeird Plsql
Weird Plsql
 
Basic Linux Configurations
Basic Linux ConfigurationsBasic Linux Configurations
Basic Linux Configurations
 
Bioinformatica 27-10-2011-p4-files
Bioinformatica 27-10-2011-p4-filesBioinformatica 27-10-2011-p4-files
Bioinformatica 27-10-2011-p4-files
 
Unix shell scripting basics
Unix shell scripting basicsUnix shell scripting basics
Unix shell scripting basics
 
Unix Shell Scripting Basics
Unix Shell Scripting BasicsUnix Shell Scripting Basics
Unix Shell Scripting Basics
 
Polyglot payloads in practice by avlidienbrunn at HackPra
Polyglot payloads in practice by avlidienbrunn at HackPraPolyglot payloads in practice by avlidienbrunn at HackPra
Polyglot payloads in practice by avlidienbrunn at HackPra
 
Demystifying Maven
Demystifying MavenDemystifying Maven
Demystifying Maven
 
Creating Yahoo Mobile Widgets
Creating Yahoo Mobile WidgetsCreating Yahoo Mobile Widgets
Creating Yahoo Mobile Widgets
 
Troubleshooting Plone
Troubleshooting PloneTroubleshooting Plone
Troubleshooting Plone
 

More from Kyle Lin

物件導向系統分析與設計(建國)
物件導向系統分析與設計(建國)物件導向系統分析與設計(建國)
物件導向系統分析與設計(建國)
Kyle Lin
 
淺談 Geb 網站自動化測試(JCConf 2014)
淺談 Geb 網站自動化測試(JCConf 2014)淺談 Geb 網站自動化測試(JCConf 2014)
淺談 Geb 網站自動化測試(JCConf 2014)
Kyle Lin
 
Android 智慧型手機程式設計
Android 智慧型手機程式設計Android 智慧型手機程式設計
Android 智慧型手機程式設計
Kyle Lin
 
淺談 Groovy 與 AWS 雲端應用開發整合
淺談 Groovy 與 AWS 雲端應用開發整合淺談 Groovy 與 AWS 雲端應用開發整合
淺談 Groovy 與 AWS 雲端應用開發整合
Kyle Lin
 
行動應用開發實務 - Gradle 介紹
行動應用開發實務 - Gradle 介紹行動應用開發實務 - Gradle 介紹
行動應用開發實務 - Gradle 介紹Kyle Lin
 
2013 TQC+ Java 認證研習簡報
2013 TQC+ Java 認證研習簡報2013 TQC+ Java 認證研習簡報
2013 TQC+ Java 認證研習簡報
Kyle Lin
 
FarmLogs 農場管理軟體預覽
FarmLogs 農場管理軟體預覽FarmLogs 農場管理軟體預覽
FarmLogs 農場管理軟體預覽
Kyle Lin
 
TQC+物件導向程式語言Java認證班(和春資工)
TQC+物件導向程式語言Java認證班(和春資工)TQC+物件導向程式語言Java認證班(和春資工)
TQC+物件導向程式語言Java認證班(和春資工)
Kyle Lin
 
Wiki 簡介與操作說明
Wiki 簡介與操作說明Wiki 簡介與操作說明
Wiki 簡介與操作說明Kyle Lin
 
Tqc+ 物件導向程式語言(java)認證研習會
Tqc+ 物件導向程式語言(java)認證研習會Tqc+ 物件導向程式語言(java)認證研習會
Tqc+ 物件導向程式語言(java)認證研習會Kyle Lin
 
ContPub 雲端電子書自助出版平台
ContPub 雲端電子書自助出版平台ContPub 雲端電子書自助出版平台
ContPub 雲端電子書自助出版平台
Kyle Lin
 
TQC+團報系統學生版(雲科資管)
TQC+團報系統學生版(雲科資管)TQC+團報系統學生版(雲科資管)
TQC+團報系統學生版(雲科資管)Kyle Lin
 
TQC+ Java 認證研習
TQC+ Java 認證研習TQC+ Java 認證研習
TQC+ Java 認證研習Kyle Lin
 
20101220架構討論
20101220架構討論20101220架構討論
20101220架構討論Kyle Lin
 
Asp net (1)
Asp net  (1)Asp net  (1)
Asp net (1)Kyle Lin
 
iisnode Test Drive
iisnode Test Driveiisnode Test Drive
iisnode Test Drive
Kyle Lin
 
TQC+ Java 全國教師研習會 PLWeb 介紹
TQC+ Java 全國教師研習會 PLWeb 介紹TQC+ Java 全國教師研習會 PLWeb 介紹
TQC+ Java 全國教師研習會 PLWeb 介紹
Kyle Lin
 
Modern Browser as a Programming Editor
Modern Browser as a Programming EditorModern Browser as a Programming Editor
Modern Browser as a Programming Editor
Kyle Lin
 

More from Kyle Lin (19)

物件導向系統分析與設計(建國)
物件導向系統分析與設計(建國)物件導向系統分析與設計(建國)
物件導向系統分析與設計(建國)
 
淺談 Geb 網站自動化測試(JCConf 2014)
淺談 Geb 網站自動化測試(JCConf 2014)淺談 Geb 網站自動化測試(JCConf 2014)
淺談 Geb 網站自動化測試(JCConf 2014)
 
Android 智慧型手機程式設計
Android 智慧型手機程式設計Android 智慧型手機程式設計
Android 智慧型手機程式設計
 
淺談 Groovy 與 AWS 雲端應用開發整合
淺談 Groovy 與 AWS 雲端應用開發整合淺談 Groovy 與 AWS 雲端應用開發整合
淺談 Groovy 與 AWS 雲端應用開發整合
 
行動應用開發實務 - Gradle 介紹
行動應用開發實務 - Gradle 介紹行動應用開發實務 - Gradle 介紹
行動應用開發實務 - Gradle 介紹
 
2013 TQC+ Java 認證研習簡報
2013 TQC+ Java 認證研習簡報2013 TQC+ Java 認證研習簡報
2013 TQC+ Java 認證研習簡報
 
FarmLogs 農場管理軟體預覽
FarmLogs 農場管理軟體預覽FarmLogs 農場管理軟體預覽
FarmLogs 農場管理軟體預覽
 
TQC+物件導向程式語言Java認證班(和春資工)
TQC+物件導向程式語言Java認證班(和春資工)TQC+物件導向程式語言Java認證班(和春資工)
TQC+物件導向程式語言Java認證班(和春資工)
 
Wiki 簡介與操作說明
Wiki 簡介與操作說明Wiki 簡介與操作說明
Wiki 簡介與操作說明
 
Tqc+ 物件導向程式語言(java)認證研習會
Tqc+ 物件導向程式語言(java)認證研習會Tqc+ 物件導向程式語言(java)認證研習會
Tqc+ 物件導向程式語言(java)認證研習會
 
ContPub 雲端電子書自助出版平台
ContPub 雲端電子書自助出版平台ContPub 雲端電子書自助出版平台
ContPub 雲端電子書自助出版平台
 
TQC+團報系統學生版(雲科資管)
TQC+團報系統學生版(雲科資管)TQC+團報系統學生版(雲科資管)
TQC+團報系統學生版(雲科資管)
 
TQC+ Java 認證研習
TQC+ Java 認證研習TQC+ Java 認證研習
TQC+ Java 認證研習
 
20101220架構討論
20101220架構討論20101220架構討論
20101220架構討論
 
Asp net (1)
Asp net  (1)Asp net  (1)
Asp net (1)
 
Asp net
Asp net Asp net
Asp net
 
iisnode Test Drive
iisnode Test Driveiisnode Test Drive
iisnode Test Drive
 
TQC+ Java 全國教師研習會 PLWeb 介紹
TQC+ Java 全國教師研習會 PLWeb 介紹TQC+ Java 全國教師研習會 PLWeb 介紹
TQC+ Java 全國教師研習會 PLWeb 介紹
 
Modern Browser as a Programming Editor
Modern Browser as a Programming EditorModern Browser as a Programming Editor
Modern Browser as a Programming Editor
 

Recently uploaded

PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 

Recently uploaded (20)

PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 

開放源碼電子書與EPUB幕後排版

  • 1. ePUB /
  • 3. Work e PLWeb , http://plweb.org/
  • 4. Java , http://java.plweb.org/
  • 6. if (pci_read_config_byte(pdev, ET1310_PCI_EEPROM_STATUS, &eestatus)) { dev_err(&pdev->dev, "Could not read PCI config space for EEPROM Statusn"); return -EIO; } /* Determine if the error(s) we care about are present. If they are * present we need to fail. */ if (eestatus & 0x4C) { int write_failed = 0; if (pdev->revision == 0x01) { int i; static const u8 eedata[4] = { 0xFE, 0x13, 0x10, 0xFF }; /* Re-write the first 4 bytes if we have an eeprom * present and the revision id is 1, this fixes the * corruption seen with 1310 B Silicon */ for (i = 0; i < 3; i++) if (eeprom_write(adapter, i, eedata[i]) < 0) write_failed = 1; } if (pdev->revision != 0x01 || write_failed) { dev_err(&pdev->dev, "Fatal EEPROM Status Error - 0x%04xn", eestatus); /* This error could mean that there was an error * reading the eeprom or that the eeprom doesn't exist. * We will treat each case the same and not try to * gather additional information that normally would * come from the eeprom, like MAC Address */ adapter->has_eeprom = 0; return -EIO; }
  • 8. HTML5 CSS3 JavaScript Appcelerator Titanium Mobile App Appcelerator Titanium, http://www.appcelerator.com/
  • 9. Write once, run anywhere
  • 10. $ make os=MACOSX $ make os=LINUX $ make os=WINDOWS $ make os=SOLARIS $ make deploy $ make money
  • 12. <?xml version="1.0"?> <package version="2.0" xmlns="http://www.idpf.org/2007/opf" unique-identifier="BookId"> <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf"> <dc:title>Pride and Prejudice</dc:title> <dc:language>en</dc:language> <dc:identifier id="BookId" opf:scheme="ISBN">123456789X</dc:identifier> <dc:creator opf:file-as="Austen, Jane" opf:role="aut">Jane Austen</dc:creator> </metadata> <manifest> <item id="chapter1" href="chapter1.xhtml" media-type="application/xhtml+xml"/> <item id="stylesheet" href="style.css" media-type="text/css"/> <item id="ch1-pic" href="ch1-pic.png" media-type="image/png"/> <item id="myfont" href="css/myfont.otf" media-type="application/x-font-opentype"/> <item id="ncx" href="book.ncx" media-type="application/x-dtbncx+xml"/> </manifest> <spine toc="ncx"> <itemref idref="chapter1" /> </spine> <guide> <reference type="loi" title="List Of Illustrations" href="appendix.html#figures" /> </guide> </package>
  • 13. <body> <div class="chapter" title="Chapter&nbsp;1.&nbsp;What Is EPUB 3?"> <div class="titlepage"> <h1 class="title"><a id="what_is_epub_3_question"></a>What Is EPUB 3?</h1> </div> <div class="sect1" title="EPUB 3 in a Nutshell"> <div class="titlepage"> <h1 class="title"><a id="epub_3_in_a_nutshell"></a>EPUB 3 in a Nutshell</h1> </div> <p>So what exactly is an EPUB? If you follow electronic publishing at all, you’ve undoubtedly run into the term, but you may have seen or heard it incorrectly being used as a synonym for “ebook”&mdash;as a shorthand for talking about <span class="emphasis"><em>electronic</em></span> <span class="emphasis"><em>books</ em></span>. Although the two terms share a common relation in electronic book production, they aren’t interchangeable. EPUB, as we’re here to discover, is a <span class="emphasis"><em>format</em></span> for representing documents in electronic form. “Ebook,” on the other hand, is just an abstract term used to encompass any electronic representation of a book, and includes formats such as PDF, HTML, ASCII text, Word, and a host of others, in addition to EPUB.</p> O’Reilly, What Is EPUB 3 ?, http://goo.gl/X51CK
  • 15. ? ? eBooks TXT, EPUB, MOBI, PDF, CHM, ...
  • 16. Write once, read anywhere
  • 17. $ make type=EPUB $ make type=EPUB3 $ make type=MOBI $ make type=KF8 $ make publish $ make type=PDF $ make money $ make type=HTML $ make type=CHM $ make type=TXT
  • 18.
  • 19. v.s. <h1>What is EPUB?</h1> <p>The most widely accepted format for ebooks today is EPUB, which is developed and maintained by the IDPF. You can find the official specification ... Elizabeth Castro, EPUB Straight to the Point
  • 20. <h1>What is EPUB?</h1> What is EPUB?(Heading) What is EPUB? What is EPUB?
  • 21. What is EPUB? ============ The most widely accepted **format** for ebooks today is EPUB, which is developed and maintained by the IDPF. Ebook Formats --------------- * epub * pdf * mobi * html WYSIWYG Plain Text
  • 22. Chapter 1. What Is EPUB 3? ====================== EPUB 3 in a Nutshell ----------------------------- So what exactly is an EPUB? If you follow electronic publishing at all, youʼve undoubtedly run into the term, but you may have seen or heard it incorrectly being used as a synonym for “ebook” -- as a shorthand for talking about **electronic books**. Although the two terms share a common relation in electronic book production, they arenʼt interchangeable. Sigil
  • 23. Chapter 1. What Is EPUB 3? ====================== EPUB 3 in a Nutshell ----------------------------- So what exactly is an EPUB? If you follow electronic publishing at all, youʼve undoubtedly run into the term, but you may have seen or heard it incorrectly being used as a synonym for “ebook” -- as a shorthand for talking about **electronic books**. Although the two terms share a common relation in electronic book production, they arenʼt interchangeable. ?
  • 25. Chapter 1. What Is EPUB 3? ========================== EPUB 3 in a Nutshell -------------------- So what exactly is an EPUB? If you follow electronic publishing at all, you’ve undoubtedly run into the term, but you may have seen or heard it incorrectly being used as a synonym for “ebook” -- as a shorthand for talking about **electronic books**. Although the two terms share a common relation in electronic book production, they aren’t interchangeable. Chapter 1. What Is EPUB 3? ====================== EPUB 3 in a Nutshell ----------------------------- So what exactly is an EPUB? If you follow electronic publishing at all, youʼve undoubtedly run into the term, but you may have seen or heard it incorrectly being used as a synonym for “ebook” -- as a shorthand for talking about **electronic books**. Although the two terms share a common relation in electronic book production, they arenʼt interchangeable.
  • 26. Markdown Syntax + Software Text-to-HTML easy-to-read easy-to-write http://daringfireball.net/projects/markdown/
  • 28. <h1> </h1> ========== <h2> </h2> ------------ Markdown http://markdown.tw/ , http://goo.gl/0pBEy
  • 29. > <blockquote> > > > </blockquote> http://markdown.tw/ , http://ce.fhl.net/desert/
  • 30. <p> </p> <ol> <li> </li> * <li> </li> * <li> </li> * <li> </li> * <li> </li> </ol> <p> </p> <ul> 1. ! <li> </li> 2. ! <li> </li> 3. <li> </li> 4. <li> </li> 5. </ul> http://markdown.tw/
  • 31. ** <p> <strong> </ ** * * *** strong> <em> </em> <strong> *** <em> </em></strong> </p> <p> </p> Markdown http://markdown.tw/ , http://goo.gl/0pBEy
  • 34. Chapter 1. What Is EPUB 3? ====================== Markdown EPUB 3 in a Nutshell ----------------------------- ? So what exactly is an EPUB? If you follow electronic publishing at all, eBooks TXT, EPUB, MOBI, PDF, CHM, ...
  • 35. +
  • 36. Pandoc a universal document converter pandoc -f markdown -t epub source.txt -o target.epub Chapter 1. What Is EPUB 3? ====================== EPUB 3 in a Nutshell ----------------------------- So what exactly is an EPUB? If you follow electronic publishing at all, Pandoc, http://johnmacfarlane.net/pandoc/
  • 37. Pandoc a universal document converter pandoc -f markdown -t epub source.txt -o target.epub pandoc -f markdown -t html source.txt -o target.html pandoc -f markdown -t latex source.txt -o target.tex xelatex target.tex Pandoc, http://johnmacfarlane.net/pandoc/
  • 38.
  • 40. Leanpub Publish Early, Publish Often http://leanpub.com/
  • 41. Book as a Service Service
  • 42. ! plain t ! plain ext pla in text text plain t ext pla plain in text ! text plain text RSS plain text plain xttext ext te t n p l a i n ext plai t e x t plain t p l a i n in text pla ... Continuous Publishing
  • 44. Contpub http://contpub.org/
  • 45. Contpub http://contpub.org/
  • 46. Contpub http://contpub.org/
  • 47. Don't Reinvent The Wheel http://sphinx.pocoo.org/ http://docutils.sourceforge.net/rst.html http://www.latex-project.org/ http://xmlgraphics.apache.org/fop/ http://www.tug.org/texlive/
  • 48. But... ? EPUB3?