LaTeX forum ⇒ Text Formattingdcu: lastchecked and urldate in misc entries?

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
demon
Posts: 26
Joined: Thu Nov 27, 2008 3:45 pm

dcu: lastchecked and urldate in misc entries?

Postby demon » Sat Feb 21, 2009 9:21 pm

Hi again,

this is hopefully the last query for my thesis. I'm going to create a proper preset for my university with the hope others won't have so much trouble.

As already mentioned, I'm using natbib with scrreprt. In my BibTeX-Bibliography I have several entries as 'misc', like Blog- or Wiki-articles. As there's a rule to put at least a date for each url, I used Urldate and Lastchecked variables in BibTeX. How can I display these variables in my bibliography?

Thanks in advance!
Last edited by demon on Wed Feb 25, 2009 11:33 pm, edited 2 times in total.

demon
Posts: 26
Joined: Thu Nov 27, 2008 3:45 pm

Postby demon » Mon Feb 23, 2009 11:42 am

Sorry, I forgot the most important part ... Bibliography-Style is dcu.

\bibliographystyle{dcu}

demon
Posts: 26
Joined: Thu Nov 27, 2008 3:45 pm

Postby demon » Wed Feb 25, 2009 9:32 pm

Hey guys, I need to print this thesis tomorrow, so any help is really appreciated.

I tried to modify the URL function in dcu.bst, but that's horrible. :(

demon
Posts: 26
Joined: Thu Nov 27, 2008 3:45 pm

Postby demon » Wed Feb 25, 2009 11:33 pm

got it with a modified dcu.bst.

SianKJones
Posts: 1
Joined: Mon Jun 21, 2010 4:21 pm

Postby SianKJones » Mon Jun 21, 2010 4:28 pm

This has taken me hours. I know it'll be no use to demon now but I'm hoping that if someone else out there is stuggling like I am then this may help.

I use abbrv and booklet to format my webpages in my references:
  1. @BOOKLET{aref,
  2. title = {A Title},
  3. author = {A. Author},
  4. howpublished = {Available at: \url{http://www.google.com}},
  5. lastchecked = {29/09/09},
  6. year = {2005},
  7. }


I couldn't get the lastchecked to appear. I searched for abbrv.bst on my computer opened it up and edited the file. These are the changes I made:

1. Add lastchecked in
  1. ENTRY


2. Add the following code in the same sort of place as formatting for authors, editors etc.

  1. FUNCTION {format.lastchecked}
  2. { lastchecked empty$
  3. { "" }
  4. { inbrackets "Last Accessed: " lastchecked * }
  5. if$
  6. }


3. Add the following line before fin.entry in booklet.
  1. format.lastchecked output


I'm sure these changes could be applied to other things and I hope this manages to help when you're trying to edit bst files.

Sian


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 3 guests