Due to enormous amounts of spam, the forum has been set to read-only mode.



Reply to topic  [ 9 posts ] 
Chicago Style Notation 
Author Message
Post Chicago Style Notation

I have modified the xsl sheets for the book browse and book templates to show Chicago Style Notation for each book. However I am having trouble placing the author in the format of Surname, First Name. The only method I have found puts the name in the wrong order, meaning I have to edit it after copying. Is there any way of fixing this?

Peter


Tue Feb 18, 2003 7:35 am

Joined: Tue Apr 30, 2002 11:53 am
Posts: 1919
Location: Carrù, Cuneo, ITALY
Post Re: Chicago Style Notation

Peter Howse wrote:
I have modified the xsl sheets for the book browse and book templates to show Chicago Style Notation for each book. However I am having trouble placing the author in the format of Surname, First Name. The only method I have found puts the name in the wrong order, meaning I have to edit it after copying. Is there any way of fixing this?

Peter

Ciao Peter,

I'm not 100% sure but it sounds like you have to "call" the Person's "Sort by" instead than his "Name"..

Fredrik will surely help you soon ! :wink:
Have a nice day.

_________________
The Hole Studio ® Mario Del Buono | e-mail: please Press the email button below.


Tue Feb 18, 2003 11:30 am
Profile ICQ YIM

Joined: Tue Feb 18, 2003 8:01 am
Posts: 4
Location: Sydney
Post Re: Chicago Style Notation

Quote:
I'm not 100% sure but it sounds like you have to "call" the Person's "Sort by" instead than his "Name".


G'day Mario,

I tried to find a way to use the Sort By, and couldn't find one. There is one in the Author Template, but I am not sure about the Book template.

Peter


Tue Feb 18, 2003 12:06 pm
Profile

Joined: Tue Apr 30, 2002 11:53 am
Posts: 1919
Location: Carrù, Cuneo, ITALY
Post Re: Chicago Style Notation

Peter Howse wrote:
Quote:
I'm not 100% sure but it sounds like you have to "call" the Person's "Sort by" instead than his "Name".

G'day Mario,
I tried to find a way to use the Sort By, and couldn't find one. There is one in the Author Template, but I am not sure about the Book template.
Peter

Well Peter,
it's not certainly me the best person who can suggest / help about XSL & Templates, sorry, but I will take a look anyway...
I'm still learning and I think that Fredrik and experienced users can help you much more than I could do... :roll:

Hope you can resolve soon & if I have news I will report here. Take care ! :wink:

_________________
The Hole Studio ® Mario Del Buono | e-mail: please Press the email button below.


Last edited by mdb175 on Tue Feb 18, 2003 8:37 pm, edited 1 time in total.



Tue Feb 18, 2003 3:05 pm
Profile ICQ YIM
Site Admin
User avatar

Joined: Fri Nov 22, 2002 3:52 pm
Posts: 13748
Post Re: Chicago Style Notation

Peter Howse wrote:
Quote:
I'm not 100% sure but it sounds like you have to "call" the Person's "Sort by" instead than his "Name".


G'day Mario,

I tried to find a way to use the Sort By, and couldn't find one. There is one in the Author Template, but I am not sure about the Book template.

Peter

1. Download http://www.fnprg.com/userforum/bookcat_common.zip

2. Open the zip file and unzip Common.xsl to the \BookCAT\Explorer Templates folder.

3. Use the "showsortby" parameter when calling the "format-author" template, for example:

Code:
             
<xsl:call-template name="format-author">
    <xsl:with-param name="authors" select="authors"/>
    <xsl:with-param name="showsortby" select="'True'"/>
    <xsl:with-param name="newline" select="'False'"/>               
    <xsl:with-param name="newwindow" select="'True'"/>
</xsl:call-template>

_________________
Fredrik Nordbakke
www.fnprg.com


Tue Feb 18, 2003 7:56 pm
Profile WWW

Joined: Tue Apr 30, 2002 11:53 am
Posts: 1919
Location: Carrù, Cuneo, ITALY
Post 

Fredrik,

I needed to play a little with the original "Common.xls" file here but I noticed the warning:
- <!-- DO NOT MODIFY THIS FILE -->

Since I never saw such a warning before, I quickly gave up...
Hope that means I'm learning something... :wink:

Thanks a lot & take care.

_________________
The Hole Studio ® Mario Del Buono | e-mail: please Press the email button below.


Tue Feb 18, 2003 8:15 pm
Profile ICQ YIM

Joined: Tue Feb 18, 2003 8:01 am
Posts: 4
Location: Sydney
Post 

Thank you Fredrik, that solved the problem nicely. And thank you for attending to it so quickly, it is really appreciated.

Peter


Tue Feb 18, 2003 9:01 pm
Profile
Site Admin
User avatar

Joined: Fri Nov 22, 2002 3:52 pm
Posts: 13748
Post 

mdb175 wrote:
Fredrik,

I needed to play a little with the original "Common.xls" file here but I noticed the warning:
- <!-- DO NOT MODIFY THIS FILE -->

Yes, you should not modify Common.xsl as the setup program will overwrite this file when you install a new version.

_________________
Fredrik Nordbakke
www.fnprg.com


Wed Feb 19, 2003 12:58 pm
Profile WWW

Joined: Tue Apr 30, 2002 11:53 am
Posts: 1919
Location: Carrù, Cuneo, ITALY
Post 

FredrikN wrote:
mdb175 wrote:
Fredrik,

I needed to play a little with the original "Common.xls" file here but I noticed the warning:
- <!-- DO NOT MODIFY THIS FILE -->

Yes, you should not modify Common.xsl as the setup program will overwrite this file when you install a new version.

Thanks a lot for the explanation, Fredrik, that was indeed my feeling too... :wink:

...and thanks so much for resolving Peter's problem so quick !
It's always a pleasure noticing how professionally you work. Thank you :!:

Take care !

_________________
The Hole Studio ® Mario Del Buono | e-mail: please Press the email button below.


Wed Feb 19, 2003 2:55 pm
Profile ICQ YIM
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.