summaryrefslogtreecommitdiff
path: root/doc/user/spacing.skb
diff options
context:
space:
mode:
authorLudovic Court`es2007-03-28 09:24:33 +0000
committerLudovic Court`es2007-03-28 09:24:33 +0000
commit37af6d73f6adb3af1aea2ccb88a4e35b06ec3cd7 (patch)
tree3be18b287ede30796dde92b2695d9bec9fb7fefa /doc/user/spacing.skb
parentd95eb6f5a7d1aba4ed3948071046a910af577896 (diff)
parentdca4b35ee0c7746e67cfd43b06191ab8a230adf3 (diff)
downloadskribilo-37af6d73f6adb3af1aea2ccb88a4e35b06ec3cd7.tar.gz
skribilo-37af6d73f6adb3af1aea2ccb88a4e35b06ec3cd7.tar.lz
skribilo-37af6d73f6adb3af1aea2ccb88a4e35b06ec3cd7.zip
doc: Documented spacing.
* NEWS: Mention `breakable-space'. * doc/user/markup.skb: Include "spacing.skb". git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-75
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