Changeset 15306 in project
- Timestamp:
- 08/03/09 08:10:41 (12 years ago)
- 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/>. 13 25 14 26 (module scbib-bibtex … … 16 28 (scbib-bibtex-print-item) 17 29 18 (import scheme chicken regex extras srfi-1 srfi-13)30 (import scheme chicken) 19 31 20 (require-extension scbib)32 (require-extension regex extras srfi-1 srfi-13 scbib) 21 33 22 34 23 (define (scbib-bibtex-print bibitem . rest)35 (define (scbib-bibtex-print-item bibitem . rest) 24 36 (let-optionals rest ((key-style #f) (output-port #t)) 25 37 (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/>. 6 19 7 20 (module scbib-style … … 12 25 scbib-style-print-item) 13 26 14 (import scheme chicken regex extras srfi-1 srfi-13)27 (import scheme chicken) 15 28 16 (require-extension datatype scbib)29 (require-extension regex extras srfi-1 srfi-13 data-structures datatype scbib) 17 30 18 31 -
release/4/scbib/trunk/scbib.meta
r15281 r15306 8 8 (author "Satoru Takabayashi") 9 9 (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")) 11 12 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/>. 12 21 13 22 (module scbib … … 31 40 ) 32 41 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 34 46 35 47 ;; DBs … … 50 62 51 63 (define (scbib-values item name) 52 (let ((name ( ->string name)))64 (let ((name (if (symbol? name) name (string->symbol name)))) 53 65 (cond ((null? item) 54 66 #f) -
release/4/scbib/trunk/scbib.setup
r15281 r15306 4 4 (compile -s -O -d2 scbib.import.scm) 5 5 6 (run (csi -s scbib-eggdoc.scm > scbib.html)) 7 6 8 (install-extension 7 9 'scbib 8 10 `("scbib.so" "scbib.import.so") 9 `((version 1.0))) 10 11 `((version 1.0) 12 (documentation "scbib.html") 13 )) 11 14 12 15 (compile -s -O -d2 "modules/bibtex.scm" -j scbib-bibtex -o "scbib-bibtex.so") … … 18 21 `((version 1.0))) 19 22 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.