Changeset 15306 in project


Ignore:
Timestamp:
08/03/09 08:10:41 (10 years ago)
Author:
Ivan Raikov
Message:

scbib documentation and bug fixes

Location:
release/4/scbib/trunk
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • release/4/scbib/trunk/modules/bibtex.scm

    r15281 r15306  
    1 ;;;
    2 ;;; scbib - a bibliography management system
    3 ;;;
    4 ;;; Copyright (C) 2004 Satoru Takabayashi <satoru@namazu.org>
    5 ;;;     All rights reserved.
    6 ;;;     This is free software with ABSOLUTELY NO WARRANTY.
    7 ;;;
    8 ;;; You can redistribute it and/or modify it under the terms of
    9 ;;; the Gauche's licence.
    10 ;;;
    11 ;;; Ported to Chicken Scheme and modified by Ivan Raikov.
    12 ;;;
     1;;
     2;; scbib - a bibliography management system
     3;;
     4;; Copyright (C) 2004 Satoru Takabayashi <satoru@namazu.org>
     5;;
     6;; You can redistribute it and/or modify it under the terms of
     7;; the Gauche's licence.
     8;;
     9;; Ported to Chicken Scheme and modified by Ivan Raikov.
     10;;
     11;;
     12;;
     13;; This program is free software: you can redistribute it and/or
     14;; modify it under the terms of the GNU General Public License as
     15;; published by the Free Software Foundation, either version 3 of the
     16;; License, or (at your option) any later version.
     17;;
     18;; This program is distributed in the hope that it will be useful, but
     19;; WITHOUT ANY WARRANTY; without even the implied warranty of
     20;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     21;; General Public License for more details.
     22;;
     23;; A full copy of the GPL license can be found at
     24;; <http://www.gnu.org/licenses/>.
    1325
    1426(module scbib-bibtex
     
    1628  (scbib-bibtex-print-item)
    1729
    18   (import scheme chicken regex extras srfi-1 srfi-13)
     30  (import scheme chicken)
    1931
    20   (require-extension scbib)
     32  (require-extension regex extras srfi-1 srfi-13 scbib)
    2133
    2234
    23 (define (scbib-bibtex-print bibitem . rest)
     35(define (scbib-bibtex-print-item bibitem . rest)
    2436 (let-optionals rest ((key-style #f) (output-port #t))
    2537  (define (scbib-bibtex-print-sub bibitem)
  • release/4/scbib/trunk/modules/style.scm

    r15281 r15306  
    1 ;;;
    2 ;;; scbib-style
    3 ;;;
    4 ;;; Copyright 2009 by Ivan Raikov.
    5 ;;;
     1;;
     2;; scbib-style
     3;;
     4;; Copyright 2009 by Ivan Raikov.
     5;;
     6;;
     7;; This program is free software: you can redistribute it and/or
     8;; modify it under the terms of the GNU General Public License as
     9;; published by the Free Software Foundation, either version 3 of the
     10;; License, or (at your option) any later version.
     11;;
     12;; This program is distributed in the hope that it will be useful, but
     13;; WITHOUT ANY WARRANTY; without even the implied warranty of
     14;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15;; General Public License for more details.
     16;;
     17;; A full copy of the GPL license can be found at
     18;; <http://www.gnu.org/licenses/>.
    619
    720(module scbib-style
     
    1225   scbib-style-print-item)
    1326
    14   (import scheme chicken regex extras srfi-1 srfi-13)
     27  (import scheme chicken)
    1528
    16   (require-extension datatype scbib)
     29  (require-extension regex extras srfi-1 srfi-13 data-structures datatype scbib)
    1730
    1831 
  • release/4/scbib/trunk/scbib.meta

    r15281 r15306  
    88 (author "Satoru Takabayashi")
    99 (maintainer "Ivan Raikov")
    10  (files "scbib.setup" "scbib.scm" "scbib/bibtex.scm" ))
     10 (needs datatype eggdoc)
     11 (files "scbib.setup" "scbib.scm" "scbib-eggdoc.scm" "modules" "tests"))
    1112
     13
  • release/4/scbib/trunk/scbib.scm

    r15281 r15306  
    1 ;;;
    2 ;;; scbib - a bibliography management system
    3 ;;;
    4 ;;; Copyright (C) 2004 Satoru Takabayashi <satoru@namazu.org>
    5 ;;;     All rights reserved.
    6 ;;;     This is free software with ABSOLUTELY NO WARRANTY.
    7 ;;;
    8 ;;; You can redistribute it and/or modify it under the terms of
    9 ;;; the Gauche's licence.
    10 ;;;
    11 ;;; Ported to Chicken Scheme and modified by Ivan Raikov.
     1;;
     2;; scbib - a bibliography management system
     3;;
     4;; Copyright (C) 2004 Satoru Takabayashi <satoru@namazu.org>
     5;;
     6;; Ported to Chicken Scheme and modified by Ivan Raikov.
     7;;
     8;;
     9;; This program is free software: you can redistribute it and/or
     10;; modify it under the terms of the GNU General Public License as
     11;; published by the Free Software Foundation, either version 3 of the
     12;; License, or (at your option) any later version.
     13;;
     14;; This program is distributed in the hope that it will be useful, but
     15;; WITHOUT ANY WARRANTY; without even the implied warranty of
     16;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     17;; General Public License for more details.
     18;;
     19;; A full copy of the GPL license can be found at
     20;; <http://www.gnu.org/licenses/>.
    1221
    1322(module scbib
     
    3140   )
    3241
    33   (import scheme chicken srfi-1 regex extras files posix data-structures)
     42  (import scheme chicken)
     43  (require-extension srfi-1 regex extras files posix data-structures datatype)
     44 
     45
    3446
    3547;; DBs
     
    5062
    5163(define (scbib-values item name)
    52   (let ((name (->string name)))
     64  (let ((name (if (symbol? name) name (string->symbol name))))
    5365    (cond ((null? item)
    5466           #f)
  • release/4/scbib/trunk/scbib.setup

    r15281 r15306  
    44(compile -s -O -d2 scbib.import.scm)
    55
     6(run (csi -s scbib-eggdoc.scm > scbib.html))
     7
    68(install-extension
    79 'scbib
    810 `("scbib.so" "scbib.import.so")
    9  `((version 1.0)))
    10 
     11 `((version 1.0)
     12   (documentation "scbib.html")
     13   ))
    1114
    1215(compile -s -O -d2 "modules/bibtex.scm" -j scbib-bibtex -o "scbib-bibtex.so")
     
    1821 `((version 1.0)))
    1922
     23(compile -s -O -d2 "modules/style.scm" -j scbib-style -o "scbib-style.so")
     24(compile -s -O -d2 "scbib-style.import.scm")
     25
     26(install-extension
     27 'scbib-style
     28 `("scbib-style.so" "scbib-style.import.so")
     29 `((version 1.0)))
     30
Note: See TracChangeset for help on using the changeset viewer.