diff options
author | Ludovic Court`es | 2007-06-06 13:15:03 +0000 |
---|---|---|
committer | Ludovic Court`es | 2007-06-06 13:15:03 +0000 |
commit | 9396af8f4c6f458679f0eead6054674677096555 (patch) | |
tree | 61cdde14df602c6175dbaa6f0d0bc004faffa287 /src/guile | |
parent | ca73ccfd020a35452c68f067b548e4074d9af435 (diff) | |
parent | 66e7e04f4c468654f723ef87482a3f671cb50af2 (diff) | |
download | skribilo-9396af8f4c6f458679f0eead6054674677096555.tar.gz skribilo-9396af8f4c6f458679f0eead6054674677096555.tar.lz skribilo-9396af8f4c6f458679f0eead6054674677096555.zip |
Removed useless file.
* src/guile/skribilo/package/Makefile.am (dist_guilemodule_DATA): Removed
`skribe.scm'.
git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-100
Diffstat (limited to 'src/guile')
-rw-r--r-- | src/guile/skribilo/package/Makefile.am | 2 | ||||
-rw-r--r-- | src/guile/skribilo/package/skribe.scm | 87 |
2 files changed, 1 insertions, 88 deletions
diff --git a/src/guile/skribilo/package/Makefile.am b/src/guile/skribilo/package/Makefile.am index 9789867..2d26fce 100644 --- a/src/guile/skribilo/package/Makefile.am +++ b/src/guile/skribilo/package/Makefile.am @@ -1,6 +1,6 @@ guilemoduledir = $(GUILE_SITE)/skribilo/package dist_guilemodule_DATA = acmproc.scm french.scm jfp.scm letter.scm \ - lncs.scm scribe.scm sigplan.scm skribe.scm \ + lncs.scm scribe.scm sigplan.scm \ slide.scm web-article.scm web-book.scm \ eq.scm pie.scm base.scm diff.scm diff --git a/src/guile/skribilo/package/skribe.scm b/src/guile/skribilo/package/skribe.scm deleted file mode 100644 index 4968653..0000000 --- a/src/guile/skribilo/package/skribe.scm +++ /dev/null @@ -1,87 +0,0 @@ -;;; skribe.scm -- The standard Skribe style (always loaded). -;;; -;;; Copyright 2003, 2004 Manuel Serrano -;;; -;;; -;;; 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. - -;;; FIXME: This must be moved to the base package! - -;*---------------------------------------------------------------------*/ -;* p ... */ -;*---------------------------------------------------------------------*/ -(define-markup (p :rest opt :key ident (class #f) &skribe-eval-location) - (paragraph :ident ident :class class :loc &skribe-eval-location - (the-body opt))) - -;*---------------------------------------------------------------------*/ -;* fg ... */ -;*---------------------------------------------------------------------*/ -(define (fg c . body) - (color :fg c body)) - -;*---------------------------------------------------------------------*/ -;* bg ... */ -;*---------------------------------------------------------------------*/ -(define (bg c . body) - (color :bg c body)) - -;*---------------------------------------------------------------------*/ -;* counter ... */ -;* ------------------------------------------------------------- */ -;* This produces a kind of "local enumeration" that is: */ -;* (counting "toto," "tutu," "titi.") */ -;* produces: */ -;* i) toto, ii) tutu, iii) titi. */ -;*---------------------------------------------------------------------*/ -(define-markup (counter :rest opts :key (numbering 'roman)) - (define items (if (eq? (car opts) :numbering) (cddr opts) opts)) - (define vroman '#(- "i" "ii" "iii" "iv" "v" "vi" "vii" "viii" "ix" "x")) - (define (the-roman-number num) - (if (< num (vector-length vroman)) - (list (list "(" (it (vector-ref vroman num)) ") ")) - (skribe-error 'counter - "too many items for roman numbering" - (length items)))) - (define (the-arabic-number num) - (list (list "(" (it (integer->string num)) ") "))) - (define (the-alpha-number num) - (list (list "(" (it (+ (integer->char #\a) num -1)) ") "))) - (let ((the-number (case numbering - ((roman) the-roman-number) - ((arabic) the-arabic-number) - ((alpha) the-alpha-number) - (else (skribe-error 'counter - "Illegal numbering" - numbering))))) - (let loop ((num 1) - (items items) - (res '())) - (if (null? items) - (reverse! res) - (loop (+ num 1) - (cdr items) - (cons (list (the-number num) (car items)) res)))))) - -;*---------------------------------------------------------------------*/ -;* q */ -;*---------------------------------------------------------------------*/ -(define-markup (q :rest opt) - (new markup - (markup 'q) - (options (the-options opt)) - (body (the-body opt)))) - |