trouble disambiguating by title
Alright, So I had a desire to create a citation style for MLA footnotes instead of the in-text citation. So I hack and cut my way through the existing Modern Languages Association style and created a version for footnotes. I believe I have everything correct except for disambiguating subsequent citations. The first note is a full note and then the rest should be "Author-short location." Except when it needs more info, then it should be "Author-short, title-short location.".
However, I can't seem to get the conditional disambiguate command to work:
<choose>
<if disambiguate="true">
<text macro="title-short"/>
</if>
</choose>
It seems as if it only works for first citations and it will not work for any subsequent citations. Is this correct, and is there any better way of doing this? Or is there something else wrong. I only have a little background with any kind of script, so any help would be appreciated.
Matthew
However, I can't seem to get the conditional disambiguate command to work:
<choose>
<if disambiguate="true">
<text macro="title-short"/>
</if>
</choose>
It seems as if it only works for first citations and it will not work for any subsequent citations. Is this correct, and is there any better way of doing this? Or is there something else wrong. I only have a little background with any kind of script, so any help would be appreciated.
Matthew
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Upgrade Storage
01<if position="subsequent">
02 <group delimiter=" ">
03 <choose>
04 <if variable="author editor translator" match="any">
05 <group delimiter=", ">
06 <text macro="author-short"/>
07 <choose>
08 <if disambiguate="true">
09 <text macro="title-short"/>
10 </if>
11 </choose>
12 </group>
13 </if>
14 <else>
15 <text macro="title-short"/>
16 </else>
17 </choose>
18 <text variable="locator"/>
19 </group>
20</if>
21 <else>
...full citation details...
This works except for the disambiguate statement... I was playing with it, and if I change the position to 'first' (in line 1) the disambiguate statement works... Thus I was confused...
Sorry I don't post in forums so I don't know if there is a better way to format this...