refdb-cvs Mailing List for RefDB (Page 38)
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...> - 2006-01-02 22:18:01
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21519 Modified Files: Tag: Release_0_9_5_stable refdbib.c Log Message: check for missing username Index: refdbib.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbib.c,v retrieving revision 1.41.2.6 retrieving revision 1.41.2.7 diff -u -U2 -r1.41.2.6 -r1.41.2.7 --- refdbib.c 3 Nov 2005 20:40:19 -0000 1.41.2.6 +++ refdbib.c 2 Jan 2006 22:17:53 -0000 1.41.2.7 @@ -364,4 +364,8 @@ is a good guess */ } + else if (!username[0]) { + fprintf(stderr, "missing username\n"); + exit (1); + } /* see whether we need to ask for a password */ @@ -1020,5 +1024,5 @@ strcat(cmd_buffer, " -u "); strcat(cmd_buffer, username); - if (strlen(passwd) > 0) { + if (*passwd) { strcat(cmd_buffer, " -w "); strcat(cmd_buffer, scrambled_passwd); |
From: Markus H. <mho...@us...> - 2006-01-02 22:16:37
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21315 Modified Files: Tag: Release_0_9_5_stable refdbdbib.c Log Message: send_stylespec(): fixed memory access after it's been freed Index: refdbdbib.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbdbib.c,v retrieving revision 1.36.2.31 retrieving revision 1.36.2.32 diff -u -U2 -r1.36.2.31 -r1.36.2.32 --- refdbdbib.c 27 Dec 2005 16:00:58 -0000 1.36.2.31 +++ refdbdbib.c 2 Jan 2006 22:16:29 -0000 1.36.2.32 @@ -2746,11 +2746,14 @@ } /* end while */ - dbi_result_free(dbires_cit); - dbi_result_free(dbires_ref); - if (write_bibstyle_info(fd, bibliofirstindent, biblioblockindent, fontsize, 1 /* DSSSL */)) { + dbi_result_free(dbires_cit); + dbi_result_free(dbires_ref); + LOG_PRINT(LOG_WARNING, get_status_msg(110)); return 110; } + dbi_result_free(dbires_cit); + dbi_result_free(dbires_ref); + sprintf(outbuffer, "</style-specification-body>\n</style-specification>\n<external-specification id=\"%s\" document=\"%s\">\n<external-specification id=\"%s\" document=\"%s\">\n</style-sheet>\n", STYLESHEET_HTML_BASENAME, STYLESHEET_HTML_NAME, STYLESHEET_PRINT_BASENAME, STYLESHEET_PRINT_NAME); numbyte = tiwrite(fd, outbuffer, TERM_YES); |
From: Markus H. <mho...@us...> - 2006-01-02 22:14:25
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21069 Modified Files: Tag: Release_0_9_5_stable readris.c Log Message: wrap_citation(): now handles multi-head tex citations ok Index: readris.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/readris.c,v retrieving revision 1.12.2.4 retrieving revision 1.12.2.5 diff -u -U2 -r1.12.2.4 -r1.12.2.5 --- readris.c 28 Oct 2005 23:49:45 -0000 1.12.2.4 +++ readris.c 2 Jan 2006 22:14:18 -0000 1.12.2.5 @@ -337,5 +337,5 @@ /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - wrap_citation(): wraps the citation ID into a comma-separated list + wrap_citation(): wraps the citation ID into a whitespace-separated list static int wrap_citation returns 0 if ok, 1 if ID is malformed, 2 if a @@ -378,4 +378,16 @@ } + /* in case of a multi-head citation, the tex citation element + contains a comma-separated list of IDs. Replacing the comma with + a space turns this into proper members of our + whitespace-separated list */ + end = start; /* reuse end */ + while (*end) { + if (*end == ',') { + *end = ' '; + } + end++; + } + if ((new_buffer = mstrcat(*ptr_buffer, start, ptr_bufsize, 0)) == NULL) { fprintf(stderr, "out of memory\n"); |
From: Markus H. <mho...@us...> - 2005-12-29 19:39:51
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15439/src Modified Files: Tag: Release_0_9_5_stable backend-dbiba.c Log Message: added support for FIRSTSPCM Index: backend-dbiba.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/backend-dbiba.c,v retrieving revision 1.26.2.19 retrieving revision 1.26.2.20 diff -u -U2 -r1.26.2.19 -r1.26.2.20 --- backend-dbiba.c 28 Dec 2005 01:24:41 -0000 1.26.2.19 +++ backend-dbiba.c 29 Dec 2005 19:39:43 -0000 1.26.2.20 @@ -4011,4 +4011,5 @@ strcmp(initialstyle, "FIRSTSPCMIDDLE") == 0 || strcmp(initialstyle, "FIRSTSPCM.") == 0 || + strcmp(initialstyle, "FIRSTSPCM") == 0 || strcmp(initialstyle, "FSPCM") == 0)) { if ((new_ref = mstrcat(*ptr_ref, " ", ptr_ref_len, 0)) == NULL) { @@ -4043,4 +4044,5 @@ strcmp(initialstyle, "FM") == 0 || strcmp(initialstyle, "FIRSTSPCM.") == 0 || + strcmp(initialstyle, "FIRSTSPCM") == 0 || strcmp(initialstyle, "FSPCM") == 0)) { if (strlen(entitize_buf) > 0) { |
From: Markus H. <mho...@us...> - 2005-12-29 19:36:48
|
Update of /cvsroot/refdb/refdb/dtd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14933/dtd Modified Files: Tag: Release_0_9_5_stable citestylex.dtd Log Message: added FIRSTSPCM to NAMEORDER attributes Index: citestylex.dtd =================================================================== RCS file: /cvsroot/refdb/refdb/dtd/citestylex.dtd,v retrieving revision 1.7.2.5 retrieving revision 1.7.2.6 diff -u -U2 -r1.7.2.5 -r1.7.2.6 --- citestylex.dtd 7 Sep 2005 23:29:29 -0000 1.7.2.5 +++ citestylex.dtd 29 Dec 2005 19:36:37 -0000 1.7.2.6 @@ -4,5 +4,5 @@ <!-- suggested invocation: --> -<!-- <!DOCTYPE CITESTYLE PUBLIC "-//Markus Hoenicka//DTD CiteStyle V1.4//EN" "http://refdb.sourceforge.net/dtd/citestylex-1.4/citestylex.dtd"> --> +<!-- <!DOCTYPE CITESTYLE PUBLIC "-//Markus Hoenicka//DTD CiteStyle V1.5//EN" "http://refdb.sourceforge.net/dtd/citestylex-1.4/citestylex.dtd"> --> <!ELEMENT STYLESET (CITESTYLE)+> @@ -68,9 +68,9 @@ <!ATTLIST NAMEFIRST NAMEORDER (FIRSTMIDDLELAST | LASTCOMMAFIRSTMIDDLE | LASTCOMMASPCFIRSTMIDDLE | LASTFIRSTMIDDLE | LAST) "LASTFIRSTMIDDLE" - INITIALSTYLE (FIRSTSPCMIDDLE | FIRSTSPCM. | F.SPCM. | F.M. | FSPCM | FM) "F.M." + INITIALSTYLE (FIRSTSPCMIDDLE | FIRSTSPCM. | FIRSTSPCM | F.SPCM. | F.M. | FSPCM | FM) "F.M." UPPERCASE (NONE | LASTNAME | ALL) "NONE"> <!ATTLIST NAMEOTHER NAMEORDER (FIRSTMIDDLELAST | LASTCOMMAFIRSTMIDDLE | LASTCOMMASPCFIRSTMIDDLE | LASTFIRSTMIDDLE | LAST) "LASTFIRSTMIDDLE" - INITIALSTYLE (FIRSTSPCMIDDLE | FIRSTSPCM. | F.SPCM. | F.M. | FSPCM | FM) "F.M." + INITIALSTYLE (FIRSTSPCMIDDLE | FIRSTSPCM. | FIRSTSPCM | F.SPCM. | F.M. | FSPCM | FM) "F.M." UPPERCASE (NONE | LASTNAME | ALL) "NONE"> |
From: Markus H. <mho...@us...> - 2005-12-28 22:22:50
|
Update of /cvsroot/refdb/homepage In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11870 Modified Files: emacs.html Log Message: updated for refdb-mode.el 1.27 Index: emacs.html =================================================================== RCS file: /cvsroot/refdb/homepage/emacs.html,v retrieving revision 1.11 retrieving revision 1.12 diff -u -U2 -r1.11 -r1.12 --- emacs.html 23 Dec 2005 22:31:40 -0000 1.11 +++ emacs.html 28 Dec 2005 22:22:41 -0000 1.12 @@ -162,5 +162,5 @@ <h2 id="refdbmode">Emacs refdb-mode</h2> <p class="authors">Current Author: Markus Hoenicka <mho...@us...></p> - <p><strong><a href="addons/refdb-mode.el">Download refdb-mode.el (1.26)</a></strong></p> + <p><strong><a href="addons/refdb-mode.el">Download refdb-mode.el (1.27)</a></strong></p> <p>This minor mode for <a href="http://directory.fsf.org/emacs.html">Emacs</a> and <a href="http://www.xemacs.org/">XEmacs</a> is a frontend, and then some, for RefDB.</p> <ul> |
From: Markus H. <mho...@us...> - 2005-12-28 21:58:23
|
Update of /cvsroot/refdb/elisp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6604 Modified Files: NEWS Log Message: updated for 1.2 Index: NEWS =================================================================== RCS file: /cvsroot/refdb/elisp/NEWS,v retrieving revision 1.2 retrieving revision 1.3 diff -u -U2 -r1.2 -r1.3 --- NEWS 21 Dec 2005 22:01:35 -0000 1.2 +++ NEWS 28 Dec 2005 21:58:16 -0000 1.3 @@ -4,4 +4,14 @@ ___________________________ +Version 1.2 (December 2005) + +- manual is now available as an info file + +- added a new menu command to invoke the info manual + +- some more fixes for calling external viewers + + +___________________________ Version 1.1 (December 2005) |
From: Markus H. <mho...@us...> - 2005-12-28 21:46:49
|
Update of /cvsroot/refdb/elisp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3963 Modified Files: refdb-mode-manual.xml Log Message: updated for 1.2 Index: refdb-mode-manual.xml =================================================================== RCS file: /cvsroot/refdb/elisp/refdb-mode-manual.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -U2 -r1.6 -r1.7 --- refdb-mode-manual.xml 25 Dec 2005 00:30:18 -0000 1.6 +++ refdb-mode-manual.xml 28 Dec 2005 21:46:40 -0000 1.7 @@ -10,4 +10,5 @@ <affiliation><address><email>ma...@mh...</email></address></affiliation> </author> + <!-- the role attribute in the abstract element is required for the conversion to an info manual. This also explains the almost offending brevity of the abstract. --> <abstract role="texinfo-node"> <para>An Emacs minor mode for the RefDB reference manager and bibliography tool.</para> @@ -18,4 +19,5 @@ <para>refdb-mode turns GNU Emacs into a frontend for <ulink url="http://refdb.sourceforge.net">RefDB</ulink>, a reference manager and bibliography tool for markup languages. refdb-mode is a minor mode which works well alongside the major modes PSGML (SGML editing), nxml-mode (XML editing), and ris-mode (RIS editing). It offers a full set of menu commands for reference and notes management, allowing you to conveniently use Emacs to create or update references and notes. Moreover, it allows you to create DocBook and TEI documents for use with RefDB. You can transform the documents and view the results with a mouseclick. It integrates seamlessly into your authoring process, allowing you to search for references and yank them directly in place, without ever leaving Emacs. Finally, there is also a full set of administrative commands to control all aspects of RefDB configuration and administration.</para> <para>This manual gives a brief overview of how to use refdb-mode, followed by a more thorough description of all available commands.</para> + <para>Please visit the <ulink url="http://refdb.sourceforge.net">RefDB web page</ulink> for further information about RefDB and for the addresses of mailing lists where problems with refdb-mode can be discussed.</para> </preface> <chapter id="chapter-installation"> @@ -45,5 +47,5 @@ <prompt>root# </prompt><userinput>make install</userinput> </screen> - <para>The Lisp files proper will be installed into an appropriate <filename class="directory">site-lisp</filename> directory. The configuration file <filename>refdb-mode-config.el</filename> will be installed in your system configuration directory, which is either <filename class="directory">/etc</filename> or <filename class="directory">/usr/local/etc</filename> on most systems. The documentation will be installed in your documentation directory, usually <filename class="directory">/usr/share/doc/refdb-elisp</filename> or <filename class="directory">/usr/local/share/doc/refdb-elisp</filename>.</para> + <para>The Lisp files proper will be installed into an appropriate <filename class="directory">site-lisp</filename> directory. The configuration file <filename>refdb-mode-config.el</filename> will be installed in your system configuration directory, which is either <filename class="directory">/etc</filename> or <filename class="directory">/usr/local/etc</filename> on most systems. The HTML and PDF versions of the documentation will be installed in your documentation directory, usually <filename class="directory">/usr/share/doc/refdb-elisp</filename> or <filename class="directory">/usr/local/share/doc/refdb-elisp</filename>. An info version of the manual is also installed. You can view it from the command line using <command><userinput>info refdb-mode</userinput></command> or from within Emacs with the <menuchoice><guimenu>RefDB</guimenu><guimenuitem>Show Manual</guimenuitem></menuchoice> menu command.</para> <para>If you run more than one Emacs version, or if you want to test-drive refdb-mode without installing it system-wide, you can pass an alternative site-lisp directory to <command>configure</command> with the <option>--with-lispdir</option> option. Make sure that this directory is in your load path, e.g. by adding the following line to your <filename>.emacs</filename>:</para> <programlisting> @@ -1014,5 +1016,5 @@ </funcprototype> </funcsynopsis> - <para>Selects the output type of citations. The short and the full citation type are available.</para> + <para>Selects the output type of citations. The short and the full citation type are available. The default is full, and you should not change this unless you know what you're doing.</para> </sect3> <sect3 id="command-select-citation-output-format" xreflabel="Select Citation Output Format"> |
From: Markus H. <mho...@us...> - 2005-12-28 21:45:23
|
Update of /cvsroot/refdb/elisp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3724 Modified Files: refdb-mode.el Log Message: added refdb-show-manual command to invoke the info manual Index: refdb-mode.el =================================================================== RCS file: /cvsroot/refdb/elisp/refdb-mode.el,v retrieving revision 1.26 retrieving revision 1.27 diff -u -U2 -r1.26 -r1.27 --- refdb-mode.el 23 Dec 2005 22:23:13 -0000 1.26 +++ refdb-mode.el 28 Dec 2005 21:45:15 -0000 1.27 @@ -211,4 +211,5 @@ ;; Show RefDB Message Log ;; Show Version Information +;; Info Manual ;; ;; Here are brief descriptions of each menu entry: @@ -330,4 +331,6 @@ ;; Show refdb-mode and refdbd version information. ;; +;; Info Manual +;; Displays the refdb-mode node of the info documentation system ;; ;; ------------------------ @@ -445,7 +448,4 @@ ;; refdb-reload-server ;; -- -;; refdb-show-messages -;; refdb-show-version -;; -- ;; refdb-edit-refdbcrc ;; refdb-edit-refdbarc @@ -455,4 +455,8 @@ ;; refdb-edit-global-refdbarc ;; refdb-edit-global-refdbibrc +;; -- +;; refdb-show-messages +;; refdb-show-version +;; refdb-show-manual ;; ;; ------------------------------------------------------------------- @@ -2367,4 +2371,10 @@ ) +(defun refdb-show-manual () + "Display the refdb-mode node of the info documentation system." + (interactive) + (info "refdb-mode") + ) + (defun refdb-determine-input-type () "Set RefDB output type according to user prefs. @@ -6228,4 +6238,10 @@ ) +(defvar refdb-show-manual-menu-item + ["Show Manual" + (refdb-show-manual) t] + "RefDB menu item for displaying RefDB Mode manual." + ) + (defvar refdb-customize-menu-item ["Customize RefDB Mode..." @@ -6758,4 +6774,5 @@ refdb-show-messages-menu-item refdb-show-version-menu-item + refdb-show-manual-menu-item ) "*Contents of command `refdb-mode' menu. |
From: Markus H. <mho...@us...> - 2005-12-28 01:31:40
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28264 Modified Files: Tag: Release_0_9_5_stable strfncs.c Log Message: count_the_flowers(), replace_char_string(), sgml_entitize(): now handle multibyte letters Index: strfncs.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/strfncs.c,v retrieving revision 1.15.2.4 retrieving revision 1.15.2.5 diff -u -U2 -r1.15.2.4 -r1.15.2.5 --- strfncs.c 11 Oct 2005 20:35:02 -0000 1.15.2.4 +++ strfncs.c 28 Dec 2005 01:31:31 -0000 1.15.2.5 @@ -38,5 +38,5 @@ /* forward declarations of local functions */ -static size_t count_the_flowers(char *buffer, char letter); +static size_t count_the_flowers(char *buffer, char *letter, size_t len); static int is_ip(char *address); @@ -680,5 +680,5 @@ /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ count_the_flowers() counts the number of occurrences of letter in - buffer + buffer. letter may be a multibyte character static size_t count_the_flowers returns the number of occurrences of letter @@ -688,39 +688,55 @@ char* buffer pointer to the string to scan - char letter the letter to locate + char *letter ptr to the letter to locate + + size_t len the number of bytes that represent letter ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -static size_t count_the_flowers(char *buffer, char letter) { +static size_t count_the_flowers(char *buffer, char *letter, size_t len) { size_t numletters = 0; - int i; + size_t i; + size_t buflen; + + buflen = strlen(buffer); - for (i = 0; i < strlen(buffer); i++) { - if (buffer[i] == letter) { - numletters++; + if (buflen >= len) { + buflen = buflen-len+1; + + for (i = 0; i < buflen; i++) { + if (!memcmp(buffer+i, letter, len)) { + numletters++; + } } + return numletters; + } + else { + /* string too short to hold the flower */ + return 0; } - return numletters; } /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - replace_char_string() replaces the character that buffer points to + replace_char_string() replaces the letter that buffer points to with an insert of arbitrary size. The calling function is responsible to allocate enough space for buffer - so the insertion can be safely executed. + so the insertion can be safely executed. The letter may + be a multibyte character. void replace_char_string has no return value - char* buffer pointer to the string that will be extended + char* buffer pointer to the null-terminated string that will be extended char* insert pointer to the string that will be inserted + size_t len length of the letter to replace in bytes + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -void replace_char_string(char *buffer, char *insert) { - int len_insert; +void replace_char_string(char *buffer, char *insert, size_t len) { + size_t insert_len; - len_insert = strlen(insert); + insert_len = strlen(insert); - memmove(buffer+len_insert, buffer+1, strlen(buffer)); - memcpy(buffer, insert, len_insert); + memmove(buffer+insert_len, buffer+len, strlen(buffer+len)+1); + memcpy(buffer, insert, insert_len); } @@ -789,9 +805,12 @@ struct charent* the_ents; - struct charent default_ents[4] = { /* default lookup table for entity replacements */ - {(int)'&', "&"}, - {(int)'<', "<"}, - {(int)'>', ">"}, - {0, ""} + struct charent default_ents[7] = { /* default lookup table for entity replacements */ + {"&", 1, "&"}, + {"<", 1, "<"}, + {">", 1, ">"}, + {{226, 128, 148, 0}, 3, "—"}, /* 0x2014 */ + {{226, 128, 152, 0}, 3, "‘"}, /* 0x2018 */ + {{226, 128, 153, 0}, 3, "’"}, /* 0x2019 */ + {"", 0, ""} }; @@ -803,8 +822,8 @@ } - while (the_ents[i].character != 0) { + while (the_ents[i].len != 0) { - numents = count_the_flowers(*buffer, the_ents[i].character); -/* printf("%d\n", numents); */ + numents = count_the_flowers(*buffer, the_ents[i].letter, the_ents[i].len); +/* printf("numents for %s went to %d\n", the_ents[i].letter, numents); */ if (numents > 0) { @@ -816,5 +835,5 @@ } - token = strchr(*buffer, the_ents[i].character); + token = strstr(*buffer, the_ents[i].letter); the_end = &((*buffer)[strlen(*buffer)-1]); @@ -824,5 +843,5 @@ char* next_sp; -/* printf("token went to:%s<<\n", token); */ +/* printf("token went to:%d<<letter went to %s\n", (int)*token, the_ents[i].letter); */ /* replace ampersand only if it does not start an entity */ /* get pointers to the next ampersand and semicolon, if any, @@ -832,8 +851,8 @@ next_sp = strchr(token+1, (int)' '); - if (the_ents[i].character != '&' || compare_ptr(&next_sc, &next_amp) != -1 || compare_ptr(&next_sp, &next_sc) != 1) { - replace_char_string(token, the_ents[i].entity); + if (*(the_ents[i].letter) != '&' || compare_ptr(&next_sc, &next_amp) != -1 || compare_ptr(&next_sp, &next_sc) != 1) { + replace_char_string(token, the_ents[i].entity, the_ents[i].len); } - token = (token + 1 > the_end + 5) ? NULL:strchr(token+1, the_ents[i].character); + token = (token + the_ents[i].len > the_end) ? NULL:strstr(token+the_ents[i].len, the_ents[i].letter); } } @@ -884,5 +903,5 @@ expand with the value of HOME. This way we can call this function with paths that did not go through shell expansion */ - if ((numtilde = count_the_flowers(the_path, '~')) > 1) { + if ((numtilde = count_the_flowers(the_path, "~", 1)) > 1) { free(homepath); free(temp); @@ -892,5 +911,5 @@ myhome = getenv("HOME"); strcpy(homepath, the_path); - replace_char_string(strchr(homepath, (int)'~'), myhome); + replace_char_string(strchr(homepath, (int)'~'), myhome, 1); } else { |
From: Markus H. <mho...@us...> - 2005-12-28 01:29:30
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27799 Modified Files: Tag: Release_0_9_5_stable strfncs.h Log Message: changed struct charent to hold a multibyte letter; added replace_char_string() prototype Index: strfncs.h =================================================================== RCS file: /cvsroot/refdb/refdb/src/strfncs.h,v retrieving revision 1.8.2.3 retrieving revision 1.8.2.4 diff -u -U2 -r1.8.2.3 -r1.8.2.4 --- strfncs.h 11 Oct 2005 20:35:02 -0000 1.8.2.3 +++ strfncs.h 28 Dec 2005 01:29:21 -0000 1.8.2.4 @@ -37,7 +37,11 @@ #define realloc_chunk 512 +/* structure used in letter->entity replacements */ struct charent { - int character; - char entity[16]; + char letter[5]; /* a string containing the (possibly multibyte) */ + /* letter */ + size_t len; /* length in bytes of letter */ + char entity[16]; /* null-terminated string containing the replacement */ + /* entity string */ }; @@ -71,2 +75,3 @@ int increment_suffix(char* suffix, int max_depth, int upper); int parse_versioninfo(const char* version, struct VERSIONINFO* ver); +void replace_char_string(char *buffer, char *insert, size_t len); |
From: Markus H. <mho...@us...> - 2005-12-28 01:26:01
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27404 Modified Files: Tag: Release_0_9_5_stable refdbd.h.in Log Message: added entities to the doctype definitions Index: refdbd.h.in =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbd.h.in,v retrieving revision 1.7.2.13 retrieving revision 1.7.2.14 diff -u -U2 -r1.7.2.13 -r1.7.2.14 --- refdbd.h.in 27 Dec 2005 16:00:58 -0000 1.7.2.13 +++ refdbd.h.in 28 Dec 2005 01:25:53 -0000 1.7.2.14 @@ -83,12 +83,12 @@ #define PROCESSING_INST "<?xml version=\"1.0\"?>\n" #define PROCESSING_INST_UTF8 "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" -#define DOCTYPE_CITESTYLE "<!DOCTYPE CITESTYLE PUBLIC \"-//Markus Hoenicka//DTD CiteStyle V<citestylexversion>//EN\" \"http://refdb.sourceforge.net/dtd/citestylex-<citestylexversion>/citestylex.dtd\">\n" -#define DOCTYPE_STYLESET "<!DOCTYPE STYLESET PUBLIC \"-//Markus Hoenicka//DTD CiteStyle V<citestylexversion>//EN\" \"http://refdb.sourceforge.net/dtd/citestylex-<citestylexversion>/citestylex.dtd\">\n" +#define DOCTYPE_CITESTYLE "<!DOCTYPE CITESTYLE PUBLIC \"-//Markus Hoenicka//DTD CiteStyle V<citestylexversion>//EN\" \"http://refdb.sourceforge.net/dtd/citestylex-<citestylexversion>/citestylex.dtd\" [\n<!ENTITY lt \"&#60;\">\n<!ENTITY gt \">\">\n<!ENTITY amp \"&#38;\">\n<!ENTITY mdash \"—\">\n<!ENTITY lsquo \"‘\">\n<!ENTITY rsquo \"’\">\n]>\n" +#define DOCTYPE_STYLESET "<!DOCTYPE STYLESET PUBLIC \"-//Markus Hoenicka//DTD CiteStyle V<citestylexversion>//EN\" \"http://refdb.sourceforge.net/dtd/citestylex-<citestylexversion>/citestylex.dtd\" [\n<!ENTITY lt \"&#60;\">\n<!ENTITY gt \">\">\n<!ENTITY amp \"&#38;\">\n<!ENTITY mdash \"—\">\n<!ENTITY lsquo \"‘\">\n<!ENTITY rsquo \"’\">\n]>\n" /* this one is for the risx.dtd */ -#define RISX_PUBID "<!DOCTYPE ris PUBLIC \"-//Markus Hoenicka//DTD Ris V<risxversion>//EN\" \"http://refdb.sourceforge.net/dtd/risx-<risxversion>/risx.dtd\" [\n<!ENTITY lt \"&#60;\">\n<!ENTITY gt \">\">\n<!ENTITY amp \"&#38;\">\n]>\n" +#define RISX_PUBID "<!DOCTYPE ris PUBLIC \"-//Markus Hoenicka//DTD Ris V<risxversion>//EN\" \"http://refdb.sourceforge.net/dtd/risx-<risxversion>/risx.dtd\" [\n<!ENTITY lt \"&#60;\">\n<!ENTITY gt \">\">\n<!ENTITY amp \"&#38;\">\n<!ENTITY mdash \"—\">\n<!ENTITY lsquo \"‘\">\n<!ENTITY rsquo \"’\">\n]>\n" /* the extended notes dtd */ -#define XNOTE_PUBID "<!DOCTYPE xnoteset PUBLIC \"-//Markus Hoenicka//DTD Xnote V<xnoteversion>//EN\" \"http://refdb.sourceforge.net/dtd/xnote-<xnoteversion>/xnote.dtd\" [\n<!ENTITY lt \"&#60;\">\n<!ENTITY gt \">\">\n<!ENTITY amp \"&#38;\">\n]>\n" +#define XNOTE_PUBID "<!DOCTYPE xnoteset PUBLIC \"-//Markus Hoenicka//DTD Xnote V<xnoteversion>//EN\" \"http://refdb.sourceforge.net/dtd/xnote-<xnoteversion>/xnote.dtd\" [\n<!ENTITY lt \"&#60;\">\n<!ENTITY gt \">\">\n<!ENTITY amp \"&#38;\">\n<!ENTITY mdash \"—\">\n<!ENTITY lsquo \"‘\">\n<!ENTITY rsquo \"’\">\n]>\n" /* the following defines are for daemonize & friends */ |
From: Markus H. <mho...@us...> - 2005-12-28 01:24:59
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27217 Modified Files: Tag: Release_0_9_5_stable backend-dbiba.c Log Message: use changed argument list of replace_char_string() Index: backend-dbiba.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/backend-dbiba.c,v retrieving revision 1.26.2.18 retrieving revision 1.26.2.19 diff -u -U2 -r1.26.2.18 -r1.26.2.19 --- backend-dbiba.c 17 Dec 2005 01:38:49 -0000 1.26.2.18 +++ backend-dbiba.c 28 Dec 2005 01:24:41 -0000 1.26.2.19 @@ -2205,5 +2205,5 @@ /* don't add a space if this is the last word */ if (*(period+1) != '\0') { - replace_char_string(period, ". "); + replace_char_string(period, ". ", 1); period++; } |
From: Markus H. <mho...@us...> - 2005-12-27 16:01:06
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14677 Modified Files: Tag: Release_0_9_5_stable refdbd.h.in refdbdbib.c Log Message: remove_style(): changed argument to unsigned int to fix size mismatch Index: refdbd.h.in =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbd.h.in,v retrieving revision 1.7.2.12 retrieving revision 1.7.2.13 diff -u -U2 -r1.7.2.12 -r1.7.2.13 --- refdbd.h.in 11 Oct 2005 20:32:55 -0000 1.7.2.12 +++ refdbd.h.in 27 Dec 2005 16:00:58 -0000 1.7.2.13 @@ -125,5 +125,5 @@ int addstyle(struct CLIENT_REQUEST* ptr_clrequest, struct ADDRESULT* ptr_addresult); int deletestyle(struct CLIENT_REQUEST* ptr_clrequest, struct ADDRESULT* ptr_addresult); -int remove_style(dbi_conn conn, unsigned long long id); +int remove_style(dbi_conn conn, unsigned int id); int read_xml(int fd, XML_Parser p, struct ADDRESULT* ptr_addresult); void log_print(int priority, const char* string); Index: refdbdbib.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbdbib.c,v retrieving revision 1.36.2.30 retrieving revision 1.36.2.31 diff -u -U2 -r1.36.2.30 -r1.36.2.31 --- refdbdbib.c 22 Dec 2005 20:12:50 -0000 1.36.2.30 +++ refdbdbib.c 27 Dec 2005 16:00:58 -0000 1.36.2.31 @@ -2329,8 +2329,8 @@ information - unsigned long long n_id the ID in CITSTYLE which is to be removed + unsigned int n_id the ID in CITSTYLE which is to be removed ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -int remove_style(dbi_conn conn, unsigned long long n_id) { +int remove_style(dbi_conn conn, unsigned int n_id) { char sql_command[256]; int error; |
From: Markus H. <mho...@us...> - 2005-12-27 01:07:24
|
Update of /cvsroot/refdb/refdb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15960 Modified Files: Tag: Release_0_9_5_stable UPGRADING Log Message: added notes for 0.9.7-pre1 Index: UPGRADING =================================================================== RCS file: /cvsroot/refdb/refdb/UPGRADING,v retrieving revision 1.7.2.3 retrieving revision 1.7.2.4 diff -u -U2 -r1.7.2.3 -r1.7.2.4 --- UPGRADING 14 Nov 2005 20:22:08 -0000 1.7.2.3 +++ UPGRADING 27 Dec 2005 01:07:10 -0000 1.7.2.4 @@ -9,4 +9,5 @@ databases: +0.9.6 -> 0.9.7pre1 (ONLY MySQL!!!) 0.9.5 -> 0.9.6 0.9.4 -> 0.9.5 @@ -20,4 +21,40 @@ +Migrating your existing RefDB installation from 0.9.6 to 0.9.7 +============================================================== + +__________ +Background + +The table definitions in refdb.dump.mysql and refdb.dump.mysql41 used +field sizes too short to hold all available *NAMEORDER strings. The +other databases use a text field with unlimited sizes here, so they +are not affected. + +_________ +Procedure + +- pray that you have the XML files for all your styles, because RefDB + may have truncated the *NAMEORDER fields. If not, export them using + the refdba:getstyle command and fix the contents of the *NAMEORDER + fields manually if needed + +- stop refdbd + +- Follow the instructions to generate the system database + "refdb". Please be aware that there are two different dump files for + MySQL: refdb.dump.mysql replaces the previous refdb.dump and is + meant for MySQL versions prior to 4.1. For versions 4.1 and later, + please use refdb.dump.mysql41. The SQL scripts remove the existing + tables before re-creating them, so there is no need to delete the + database before commencing this step. + +- Now install 0.9.7-pre1. Make sure to restart refdbd. + +- Add your styles using the refdba command addstyle: + "addstyle stylename.xml" + + + Migrating your existing RefDB installation from 0.9.5 to 0.9.6 ============================================================== |
From: Markus H. <mho...@us...> - 2005-12-27 00:51:57
|
Update of /cvsroot/refdb/refdb/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13392/scripts Modified Files: Tag: Release_0_9_5_stable Makefile.am Log Message: added refdb-backup and refdb-restore Index: Makefile.am =================================================================== RCS file: /cvsroot/refdb/refdb/scripts/Makefile.am,v retrieving revision 1.23.2.9 retrieving revision 1.23.2.10 diff -u -U2 -r1.23.2.9 -r1.23.2.10 --- Makefile.am 18 Oct 2005 20:00:19 -0000 1.23.2.9 +++ Makefile.am 27 Dec 2005 00:51:49 -0000 1.23.2.10 @@ -1,7 +1,7 @@ ## Process this file with automake to produce Makefile.in -EXTRA_SCRIPTS = refdbjade runbib refdb_tex2mail db2ris refdb-bug refdbxml marc2ris med2ris en2ris refdbnd refdb_dos2unix refdbctl refdb-ms +EXTRA_SCRIPTS = refdbjade runbib refdb_tex2mail db2ris refdb-bug refdbxml marc2ris med2ris en2ris refdbnd refdb_dos2unix refdbctl refdb-ms refdb-backup refdb-restore bin_SCRIPTS = @server_scripts@ @client_scripts@ -EXTRA_DIST=refdb.in refdbjade.in runbib.in refdb_tex2mail db2ris.in refdb-bug.in refdbxml.in refdb refdbctl.in empty.mysql.dump empty.pgsql.dump.in refdb-upgrade.sql marc2ris.in med2ris.in en2ris.in refdbnd.in vargen.pl libgen.pl statgen.pl refdb_dos2unix.in migrate_mysql_0.9.5 refdb.dump.mysql.in refdb.dump.mysql41.in refdb.dump.pgsql.in refdb.dump.sqlite.in refdb-ms dtdparseweave +EXTRA_DIST=refdb.in refdbjade.in runbib.in refdb_tex2mail db2ris.in refdb-bug.in refdbxml.in refdb refdbctl.in empty.mysql.dump empty.pgsql.dump.in refdb-upgrade.sql marc2ris.in med2ris.in en2ris.in refdbnd.in vargen.pl libgen.pl statgen.pl refdb_dos2unix.in migrate_mysql_0.9.5 refdb.dump.mysql.in refdb.dump.mysql41.in refdb.dump.pgsql.in refdb.dump.sqlite.in refdb-ms dtdparseweave refdb-backup refdb-restore MOSTLYCLEANFILES=refdb refdbjade runbib db2ris refdbxml refdbctl refdb-bug refdbnd marc2ris med2ris en2ris refdb_dos2unix refdb.dump.mysql refdb.dump.mysql41 refdb.dump.pgsql refdb.dump.sqlite |
From: Markus H. <mho...@us...> - 2005-12-27 00:35:08
|
Update of /cvsroot/refdb/refdb/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11340/doc Modified Files: Tag: Release_0_9_5_stable Makefile.am Log Message: added driver files to EXTRA_DIST; removed reference to local catalog (not used anyway); use local copy of SGML declaration instead of what configure suggests Index: Makefile.am =================================================================== RCS file: /cvsroot/refdb/refdb/doc/Attic/Makefile.am,v retrieving revision 1.1.2.8 retrieving revision 1.1.2.9 diff -u -U2 -r1.1.2.8 -r1.1.2.9 --- Makefile.am 26 Dec 2005 22:06:27 -0000 1.1.2.8 +++ Makefile.am 27 Dec 2005 00:34:57 -0000 1.1.2.9 @@ -53,7 +53,9 @@ html_extra_files = manual.css $(png_images) +inc_files = include/doc-html.dsl include/doc-print.dsl + dtdparsefiles = citestylex.xml citestylex/elements.html risx.xml risx/elements.html citationlistx.xml citationlistx/elements.html xnote.xml xnote/elements.html -EXTRA_DIST = $(doc_DATA) $(manual_sources) $(html_extra_files) $(svg_images) $(pdf_images) $(citestylex_DATA) $(citestylexdtdelem_DATA) $(citestylexeledesc_DATA) $(citestylexelements_DATA) $(risx_DATA) $(risxdtdelem_DATA) $(risxeledesc_DATA) $(risxelements_DATA) $(citationlistx_DATA) $(citationlistxdtdelem_DATA) $(citationlistxeledesc_DATA) $(citationlistxelements_DATA) $(xnote_DATA) $(xnotedtdelem_DATA) $(xnoteeledesc_DATA) $(xnoteelements_DATA) $(index_DATA) $(dtdparsefiles) +EXTRA_DIST = $(doc_DATA) $(manual_sources) $(html_extra_files) $(svg_images) $(pdf_images) $(citestylex_DATA) $(citestylexdtdelem_DATA) $(citestylexeledesc_DATA) $(citestylexelements_DATA) $(risx_DATA) $(risxdtdelem_DATA) $(risxeledesc_DATA) $(risxelements_DATA) $(citationlistx_DATA) $(citationlistxdtdelem_DATA) $(citationlistxeledesc_DATA) $(citationlistxelements_DATA) $(xnote_DATA) $(xnotedtdelem_DATA) $(xnoteeledesc_DATA) $(xnoteelements_DATA) $(index_DATA) $(dtdparsefiles) $(inc_files) all: refdb-manual.pdf refdb-manual/* citestylex/elements.html risx/elements.html citationlistx/elements.html xnote/elements.html @@ -78,5 +80,5 @@ refdb-manual.pdf: $(manual_sources) $(pdf_images) refdb-manual-statustable.sgml include/doc-print.dsl @echo "Creating PDF manual..."; - openjade -c ./catalog -t tex -V tex-backend -d include/doc-print.dsl $(sgml_decl) refdb-manual.sgml + openjade -t tex -V tex-backend -d include/doc-print.dsl $(top_srcdir)/declarations/docbook.dcl refdb-manual.sgml # run jadetex three times to get the references right pdfjadetex refdb-manual.tex @@ -87,5 +89,5 @@ @echo "Creating HTML manual..."; rm -rf refdb-manual/* - mkdir -p refdb-manual && cd refdb-manual && openjade -t sgml -d $(top_srcdir)/../doc/include/doc-html.dsl $(sgml_decl) $(top_srcdir)/../doc/refdb-manual.sgml + mkdir -p refdb-manual && cd refdb-manual && openjade -t sgml -d $(top_srcdir)/../doc/include/doc-html.dsl $(top_srcdir)/../declarations/docbook.dcl $(top_srcdir)/../doc/refdb-manual.sgml cp $(html_extra_files) refdb-manual/ |
From: Markus H. <mho...@us...> - 2005-12-26 22:10:46
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17070/src Modified Files: Tag: Release_0_9_5_stable xmlhandler.c Log Message: USERDEF,MISC now use 1 as default attribute Index: xmlhandler.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/xmlhandler.c,v retrieving revision 1.22.2.22 retrieving revision 1.22.2.23 diff -u -U2 -r1.22.2.22 -r1.22.2.23 --- xmlhandler.c 17 Dec 2005 01:35:14 -0000 1.22.2.22 +++ xmlhandler.c 26 Dec 2005 22:10:36 -0000 1.22.2.23 @@ -406,5 +406,5 @@ else if (strcmp((ptr_asdata->ptr_first)->elname, "USERDEF") == 0) { ptr_attr = get_attr(ptr_asdata->ptr_first, "ROLE"); - if (strcmp(ptr_attr, "1") == 0) { + if (!ptr_attr || strcmp(ptr_attr, "1") == 0) { strcpy(concat, "USERDEF1"); } @@ -438,5 +438,5 @@ else if (strcmp((ptr_asdata->ptr_first)->elname, "MISC") == 0) { ptr_attr = get_attr(ptr_asdata->ptr_first, "ROLE"); - if (strcmp(ptr_attr, "1") == 0) { + if (!ptr_attr || strcmp(ptr_attr, "1") == 0) { strcpy(concat, "MISC1"); } |
From: Markus H. <mho...@us...> - 2005-12-26 22:09:40
|
Update of /cvsroot/refdb/refdb/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16925/examples Modified Files: Tag: Release_0_9_5_stable Makefile.template Log Message: make clean no longer kills the file using the full citation format; new target shortclean to really remove all built files Index: Makefile.template =================================================================== RCS file: /cvsroot/refdb/refdb/examples/Makefile.template,v retrieving revision 1.8.2.3 retrieving revision 1.8.2.4 diff -u -U2 -r1.8.2.3 -r1.8.2.4 --- Makefile.template 22 Jun 2005 20:12:10 -0000 1.8.2.3 +++ Makefile.template 26 Dec 2005 22:09:31 -0000 1.8.2.4 @@ -117,5 +117,4 @@ rm -f *.err rm -f HTML.manifest - rm -f $(basename).$(extension) rm -f $(basename).bib.$(extension) rm -f $(basename).id.xml @@ -126,4 +125,7 @@ rm -f $(basename)*.tar.gz +shortclean: clean + rm -f $(basename).$(extension) + $(basename).pdf: $(basename).$(extension) $(basename).bib.$(extension) $(transformscript) -s $(printstylesheet) -t pdf $(basename).$(extension) |
From: Markus H. <mho...@us...> - 2005-12-26 22:06:37
|
Update of /cvsroot/refdb/refdb/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16545/doc Modified Files: Tag: Release_0_9_5_stable Makefile.am Log Message: use batik-rasterizer or convert conditionally to build the image files from the SVG sources Index: Makefile.am =================================================================== RCS file: /cvsroot/refdb/refdb/doc/Attic/Makefile.am,v retrieving revision 1.1.2.7 retrieving revision 1.1.2.8 diff -u -U2 -r1.1.2.7 -r1.1.2.8 --- Makefile.am 11 Dec 2005 20:23:39 -0000 1.1.2.7 +++ Makefile.am 26 Dec 2005 22:06:27 -0000 1.1.2.8 @@ -62,4 +62,5 @@ $(top_srcdir)/scripts/statgen.pl docbook > refdb-manual-statustable.sgml +if HAVEBATIK $(pdf_images): %.pdf: %.svg batik-rasterizer -m application/pdf $< @@ -67,4 +68,11 @@ $(png_images): %.png: %.svg batik-rasterizer -m image/png $< +else +$(pdf_images): %.pdf: %.svg + convert $< $@ + +$(png_images): %.png: %.svg + convert $< $@ +endif refdb-manual.pdf: $(manual_sources) $(pdf_images) refdb-manual-statustable.sgml include/doc-print.dsl |
From: Markus H. <mho...@us...> - 2005-12-26 22:05:30
|
Update of /cvsroot/refdb/refdb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16361 Modified Files: Tag: Release_0_9_5_stable configure.in Log Message: added check and conditional for batik-rasterizer in order to fix the Debian build problems Index: configure.in =================================================================== RCS file: /cvsroot/refdb/refdb/configure.in,v retrieving revision 1.49.2.27 retrieving revision 1.49.2.28 diff -u -U2 -r1.49.2.27 -r1.49.2.28 --- configure.in 11 Dec 2005 21:17:39 -0000 1.49.2.27 +++ configure.in 26 Dec 2005 22:05:18 -0000 1.49.2.28 @@ -178,10 +178,15 @@ if test "$ac_docs" = "YES"; then -AC_PATH_PROGS(mydtdparse, dtdparse) -AC_PATH_PROGS(mydtdformat, dtdformat) -AC_PATH_PROGS(mysgrep, sgrep) -AC_PATH_PROGS(mytidy, tidy) +AC_PATH_PROG(mydtdparse, dtdparse) +AC_PATH_PROG(mydtdformat, dtdformat) +AC_PATH_PROG(mysgrep, sgrep) +AC_PATH_PROG(mytidy, tidy) +AC_PATH_PROG(mybatik, batik-rasterizer) fi +dnl this is for building docs only, but the conditional must not be defined +dnl inside of an if block +AM_CONDITIONAL(HAVEBATIK, test x$mybatik != "x") + dnl dnl Checks for libraries. |
From: Markus H. <mho...@us...> - 2005-12-25 00:30:26
|
Update of /cvsroot/refdb/elisp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25407 Modified Files: refdb-mode-manual.xml Log Message: slight massaging to comply with the stylesheets used to create the info manual Index: refdb-mode-manual.xml =================================================================== RCS file: /cvsroot/refdb/elisp/refdb-mode-manual.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -U2 -r1.5 -r1.6 --- refdb-mode-manual.xml 21 Dec 2005 20:40:19 -0000 1.5 +++ refdb-mode-manual.xml 25 Dec 2005 00:30:18 -0000 1.6 @@ -4,5 +4,5 @@ <book> <bookinfo> - <title>refdb-mode manual</title> + <title>refdb-mode</title> <author> <firstname>Markus</firstname> @@ -10,6 +10,6 @@ <affiliation><address><email>ma...@mh...</email></address></affiliation> </author> - <abstract> - <para>This manual documents refdb-mode, a minor mode for GNU Emacs which implements an interface to RefDB, a reference manager and bibliography tool.</para> + <abstract role="texinfo-node"> + <para>An Emacs minor mode for the RefDB reference manager and bibliography tool.</para> </abstract> </bookinfo> |
From: Markus H. <mho...@us...> - 2005-12-25 00:28:52
|
Update of /cvsroot/refdb/elisp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25221 Modified Files: Makefile.am Log Message: added info version of the manual Index: Makefile.am =================================================================== RCS file: /cvsroot/refdb/elisp/Makefile.am,v retrieving revision 1.6 retrieving revision 1.7 diff -u -U2 -r1.6 -r1.7 --- Makefile.am 19 Nov 2005 19:20:47 -0000 1.6 +++ Makefile.am 25 Dec 2005 00:28:44 -0000 1.7 @@ -8,5 +8,7 @@ doc_DATA = refdb-mode-manual.pdf refdb-mode-manual/* -EXTRA_DIST = $(lisp_LISP) $(doc_DATA) $(manual_DATA) refdb-mode-manual.xml refdb-mode-config.el.in +info_TEXINFOS = refdb-mode.texi + +EXTRA_DIST = $(lisp_LISP) $(doc_DATA) $(manual_DATA) refdb-mode-manual.xml refdb-mode.texi refdb-mode-config.el.in MAINTAINERCLEANFILES = $(doc_DATA) refdb-mode-manual.fo @@ -17,5 +19,5 @@ htmlsheet="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl" -all: refdb-mode-config.el refdb-mode-manual.pdf refdb-mode-manual/* +all: refdb-mode-config.el refdb-mode-manual.pdf refdb-mode-manual/* refdb-mode.texi refdb-mode-config.el: refdb-mode-config.el.in @@ -37,3 +39,6 @@ cp manual.css refdb-mode-manual +refdb-mode.texi: refdb-mode-manual.xml + docbook2texi refdb-mode-manual.xml + |
From: Markus H. <mho...@us...> - 2005-12-25 00:28:00
|
Update of /cvsroot/refdb/elisp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25124 Modified Files: configure.in Log Message: bumped up version number Index: configure.in =================================================================== RCS file: /cvsroot/refdb/elisp/configure.in,v retrieving revision 1.6 retrieving revision 1.7 diff -u -U2 -r1.6 -r1.7 --- configure.in 21 Dec 2005 20:39:33 -0000 1.6 +++ configure.in 25 Dec 2005 00:27:49 -0000 1.7 @@ -4,5 +4,5 @@ dnl check for one of the source files AC_INIT(refdb-mode.el) -AM_INIT_AUTOMAKE(refdb-elisp, 1.1) +AM_INIT_AUTOMAKE(refdb-elisp, 1.2) dnl find Emacs and set site-lisp path |
From: Markus H. <mho...@us...> - 2005-12-23 22:31:50
|
Update of /cvsroot/refdb/homepage In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23954 Modified Files: emacs.html Log Message: new refdb-mode version Index: emacs.html =================================================================== RCS file: /cvsroot/refdb/homepage/emacs.html,v retrieving revision 1.10 retrieving revision 1.11 diff -u -U2 -r1.10 -r1.11 --- emacs.html 22 Dec 2005 00:00:27 -0000 1.10 +++ emacs.html 23 Dec 2005 22:31:40 -0000 1.11 @@ -119,5 +119,5 @@ <h1>RefDB Features: Emacs support</h1> <p>RefDB integrates nicely into Emacs. Combined with editing modes for SGML, XML, and RIS documents, you'll get an integrated authoring environment with direct access to your bibliographic data. "Cite-while-you-write", document transformation, and previewing is just a few mouseclicks away for DocBook SGML and XML as well as for TEI XML documents. Emacs support is not included in the RefDB sources, but available separately.</p> - <p>The modes below are also available as an autotools-based <a href="http://sourceforge.net/project/showfiles.php?group_id=26091&package_id=169552">package</a> including a manual, allowing a <code>./configure && make &&make install</code> kind of installation on most Unix-style systems.</p> + <p>The modes below are also available as an autotools-based <a href="http://sourceforge.net/project/showfiles.php?group_id=26091&package_id=169552">package</a> including a manual, allowing a <code>./configure && make && make install</code> kind of installation on most Unix-style systems.</p> <div class="localnav"> <table class="localnav"> @@ -162,5 +162,5 @@ <h2 id="refdbmode">Emacs refdb-mode</h2> <p class="authors">Current Author: Markus Hoenicka <mho...@us...></p> - <p><strong><a href="addons/refdb-mode.el">Download refdb-mode.el (1.25)</a></strong></p> + <p><strong><a href="addons/refdb-mode.el">Download refdb-mode.el (1.26)</a></strong></p> <p>This minor mode for <a href="http://directory.fsf.org/emacs.html">Emacs</a> and <a href="http://www.xemacs.org/">XEmacs</a> is a frontend, and then some, for RefDB.</p> <ul> |