summaryrefslogtreecommitdiff
path: root/doc/user/spacing.skb
diff options
context:
space:
mode:
authorLudovic Court`es2007-03-28 08:04:36 +0000
committerLudovic Court`es2007-03-28 08:04:36 +0000
commitdca4b35ee0c7746e67cfd43b06191ab8a230adf3 (patch)
tree43891fec10c3bbf80db9bb42652923c39eaaa19a /doc/user/spacing.skb
parentc1fdef39c43b90d357b1b54098234b88c4c69f9c (diff)
downloadskribilo-dca4b35ee0c7746e67cfd43b06191ab8a230adf3.tar.gz
skribilo-dca4b35ee0c7746e67cfd43b06191ab8a230adf3.tar.lz
skribilo-dca4b35ee0c7746e67cfd43b06191ab8a230adf3.zip
doc: Documented spacing.
* NEWS: Mention `breakable-space'. * doc/user/markup.skb: Include "spacing.skb". git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-34
Diffstat (limited to 'doc/user/spacing.skb')
-rw-r--r--doc/user/spacing.skb36
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/user/spacing.skb b/doc/user/spacing.skb
new file mode 100644
index 0000000..d47d2fc
--- /dev/null
+++ b/doc/user/spacing.skb
@@ -0,0 +1,36 @@
+;;; spacing.skb -- Spacing.
+;;;
+;;; Copyright 2007 Ludovic Courtès <ludovic.courtes@laas.fr>
+;;;
+;;;
+;;; This program is free software; you can redistribute it and/or modify
+;;; it under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 2 of the License, or
+;;; (at your option) any later version.
+;;;
+;;; This program is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program; if not, write to the Free Software
+;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+;;; USA.
+
+(section :title [Spacing] :file #t
+
+ (p [By default, the spacing rules are the same as those of TeX/LaTeX,
+for instance: subsequent white spaces in the input text are coalesced
+into a single space in the output. Language-dependent spacing rules
+(e.g., for punctuation) are to be handled by the engine. This frees you
+from having to remember all the spacing details.])
+
+ (p [Additionally, the following markups allow you to produce explicit
+unbreakable and breakable space, respectively:])
+
+ (doc-markup '~ '() :common-args '((:class "The node class.")))
+
+ (doc-markup 'breakable-space '()))
+
+;;; arch-tag: a6a542b9-6bf0-406d-8cf1-3cfffbdfa40d