You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
112
74
\urlstyle{same}
@@ -127,50 +89,6 @@
127
89
\setcounter{tocdepth}{1}
128
90
\tableofcontents
129
91
}
130
-
\chapter{About}\label{about}
131
-
132
-
This is a \emph{sample} book written in \textbf{Markdown}. You can use anything that Pandoc's Markdown supports; for example, a math equation \(a^2 + b^2 = c^2\).
133
-
134
-
\section{Usage}\label{usage}
135
-
136
-
Each \textbf{bookdown} chapter is an .Rmd file, and each .Rmd file can contain one (and only one) chapter. A chapter \emph{must} start with a first-level heading: \texttt{\#\ A\ good\ chapter}, and can contain one (and only one) first-level heading.
137
-
138
-
Use second-level and higher headings within chapters like: \texttt{\#\#\ A\ short\ section} or \texttt{\#\#\#\ An\ even\ shorter\ section}.
139
-
140
-
The \texttt{index.Rmd} file is required, and is also your first book chapter. It will be the homepage when you render the book.
141
-
142
-
\section{Render book}\label{render-book}
143
-
144
-
You can render the HTML version of this example book without changing anything:
145
-
146
-
\begin{enumerate}
147
-
\def\labelenumi{\arabic{enumi}.}
148
-
\item
149
-
Find the \textbf{Build} pane in the RStudio IDE, and
150
-
\item
151
-
Click on \textbf{Build Book}, then select your output format, or select ``All formats'' if you'd like to use multiple formats from the same book source files.
To render this example to PDF as a \texttt{bookdown::pdf\_book}, you'll need to install XeLaTeX. You are recommended to install TinyTeX (which includes XeLaTeX): \url{https://yihui.org/tinytex/}.
163
-
164
-
\section{Preview book}\label{preview-book}
165
-
166
-
As you work, you may start a local server to live preview this HTML book. This preview will update as you edit the book when you save individual .Rmd files. You can start the server in a work session by using the RStudio add-in ``Preview book'', or from the R console:
It is still early days for the Open Hardware movement, particularly in the biological sciences where specialist skills in niche areas are still required to develop and deploy systems. My hope is that books like this can help seed the same transformation which has taken place in other stages of the scientific process, so that the emphasis on development switches to the building of open platforms for hardware development, rather than bespoke products and proprietary systems.
<h1><spanclass="header-section-number">Chapter 1</span>About<ahref="index.html#about" class="anchor-section" aria-label="Anchor link to header"></a></h1>
<h1>About<ahref="index.html#about" class="anchor-section" aria-label="Anchor link to header"></a></h1>
178
178
<p>This is a <em>sample</em> book written in <strong>Markdown</strong>. You can use anything that Pandoc’s Markdown supports; for example, a math equation <spanclass="math inline">\(a^2 + b^2 = c^2\)</span>.</p>
<h2><spanclass="header-section-number">0.1</span> Usage<ahref="index.html#usage" class="anchor-section" aria-label="Anchor link to header"></a></h2>
181
181
<p>Each <strong>bookdown</strong> chapter is an .Rmd file, and each .Rmd file can contain one (and only one) chapter. A chapter <em>must</em> start with a first-level heading: <code># A good chapter</code>, and can contain one (and only one) first-level heading.</p>
182
182
<p>Use second-level and higher headings within chapters like: <code>## A short section</code> or <code>### An even shorter section</code>.</p>
183
183
<p>The <code>index.Rmd</code> file is required, and is also your first book chapter. It will be the homepage when you render the book.</p>
<h2><spanclass="header-section-number">1.2</span> Render book<ahref="index.html#render-book" class="anchor-section" aria-label="Anchor link to header"></a></h2>
<h2><spanclass="header-section-number">0.2</span> Render book<ahref="index.html#render-book" class="anchor-section" aria-label="Anchor link to header"></a></h2>
187
187
<p>You can render the HTML version of this example book without changing anything:</p>
188
188
<olstyle="list-style-type: decimal">
189
189
<li><p>Find the <strong>Build</strong> pane in the RStudio IDE, and</p></li>
<p>To render this example to PDF as a <code>bookdown::pdf_book</code>, you’ll need to install XeLaTeX. You are recommended to install TinyTeX (which includes XeLaTeX): <ahref="https://yihui.org/tinytex/" class="uri">https://yihui.org/tinytex/</a>.</p>
<h2><spanclass="header-section-number">1.3</span> Preview book<ahref="index.html#preview-book" class="anchor-section" aria-label="Anchor link to header"></a></h2>
<h2><spanclass="header-section-number">0.3</span> Preview book<ahref="index.html#preview-book" class="anchor-section" aria-label="Anchor link to header"></a></h2>
198
198
<p>As you work, you may start a local server to live preview this HTML book. This preview will update as you edit the book when you save individual .Rmd files. You can start the server in a work session by using the RStudio add-in “Preview book”, or from the R console:</p>
0 commit comments