refdb-cvs Mailing List for RefDB (Page 61)
Status: Beta
Brought to you by:
mhoenicka
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(47) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(88) |
Feb
(50) |
Mar
(36) |
Apr
(9) |
May
(30) |
Jun
(30) |
Jul
(22) |
Aug
(16) |
Sep
(42) |
Oct
(18) |
Nov
(29) |
Dec
(23) |
2005 |
Jan
(18) |
Feb
(28) |
Mar
(21) |
Apr
(35) |
May
(62) |
Jun
(22) |
Jul
(5) |
Aug
(40) |
Sep
(98) |
Oct
(81) |
Nov
(51) |
Dec
(62) |
2006 |
Jan
(46) |
Feb
(36) |
Mar
(8) |
Apr
(16) |
May
(14) |
Jun
(16) |
Jul
(47) |
Aug
(60) |
Sep
(34) |
Oct
(16) |
Nov
(46) |
Dec
(11) |
2007 |
Jan
(16) |
Feb
(13) |
Mar
(58) |
Apr
(32) |
May
(4) |
Jun
(8) |
Jul
(31) |
Aug
(46) |
Sep
(22) |
Oct
(30) |
Nov
(58) |
Dec
(15) |
2008 |
Jan
(8) |
Feb
(8) |
Mar
(2) |
Apr
(6) |
May
(3) |
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
(6) |
Nov
(3) |
Dec
(5) |
2009 |
Jan
(1) |
Feb
(20) |
Mar
(8) |
Apr
(5) |
May
(8) |
Jun
(3) |
Jul
(6) |
Aug
(4) |
Sep
(7) |
Oct
(8) |
Nov
(2) |
Dec
(1) |
2010 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
2011 |
Jan
(5) |
Feb
(5) |
Mar
(13) |
Apr
(3) |
May
|
Jun
|
Jul
(4) |
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(5) |
Nov
|
Dec
(3) |
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(13) |
2014 |
Jan
(2) |
Feb
(2) |
Mar
(2) |
Apr
(4) |
May
(1) |
Jun
(1) |
Jul
|
Aug
(6) |
Sep
(3) |
Oct
|
Nov
(2) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2022 |
Jan
(9) |
Feb
(16) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Markus H. <mho...@us...> - 2004-11-14 15:49:53
|
Update of /cvsroot/refdb/refdb/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22569/scripts Modified Files: Tag: Release_0_9_5_stable refdbxml.in Log Message: FOP is now the default FO processor;adapted TEI stylesheet directory structure;fixed help Index: refdbxml.in =================================================================== RCS file: /cvsroot/refdb/refdb/scripts/refdbxml.in,v retrieving revision 1.12.2.4 retrieving revision 1.12.2.5 diff -u -U2 -r1.12.2.4 -r1.12.2.5 --- refdbxml.in 25 Oct 2004 21:14:27 -0000 1.12.2.4 +++ refdbxml.in 14 Nov 2004 15:49:44 -0000 1.12.2.5 @@ -17,7 +17,7 @@ xhtmldb="<docbk_root>/xhtml/docbook.xsl" fodb="<docbk_root>/fo/docbook.xsl" -htmltei="<tei_root>/teixsl-html/teihtml.xsl" -xhtmltei="<tei_root>/teixsl-html/teihtml.xsl" -fotei="<tei_root>/teixsl-fo/tei.xsl" +htmltei="<tei_root>/html/teihtml.xsl" +xhtmltei="<tei_root>/html/teihtml.xsl" +fotei="<tei_root>/fo/tei.xsl" # the default xslt processor: xalan, xt, saxon, saxon-xerces or xsltproc @@ -25,5 +25,5 @@ # the default fo processor: passivetex, fop, jfor, or xep -fo_processor="passivetex" +fo_processor="fop" # the path to the Java class repository. This option is DEPRECATED. Please @@ -198,8 +198,9 @@ c ) fop_config_file="-c $OPTARG";; h ) echo "creates formatted output from a DocBook or TEI XML sources" - echo 'usage: refdbxml [-c fop_config_file] [-h] [-p xslt_processor] [-f fo_processor ] [-s stylesheet] [-t outformat] file1 [file2...]' - echo "Options: -h print this help and exit" - echo " -p specify xslt processor: xalan, xt, saxon, or xsltproc" + echo 'usage: refdbxml [-c fop_config_file] [-f fo_processor ] [-h] [-p xslt_processor] [-s stylesheet] [-t outformat] file1 [file2...]' + echo "Options: -c select the FOP configuration file" echo " -f specify fo processor: passivetex, fop or xep" + echo " -h print this help and exit" + echo " -p specify xslt processor: xalan, xt, saxon, or xsltproc" echo " -s stylesheet (the RefDB-generated driver file)" echo " -t select the output format. Possible values are html, xhtml, rtf, pdf." |
From: Markus H. <mho...@us...> - 2004-11-14 15:47:52
|
Update of /cvsroot/refdb/refdb/etc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22141/etc Modified Files: Tag: Release_0_9_5_stable refdbxmlrc Log Message: FOP is now the default FO processor Index: refdbxmlrc =================================================================== RCS file: /cvsroot/refdb/refdb/etc/refdbxmlrc,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -U2 -r1.1.2.1 -r1.1.2.2 --- refdbxmlrc 27 Jun 2004 22:24:30 -0000 1.1.2.1 +++ refdbxmlrc 14 Nov 2004 15:47:43 -0000 1.1.2.2 @@ -54,11 +54,11 @@ # output. # Currently available choices are: -# passivetex (default) -> pdf output -# fop -> pdf output +# fop (default) -> pdf output +# passivetex -> pdf output # xep -> pdf output # jfor -> rtf output -# Note: _You_ must ensure that the xslt processor is installed and +# Note: _You_ must ensure that the fo processor is installed and # correctly configured. RefDB does not check. -#fo_processor passivetex +#fo_processor fop ## FO classpath |
From: Markus H. <mho...@us...> - 2004-11-14 15:44:16
|
Update of /cvsroot/refdb/refdb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21432 Modified Files: Tag: Release_0_9_5_stable AUTHORS Log Message: updated for 0.9.5 Index: AUTHORS =================================================================== RCS file: /cvsroot/refdb/refdb/AUTHORS,v retrieving revision 1.4 retrieving revision 1.4.2.1 diff -u -U2 -r1.4 -r1.4.2.1 --- AUTHORS 5 Dec 2003 23:48:14 -0000 1.4 +++ AUTHORS 14 Nov 2004 15:43:55 -0000 1.4.2.1 @@ -12,4 +12,9 @@ Michael Smith <smith at xml-doc.org> +________________________________________________________ +Perl man (creator of the semi-automatic style generator) + +David Nebauer <davidnebauer at swtch.com.au> + _____________________________________ Contributors (in alphabetical order): @@ -19,9 +24,8 @@ Marco Kuhlmann <mk at debian.org>: Build system fixes, first shot at Debianization - __________________ Honorable mentions -Bruce D'Arcus <bdarcus at fastmail.fm>: ssh access to an OSX box +Bruce D'Arcus <bdarcus at fastmail.fm>: ssh access to an OSX box, constant thoughtful input, MODS and RelaxNG evangelist |
From: Markus H. <mho...@us...> - 2004-10-25 21:20:36
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30322/src Modified Files: Tag: Release_0_9_5_stable refdbd.c Log Message: fixed help message Index: refdbd.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbd.c,v retrieving revision 1.74.2.3 retrieving revision 1.74.2.4 diff -u -U2 -r1.74.2.3 -r1.74.2.4 --- refdbd.c 26 Sep 2004 21:41:07 -0000 1.74.2.3 +++ refdbd.c 25 Oct 2004 21:20:25 -0000 1.74.2.4 @@ -268,5 +268,5 @@ /* read command line settings. These may override the config file settings */ - while ((n_opt = getopt(argc, argv, "b:d:D:e:E:hi:IkKl:L:p:P:rst:T:qUvVy:Y:")) != -1) { + while ((n_opt = getopt(argc, argv, "b:d:D:e:E:hi:IkKl:L:p:P:qrsT:UvVy:Y:")) != -1) { switch (n_opt) { case 'b': @@ -291,5 +291,5 @@ break; case 'h': - fprintf(stderr, "Usage: refdbd [-b dbs_port] [-D dbserver] [-e dest] [-h] [-i address] [-I] [-k] [-K] [-l level] [-L file] [-p port] [-P PIDfile] [-q] [-r] [-s] [-T time] [-u] [-v] [-V] [-y confdir] [-Y driverdir]\nOptions: -b set database server port\n -D select database server (mysql|pgsql|sqlite)\n -e set log destination to dest (0-2)\n -h prints this help\n -i set server IP address to address\n -I allow remote connections\n -k keep periodical names when deleting references\n -K activate automatic keyword scan\n -l set the log level to level (0<=level<=7)\n -L use file as log-file (full path)\n -p set refdbd port\n -P set path to PID file\n -q ignore init-file\n -r allow remote administration\n -s run standalone, not as daemon\n -T set timeout to time\n -U uppercase citation keys (for SGML)\n -v show version information\n -V switch to verbose mode\n -y look for configuration files in confdir\n -Y look for dbi drivers in driverdir\n"); + fprintf(stderr, "Usage: refdbd [-b dbs_port] [-d database] [-D dbserver] [-e dest] [-E encoding] [-h] [-i address] [-I] [-k] [-K] [-l level] [-L file] [-p port] [-P PIDfile] [-q] [-r] [-s] [-T time] [-u] [-v] [-V] [-y confdir] [-Y driverdir]\nOptions: -b set database server port\n -D select database server (mysql|pgsql|sqlite)\n -e set log destination to dest (0-2)\n -h prints this help\n -i set server IP address to address\n -I allow remote connections\n -k keep periodical names when deleting references\n -K activate automatic keyword scan\n -l set the log level to level (0<=level<=7)\n -L use file as log-file (full path)\n -p set refdbd port\n -P set path to PID file\n -q ignore init-file\n -r allow remote administration\n -s run standalone, not as daemon\n -T set timeout to time\n -U uppercase citation keys (for SGML)\n -v show version information\n -V switch to verbose mode\n -y look for configuration files in confdir\n -Y look for dbi drivers in driverdir\n"); free(ptr_clrequest); exit (0); |
From: Markus H. <mho...@us...> - 2004-10-25 21:17:43
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29771/src Modified Files: Tag: Release_0_9_5_stable refdbd.h.in Log Message: made main database name a configure option Index: refdbd.h.in =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbd.h.in,v retrieving revision 1.7.2.3 retrieving revision 1.7.2.4 diff -u -U2 -r1.7.2.3 -r1.7.2.4 --- refdbd.h.in 27 Sep 2004 19:21:06 -0000 1.7.2.3 +++ refdbd.h.in 25 Oct 2004 21:17:34 -0000 1.7.2.4 @@ -64,5 +64,5 @@ #define MSG_BUF_SIZE 256 #define FIFO_NAME "/tmp/refdbd_fifo" /* base name of a fifo */ -#define MAIN_DB "refdb1" /* name of the main database */ +#define MAIN_DB "<main_db>" /* name of the main database */ #define CITEKEY_BASE_LENGTH 240 /* maximum length of authorname+year */ |
From: Markus H. <mho...@us...> - 2004-10-25 21:16:43
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29512/src Modified Files: Tag: Release_0_9_5_stable noteshandler.c Log Message: fixed handling of content contents Index: noteshandler.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/noteshandler.c,v retrieving revision 1.18.2.1 retrieving revision 1.18.2.2 diff -u -U2 -r1.18.2.1 -r1.18.2.2 --- noteshandler.c 24 Jun 2004 21:10:07 -0000 1.18.2.1 +++ noteshandler.c 25 Oct 2004 21:16:32 -0000 1.18.2.2 @@ -504,4 +504,6 @@ (ptr_andata->nmem_error)++; } + +/* printf("found content descentant %s<<\n", el); */ new_notepool = mstrcat(ptr_andata->notepool, (char*)el, &(ptr_andata->notepool_len), 0); @@ -539,4 +541,5 @@ (ptr_andata->nmem_error)++; } +/* printf("notepool went to %s<<\n", ptr_andata->notepool); */ } /* else: ignore */ @@ -799,12 +802,13 @@ /* ------------------------------------------------------------ */ else if (!strcmp(el, "content")) { - if (ptr_andata->ptr_first->ptr_elvalue && *ptr_andata->ptr_first->ptr_elvalue) { - result = set_notesdata_field("content", ptr_andata->ptr_first->ptr_elvalue, ptr_andata->conn, ptr_andata->driver, ptr_andata->n_note_id); - } - else { + if (ptr_andata->notepool && *(ptr_andata->notepool)) { result = set_notesdata_field("content", ptr_andata->notepool, ptr_andata->conn, ptr_andata->driver, ptr_andata->n_note_id); +/* printf("notepool went to %s<<\n", ptr_andata->notepool); */ free(ptr_andata->notepool); ptr_andata->notepool = NULL; } + else if (ptr_andata->ptr_first->ptr_elvalue && *ptr_andata->ptr_first->ptr_elvalue) { + result = set_notesdata_field("content", ptr_andata->ptr_first->ptr_elvalue, ptr_andata->conn, ptr_andata->driver, ptr_andata->n_note_id); + } if (result == 1) { @@ -1055,4 +1059,6 @@ (ptr_andata->nmem_error)++; } + +/* printf("in endhandler: notepool went to %s<<\n", ptr_andata->notepool); */ } /* else: ignore */ |
From: Markus H. <mho...@us...> - 2004-10-25 21:15:52
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29326/src Modified Files: Tag: Release_0_9_5_stable Makefile.am Log Message: insert main database name into refdbd.h Index: Makefile.am =================================================================== RCS file: /cvsroot/refdb/refdb/src/Makefile.am,v retrieving revision 1.21 retrieving revision 1.21.2.1 diff -u -U2 -r1.21 -r1.21.2.1 --- Makefile.am 25 Jan 2004 19:34:27 -0000 1.21 +++ Makefile.am 25 Oct 2004 21:15:34 -0000 1.21.2.1 @@ -32,4 +32,5 @@ refdbd_LDADD = @refdbd_LDADD@ @LIBICONV@ bib2ris_LDADD = @bib2ris_LDADD@ +main_db = @main_db@ AM_CPPFLAGS=-DSYSCONFDIR=\"$(sysconfdir)/@PACKAGE@\" -DULLSPEC=\"@ULLSPEC@\" @@ -39,3 +40,4 @@ sed 's%<xnoteversion>%$(XNOTEVERSION)%g' | \ sed 's%<citestylexversion>%$(CITESTYLEXVERSION)%g' | \ - sed 's%<citationlistxversion>%$(CITATIONLISTXVERSION)%g' > refdbd.h + sed 's%<citationlistxversion>%$(CITATIONLISTXVERSION)%g' | \ + sed 's%<main_db>%$(main_db)%' > refdbd.h |
From: Markus H. <mho...@us...> - 2004-10-25 21:14:36
|
Update of /cvsroot/refdb/refdb/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29146/scripts Modified Files: Tag: Release_0_9_5_stable refdbxml.in Log Message: added option to xalan launch command so it uses the resolver classes Index: refdbxml.in =================================================================== RCS file: /cvsroot/refdb/refdb/scripts/refdbxml.in,v retrieving revision 1.12.2.3 retrieving revision 1.12.2.4 diff -u -U2 -r1.12.2.3 -r1.12.2.4 --- refdbxml.in 12 Sep 2004 21:06:40 -0000 1.12.2.3 +++ refdbxml.in 25 Oct 2004 21:14:27 -0000 1.12.2.4 @@ -102,11 +102,12 @@ # set processor launch commands for functions which follow # more maintainable (and less ugly -- check out saxon-xerces!) -# note: saxon|saxon-xerces have command-line options for catalog resolving +# note: saxon|saxon-xerces|xalan have command-line options for catalog +# resolving case $xslt_processor in - xalan ) xslt_launch="org.apache.xalan.xslt.Process";; + xalan ) xslt_launch="org.apache.xalan.xslt.Process -ENTITYRESOLVER org.apache.xml.resolver.tools.CatalogResolver -URIRESOLVER org.apache.xml.resolver.tools.CatalogResolver ";; xt ) xslt_launch="com.jclark.xsl.sax.Driver";; saxon ) xslt_launch="com.icl.saxon.StyleSheet -x org.apache.xml.resolver.tools.ResolvingXMLReader -y org.apache.xml.resolver.tools.ResolvingXMLReader -r org.apache.xml.resolver.tools.CatalogResolver -u";; saxon-xerces ) xslt_launch="-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl com.icl.saxon.StyleSheet -x org.apache.xml.resolver.tools.ResolvingXMLReader -y org.apache.xml.resolver.tools.ResolvingXMLReader -r org.apache.xml.resolver.tools.CatalogResolver -u";; - xsltproc ) xslt_launch="xsltproc --catalogs --xinclude";; + xsltproc ) xslt_launch="xsltproc --xinclude";; esac |
From: Markus H. <mho...@us...> - 2004-10-25 21:13:26
|
Update of /cvsroot/refdb/refdb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28925 Modified Files: Tag: Release_0_9_5_stable configure.in Log Message: added an option to specify the main database Index: configure.in =================================================================== RCS file: /cvsroot/refdb/refdb/configure.in,v retrieving revision 1.49.2.5 retrieving revision 1.49.2.6 diff -u -U2 -r1.49.2.5 -r1.49.2.6 --- configure.in 17 Oct 2004 00:32:17 -0000 1.49.2.5 +++ configure.in 25 Oct 2004 21:13:16 -0000 1.49.2.6 @@ -75,4 +75,10 @@ [log_dir="/var/log"]) +dnl the main database +AC_ARG_WITH(main_db, + [ --with-main-db=name The name of the RefDB system database], + [main_db=$withval], + [main_db="refdb"]) + dnl which database server are we supposed to use? AC_ARG_WITH(db_server, @@ -268,4 +274,5 @@ AC_SUBST(var_dir) AC_SUBST(db_server) +AC_SUBST(main_db) AC_SUBST(dbs_port) AC_SUBST(ULLSPEC) |
From: Markus H. <mho...@us...> - 2004-10-17 00:37:50
|
Update of /cvsroot/refdb/refdb/xsl/refdb/tei-refdb-xsl/tei-html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16809/xsl/refdb/tei-refdb-xsl/tei-html Modified Files: Tag: Release_0_9_5_stable Makefile.am tei-refdb-html.xsl.in Log Message: use PUBLIC identifier by default; modified stylesheet paths to accommodate P4 and P5 Index: Makefile.am =================================================================== RCS file: /cvsroot/refdb/refdb/xsl/refdb/tei-refdb-xsl/tei-html/Makefile.am,v retrieving revision 1.6 retrieving revision 1.6.4.1 diff -u -U2 -r1.6 -r1.6.4.1 --- Makefile.am 19 Jun 2002 19:46:42 -0000 1.6 +++ Makefile.am 17 Oct 2004 00:37:40 -0000 1.6.4.1 @@ -17,3 +17,4 @@ tei-refdb-html.xsl: tei-refdb-html.xsl.in - sed 's%<!--tei_root-->%$(tei_xsl)%' < $(srcdir)/tei-refdb-html.xsl.in > tei-refdb-html.xsl + sed 's%<!--tei_xsl-->%$(tei_xsl)%' < $(srcdir)/tei-refdb-html.xsl.in > tei-refdb-html.xsl + Index: tei-refdb-html.xsl.in =================================================================== RCS file: /cvsroot/refdb/refdb/xsl/refdb/tei-refdb-xsl/tei-html/tei-refdb-html.xsl.in,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -u -U2 -r1.2 -r1.2.2.1 --- tei-refdb-html.xsl.in 19 Mar 2004 23:23:12 -0000 1.2 +++ tei-refdb-html.xsl.in 17 Oct 2004 00:37:40 -0000 1.2.2.1 @@ -12,5 +12,5 @@ <!-- the original TEI stylesheets for HTML --> -<xsl:import href="<!--tei_root-->/teixsl-html/teihtml.xsl"/> +<xsl:import href="<!--tei_xsl-->/P4/html/teihtml.xsl"/> <!-- common variables --> |
From: Markus H. <mho...@us...> - 2004-10-17 00:37:50
|
Update of /cvsroot/refdb/refdb/xsl/refdb/tei-refdb-xsl/tei-fo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16809/xsl/refdb/tei-refdb-xsl/tei-fo Modified Files: Tag: Release_0_9_5_stable Makefile.am tei-refdb-fo.xsl.in Log Message: use PUBLIC identifier by default; modified stylesheet paths to accommodate P4 and P5 Index: Makefile.am =================================================================== RCS file: /cvsroot/refdb/refdb/xsl/refdb/tei-refdb-xsl/tei-fo/Makefile.am,v retrieving revision 1.6 retrieving revision 1.6.4.1 diff -u -U2 -r1.6 -r1.6.4.1 --- Makefile.am 19 Jun 2002 19:46:42 -0000 1.6 +++ Makefile.am 17 Oct 2004 00:37:40 -0000 1.6.4.1 @@ -17,4 +17,4 @@ tei-refdb-fo.xsl: tei-refdb-fo.xsl.in - sed 's%<!--tei_root-->%$(tei_xsl)%' < $(srcdir)/tei-refdb-fo.xsl.in > tei-refdb-fo.xsl + sed 's%<!--tei_xsl-->%$(tei_xsl)%' < $(srcdir)/tei-refdb-fo.xsl.in > tei-refdb-fo.xsl Index: tei-refdb-fo.xsl.in =================================================================== RCS file: /cvsroot/refdb/refdb/xsl/refdb/tei-refdb-xsl/tei-fo/tei-refdb-fo.xsl.in,v retrieving revision 1.2.2.2 retrieving revision 1.2.2.3 diff -u -U2 -r1.2.2.2 -r1.2.2.3 --- tei-refdb-fo.xsl.in 25 Sep 2004 21:28:54 -0000 1.2.2.2 +++ tei-refdb-fo.xsl.in 17 Oct 2004 00:37:40 -0000 1.2.2.3 @@ -14,5 +14,5 @@ <!-- the original TEI stylesheets for FO --> -<xsl:import href="<!--tei_root-->/teixsl-fo/tei.xsl"/> +<xsl:import href="<!--tei_xsl-->/P4/fo/tei.xsl"/> <!-- common variables --> |
From: Markus H. <mho...@us...> - 2004-10-17 00:35:57
|
Update of /cvsroot/refdb/refdb/xsl/refdb/docbk-refdb-xsl/docbk-html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16398/xsl/refdb/docbk-refdb-xsl/docbk-html Modified Files: Tag: Release_0_9_5_stable Makefile.am docbk-refdb-html.xsl.in Log Message: use PUBLIC identifier by default Index: Makefile.am =================================================================== RCS file: /cvsroot/refdb/refdb/xsl/refdb/docbk-refdb-xsl/docbk-html/Makefile.am,v retrieving revision 1.6 retrieving revision 1.6.4.1 diff -u -U2 -r1.6 -r1.6.4.1 --- Makefile.am 19 Jun 2002 19:44:31 -0000 1.6 +++ Makefile.am 17 Oct 2004 00:35:47 -0000 1.6.4.1 @@ -17,4 +17,4 @@ docbk-refdb-html.xsl: docbk-refdb-html.xsl.in - sed 's%<!--docbk_root-->%$(docbk_xsl)%' < $(srcdir)/docbk-refdb-html.xsl.in > docbk-refdb-html.xsl + sed 's%<!--docbk_xsl-->%$(docbk_xsl)%' < $(srcdir)/docbk-refdb-html.xsl.in > docbk-refdb-html.xsl Index: docbk-refdb-html.xsl.in =================================================================== RCS file: /cvsroot/refdb/refdb/xsl/refdb/docbk-refdb-xsl/docbk-html/docbk-refdb-html.xsl.in,v retrieving revision 1.11.2.1 retrieving revision 1.11.2.2 diff -u -U2 -r1.11.2.1 -r1.11.2.2 --- docbk-refdb-html.xsl.in 4 Aug 2004 20:54:26 -0000 1.11.2.1 +++ docbk-refdb-html.xsl.in 17 Oct 2004 00:35:47 -0000 1.11.2.2 @@ -12,5 +12,5 @@ <!-- the original DocBook stylesheets for HTML --> -<xsl:import href="<!--docbk_root-->/html/docbook.xsl"/> +<xsl:import href="<!--docbk_xsl-->/html/docbook.xsl"/> <!-- common variables --> |
From: Markus H. <mho...@us...> - 2004-10-17 00:35:57
|
Update of /cvsroot/refdb/refdb/xsl/refdb/docbk-refdb-xsl/docbk-xhtml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16398/xsl/refdb/docbk-refdb-xsl/docbk-xhtml Modified Files: Tag: Release_0_9_5_stable Makefile.am docbk-refdb-xhtml.xsl.in Log Message: use PUBLIC identifier by default Index: Makefile.am =================================================================== RCS file: /cvsroot/refdb/refdb/xsl/refdb/docbk-refdb-xsl/docbk-xhtml/Makefile.am,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -u -U2 -r1.1 -r1.1.2.1 --- Makefile.am 30 Aug 2003 21:29:58 -0000 1.1 +++ Makefile.am 17 Oct 2004 00:35:47 -0000 1.1.2.1 @@ -17,4 +17,4 @@ docbk-refdb-xhtml.xsl: docbk-refdb-xhtml.xsl.in - sed 's%<!--docbk_root-->%$(docbk_xsl)%' < $(srcdir)/docbk-refdb-xhtml.xsl.in > docbk-refdb-xhtml.xsl + sed 's%<!--docbk_xsl-->%$(docbk_xsl)%' < $(srcdir)/docbk-refdb-xhtml.xsl.in > docbk-refdb-xhtml.xsl Index: docbk-refdb-xhtml.xsl.in =================================================================== RCS file: /cvsroot/refdb/refdb/xsl/refdb/docbk-refdb-xsl/docbk-xhtml/docbk-refdb-xhtml.xsl.in,v retrieving revision 1.8.2.1 retrieving revision 1.8.2.2 diff -u -U2 -r1.8.2.1 -r1.8.2.2 --- docbk-refdb-xhtml.xsl.in 4 Aug 2004 20:54:28 -0000 1.8.2.1 +++ docbk-refdb-xhtml.xsl.in 17 Oct 2004 00:35:47 -0000 1.8.2.2 @@ -12,5 +12,5 @@ <!-- the original DocBook stylesheets for HTML --> -<xsl:import href="<!--docbk_root-->/xhtml/docbook.xsl"/> +<xsl:import href="<!--docbk_xsl-->/xhtml/docbook.xsl"/> <!-- common variables --> |
From: Markus H. <mho...@us...> - 2004-10-17 00:35:56
|
Update of /cvsroot/refdb/refdb/xsl/refdb/docbk-refdb-xsl/docbk-fo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16398/xsl/refdb/docbk-refdb-xsl/docbk-fo Modified Files: Tag: Release_0_9_5_stable Makefile.am docbk-refdb-fo.xsl.in Log Message: use PUBLIC identifier by default Index: Makefile.am =================================================================== RCS file: /cvsroot/refdb/refdb/xsl/refdb/docbk-refdb-xsl/docbk-fo/Makefile.am,v retrieving revision 1.7 retrieving revision 1.7.4.1 diff -u -U2 -r1.7 -r1.7.4.1 --- Makefile.am 19 Jun 2002 19:44:31 -0000 1.7 +++ Makefile.am 17 Oct 2004 00:35:47 -0000 1.7.4.1 @@ -18,3 +18,3 @@ docbk-refdb-fo.xsl: docbk-refdb-fo.xsl.in - sed 's%<!--docbk_root-->%$(docbk_xsl)%' < $(srcdir)/docbk-refdb-fo.xsl.in > docbk-refdb-fo.xsl + sed 's%<!--docbk_xsl-->%$(docbk_xsl)%' < $(srcdir)/docbk-refdb-fo.xsl.in > docbk-refdb-fo.xsl Index: docbk-refdb-fo.xsl.in =================================================================== RCS file: /cvsroot/refdb/refdb/xsl/refdb/docbk-refdb-xsl/docbk-fo/docbk-refdb-fo.xsl.in,v retrieving revision 1.9.2.1 retrieving revision 1.9.2.2 diff -u -U2 -r1.9.2.1 -r1.9.2.2 --- docbk-refdb-fo.xsl.in 8 Sep 2004 20:37:43 -0000 1.9.2.1 +++ docbk-refdb-fo.xsl.in 17 Oct 2004 00:35:47 -0000 1.9.2.2 @@ -14,5 +14,5 @@ <!-- the original DocBook stylesheets for FO --> -<xsl:import href="<!--docbk_root-->/fo/docbook.xsl"/> +<xsl:import href="<!--docbk_xsl-->/fo/docbook.xsl"/> <!-- common variables --> |
From: Markus H. <mho...@us...> - 2004-10-17 00:32:26
|
Update of /cvsroot/refdb/refdb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15746 Modified Files: Tag: Release_0_9_5_stable configure.in Log Message: improved checks for xsl stylesheets; bumped up version number Index: configure.in =================================================================== RCS file: /cvsroot/refdb/refdb/configure.in,v retrieving revision 1.49.2.4 retrieving revision 1.49.2.5 diff -u -U2 -r1.49.2.4 -r1.49.2.5 --- configure.in 25 Sep 2004 23:54:29 -0000 1.49.2.4 +++ configure.in 17 Oct 2004 00:32:17 -0000 1.49.2.5 @@ -6,5 +6,5 @@ dnl Use automake -AM_INIT_AUTOMAKE(refdb, 0.9.5-pre5) +AM_INIT_AUTOMAKE(refdb, 0.9.5-pre6) dnl Find out host type @@ -43,5 +43,5 @@ [ --with-docbook-xsl=PATH Path to the DocBook XSL stylesheet root], [docbk_xsl=$withval], - [docbk_xsl=""]) + [docbk_xsl="http://docbook.sourceforge.net/release/xsl/current"]) dnl need the path to the tei xsl stylesheets @@ -49,5 +49,5 @@ [ --with-tei-xsl=PATH Path to the TEI XSL stylesheet root], [tei_xsl=$withval], - [tei_xsl=""]) + [tei_xsl="http://www.tei-c.org/Stylesheets"]) dnl need the path to the jars @@ -147,4 +147,5 @@ AC_PATH_PROG(myperl, perl) AC_PATH_PROG(myxsltproc, xsltproc) +AC_PATH_PROG(myxmlcatalog, xmlcatalog) fi @@ -211,7 +212,4 @@ AC_SEARCH_LIBS_VAR(compress, z, , , , refdbd_LDADD) -dnl need character encoding support -dnl AC_SEARCH_LIBS_VAR(iconv, iconv, , , , refdbd_LDADD) - fi dnl end if build server @@ -301,13 +299,23 @@ AC_CHECK_FUNCS(gethostname select socket strcspn strstr strtoll atoll) -dnl Check for XSL stylesheets +dnl these checks are required only for clients if test "$ac_client" = "YES"; then -AC_CHECK_FILE($docbk_xsl/VERSION, + +dnl Check for XSL stylesheets +AC_CHECK_FILE($docbk_xsl/fo/docbook.xsl, [echo "DocBook XSL stylesheets found"], -[echo "DocBook XSL stylesheets ***NOT*** found"]) +[if test -z "$my_xmlcatalog"; then +REFDB_XML_FILE($myxmlcatalog,${docbk_xsl}/fo/docbook.xsl) +else +echo "cannot locate DocBook XSL stylesheets via XML catalog" +fi]) -AC_CHECK_FILE($tei_xsl/teixsl-fo/tei.xsl, -[echo "TEI XSL stylesheets found"], -[echo "TEI XSL stylesheets ***NOT*** found"]) +AC_CHECK_FILE($tei_xsl/P4/fo/tei.xsl, +[echo "DocBook XSL stylesheets found"], +[if test -z "$my_xmlcatalog"; then +REFDB_XML_FILE($myxmlcatalog,${tei_xsl}/P4/fo/tei.xsl) +else +echo "cannot locate DocBook XSL stylesheets via XML catalog" +fi]) dnl Check for Perl version and Perl modules |
From: Markus H. <mho...@us...> - 2004-10-17 00:31:29
|
Update of /cvsroot/refdb/refdb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15595 Modified Files: Tag: Release_0_9_5_stable acinclude.m4 Log Message: new macro REFDB_XML_FILE Index: acinclude.m4 =================================================================== RCS file: /cvsroot/refdb/refdb/acinclude.m4,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -u -U2 -r1.3 -r1.3.2.1 --- acinclude.m4 6 Jan 2003 01:09:04 -0000 1.3 +++ acinclude.m4 17 Oct 2004 00:31:20 -0000 1.3.2.1 @@ -81,2 +81,18 @@ AC_MSG_WARN(Perl module $2 is required for some scripts) fi])]) + +dnl Try to locate a stylesheet using xmlcatalog +AC_DEFUN([REFDB_XML_FILE], +[if test -r /etc/xml/catalog; then + refdb_xml_catalog="/etc/xml/catalog" +else + refdb_xml_catalog=$XML_CATALOG_FILES +fi + +AC_MSG_CHECKING(for XML file $2) +xml_file=`$1 $refdb_xml_catalog $2` +xml_file=`echo $xml_file | sed 's%file://%%'` +AC_CHECK_FILE($xml_file,[ +AC_MSG_RESULT(XML file found)],[ +AC_MSG_RESULT(XML file not found, you may wish to check your XML catalog)] +)]) |
From: Markus H. <mho...@us...> - 2004-10-12 00:28:34
|
Update of /cvsroot/refdb/refdb/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11552/scripts Modified Files: Tag: Release_0_9_5_stable refdb.dump refdb.dump.sqlite refdb.dump.pgsql Log Message: added columns for new elements in citestylex.dtd Index: refdb.dump =================================================================== RCS file: /cvsroot/refdb/refdb/scripts/refdb.dump,v retrieving revision 1.6.2.1 retrieving revision 1.6.2.2 diff -u -U2 -r1.6.2.1 -r1.6.2.2 --- refdb.dump 8 Sep 2004 20:18:30 -0000 1.6.2.1 +++ refdb.dump 12 Oct 2004 00:28:23 -0000 1.6.2.2 @@ -92,4 +92,12 @@ YSTYLE varchar(12), ZSTYLE varchar(12), + QALTERNATESTYLE varchar(12), + XALTERNATESTYLE varchar(12), + YALTERNATESTYLE varchar(12), + ZALTERNATESTYLE varchar(12), + QALTERNATETEXT varchar(15), + XALTERNATETEXT varchar(15), + YALTERNATETEXT varchar(15), + ZALTERNATETEXT varchar(15), QABBREVIATEFIRST tinytext, XABBREVIATEFIRST tinytext, @@ -741,4 +749,5 @@ INSERT INTO t_journal_words (name) VALUES ('CRYOBIOLOGY'); INSERT INTO t_journal_words (name) VALUES ('BMC'); +INSERT INTO t_journal_words (name) VALUES ('ASAIO'); UNLOCK TABLES; Index: refdb.dump.sqlite =================================================================== RCS file: /cvsroot/refdb/refdb/scripts/refdb.dump.sqlite,v retrieving revision 1.5.2.1 retrieving revision 1.5.2.2 diff -u -U2 -r1.5.2.1 -r1.5.2.2 --- refdb.dump.sqlite 8 Sep 2004 20:18:30 -0000 1.5.2.1 +++ refdb.dump.sqlite 12 Oct 2004 00:28:23 -0000 1.5.2.2 @@ -67,4 +67,12 @@ YSTYLE TEXT, ZSTYLE TEXT, + QALTERNATESTYLE TEXT, + XALTERNATESTYLE TEXT, + YALTERNATESTYLE TEXT, + ZALTERNATESTYLE TEXT, + QALTERNATETEXT TEXT, + XALTERNATETEXT TEXT, + YALTERNATETEXT TEXT, + ZALTERNATETEXT TEXT, QABBREVIATEFIRST TEXT, XABBREVIATEFIRST TEXT, @@ -695,3 +703,4 @@ INSERT INTO t_journal_words (name) VALUES ('CRYOBIOLOGY'); INSERT INTO t_journal_words (name) VALUES ('BMC'); +INSERT INTO t_journal_words (name) VALUES ('ASAIO'); Index: refdb.dump.pgsql =================================================================== RCS file: /cvsroot/refdb/refdb/scripts/refdb.dump.pgsql,v retrieving revision 1.6.2.1 retrieving revision 1.6.2.2 diff -u -U2 -r1.6.2.1 -r1.6.2.2 --- refdb.dump.pgsql 8 Sep 2004 20:18:30 -0000 1.6.2.1 +++ refdb.dump.pgsql 12 Oct 2004 00:28:23 -0000 1.6.2.2 @@ -69,4 +69,12 @@ YSTYLE TEXT, ZSTYLE TEXT, + QALTERNATESTYLE TEXT, + XALTERNATESTYLE TEXT, + YALTERNATESTYLE TEXT, + ZALTERNATESTYLE TEXT, + QALTERNATETEXT TEXT, + XALTERNATETEXT TEXT, + YALTERNATETEXT TEXT, + ZALTERNATETEXT TEXT, QABBREVIATEFIRST TEXT, XABBREVIATEFIRST TEXT, @@ -700,4 +708,5 @@ INSERT INTO t_journal_words (name) VALUES ('CRYOBIOLOGY'); INSERT INTO t_journal_words (name) VALUES ('BMC'); +INSERT INTO t_journal_words (name) VALUES ('ASAIO'); CREATE GROUP refdbuser; |
From: Markus H. <mho...@us...> - 2004-10-12 00:26:26
|
Update of /cvsroot/refdb/refdb/dtd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11243/dtd Modified Files: Tag: Release_0_9_5_stable citestylex.dtd Log Message: added ALTERNATESTYLE and ALTERNATETEXT attributes to AUTHORLIST element Index: citestylex.dtd =================================================================== RCS file: /cvsroot/refdb/refdb/dtd/citestylex.dtd,v retrieving revision 1.7.2.3 retrieving revision 1.7.2.4 diff -u -U2 -r1.7.2.3 -r1.7.2.4 --- citestylex.dtd 8 Sep 2004 20:16:43 -0000 1.7.2.3 +++ citestylex.dtd 12 Oct 2004 00:26:15 -0000 1.7.2.4 @@ -31,4 +31,6 @@ <!ATTLIST AUTHORLIST STYLE (BOLD | ITALIC | BOLDITALIC | SUPER | SUB | ULINE | BOLDULINE | ITULINE | BOLDITULINE | NONE) #IMPLIED + ALTERNATESTYLE (ABOLD | AITALIC | ABOLDITALIC | ASUPER | ASUB | AULINE | ABOLDULINE | AITULINE | ABOLDITULINE | NONE) #IMPLIED + ALTERNATETEXT (AEMPTY | TITLEPRIMARY | TITLESECONDARY | TITLETERTIARY | NONE) "AEMPTY" ROLE (PRIMARY | SECONDARY | TERTIARY | ALL) "PRIMARY"> |
From: Markus H. <mho...@us...> - 2004-10-12 00:21:40
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10327 Modified Files: Tag: Release_0_9_5_stable xmlout.c Log Message: adapted to new citestylex.dtd Index: xmlout.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/xmlout.c,v retrieving revision 1.6.2.1 retrieving revision 1.6.2.2 diff -u -U2 -r1.6.2.1 -r1.6.2.2 --- xmlout.c 15 Jun 2004 22:31:08 -0000 1.6.2.1 +++ xmlout.c 12 Oct 2004 00:21:24 -0000 1.6.2.2 @@ -420,9 +420,9 @@ char *abbreviatesubseqstyle; - char authorfields[4][13][31] = { - {"QSTYLE", "QABBREVIATEFIRST", "QABBREVIATEFIRSTMAXAUTHOR", "QABBREVIATEFIRSTDISPLAYAUTHOR", "QABBREVIATEFIRSTSTYLE", "QABBREVIATESUBSEQ", "QABBREVIATESUBSEQMAXAUTHOR", "QABBREVIATESUBSEQDISPLAYAUTHOR", "QABBREVIATESUBSEQSTYLE", "QAEMPTY", "QASAME", "QPRECEEDING", "QFOLLOWING"}, - {"XSTYLE", "XABBREVIATEFIRST", "XABBREVIATEFIRSTMAXAUTHOR", "XABBREVIATEFIRSTDISPLAYAUTHOR", "XABBREVIATEFIRSTSTYLE", "XABBREVIATESUBSEX", "XABBREVIATESUBSEXMAXAUTHOR", "XABBREVIATESUBSEXDISPLAYAUTHOR", "XABBREVIATESUBSEXSTYLE", "XAEMPTY", "XASAME", "XPRECEEDING", "XFOLLOWING"}, - {"YSTYLE", "YABBREVIATEFIRST", "YABBREVIATEFIRSTMAXAUTHOR", "YABBREVIATEFIRSTDISPLAYAUTHOR", "YABBREVIATEFIRSTSTYLE", "YABBREVIATESUBSEY", "YABBREVIATESUBSEYMAXAUTHOR", "YABBREVIATESUBSEYDISPLAYAUTHOR", "YABBREVIATESUBSEYSTYLE", "YAEMPTY", "YASAME", "YPRECEEDING", "YFOLLOWING"}, - {"ZSTYLE", "ZABBREVIATEFIRST", "ZABBREVIATEFIRSTMAXAUTHOR", "ZABBREVIATEFIRSTDISPLAYAUTHOR", "ZABBREVIATEFIRSTSTYLE", "ZABBREVIATESUBSEZ", "ZABBREVIATESUBSEZMAXAUTHOR", "ZABBREVIATESUBSEZDISPLAYAUTHOR", "ZABBREVIATESUBSEZSTYLE", "ZAEMPTY", "ZASAME", "ZPRECEEDING", "ZFOLLOWING"} + char authorfields[4][15][31] = { + {"QSTYLE", "QALTERNATESTYLE", "QALTERNATETEXT", "QABBREVIATEFIRST", "QABBREVIATEFIRSTMAXAUTHOR", "QABBREVIATEFIRSTDISPLAYAUTHOR", "QABBREVIATEFIRSTSTYLE", "QABBREVIATESUBSEQ", "QABBREVIATESUBSEQMAXAUTHOR", "QABBREVIATESUBSEQDISPLAYAUTHOR", "QABBREVIATESUBSEQSTYLE", "QAEMPTY", "QASAME", "QPRECEEDING", "QFOLLOWING"}, + {"XSTYLE", "XALTERNATESTYLE", "XALTERNATETEXT", "XABBREVIATEFIRST", "XABBREVIATEFIRSTMAXAUTHOR", "XABBREVIATEFIRSTDISPLAYAUTHOR", "XABBREVIATEFIRSTSTYLE", "XABBREVIATESUBSEX", "XABBREVIATESUBSEXMAXAUTHOR", "XABBREVIATESUBSEXDISPLAYAUTHOR", "XABBREVIATESUBSEXSTYLE", "XAEMPTY", "XASAME", "XPRECEEDING", "XFOLLOWING"}, + {"YSTYLE", "YALTERNATESTYLE", "YALTERNATETEXT", "YABBREVIATEFIRST", "YABBREVIATEFIRSTMAXAUTHOR", "YABBREVIATEFIRSTDISPLAYAUTHOR", "YABBREVIATEFIRSTSTYLE", "YABBREVIATESUBSEY", "YABBREVIATESUBSEYMAXAUTHOR", "YABBREVIATESUBSEYDISPLAYAUTHOR", "YABBREVIATESUBSEYSTYLE", "YAEMPTY", "YASAME", "YPRECEEDING", "YFOLLOWING"}, + {"ZSTYLE", "ZALTERNATESTYLE", "ZALTERNATETEXT", "ZABBREVIATEFIRST", "ZABBREVIATEFIRSTMAXAUTHOR", "ZABBREVIATEFIRSTDISPLAYAUTHOR", "ZABBREVIATEFIRSTSTYLE", "ZABBREVIATESUBSEZ", "ZABBREVIATESUBSEZMAXAUTHOR", "ZABBREVIATESUBSEZDISPLAYAUTHOR", "ZABBREVIATESUBSEZSTYLE", "ZAEMPTY", "ZASAME", "ZPRECEEDING", "ZFOLLOWING"} }; @@ -448,12 +448,12 @@ /* get required strings */ - abbreviatefirst = (char*)my_dbi_result_get_string(dbires_ref, authorfields[n_role][1]); - abbreviatefirstmaxauthor = (char*)my_dbi_result_get_string(dbires_ref, authorfields[n_role][2]); - abbreviatefirstdisplayauthor = (char*)my_dbi_result_get_string(dbires_ref, authorfields[n_role][3]); - abbreviatefirststyle = (char*)my_dbi_result_get_string(dbires_ref, authorfields[n_role][4]); - abbreviatesubseq = (char*)my_dbi_result_get_string(dbires_ref, authorfields[n_role][5]); - abbreviatesubseqmaxauthor = (char*)my_dbi_result_get_string(dbires_ref, authorfields[n_role][6]); - abbreviatesubseqdisplayauthor = (char*)my_dbi_result_get_string(dbires_ref, authorfields[n_role][7]); - abbreviatesubseqstyle = (char*)my_dbi_result_get_string(dbires_ref, authorfields[n_role][8]); + abbreviatefirst = (char*)my_dbi_result_get_string(dbires_ref, authorfields[n_role][3]); + abbreviatefirstmaxauthor = (char*)my_dbi_result_get_string(dbires_ref, authorfields[n_role][4]); + abbreviatefirstdisplayauthor = (char*)my_dbi_result_get_string(dbires_ref, authorfields[n_role][5]); + abbreviatefirststyle = (char*)my_dbi_result_get_string(dbires_ref, authorfields[n_role][6]); + abbreviatesubseq = (char*)my_dbi_result_get_string(dbires_ref, authorfields[n_role][7]); + abbreviatesubseqmaxauthor = (char*)my_dbi_result_get_string(dbires_ref, authorfields[n_role][8]); + abbreviatesubseqdisplayauthor = (char*)my_dbi_result_get_string(dbires_ref, authorfields[n_role][9]); + abbreviatesubseqstyle = (char*)my_dbi_result_get_string(dbires_ref, authorfields[n_role][10]); /* begin authorlist block */ @@ -463,4 +463,14 @@ } + if (insert_liliform(&sentinel, "ALTERNATESTYLE", (char*)my_dbi_result_get_string(dbires_ref, authorfields[n_role][1]))) { + LOG_PRINT(LOG_WARNING, outomem.text); + return 1; + } + + if (insert_liliform(&sentinel, "ALTERNATETEXT", (char*)my_dbi_result_get_string(dbires_ref, authorfields[n_role][2]))) { + LOG_PRINT(LOG_WARNING, outomem.text); + return 1; + } + if (insert_liliform(&sentinel, "ROLE", (char*)role)) { LOG_PRINT(LOG_WARNING, outomem.text); @@ -473,8 +483,8 @@ /* preceeding */ - iwrite_element(ptr_clrequest, "PRECEEDING", NULL, my_dbi_result_get_string(dbires_ref, authorfields[n_role][11])); + iwrite_element(ptr_clrequest, "PRECEEDING", NULL, my_dbi_result_get_string(dbires_ref, authorfields[n_role][13])); /* following */ - iwrite_element(ptr_clrequest, "FOLLOWING", NULL, my_dbi_result_get_string(dbires_ref, authorfields[n_role][12])); + iwrite_element(ptr_clrequest, "FOLLOWING", NULL, my_dbi_result_get_string(dbires_ref, authorfields[n_role][14])); if ((abbreviatefirst && *abbreviatefirst) @@ -539,8 +549,8 @@ /* aempty */ - iwrite_element(ptr_clrequest, "AEMPTY", NULL, my_dbi_result_get_string(dbires_ref, authorfields[n_role][9])); + iwrite_element(ptr_clrequest, "AEMPTY", NULL, my_dbi_result_get_string(dbires_ref, authorfields[n_role][11])); /* asame */ - iwrite_element(ptr_clrequest, "ASAME", NULL, my_dbi_result_get_string(dbires_ref, authorfields[n_role][10])); + iwrite_element(ptr_clrequest, "ASAME", NULL, my_dbi_result_get_string(dbires_ref, authorfields[n_role][12])); /* authornames, authorseps, text elements */ |
From: Markus H. <mho...@us...> - 2004-10-12 00:18:57
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9836 Modified Files: Tag: Release_0_9_5_stable refdbda.c Log Message: added database info to failed to connect to database server error message Index: refdbda.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbda.c,v retrieving revision 1.41.2.1 retrieving revision 1.41.2.2 diff -u -U2 -r1.41.2.1 -r1.41.2.2 --- refdbda.c 3 Jun 2004 21:29:52 -0000 1.41.2.1 +++ refdbda.c 12 Oct 2004 00:18:46 -0000 1.41.2.2 @@ -437,5 +437,6 @@ if (dbi_conn_connect(conn) < 0) { /* -1 and -2 indicate errors */ - LOG_PRINT(LOG_WARNING, "failed to connect to database server"); + LOG_PRINT(LOG_WARNING, "failed to connect to database server using database:"); + LOG_PRINT(LOG_WARNING, my_db); dbi_conn_close(conn); return NULL; @@ -443,5 +444,6 @@ if (!nocheck && strcmp(my_db, MAIN_DB) && !is_reference_database(NULL, conn, my_db)) { - LOG_PRINT(LOG_WARNING, "failed to connect to database server"); + LOG_PRINT(LOG_WARNING, "failed to connect to database server using database:"); + LOG_PRINT(LOG_WARNING, my_db); dbi_conn_close(conn); return NULL; |
From: Markus H. <mho...@us...> - 2004-10-07 21:46:12
|
Update of /cvsroot/refdb/refdb/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8490 Modified Files: Tag: Release_0_9_5_stable med2ris.pl.in Log Message: fixed problem with numerical entities Index: med2ris.pl.in =================================================================== RCS file: /cvsroot/refdb/refdb/scripts/med2ris.pl.in,v retrieving revision 1.3.2.1 retrieving revision 1.3.2.2 diff -u -U2 -r1.3.2.1 -r1.3.2.2 --- med2ris.pl.in 18 Aug 2004 23:02:19 -0000 1.3.2.1 +++ med2ris.pl.in 7 Oct 2004 21:46:01 -0000 1.3.2.2 @@ -636,9 +636,9 @@ ## data here and dump them as soon as the enclosing element ends if ($elname eq "Year" || $elname eq "Month" || $elname eq "Day") { - $currpubdate{$elname} = $string; + $currpubdate{$elname} = $currel->{ELVALUE}; } elsif ($elname eq "MedlineDate") { ## apparently common in older citations, contains plain text date - $currpubdate{"Year"} = $string; + $currpubdate{"Year"} = $currel->{ELVALUE}; ## make no attempt to extract anything but a 4-digit year $currpubdate{"Year"} =~ s/.*(\d{4,}).*/$1/; @@ -653,12 +653,12 @@ || $elname eq "CollectiveName" || $elname eq "Initials") { - $currauthor{$elname} = $string; + $currauthor{$elname} = $currel->{ELVALUE}; } elsif ($elname eq "RegistryNumber" || $elname eq "NameOfSubstance") { - $currchemical{$elname} = $string; + $currchemical{$elname} = $currel->{ELVALUE}; } elsif ($elname eq "DescriptorName") { - $currmesh{$elname} = $string; + $currmesh{$elname} = $currel->{ELVALUE}; } elsif ($elname eq "QualifierName") { |
From: David N. <dav...@us...> - 2004-09-30 14:36:45
|
Update of /cvsroot/refdb/makestyle In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9339 Modified Files: refdb-ms.pl Log Message: Include BIBSTYLE and BIBLIOTITLE information in generated summary file; upped doctype declaration version to 1.3; miscellaneous changes to help screens. Index: refdb-ms.pl =================================================================== RCS file: /cvsroot/refdb/makestyle/refdb-ms.pl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -U2 -r1.2 -r1.3 --- refdb-ms.pl 14 Sep 2004 16:29:20 -0000 1.2 +++ refdb-ms.pl 30 Sep 2004 14:36:32 -0000 1.3 @@ -898,5 +898,5 @@ $self->add_enumeration( qw/ DMY MDY MY Y YMD / ); $self->set_default ( "Y" ); - $self->set_prompt ( "Default = \"Y ;\".\nDetermines which date elements are displayed, and in what order. Unsurprisingly, Y = year, M = month and D = day." ); + $self->set_prompt ( "Default = \"Y\".\nDetermines which date elements are displayed, and in what order. Unsurprisingly, Y = year, M = month and D = day." ); return $self; } @@ -3924,5 +3924,5 @@ # case: 'RefStyle' ( $class eq 'RefStyle' ) and do { - $output .= "<hr>\n<h2>Bibliography Style</h2>\n"; + $output .= "<hr>\n<h2>Reference Style</h2>\n"; }; # case: 'PubType' @@ -3935,5 +3935,5 @@ # case: 'CitStyle' ( $class eq 'CitStyle' ) and do { - $output .= "</div>\n<hr>\n<h2>Citation Style</h3>\n<div>"; + $output .= "</div>\n<hr>\n<h2>Citation Style</h2>\n<div>"; }; # case: 'InTextDef' @@ -3949,4 +3949,27 @@ $output .= "</div>\n<h3>Citation Style: Year only</h3>\n<div>"; }; + # case: 'BibStyle' + ( $class eq 'BibStyle' ) and do { + $output .= "</div>\n<hr>\n<h2>Bibliography Style</h2>\n<div>"; + if ( $self->has_attributes() ) { + for ( 0 .. $self->max_attribute_index() ) { + $output .= sprintf( + "%s: '%s'</div>\n<div>" , + $self->{attributes}->{selected}[$_]->get_name() , + $self->{attributes}->{selected}[$_]->get_value() + ); + } + } else { + $output .= "<i>No styling changes specified</i></div>\n<div>"; + } + }; + # case: 'BiblioTitle' + ( $class eq 'BiblioTitle' ) and do { + $output .= sprintf( + "%s: '%s'</div>\n<div>" , + $self->get_name() , + $self->get_value() + ); + }; # ENDSWITCH # Major element - include name/attributes/bracketing punctuation @@ -5683,9 +5706,9 @@ "HELP TOPIC: RefDB\n\nRefDB is a bibliography tool.\n\nRefDB's homepage (<http://refdb.sourceforge.net>) provides this summary:\n\n\"RefDB is a reference database and bibliography tool for SGML, XML, and LaTeX/BibTeX documents. It allows users to share databases over a network. It is lightweight and portable to basically all platforms with a decent C compiler. And it's released under the GNU General Public License.\"\n\nOne use for RefDB is formatting document bibliographies and citations. Such formatting includes:\n - which bibliographic elements -- such as volume, issue and title -- to include,\n - the order of bibliographic elements\n - appearance of bibliographic elements (eg. italicised, bolded, uppercase, etc.), and\n - punctuation between bibliographic elements.\n\nThe rules RefDB uses to format bibliographies and citations are specified in style files (see help topic <Styles>).\n\nThese style files are valid xml documents (see help topic <XML>)."; $cache->{"2. XML"} = - "HELP TOPIC: XML\n\nRefDB style files are well-formed XML files which conform to the \"citestylex\" dtd. While this utility makes generating style files easier than writing them \"by hand\", you should still have some understanding of xml before using it. This is the briefest of introductions to the topic. Several concepts are greatly simplified.\n\nXML is the \"eXtensible Markup Language\". For the purposes of RefDB stylesheets, the central feature of XML is \"elements\". An element is a unit of information. It has the following features: a name, opening and closing tags, attributes and content. Here is an example element:\n\n<ABBREVIATEFIRST DISPLAYAUTHOR=\"255\" MAXAUTHOR=\"256\" STYLE=\"ITALIC\">et al.</ABBREVIATEFIRST>\n\nName:\nThe element's name is ABBREVIATEFIRST.\n\nTags:\nThe element is bounded by opening and closing tags which consist primarily of the element name enclosed in angle brackets. The opening tag has the form '<ELEMENT>'. The closing tag has the form '</ELEMENT>' -- note the slash preceding the element name.\n\nAttributes:\nAn element can have associated attributes. Attributes have names and values. In the example element above there are three attributes: DISPLAYAUTHOR, MAXAUTHOR and STYLE. Attributes are placed inside an element's opening tag after the element name. They are separated by spaces. Most attributes have a list of possible legal values (an \"enumeration\"). Some can accept any value.\n\nContent:\nAn element's content appears between the opening and closing tags. There are few restrictions on element content.\n\n\nFinally, a note about DTDs. In order for XML documents to be useful there must be agreement about the meanings elements and attributes have. One means of specifying these meanings is a DTD. A Document Type Definition is a set of rules about what element names are legal and in what sequence they can occur, what attributes are associated with each element and what attribute values are legal. The \"citestylex\" DTD determines the structure of RefDB styles. This DTD is included with the RefDB installation."; + "HELP TOPIC: XML\n\nRefDB style files are well-formed XML files which conform to the \"citestylex\" dtd. While this utility makes generating style files easier than writing them \"by hand\", you should still have some understanding of xml before using it. This is the briefest of introductions to the topic. Several concepts are greatly simplified.\n\nXML is the \"eXtensible Markup Language\". For the purposes of RefDB stylesheets, the central feature of XML is \"elements\". An element is a unit of information. It has the following features: a name, opening and closing tags, attributes and content. Here is an example element:\n\n<ABBREVIATEFIRST DISPLAYAUTHOR=\"255\" MAXAUTHOR=\"256\" STYLE=\"ITALIC\">et al.</ABBREVIATEFIRST>\n\nName:\nThe element's name is ABBREVIATEFIRST.\n\nTags:\nThe element is bounded by opening and closing tags which consist primarily of the element name enclosed in angle brackets. The opening tag has the form '<ELEMENT>'. The closing tag has the form '</ELEMENT>' -- note the slash preceding the element name.\n\nAttributes:\nAn element can have associated attributes. Attributes have names and values. In the example element above there are three attributes: DISPLAYAUTHOR, MAXAUTHOR and STYLE. Attributes are placed inside an element's opening tag after the element name. They are separated by spaces. Most attributes have a list of possible legal values (an \"enumeration\"). Some can accept any value.\n\nContent:\nAn element's content appears between the opening and closing tags. There are few restrictions on element content.\n\n\nFinally, a note about DTDs. In order for XML documents to be useful there must be agreement about the meanings elements and attributes have. One means of specifying these meanings is a Document Type Definition (DTD). A DTD is a set of rules about what element names are legal and in what sequence they can occur, what attributes are associated with each element and what attribute values are legal. The \"citestylex\" DTD determines the structure of RefDB styles. This DTD is included with the RefDB installation."; $cache->{"3. Styles"} = - "HELP TOPIC: Styles\n\nAs mentioned in help topic <RefDB> \"styles\" provide rules for RefDB to follow when formatting bibliographies and citations. Each style is defined in an XML document that conforms to the \"citestylex\" DTD (see help topic <XML> for the briefest of introductions to XML). It will be most advantageous to have some understanding of XML before attempting to use this utility.\n\nEach style file can be divided broadly into three sections. The first section specifies the xml version, the controlling DTD and the style name. It includes the STYLENAME element.\n\nThe second section contains formatting rules for bibliographies. The REFSTYLE element includes a number of PUBSTYLE elements. Each PUBSTYLE element contains a number of subsidiary elements. Each PUBSTYLE element and its children specify formatting rules for a particular type of publication. There are 35 possible publication types, including book, journal and electronic citation. The publication type each PUBTYPE applies to is determined by PUBTYPE's TYPE attribute.\n\nThere are two kinds of elements in each PUBTYPE. One type specifies a component of the reference, for example, the TITLE element signifies the title of each reference work and the AUTHORLIST signifies the list of authors of a given work. These elements have a one-to-one correspondence with reference record ris fields. For example, the VOLUME element corresponds to the ris VL field. (See help topic <Using this utility> for how to access this information while creating your style.) Their presence in the PUBTYPE signifies the presence of the associated component in the bibliography reference. Also, their location in the PUBTYPE signifies the location of the associated component in the bibliography reference. For example, if you put AUTHORLIST first in a PUBTYPE, then the authors will appear first in the reference. If you put REFNUMBER first, the reference will begin with a reference number.\n\nSome elements are simple -- VOLUME, for example, has only one attribute and two possible child elements and corresponds to the reference volume. Other elements are complex. AUTHORLIST, for example, has numerous possible child elements with many associated attributes. See help topic <Using this utility> for notes on the help available while using this utility.\n\nThe second type of element specifies formatting and punctuation. These elements include FOLLOWING, PRECEDING and SEPARATOR. FOLLOWING and PRECEDING are associated with parent elements. They appear in a reference only if their parent element does. For example, you may specify the VOLUME element with a PRECEDING element containing 'Vol. '. If a particular reference of that type contains a volume, for example '10', it will appear in the bibliography as 'Vol. 10'. If a particular reference of that type does not contain a volume, the text 'Vol. ' will not appear in the bibliography reference. SEPARATOR, on the other hand, is not associated with any parent elements and will always appear in the reference. It should be used carefully, especially if nearby reference components may be missing from some references.\n\nSome elements can occur an unlimited number of times in each PUBTYPE, for example, PRECEDING, FOLLOWING and even VOLUME and ISSUE. Others can occur a limited number of times: AUTHORLIST, for example, can occur no more than three times in a publication type, PUBDATE (publication date) no more than twice and TITLE no more than three times.\n\nAlthough there are 35 possible publication types you do not have to create a PUBTYPE for all of them. As mentioned above, if a publication type contains an element not found in a particular reference, that element (and associated elements) are simply \"dropped\" from the bibliography for that particular reference. PUBTYPE 'GEN' is the default publication type. You should create it first and then create PUBTYPES for any publication types whose requirements are not met by the 'GEN' PUBTYPE. For example, the 'GEN' PUBTYPE can be designed to meet the needs of an edited work -- it could contain two AUTHORLISTs and TITLEs, the first for the primary work and its authors and the second for the collection details and editors. It will then also serve the needs of books -- the secondary title and author/editor list will simply be left blank.\n\nSome final notes:\nBe careful assigning PRECEDING and FOLLOWING child elements to adjacent elements or you may end up with double punctuation in your result.\nThe LINK and STYLESET elements are not available for selection using this utility. Trust me, you won't need them."; + "HELP TOPIC: Styles\n\nAs mentioned in help topic <RefDB> \"styles\" provide rules for RefDB to follow when formatting bibliographies and citations. Each style is defined in an XML document that conforms to the \"citestylex\" DTD (see help topic <XML> for the briefest of introductions to XML). It will be most advantageous to have some understanding of XML before attempting to use this utility.\n\nEach style file can be divided broadly into four sections.\n\nFIRST SECTION (STYLENAME element)\nThe first section specifies the xml version, the controlling DTD and the style name. It includes the STYLENAME element.\n\nSECOND SECTION (REFSTYLE and PUBSTYLE elements)\nThe second section contains formatting rules for bibliography references. The REFSTYLE element includes a number of PUBSTYLE elements. Each PUBSTYLE element contains a number of subsidiary elements. Each PUBSTYLE element and its children specify formatting rules for a particular type of publication. There are 35 possible publication types, including book, journal and electronic citation. The publication type each PUBTYPE applies to is determined by PUBTYPE's TYPE attribute.\n\nThere are two kinds of elements in each PUBTYPE. One type specifies a component of the reference, for example, the TITLE element signifies the title of each reference work and the AUTHORLIST signifies the list of authors of a given work. These elements have a one-to-one correspondence with reference record ris fields. For example, the VOLUME element corresponds to the ris VL field. (See help topic <Using this utility> for how to access this information while creating your style.) Their presence in the PUBTYPE signifies the presence of the associated component in the bibliography reference. Also, their location in the PUBTYPE signifies the location of the associated component in the bibliography reference. For example, if you put AUTHORLIST first in a PUBTYPE, then the authors will appear first in the reference. If you put REFNUMBER first, the reference will begin with a reference number.\n\nSome elements are simple -- VOLUME, for example, has only one attribute and two possible child elements. Other elements are complex -- AUTHORLIST, for example, has numerous possible child elements with many associated attributes. See help topic <Using this utility> for notes on the help available while using this utility.\n\nThe second type of element specifies formatting and punctuation. These elements include FOLLOWING, PRECEDING and SEPARATOR. FOLLOWING and PRECEDING are associated with parent elements. They appear in a reference only if their parent element does. For example, you may specify the VOLUME element with a PRECEDING element containing 'Vol. '. If a particular reference of that type contains a volume, for example '10', it will appear in the bibliography as 'Vol. 10'. If a particular reference of that type does not contain a volume, the text 'Vol. ' will not appear in the bibliography reference. SEPARATOR, on the other hand, is not associated with any parent elements and will always appear in the reference. It should be used carefully, especially if nearby reference components may be missing from some references.\n\nSome elements can occur an unlimited number of times in each PUBTYPE, for example, PRECEDING, FOLLOWING and even VOLUME and ISSUE. Others can occur a limited number of times: AUTHORLIST, for example, can occur no more than three times in a publication type, PUBDATE (publication date) no more than twice and TITLE no more than three times.\n\nAlthough there are 35 possible publication types you do not have to create a PUBTYPE for all of them. As mentioned above, if a publication type contains an element not found in a particular reference, that element (and associated elements) are simply \"dropped\" from the bibliography for that particular reference. PUBTYPE 'GEN' is the default publication type. You should create it first and then create PUBTYPES for any publication types whose requirements are not met by the 'GEN' PUBTYPE. For example, the 'GEN' PUBTYPE can be designed to meet the needs of an edited work -- it could contain two AUTHORLISTs and TITLEs, the first for the primary work and its authors and the second for the collection details and editors. It will then also serve the needs of books -- the secondary title and author/editor list will simply be left blank.\n\nWarning: Be careful assigning PRECEDING and FOLLOWING child elements to adjacent elements or you may end up with double punctuation in your references.\n\nTHIRD SECTION (CITSTYLE, INTEXTDEF, AUTHORONLY and YEARONLY elements)\nThese elements determine the formatting of in-text citations. RefDB provides for three types of citations: default (i.e., author-year), author-only and year only. The formatting of these citation types are handled, respectively, by the INTEXTDEF, AUTHORONLY and YEARONLY elements (and associated attributes and children elements). These elements follow a similar schema to that outlined for PUBTYPES: some elements specify the presence and order of citation components while other elements (and attributes) determine citation style.\n\nFOURTH SECTION (BIBSTYLE and BIBLIOTITLE elements)\nThe attributes associated with the BIBSTYLE element determine styling that affects the bibliography as a whole. The BIBLIOTITLE element determines the title of the bibliography/reference list.\n\n\nA final note:\nThe LINK and STYLESET elements are not available for selection using this utility. Trust me, you won't need them."; $cache->{"4. Using this utility"} = - "HELP TOPIC: Using this utility\n\nIn short, this utility consists of a loop in which you are asked to:\n\n - select an element from a list of elements allowed in that part of the style,\n - enter or select appropriate values for mandatory attributes,\n - select optional attributes for that element and enter their values,\n - select an element from a list of elements ...\n\nEvery time you are presented with a list of elements you have the option of selecting help. Doing so will present a screen with a summary of each element on the list. The same thing happens when you are presented with a list of attributes.\n\nWhen an attribute or element is required by the DTD this utility will select it automatically. For some objects you will not need to provide input and so this utility will create the object(s) automatically. This can be disconcerting at first. Please read the console feedback carefully.\n\nWhenever you are asked to enter or select a value for an attribute or element, you are given a brief prompt explaining the purpose of the element or attribute.\n\nAfter each element is added to the style you are presented with a \"progress report\" showing the (major) elements. It may take a little while to understand this feedback. As you add elements they will be appended to the report. When you complete a major element, such as a PUBTYPE or AUTHORLIST, however, its subsidiary elements are no longer displayed -- they are \"folded\". This saves space and makes it easier to quickly understand where in the style you are at that point in time. As you become more familiar with the structure of the style DTD this display will become increasingly useful.\n\nAt certain times within PUBTYPE, AUTHORONLY, YEARONLY and INTEXTDEF elements you are able to delete the previous \"major\" element. \"Major\" elements are those corresponding to ris fields. These elements may contain other elements. For example, deleting an AUTHORLIST element will delete all the children elements of that author list style. You can view the complete element before deletion occurs.\n\nWhen you select some elements (in general, those corresponding to ris fields) you will be given an opportunity to copy the most recently entered element of that type. If you choose to copy, all attributes and sub-elements will be copied. This can save you a lot of time if, for example, your author lists will always have the same formatting.\n\nAfter you have created your style this utility will save it to a disk file. It will also generate a brief summary of it in html format. This summary can be of great help when entering references in your reference database.\n\nDepending on the version of this utility and the configuration of your system, this utility may offer to upload the style to RefDB. There is no foreseeable way in which this operation could damage your reference data, but you use it at your own risk..."; + "HELP TOPIC: Using this utility\n\nIn short, this utility consists of a loop in which you are asked to:\n\n - select an element from a list of elements allowed in that part of the style,\n - enter or select appropriate values for mandatory attributes,\n - select optional attributes for that element and enter their values,\n - select an element from a list of elements ...\n\nThis process ends when you have exhausted the DTD (see section <XML>).\n\nEvery time you are presented with a list of elements you have the option of selecting help. Doing so will present a screen with a summary of each element on the list. The same thing happens when you are presented with a list of attributes.\n\nWhen an attribute or element is required by the DTD this utility will select it automatically. For some objects you will not need to provide input and so this utility will create the object(s) automatically. This can be disconcerting at first. Please read the console feedback carefully.\n\nWhenever you are asked to enter or select a value for an attribute or element, you are given a brief prompt explaining the purpose of the element or attribute.\n\nAfter each element is added to the style you are presented with a \"progress report\" showing the (major) elements. It may take a little while to understand this feedback. As you add elements they will be appended to the report. When you complete a major element, such as a PUBTYPE or AUTHORLIST, however, its subsidiary elements are no longer displayed -- they are \"folded\". This saves space and makes it easier to quickly understand where in the style you are at that point in time. As you become more familiar with the structure of the style DTD this display will become increasingly useful.\n\nAt certain times within PUBTYPE, AUTHORONLY, YEARONLY and INTEXTDEF elements you are able to delete the previous \"major\" element. \"Major\" elements are those corresponding to ris fields. These elements may contain other elements. For example, deleting an AUTHORLIST element will delete all the children elements of that author list style. You can view the complete element before deletion occurs.\n\nWhen you select some elements (in general, those corresponding to ris fields) you will be given an opportunity to copy the most recently entered element of that type. If you choose to copy, all attributes and sub-elements will be copied. This can save you a lot of time if, for example, your author lists will always have the same formatting.\n\nAfter you have created your style this utility will save it to a disk file. It will also generate a brief summary of it in html format. This summary can be of great help when entering references in your reference database.\n\nDepending on the version of this utility and the configuration of your system, this utility may offer to upload the style to RefDB. There is no foreseeable way in which this operation could damage your reference data, but you use it at your own risk..."; return $cache; } @@ -6043,5 +6066,5 @@ my @xml = $self->get_root()->generate_full_xml(); open FH , "> $filename" or die "Cannot create stylefile: $!"; - print FH "<?xml version=\"1.0\"?>\n<!DOCTYPE CITESTYLE PUBLIC \n\t\"-//Markus Hoenicka//DTD CiteStyle V1.0//EN\" \n\t\"http://refdb.sourceforge.net/dtd/citestylex-1.0/citestylex.dtd\">\n"; + print FH "<?xml version=\"1.0\"?>\n<!DOCTYPE CITESTYLE PUBLIC \n\t\"-//Markus Hoenicka//DTD CiteStyle V1.3//EN\" \n\t\"http://refdb.sourceforge.net/dtd/citestylex-1.3/citestylex.dtd\">\n"; print FH $xml[1]; close FH; |
From: Markus H. <mho...@us...> - 2004-09-28 22:14:54
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29136 Modified Files: Tag: Release_0_9_5_stable refdbdbib.c Log Message: getbib():initialize ptr_addresult->msg_len properly if the string is newly allocated Index: refdbdbib.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbdbib.c,v retrieving revision 1.36.2.11 retrieving revision 1.36.2.12 diff -u -U2 -r1.36.2.11 -r1.36.2.12 --- refdbdbib.c 26 Sep 2004 21:10:31 -0000 1.36.2.11 +++ refdbdbib.c 28 Sep 2004 22:14:40 -0000 1.36.2.12 @@ -1131,8 +1131,9 @@ if (!ptr_addresult->msg) { - ptr_addresult->msg = (char*)malloc(256); + ptr_addresult->msg = (char*)malloc(256); /* something to start with */ if (ptr_addresult->msg) { *(ptr_addresult->msg) = '\0'; + ptr_addresult->msg_len = 256; } } |
From: Markus H. <mho...@us...> - 2004-09-28 22:12:44
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28845 Modified Files: Tag: Release_0_9_5_stable xmlhandler.c Log Message: fix double missing counts in multiple citations Index: xmlhandler.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/xmlhandler.c,v retrieving revision 1.22.2.8 retrieving revision 1.22.2.9 diff -u -U2 -r1.22.2.8 -r1.22.2.9 --- xmlhandler.c 26 Sep 2004 21:13:06 -0000 1.22.2.8 +++ xmlhandler.c 28 Sep 2004 22:12:34 -0000 1.22.2.9 @@ -1682,10 +1682,13 @@ } else { - /* requested ref is not in the database */ - (*(ptr_gbdata->ptr_ndb_notfound))++; + /* don't count the first dummy citation in a multiple citation */ + if (!nis_multi) { + /* requested ref is not in the database */ + (*(ptr_gbdata->ptr_ndb_notfound))++; - /* add ID or citation key to the linked list of unfound stuff */ - if (append_lilifstring(ptr_gbdata->ptr_notfound_first, id_string)) { - (*(ptr_gbdata->ptr_ndb_error))++; + /* add ID or citation key to the linked list of unfound stuff */ + if (append_lilifstring(ptr_gbdata->ptr_notfound_first, id_string)) { + (*(ptr_gbdata->ptr_ndb_error))++; + } } } |
From: Markus H. <mho...@us...> - 2004-09-27 19:21:18
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20936 Modified Files: Tag: Release_0_9_5_stable refdbd.h.in Log Message: added msg_len to struct ADDRESULT Index: refdbd.h.in =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbd.h.in,v retrieving revision 1.7.2.2 retrieving revision 1.7.2.3 diff -u -U2 -r1.7.2.2 -r1.7.2.3 --- refdbd.h.in 8 Sep 2004 20:36:24 -0000 1.7.2.2 +++ refdbd.h.in 27 Sep 2004 19:21:06 -0000 1.7.2.3 @@ -34,4 +34,5 @@ unsigned long long skipped; /* number of skipped references */ char *msg; /* ptr to optional error message */ + size_t msg_len; /* length of optional error message */ }; |