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
 
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
 
13p
13p13p
13p
 

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

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
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
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 

Recently uploaded (20)

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
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
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 

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