Page 1 of 1

export to html

Posted: Fri Feb 11, 2005 8:05 am
by tom
Hi Jon and list,

Will there be a feature in B8 to export databases in html format, or is it already possible and I just missed it?

thanks
tom

Re: export to html

Posted: Fri Feb 11, 2005 8:34 am
by Jon
tom wrote:Will there be a feature in B8 to export databases in html format, or is it already possible and I just missed it?
Hi Tom,

It's already possible and you just missed it. In the Bib Formatter menu option, you can specify many options for outputting a bibliography (format name, destination, etc.). One of the options is HTML (as opposed to styled text (RTF), plain text, and BibTeX).

Jon
Sonny Software

export to html

Posted: Fri Feb 11, 2005 9:09 am
by tom
OK, thanks. Is it possible to add some tags like endnote does:

<span id="autart">Ben Gaied N., Glasser N., Ramalanjaona N., Betlz H., Wolff P., Marquet R., Burger A. and Mely Y.</span> <span id="datart">(2005).</span> <span id="titart">8-vinyl-deoxyadenosine,
an alternative fluorescent nucleoside analogue to
2Õ-deoxyribosyl-2-aminopurine with improved properties.</span> <span id="jouart">Nucleic Acid Research</span>

Posted: Fri Feb 11, 2005 9:16 am
by Jon
Bookends won't do that for you automatically. It is possible to add HTML tags in the format itself (enclose them in $ signs or ` backquotes), which will then be output with the reference data. You could put this in the Order field, for example:

$<span id="autart">$a$</span>$

Span is used for style sheets, as far as I know. Why do you want it output for each element in the bibliography (since Bookends takes care of the styling for you)?

Jon
Sonny Software

export to html

Posted: Fri Feb 11, 2005 9:33 am
by tom
styling yes. but how can I use eg different colors for each field (maybe I missed something again)?

Re: export to html

Posted: Fri Feb 11, 2005 9:43 am
by Jon
tom wrote:styling yes. but how can I use eg different colors for each field (maybe I missed something again)?
Well, if the text is colored in Bookends, that will be included in the HTML output.

If you want black and white text in the database (very likely) and color only in the HTML, then use the same strategy in the format to output the color tags:

$<font color="FF0000">$a$</font>$

will output the authors in red.

Jon
Sonny Software

export to html

Posted: Fri Feb 11, 2005 10:01 am
by tom
thanks Jon
:D

export to html

Posted: Fri Feb 11, 2005 11:01 am
by tom
so I set all the tags in my format:

$<span id="autart">$a$</span> <span id="datart">$(d).$</span> <span id="titart">$t.$</span>....

and I get as output:

<HTML><BODY>
<span id="autart">Mercep M., Sussman J.J., Noguchi P.</span> <span id="datart">(2001).</span> <span id="titart">Activation-indu<I>ced apoptosis</I>.</span>

curiosly the title is only halfway in italic???

Posted: Fri Feb 11, 2005 11:07 am
by Jon
Yes, I see that. Looks like the styled text offset is incorrect. I'll look into this.

This has gotten pretty specific, so let's take this off the forum. Please email us about it at

support@sonnysoftware.com

and we'll continue the discussion.

Jon
Sonny Software