Changes

Jump to navigation Jump to search
1,358 bytes added ,  12:45, 17 January 2015
enhance "useful example", list TODOs
</texcode>
= Minimal useful Useful example = WORK IN PROGRESS
<texcode>
% mode=mkiv
\mainlanguage[en]
\setupbackend[export=yes]
 \setupmainlanguagesetupexport[en hyphen=yes, % This metadata is actually used for the ePub title={My first eBook 1}, subtitle={}, author={Hans 1}]\settaggedmetadata[ % here you can set as many metadata entries as you like, but you need to process them yourself title={My first eBook 2}, author={Hans 2}, subtitle={}, version={\date} % TODO: doesn’t expand]\setupinteraction[state=start, color=,contrastcolor=, % This metadata is used for the PDF title={My first eBook 3}, subtitle={}, keywords={}, author={Hans 3}] \definehighlight[emph][style=italic] % use \emph{something} instead of {\em something}
\starttext
\startchapter[title=Tufte]
\startparagraph
\input tufte
\stopparagraph
\stopchapter
 
\startchapter[title=Quoth\footnote{by Edgar Allan Poe}]
\startlines
\quotation{Prophet!} said I, \quotation{thing of evil!—prophet still, if bird or devil!
By that Heaven that bends above us—by that God we both adore—
Tell this soul with sorrow laden if, within the distant Aidenn,
It shall clasp a sainted maiden whom the angels name Lenore—
Clasp a rare and radiant maiden whom the angels name Lenore.}
\emph{Quoth the Raven \quotation{Nevermore.}}
\stoplines
\stopchapter
 
\stoptext
</texcode>
 
Only now we find significant differences between the three content output files:
 
(WORK IN PROGRESS)
 
= Further read =
 
Create extra pages for
* [[ePub_Cover]]
* [[ePub_ToC]]
* [[ePub_Readers]]
* [[ePub_Styling]]
* [[ePub_Images]]
* [[ePub_XML_Workflow]]

Navigation menu