SlideShare a Scribd company logo
1 of 19
Larry cai <larry.caiyu@gmail.com>
Agenda
 Environment
 Exercise

1: generate book
 Exercise 2: add your own into the books (workflow)
 Exercise 3: add more things using markdown
 Exercise 4: Hello World in Latex
 Exercise 5: Change color for header/footer
 Exercise 6: Table in MultiMarkdown
 Reference

2

Learn MultiMarkdown to Book
Environment @ Windows


Git Bash (unix env)




Editor




MarkdownPad http://markdownpad.com/

MultiMarkdown




http://git-scm.com

http://fletcherpenney.net/multimarkdown

Latex


3

MiKTex: http://www.miktex.org/portable

Learn MultiMarkdown to Book
Exercise 1 – Generate Book PDF


(120M) is provided for
multimarkdown+MiKTex environment
mmdtex-2.9.5105.tar.gz

$ tar –zxvf mmdtex-2.9.5105.tar.gz –C /c # extract to c:

 In Windows

Explorer, run C:mmdtexMiKTexmiktex-

portable.cmd

 Right

click miktex icon

-> Options -> Refresh FNDB

 Generate
$
$
$
$

source /c/mmdtex/env.sh
git clone git@github.com:larrycai/sdcamp.git
cd sdcamp
./mmd2bok

 Open
4

book

sdcamp.pdf
Learn MultiMarkdown to Book
HOWTO: mmdtex-2.9.5105.tar.gz


Download MultiMarkdown portable version
http://fletcherpenney.net/multimarkdown/download/
c:mmdtexMultiMarkdown



Download MiKTex Windows Portable version 2.9.5105
http://www.miktex.org/portable
c:mmdtexMiKTex



Add c:mmdtexenv.sh

$ cat env.sh
MMDTEX_BASE=/c/mmdtex
export PATH=${MMDTEX_BASE}/MiKTex/miktex/bin:$
{MMDTEX_BASE}/MultiMarkdown:$PATH




Run Exercise 1 to get latex package automatically
Then
$ tar –zcvf mmdtex-2.9.5105.tar.gz mmdtex

5

Learn MultiMarkdown to Book
Workflow

Latex Template

Markdown

multimarkdown
Latex

xelatex

Book content



Take a look at the script mmd2bok

6

Learn MultiMarkdown to Book

PDF
Exercise 2: add one chapter



Edit sdcamp/contents/*.markdown
Change contexts in Preface/Chapters/Appendix and build
again

MarkdownPad is the best markdown editor
in Windows – Simple, Clean

7

Learn MultiMarkdown to Book
Learn markdown





Markdown is a text-to-HTML conversion tool for web
writers.
Markdown allows you to write using an easy-to-read,
easy-to-write plain text format, then convert it to
structurally valid XHTML 
Others: rST (reStructuredText) , asciidoc are similar to
markdown

8

Learn MultiMarkdown to Book
Markdown syntax

http://packetlife.net/media/library/16/Markdown.pdf
Book structure
 Front-cover

& Back-cover
 Preface/Forward/Acknowledgement
 Contents
 Main chapters
 Appendix/Glossary/Bibliography

10

Learn MultiMarkdown to Book
Exercise 3: Markdown
 Add

code section
 Add extra subsection
 Add bullet
 Add image


![ 敏捷宣言 ](../img/xxx)

 Build

11

again

Learn MultiMarkdown to Book
LaTeX in short

12

Learn MultiMarkdown to Book
Exercise 4: Latex hello World
 Open

TeXworks
 Create file hello.tex
documentclass[11pt,a4paper]{article}
usepackage{fontspec}
setmainfont{Microsoft YaHei}
begin{document}
世界 , 你好 !
end{document}
 Or

$ xelatex hello.tex
 See template template/template-win.tex
 See other latex latex/chapters.tex
13

Learn MultiMarkdown to Book
Latex Fonts
 Fonts

textrm{...} roman
 textsf{...} sans serif
 textbf{...} bold face
 textnormal{...} document font


 Size

tiny tiny font
 footnotesize quite small font
 small , normalsize normal font


 中文

楷体,宋体,黑体


14

$ fc-list :lang=zh-cn

Learn MultiMarkdown to Book
Exercise 5: Update template
 Footer/header

– to change color and position
L: Left, E: Even

fancyhf{}
fancyhead[LE]
{color{colorheader}quadsmalltextbfthepagequadquadsmallleftmark}
fancyhead[RO]
{color{colorheader}smallrightmarkquadquadsmalltextbfthepagequad}
%fancyhead[RE,LO]{color{colorheader}small{savedtitle}} % book title
%fancyfoot[LE,RO]{smalltextbfthepage} % page number
%renewcommand{headrulewidth}{0.4pt} % add one line
pagestyle{fancy}

15

Learn MultiMarkdown to Book
MultiMarkdown




MultiMarkdown, or MMD, is a tool to help turn minimally
marked-up plain text into well formatted documents,
including HTML, PDF (by way ofLaTeX) …
MMD is a superset of the Markdown syntax,



Table/Footnote/Image control …
Code ..

http://fletcherpenney.net/multimarkdown
16

Learn MultiMarkdown to Book
Exercise 6: Add table


Add table

| First Header |
| :----------| First row
| Second row
[simple_table]

Second Header |
| :-----------:
| Data
| **Cell**

Third Header
|
| -------------------: |
| Very long data entry |
| *Cell*
|

https://rawgithub.com/fletcher/human-markdown-reference/master/index.html

17

Learn MultiMarkdown to Book
Reference
 Markdown
 Standard

markdown:
http://daringfireball.net/projects/markdown/
 Github flavored markdown:
http://github.github.com/github-flavored-markdown/
 Multimarkdown: http://fletcherpenney.net/multimarkdown
 MarkdownPad: http://markdownpad.com/
 Latex: http://www.latex-project.org/intro.html
 MiKTex: http://www.miktex.org/portable
 My

projects

 https://github.com/larrycai/sdcamp
 https://github.com/larrycai/latex-support

18

Learn MultiMarkdown to Book
Other platform: Ubuntu/MacOS (TBD)


https://github.com/larrycai/sdcamp/blob/master/BUILD.md

19

Learn MultiMarkdown to Book

More Related Content

What's hot

Controlling multiple VMs with the power of Python
Controlling multiple VMs with the power of PythonControlling multiple VMs with the power of Python
Controlling multiple VMs with the power of PythonYurii Vasylenko
 
Web develop in flask
Web develop in flaskWeb develop in flask
Web develop in flaskJim Yeh
 
Basic testing with selenium
Basic testing with seleniumBasic testing with selenium
Basic testing with seleniumSøren Lund
 
Web development automatisation for fun and profit (Artem Daniliants)
Web development automatisation for fun and profit (Artem Daniliants)Web development automatisation for fun and profit (Artem Daniliants)
Web development automatisation for fun and profit (Artem Daniliants)LumoSpark
 
Php psr standard 2014 01-22
Php psr standard 2014 01-22Php psr standard 2014 01-22
Php psr standard 2014 01-22Võ Duy Tuấn
 
Introduction to WP-CLI: Manage WordPress from the command line
Introduction to WP-CLI: Manage WordPress from the command lineIntroduction to WP-CLI: Manage WordPress from the command line
Introduction to WP-CLI: Manage WordPress from the command lineBehzod Saidov
 
Python virtualenv & pip in 90 minutes
Python virtualenv & pip in 90 minutesPython virtualenv & pip in 90 minutes
Python virtualenv & pip in 90 minutesLarry Cai
 
Making environment for_infrastructure_as_code
Making environment for_infrastructure_as_codeMaking environment for_infrastructure_as_code
Making environment for_infrastructure_as_codeSoshi Nemoto
 
Ruby Projects and Libraries
Ruby Projects and LibrariesRuby Projects and Libraries
Ruby Projects and LibrariesVorleak Chy
 
The MetaCPAN VM for Dummies Part One (Installation)
The MetaCPAN VM for Dummies Part One (Installation)The MetaCPAN VM for Dummies Part One (Installation)
The MetaCPAN VM for Dummies Part One (Installation)Olaf Alders
 
Shared Object images in Docker: What you need is what you want.
Shared Object images in Docker: What you need is what you want.Shared Object images in Docker: What you need is what you want.
Shared Object images in Docker: What you need is what you want.Workhorse Computing
 
Groovy - Grails as a modern scripting language for Web applications
Groovy - Grails as a modern scripting language for Web applicationsGroovy - Grails as a modern scripting language for Web applications
Groovy - Grails as a modern scripting language for Web applicationsIndicThreads
 
Assurer - a pluggable server testing/monitoring framework
Assurer - a pluggable server testing/monitoring frameworkAssurer - a pluggable server testing/monitoring framework
Assurer - a pluggable server testing/monitoring frameworkGosuke Miyashita
 
Dependency management with Composer
Dependency management with ComposerDependency management with Composer
Dependency management with ComposerJason Grimes
 
What The Flask? and how to use it with some Google APIs
What The Flask? and how to use it with some Google APIsWhat The Flask? and how to use it with some Google APIs
What The Flask? and how to use it with some Google APIsBruno Rocha
 
Learning Puppet Chapter 1
Learning Puppet Chapter 1Learning Puppet Chapter 1
Learning Puppet Chapter 1Vishal Biyani
 
How Danga::Socket handles asynchronous processing and how to write asynchrono...
How Danga::Socket handles asynchronous processing and how to write asynchrono...How Danga::Socket handles asynchronous processing and how to write asynchrono...
How Danga::Socket handles asynchronous processing and how to write asynchrono...Gosuke Miyashita
 

What's hot (20)

Controlling multiple VMs with the power of Python
Controlling multiple VMs with the power of PythonControlling multiple VMs with the power of Python
Controlling multiple VMs with the power of Python
 
Web develop in flask
Web develop in flaskWeb develop in flask
Web develop in flask
 
Installing AtoM with Ansible
Installing AtoM with AnsibleInstalling AtoM with Ansible
Installing AtoM with Ansible
 
Maven 3.0 at Øredev
Maven 3.0 at ØredevMaven 3.0 at Øredev
Maven 3.0 at Øredev
 
Basic testing with selenium
Basic testing with seleniumBasic testing with selenium
Basic testing with selenium
 
Web development automatisation for fun and profit (Artem Daniliants)
Web development automatisation for fun and profit (Artem Daniliants)Web development automatisation for fun and profit (Artem Daniliants)
Web development automatisation for fun and profit (Artem Daniliants)
 
Php psr standard 2014 01-22
Php psr standard 2014 01-22Php psr standard 2014 01-22
Php psr standard 2014 01-22
 
Introduction to WP-CLI: Manage WordPress from the command line
Introduction to WP-CLI: Manage WordPress from the command lineIntroduction to WP-CLI: Manage WordPress from the command line
Introduction to WP-CLI: Manage WordPress from the command line
 
Python virtualenv & pip in 90 minutes
Python virtualenv & pip in 90 minutesPython virtualenv & pip in 90 minutes
Python virtualenv & pip in 90 minutes
 
Making environment for_infrastructure_as_code
Making environment for_infrastructure_as_codeMaking environment for_infrastructure_as_code
Making environment for_infrastructure_as_code
 
Ruby Projects and Libraries
Ruby Projects and LibrariesRuby Projects and Libraries
Ruby Projects and Libraries
 
The MetaCPAN VM for Dummies Part One (Installation)
The MetaCPAN VM for Dummies Part One (Installation)The MetaCPAN VM for Dummies Part One (Installation)
The MetaCPAN VM for Dummies Part One (Installation)
 
Shared Object images in Docker: What you need is what you want.
Shared Object images in Docker: What you need is what you want.Shared Object images in Docker: What you need is what you want.
Shared Object images in Docker: What you need is what you want.
 
Groovy - Grails as a modern scripting language for Web applications
Groovy - Grails as a modern scripting language for Web applicationsGroovy - Grails as a modern scripting language for Web applications
Groovy - Grails as a modern scripting language for Web applications
 
Assurer - a pluggable server testing/monitoring framework
Assurer - a pluggable server testing/monitoring frameworkAssurer - a pluggable server testing/monitoring framework
Assurer - a pluggable server testing/monitoring framework
 
Dependency management with Composer
Dependency management with ComposerDependency management with Composer
Dependency management with Composer
 
What The Flask? and how to use it with some Google APIs
What The Flask? and how to use it with some Google APIsWhat The Flask? and how to use it with some Google APIs
What The Flask? and how to use it with some Google APIs
 
Learning Puppet Chapter 1
Learning Puppet Chapter 1Learning Puppet Chapter 1
Learning Puppet Chapter 1
 
How Danga::Socket handles asynchronous processing and how to write asynchrono...
How Danga::Socket handles asynchronous processing and how to write asynchrono...How Danga::Socket handles asynchronous processing and how to write asynchrono...
How Danga::Socket handles asynchronous processing and how to write asynchrono...
 
Designing net-aws-glacier
Designing net-aws-glacierDesigning net-aws-glacier
Designing net-aws-glacier
 

Viewers also liked

CommonMark: Markdown Done Right
CommonMark: Markdown Done RightCommonMark: Markdown Done Right
CommonMark: Markdown Done RightColin O'Dell
 
Markdown可以做什麼
Markdown可以做什麼Markdown可以做什麼
Markdown可以做什麼Yen-lung Tsai
 
Let's learning Markdown
Let's learning MarkdownLet's learning Markdown
Let's learning MarkdownWanqiang Ji
 
CommonMark: Markdown done right - Nomad PHP September 2016
CommonMark: Markdown done right - Nomad PHP September 2016CommonMark: Markdown done right - Nomad PHP September 2016
CommonMark: Markdown done right - Nomad PHP September 2016Colin O'Dell
 
Markdown - friend or foe?
Markdown - friend or foe?Markdown - friend or foe?
Markdown - friend or foe?Ellis Pratt
 
How to make keynote like presentation with markdown
How to make keynote like presentation with markdownHow to make keynote like presentation with markdown
How to make keynote like presentation with markdownHiroaki NAKADA
 
The Making of Likeonomics - How To Sell And Write A Book
The Making of Likeonomics - How To Sell And Write A BookThe Making of Likeonomics - How To Sell And Write A Book
The Making of Likeonomics - How To Sell And Write A BookRohit Bhargava
 
What is mmd - Multi Markdown ?
What is mmd - Multi Markdown ?What is mmd - Multi Markdown ?
What is mmd - Multi Markdown ?Luc Vanrobays
 
MC0088 Internal Assignment (SMU)
MC0088 Internal Assignment (SMU)MC0088 Internal Assignment (SMU)
MC0088 Internal Assignment (SMU)Krishan Pareek
 
Dmm117 – SAP HANA Processing Services Text Spatial Graph Series and Predictive
Dmm117 – SAP HANA Processing Services Text Spatial Graph Series and PredictiveDmm117 – SAP HANA Processing Services Text Spatial Graph Series and Predictive
Dmm117 – SAP HANA Processing Services Text Spatial Graph Series and PredictiveLuc Vanrobays
 
Markdown vs. WYSIWYG - Stop using the web like a word document
Markdown vs. WYSIWYG - Stop using the web like a word document Markdown vs. WYSIWYG - Stop using the web like a word document
Markdown vs. WYSIWYG - Stop using the web like a word document Zensations GmbH
 
markedj: The best of markdown processor on JVM
markedj: The best of markdown processor on JVMmarkedj: The best of markdown processor on JVM
markedj: The best of markdown processor on JVMtakezoe
 
An introduction to knitr and R Markdown
An introduction to knitr and R MarkdownAn introduction to knitr and R Markdown
An introduction to knitr and R Markdownsahirbhatnagar
 
Learn jobDSL for Jenkins
Learn jobDSL for JenkinsLearn jobDSL for Jenkins
Learn jobDSL for JenkinsLarry Cai
 
20161024 R語言資料分析實務 (3)
20161024 R語言資料分析實務 (3)20161024 R語言資料分析實務 (3)
20161024 R語言資料分析實務 (3)羅左欣
 

Viewers also liked (20)

CommonMark: Markdown Done Right
CommonMark: Markdown Done RightCommonMark: Markdown Done Right
CommonMark: Markdown Done Right
 
Markdown可以做什麼
Markdown可以做什麼Markdown可以做什麼
Markdown可以做什麼
 
Let's learning Markdown
Let's learning MarkdownLet's learning Markdown
Let's learning Markdown
 
Markdown – An Introduction
Markdown – An IntroductionMarkdown – An Introduction
Markdown – An Introduction
 
CommonMark: Markdown done right - Nomad PHP September 2016
CommonMark: Markdown done right - Nomad PHP September 2016CommonMark: Markdown done right - Nomad PHP September 2016
CommonMark: Markdown done right - Nomad PHP September 2016
 
Take it easy with markdown
Take it easy with markdownTake it easy with markdown
Take it easy with markdown
 
Markdown - friend or foe?
Markdown - friend or foe?Markdown - friend or foe?
Markdown - friend or foe?
 
How to make keynote like presentation with markdown
How to make keynote like presentation with markdownHow to make keynote like presentation with markdown
How to make keynote like presentation with markdown
 
The Making of Likeonomics - How To Sell And Write A Book
The Making of Likeonomics - How To Sell And Write A BookThe Making of Likeonomics - How To Sell And Write A Book
The Making of Likeonomics - How To Sell And Write A Book
 
What is mmd - Multi Markdown ?
What is mmd - Multi Markdown ?What is mmd - Multi Markdown ?
What is mmd - Multi Markdown ?
 
MC0088 Internal Assignment (SMU)
MC0088 Internal Assignment (SMU)MC0088 Internal Assignment (SMU)
MC0088 Internal Assignment (SMU)
 
Markdown入門
Markdown入門Markdown入門
Markdown入門
 
Dmm117 – SAP HANA Processing Services Text Spatial Graph Series and Predictive
Dmm117 – SAP HANA Processing Services Text Spatial Graph Series and PredictiveDmm117 – SAP HANA Processing Services Text Spatial Graph Series and Predictive
Dmm117 – SAP HANA Processing Services Text Spatial Graph Series and Predictive
 
Markdown vs. WYSIWYG - Stop using the web like a word document
Markdown vs. WYSIWYG - Stop using the web like a word document Markdown vs. WYSIWYG - Stop using the web like a word document
Markdown vs. WYSIWYG - Stop using the web like a word document
 
markedj: The best of markdown processor on JVM
markedj: The best of markdown processor on JVMmarkedj: The best of markdown processor on JVM
markedj: The best of markdown processor on JVM
 
Markdown Slides [EN]
Markdown Slides [EN]Markdown Slides [EN]
Markdown Slides [EN]
 
An introduction to knitr and R Markdown
An introduction to knitr and R MarkdownAn introduction to knitr and R Markdown
An introduction to knitr and R Markdown
 
Write a book in 40 hours - YES it works!
Write a book in 40 hours - YES it works!Write a book in 40 hours - YES it works!
Write a book in 40 hours - YES it works!
 
Learn jobDSL for Jenkins
Learn jobDSL for JenkinsLearn jobDSL for Jenkins
Learn jobDSL for Jenkins
 
20161024 R語言資料分析實務 (3)
20161024 R語言資料分析實務 (3)20161024 R語言資料分析實務 (3)
20161024 R語言資料分析實務 (3)
 

Similar to Learn MultiMarkdown to Create Books

Similar to Learn MultiMarkdown to Create Books (20)

Write effectlively in late x
Write effectlively in late xWrite effectlively in late x
Write effectlively in late x
 
documents writing with LATEX
documents writing with LATEXdocuments writing with LATEX
documents writing with LATEX
 
Exp_3_20BCA1066 Linux.docx
Exp_3_20BCA1066 Linux.docxExp_3_20BCA1066 Linux.docx
Exp_3_20BCA1066 Linux.docx
 
Fullstack Academy - Awesome Web Dev Tips & Tricks
Fullstack Academy - Awesome Web Dev Tips & TricksFullstack Academy - Awesome Web Dev Tips & Tricks
Fullstack Academy - Awesome Web Dev Tips & Tricks
 
Exp_3_20BCA1311 Linux Labbyharshdeep.docx
Exp_3_20BCA1311 Linux Labbyharshdeep.docxExp_3_20BCA1311 Linux Labbyharshdeep.docx
Exp_3_20BCA1311 Linux Labbyharshdeep.docx
 
Sample pdf
Sample pdfSample pdf
Sample pdf
 
SAMPDF 1
SAMPDF 1SAMPDF 1
SAMPDF 1
 
sample.pdf
sample.pdfsample.pdf
sample.pdf
 
sample.pdf
sample.pdfsample.pdf
sample.pdf
 
11p2
11p211p2
11p2
 
sample.pdf
sample.pdfsample.pdf
sample.pdf
 
sample.pdf
sample.pdfsample.pdf
sample.pdf
 
Sample pdf
Sample pdfSample pdf
Sample pdf
 
pdf
pdfpdf
pdf
 
sample.pdf
sample.pdfsample.pdf
sample.pdf
 
new.pdf
new.pdfnew.pdf
new.pdf
 
sample.pdf
sample.pdfsample.pdf
sample.pdf
 
123
123123
123
 
12p
12p12p
12p
 
sample.pdf
sample.pdfsample.pdf
sample.pdf
 

More from Larry Cai

Learn kubernetes in 90 minutes
Learn kubernetes in 90 minutesLearn kubernetes in 90 minutes
Learn kubernetes in 90 minutesLarry Cai
 
Learn RabbitMQ with Python in 90mins
Learn RabbitMQ with Python in 90minsLearn RabbitMQ with Python in 90mins
Learn RabbitMQ with Python in 90minsLarry Cai
 
Learn ELK in docker
Learn ELK in dockerLearn ELK in docker
Learn ELK in dockerLarry Cai
 
Software Engineer Talk
Software Engineer TalkSoftware Engineer Talk
Software Engineer TalkLarry Cai
 
Learn nginx in 90mins
Learn nginx in 90minsLearn nginx in 90mins
Learn nginx in 90minsLarry Cai
 
Learn basic ansible using docker
Learn basic ansible using dockerLearn basic ansible using docker
Learn basic ansible using dockerLarry Cai
 
Build service with_docker_in_90mins
Build service with_docker_in_90minsBuild service with_docker_in_90mins
Build service with_docker_in_90minsLarry Cai
 
Learn docker in 90 minutes
Learn docker in 90 minutesLearn docker in 90 minutes
Learn docker in 90 minutesLarry Cai
 
Learn Dashing Widget in 90 minutes
Learn Dashing Widget in 90 minutesLearn Dashing Widget in 90 minutes
Learn Dashing Widget in 90 minutesLarry Cai
 
Learn REST API with Python
Learn REST API with PythonLearn REST API with Python
Learn REST API with PythonLarry Cai
 
Jenkins Scriptler in 90mins
Jenkins Scriptler in 90minsJenkins Scriptler in 90mins
Jenkins Scriptler in 90minsLarry Cai
 
Lead changes in software development
Lead changes in software developmentLead changes in software development
Lead changes in software developmentLarry Cai
 
Python in 90mins
Python in 90minsPython in 90mins
Python in 90minsLarry Cai
 
Practical way to experience of Specification by Example
Practical way to experience of Specification by ExamplePractical way to experience of Specification by Example
Practical way to experience of Specification by ExampleLarry Cai
 
Experience from specification_by_examples
Experience from specification_by_examplesExperience from specification_by_examples
Experience from specification_by_examplesLarry Cai
 
Continuous Integration Introduction
Continuous Integration IntroductionContinuous Integration Introduction
Continuous Integration IntroductionLarry Cai
 
Agile & ALM tools
Agile & ALM toolsAgile & ALM tools
Agile & ALM toolsLarry Cai
 

More from Larry Cai (17)

Learn kubernetes in 90 minutes
Learn kubernetes in 90 minutesLearn kubernetes in 90 minutes
Learn kubernetes in 90 minutes
 
Learn RabbitMQ with Python in 90mins
Learn RabbitMQ with Python in 90minsLearn RabbitMQ with Python in 90mins
Learn RabbitMQ with Python in 90mins
 
Learn ELK in docker
Learn ELK in dockerLearn ELK in docker
Learn ELK in docker
 
Software Engineer Talk
Software Engineer TalkSoftware Engineer Talk
Software Engineer Talk
 
Learn nginx in 90mins
Learn nginx in 90minsLearn nginx in 90mins
Learn nginx in 90mins
 
Learn basic ansible using docker
Learn basic ansible using dockerLearn basic ansible using docker
Learn basic ansible using docker
 
Build service with_docker_in_90mins
Build service with_docker_in_90minsBuild service with_docker_in_90mins
Build service with_docker_in_90mins
 
Learn docker in 90 minutes
Learn docker in 90 minutesLearn docker in 90 minutes
Learn docker in 90 minutes
 
Learn Dashing Widget in 90 minutes
Learn Dashing Widget in 90 minutesLearn Dashing Widget in 90 minutes
Learn Dashing Widget in 90 minutes
 
Learn REST API with Python
Learn REST API with PythonLearn REST API with Python
Learn REST API with Python
 
Jenkins Scriptler in 90mins
Jenkins Scriptler in 90minsJenkins Scriptler in 90mins
Jenkins Scriptler in 90mins
 
Lead changes in software development
Lead changes in software developmentLead changes in software development
Lead changes in software development
 
Python in 90mins
Python in 90minsPython in 90mins
Python in 90mins
 
Practical way to experience of Specification by Example
Practical way to experience of Specification by ExamplePractical way to experience of Specification by Example
Practical way to experience of Specification by Example
 
Experience from specification_by_examples
Experience from specification_by_examplesExperience from specification_by_examples
Experience from specification_by_examples
 
Continuous Integration Introduction
Continuous Integration IntroductionContinuous Integration Introduction
Continuous Integration Introduction
 
Agile & ALM tools
Agile & ALM toolsAgile & ALM tools
Agile & ALM tools
 

Recently uploaded

H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 

Recently uploaded (20)

H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 

Learn MultiMarkdown to Create Books

  • 2. Agenda  Environment  Exercise 1: generate book  Exercise 2: add your own into the books (workflow)  Exercise 3: add more things using markdown  Exercise 4: Hello World in Latex  Exercise 5: Change color for header/footer  Exercise 6: Table in MultiMarkdown  Reference 2 Learn MultiMarkdown to Book
  • 3. Environment @ Windows  Git Bash (unix env)   Editor   MarkdownPad http://markdownpad.com/ MultiMarkdown   http://git-scm.com http://fletcherpenney.net/multimarkdown Latex  3 MiKTex: http://www.miktex.org/portable Learn MultiMarkdown to Book
  • 4. Exercise 1 – Generate Book PDF  (120M) is provided for multimarkdown+MiKTex environment mmdtex-2.9.5105.tar.gz $ tar –zxvf mmdtex-2.9.5105.tar.gz –C /c # extract to c:  In Windows Explorer, run C:mmdtexMiKTexmiktex- portable.cmd  Right click miktex icon -> Options -> Refresh FNDB  Generate $ $ $ $ source /c/mmdtex/env.sh git clone git@github.com:larrycai/sdcamp.git cd sdcamp ./mmd2bok  Open 4 book sdcamp.pdf Learn MultiMarkdown to Book
  • 5. HOWTO: mmdtex-2.9.5105.tar.gz  Download MultiMarkdown portable version http://fletcherpenney.net/multimarkdown/download/ c:mmdtexMultiMarkdown  Download MiKTex Windows Portable version 2.9.5105 http://www.miktex.org/portable c:mmdtexMiKTex  Add c:mmdtexenv.sh $ cat env.sh MMDTEX_BASE=/c/mmdtex export PATH=${MMDTEX_BASE}/MiKTex/miktex/bin:$ {MMDTEX_BASE}/MultiMarkdown:$PATH   Run Exercise 1 to get latex package automatically Then $ tar –zcvf mmdtex-2.9.5105.tar.gz mmdtex 5 Learn MultiMarkdown to Book
  • 6. Workflow Latex Template Markdown multimarkdown Latex xelatex Book content  Take a look at the script mmd2bok 6 Learn MultiMarkdown to Book PDF
  • 7. Exercise 2: add one chapter   Edit sdcamp/contents/*.markdown Change contexts in Preface/Chapters/Appendix and build again MarkdownPad is the best markdown editor in Windows – Simple, Clean 7 Learn MultiMarkdown to Book
  • 8. Learn markdown    Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML  Others: rST (reStructuredText) , asciidoc are similar to markdown 8 Learn MultiMarkdown to Book
  • 10. Book structure  Front-cover & Back-cover  Preface/Forward/Acknowledgement  Contents  Main chapters  Appendix/Glossary/Bibliography 10 Learn MultiMarkdown to Book
  • 11. Exercise 3: Markdown  Add code section  Add extra subsection  Add bullet  Add image  ![ 敏捷宣言 ](../img/xxx)  Build 11 again Learn MultiMarkdown to Book
  • 12. LaTeX in short 12 Learn MultiMarkdown to Book
  • 13. Exercise 4: Latex hello World  Open TeXworks  Create file hello.tex documentclass[11pt,a4paper]{article} usepackage{fontspec} setmainfont{Microsoft YaHei} begin{document} 世界 , 你好 ! end{document}  Or $ xelatex hello.tex  See template template/template-win.tex  See other latex latex/chapters.tex 13 Learn MultiMarkdown to Book
  • 14. Latex Fonts  Fonts textrm{...} roman  textsf{...} sans serif  textbf{...} bold face  textnormal{...} document font   Size tiny tiny font  footnotesize quite small font  small , normalsize normal font   中文 楷体,宋体,黑体  14 $ fc-list :lang=zh-cn Learn MultiMarkdown to Book
  • 15. Exercise 5: Update template  Footer/header – to change color and position L: Left, E: Even fancyhf{} fancyhead[LE] {color{colorheader}quadsmalltextbfthepagequadquadsmallleftmark} fancyhead[RO] {color{colorheader}smallrightmarkquadquadsmalltextbfthepagequad} %fancyhead[RE,LO]{color{colorheader}small{savedtitle}} % book title %fancyfoot[LE,RO]{smalltextbfthepage} % page number %renewcommand{headrulewidth}{0.4pt} % add one line pagestyle{fancy} 15 Learn MultiMarkdown to Book
  • 16. MultiMarkdown   MultiMarkdown, or MMD, is a tool to help turn minimally marked-up plain text into well formatted documents, including HTML, PDF (by way ofLaTeX) … MMD is a superset of the Markdown syntax,   Table/Footnote/Image control … Code .. http://fletcherpenney.net/multimarkdown 16 Learn MultiMarkdown to Book
  • 17. Exercise 6: Add table  Add table | First Header | | :----------| First row | Second row [simple_table] Second Header | | :-----------: | Data | **Cell** Third Header | | -------------------: | | Very long data entry | | *Cell* | https://rawgithub.com/fletcher/human-markdown-reference/master/index.html 17 Learn MultiMarkdown to Book
  • 18. Reference  Markdown  Standard markdown: http://daringfireball.net/projects/markdown/  Github flavored markdown: http://github.github.com/github-flavored-markdown/  Multimarkdown: http://fletcherpenney.net/multimarkdown  MarkdownPad: http://markdownpad.com/  Latex: http://www.latex-project.org/intro.html  MiKTex: http://www.miktex.org/portable  My projects  https://github.com/larrycai/sdcamp  https://github.com/larrycai/latex-support 18 Learn MultiMarkdown to Book
  • 19. Other platform: Ubuntu/MacOS (TBD)  https://github.com/larrycai/sdcamp/blob/master/BUILD.md 19 Learn MultiMarkdown to Book