In-text Citation containing only "[tag]" and Bibliography with [tag] sorted entries

Apr 19, 2009 at 5:51 PM
Hi....

1. is it possible to have in the text only citations containing the tag?

Example: Bla bla text it s it [Tag99] bla balb.

2. i want the [Tag99] to be also displayed in the Bibliography and this one should be sorted ascending after tag
3. i want after [Tag99] a tab such that every entry is nicely aligned

P.S.: Is there any XML that I can use to have this result like here http://www.tutorialsforopenoffice.org/tutorial/Bibliographies_html_7a4447e1.gif ? Thanks
Coordinator
Apr 19, 2009 at 10:21 PM
  1. Yes. BibWord allows you to format your style to anything you want.
  2. No problem. Just use %Tag% as sortkey.
  3. No problem. But you might want to consider a two column solution here. The use of tabs to achieve alignment gets messy when you have tags which are longer than one tab.

    An example with tabs going messy:

    [Tag99] Short tag followed by a tab.
    [Tag2009] Longer tag followed by a tab.

    An example with tables:

    [Tag99] Short tag.
    [Tag2009] Longer tag.

    In Word you can drag the column divider in tables or you can set the cell margin to simulate your tab so tables are a better way to go.

There currently is no stylesheet for what you want, but you can easily create one yourself using BibWord. You can find the latest version (including a help manual) here. Based on your example, a very basic BibWord data element could look as follows:

  <xsl:variable name="data">
    <
general>
      <
stylename>Tag Style</stylename>
      <
version>2009.04.20</version>
      <
author>Yves Dhondt</author>
      <
description>An example style with tags.</description>
      <
comments>An example style with tags.</comments>
      <
display_errors>yes</display_errors>
      <
citation_as_link>no</citation_as_link>
    </
general>
    <
importantfields>
      <
source type="Book">
        <
b:ImportantField>b:Author/b:Author/b:NameList</b:ImportantField>
        <
b:ImportantField>b:Title</b:ImportantField>
        <
b:ImportantField>b:Publisher</b:ImportantField>
        <
b:ImportantField>b:Year</b:ImportantField>
        <
b:ImportantField>b:StandardNumber</b:ImportantField>
      </
source>
    </
importantfields>
    <
citation>
      <
openbracket>[</openbracket>
      <
closebracket>]</closebracket>
      <
separator>,</separator>
      <
source type="Book">
       
<format>%Tag%</format>
      </
source>
    </
citation>
   
<bibliography>
      <
columns>2</columns>
      <
source type="Book">
        <
column id="1">
          <
halign>left</halign>
          <
valign>top</valign>
          <
format>%Tag%</format>
        </
column>
        <
column id="2">
          <
halign>left</halign>
          <
valign>top</valign>
          <
format>{%Author:0%.}{ "%Title|ShortTitle%".}{ %Publisher%.}{ %Year%}{ %StandardNumber%}</format>
        </
column>
        <
sortkey>%Tag%</sortkey>
      </
source>
    </
bibliography>
    <
namelists>
      <
list name="author" id="0">
        <
single_prefix></single_prefix>
        <
multi_prefix></multi_prefix>
        <
corporate>{%Corporate%}</corporate>
        <
first_person>{{%First|Middle% {%Middle% }}%Last|First|Middle%}</first_person>
        <
other_persons>{{%First|Middle% {%Middle% }}%Last|First|Middle%}</other_persons>
        <
separator_between_if_two> and </separator_between_if_two>
        <
separator_between_if_more_than_two>, </separator_between_if_more_than_two>
        <
separator_before_last>, and </separator_before_last>
        <
max_number_of_persons_to_display>12</max_number_of_persons_to_display>
        <
number_of_persons_to_display_if_more_than_max>10</number_of_persons_to_display_if_more_than_max>
        <
overflow>, et al.</overflow>
        <
single_suffix></single_suffix>
       
<multi_suffix></multi_suffix>
      </
list>
   
</namelists>
  </
xsl:variable>

Your example would then be entered in Word as follows:

  • Source type: Book
  • Author: Clifford, Ashley W.;
  • Title: The Ashley Book of Knots
  • Year: 1944
  • Publisher: Doubleday and Company
  • Standard Number: 0-385-04025-3

And the final result would look like:

Citation: [Cli44]

Bibliography:

Cli44

Ashley W. Clifford. "The Ashley Book of Knots". Doubleday and Company. 1944 0-385-04025-3

Apr 20, 2009 at 4:47 PM
Thanks for your help! It realy works great!

This community is top!

On Mon, Apr 20, 2009 at 12:21 AM, Yves <notifications@codeplex.com> wrote:

From: Yves

  1. Yes. BibWord allows you to format your style to anything you want.
  2. No problem. Just use %Tag% as sortkey.
  3. No problem. But you might want to consider a two column solution here. The use of tabs to achieve alignment gets messy when you have tags which are longer than one tab.

    An example with tabs going messy:

    [Tag99] Short tag followed by a tab.
    [Tag2009] Longer tag followed by a tab.

    An example with tables:

    [Tag99] Short tag.
    [Tag2009] Longer tag.

    In Word you can drag the column divider in tables or you can set the cell margin to simulate your tab so tables are a better way to go.

There currently is no stylesheet for what you want, but you can easily create one yourself using BibWord. You can find the latest version (including a help manual) here. Based on your example, a very basic BibWord data element could look as follows:

  <xsl:variable name="data">
    <
general>
      <
stylename>Tag Style</stylename>
      <
version>2009.04.20</version>
      <
author>Yves Dhondt</author>
      <
description>An example style with tags.</description>
      <
comments>An example style with tags.</comments>
      <
display_errors>yes</display_errors>
      <
citation_as_link>no</citation_as_link>
    </
general>
    <
importantfields>
      <
source type="Book">
        <
b:ImportantField>b:Author/b:Author/b:NameList</b:ImportantField>
        <
b:ImportantField>b:Title</b:ImportantField>
        <
b:ImportantField>b:Publisher</b:ImportantField>
        <
b:ImportantField>b:Year</b:ImportantField>
        <
b:ImportantField>b:StandardNumber</b:ImportantField>
      </
source>
    </
importantfields>
    <
citation>
      <
openbracket>[</openbracket>
      <
closebracket>]</closebracket>
      <
separator>,</separator>
      <
source type="Book">
       
<format>%Tag%</format>
      </
source>
    </
citation>
   
<bibliography>
      <
columns>2</columns>
      <
source type="Book">
        <
column id="1">
          <
halign>left</halign>
          <
valign>top</valign>
          <
format>%Tag%</format>
        </
column>
        <
column id="2">
          <
halign>left</halign>
          <
valign>top</valign>
          <
format>{%Author:0%.}{ "%Title|ShortTitle%".}{ %Publisher%.}{ %Year%}{ %StandardNumber%}</format>
        </
column>
        <
sortkey>%Tag%</sortkey>
      </
source>
    </
bibliography>
    <
namelists>
      <
list name="author" id="0">
        <
single_prefix></single_prefix>
        <
multi_prefix></multi_prefix>
        <
corporate>{%Corporate%}</corporate>
        <
first_person>{{%First|Middle% {%Middle% }}%Last|First|Middle%}</first_person>
        <
other_persons>{{%First|Middle% {%Middle% }}%Last|First|Middle%}</other_persons>
        <
separator_between_if_two> and </separator_between_if_two>
        <
separator_between_if_more_than_two>, </separator_between_if_more_than_two>
        <
separator_before_last>, and </separator_before_last>
        <
max_number_of_persons_to_display>12</max_number_of_persons_to_display>
        <
number_of_persons_to_display_if_more_than_max>10</number_of_persons_to_display_if_more_than_max>
        <
overflow>, et al.</overflow>
        <
single_suffix></single_suffix>
       
<multi_suffix></multi_suffix>
      </
list>
   
</namelists>
  </
xsl:variable>

Your example would then be entered in Word as follows:

  • Source type: Book
  • Author: Clifford, Ashley W.;
  • Title: The Ashley Book of Knots
  • Year: 1944
  • Publisher: Doubleday and Company
  • Standard Number: 0-385-04025-3

And the final result would look like:

Citation: [Cli44]

Bibliography:

Cli44

Ashley W. Clifford. "The Ashley Book of Knots". Doubleday and Company. 1944 0-385-04025-3

Read the full discussion online.

To add a post to this discussion, reply to this email (bibliography@discussions.codeplex.com)

To start a new discussion for this project, email bibliography@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com