Skip to content

Commit c6d73ec

Browse files
committed
docs(manual): Remove blank lines from code blocks where they serve no purpose
1 parent 9f760d8 commit c6d73ec

File tree

6 files changed

+3
-13
lines changed

6 files changed

+3
-13
lines changed

documentation/c03-input.sil

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,13 +217,11 @@ Here are a few more examples of SILE commands:
217217

218218
\begin[type=autodoc:codeblock]{raw}
219219
\eject % A command with no parameters or argument
220-
221220
\font[family=Times,size=10pt] % Parameters, but no argument
222-
223221
\chapter{Introducing SILE} % Argument but no parameters
224-
225222
\font[family=Times,size=10pt]{Hi there!} % Parameters and argument
226223
\end{raw}%
224+
227225
\subsection{Environments}
228226

229227
Commands like \autodoc:command{\chapter} (to start a chapter) and \autodoc:command{\em} (to emphasize text) are normally used to enclose a relatively small piece of text—a few lines at most.

documentation/c06-macroscommands.sil

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,7 @@ command.” So if we want to a command which makes things red, we can say:
110110

111111
\begin[type=autodoc:codeblock]{raw}
112112
\define[command=red]{\color[color=red]{\process}}
113-
114113
115-
116114
Making things red is a \red{silly} way to emphasize text.
117115
\end{raw}
118116

documentation/c07-settings.sil

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,13 +365,9 @@ Harfbuzz, run \code{sile --debug=versions} on any file:
365365

366366
\begin[type=autodoc:codeblock]{raw}
367367
$ sile --debug=versions hello.sil
368-
369368
...
370-
371369
Harfbuzz version: 2.4.0
372-
373370
Shapers enabled: graphite2, ot, coretext, coretext_aat, fallback
374-
375371
...
376372
\end{raw}
377373

documentation/c08-language.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ The default is \code{left}.
155155
\font[family=Noto Sans Ethiopic]{ሰላም፡ልዑል}
156156

157157
\\set[parameter=languages.am.justification,value=centered]
158-
\font[family=Noto Sans Ethiopic]{ሰላም፡ልዑል}
158+
\font[family=Noto Sans Ethiopic]{ሰላም፡ልዑል}
159159
\end{autodoc:codeblock}
160160

161161
\font[family=Noto Sans Ethiopic,language=am]{ሰላም፡ልዑል}

documentation/c13-tricks.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ Sometimes it’s useful for you to try out Lua code within the SILE environment;
447447
If you call SILE with no input file names, it enters the REPL:
448448

449449
\begin{autodoc:codeblock}
450-
\sileversion
450+
\sileversion
451451
> \em{l = SILE.types.length("22mm")}
452452
> \em{l.length}
453453
22mm

packages/converters/init.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ We do this by registering a converter with the \autodoc:command{\converters:regi
124124
125125
\begin[type=autodoc:codeblock]{raw}
126126
\use[module=packages.converters]
127-
128127
\converters:register[from=.gif,to=.jpg,command=convert $SOURCE $TARGET]
129128
\end{raw}
130129
@@ -140,7 +139,6 @@ This trick also works for text files:
140139
141140
\begin[type=autodoc:codeblock]{raw}
142141
\converters:register[from=.md, to=.sil, command=pandoc -o $TARGET $SOURCE]
143-
144142
\include[src=document.md]
145143
\end{raw}
146144
\end{document}

0 commit comments

Comments
 (0)