Which bibliographystyle for lastchecked and URL attribute?












4














I noticed that lastchecked and URL are non-standard attributes for a bibTeX files, which is kind of strange nowadays, but that's a different matter.



I tried to use @misc{...} with itmalpha style, but my document doesn't show the two attributes. Which style can I use for it to display, which doesn't mess up my other references, which are articles and incollections (for now).










share|improve this question


















  • 2




    You might consider to switch to biblatex, where you can control which fields are printed.
    – Guido
    Jan 3 '13 at 12:34










  • @Guido Can you point me to a good documentation (or the exact part in the manual) where I can control which fields are printed?
    – cherrung
    Jan 3 '13 at 15:59






  • 1




    What you can do in biblatex is to redefine some macros. For example renewbibmacro{finentry}{printfield{url}, printdate{urldate}}. You can look at chapter 4 of the manual, a good intro is at tex.stackexchange.com/questions/12806/….
    – Guido
    Jan 4 '13 at 7:22












  • Oh. I actually found my problem. I used the lastchecked field instead of the urldate field. urldate would be the correct use in my case. Then the solution would be here: tex.stackexchange.com/questions/56904/…
    – cherrung
    Jan 4 '13 at 10:03
















4














I noticed that lastchecked and URL are non-standard attributes for a bibTeX files, which is kind of strange nowadays, but that's a different matter.



I tried to use @misc{...} with itmalpha style, but my document doesn't show the two attributes. Which style can I use for it to display, which doesn't mess up my other references, which are articles and incollections (for now).










share|improve this question


















  • 2




    You might consider to switch to biblatex, where you can control which fields are printed.
    – Guido
    Jan 3 '13 at 12:34










  • @Guido Can you point me to a good documentation (or the exact part in the manual) where I can control which fields are printed?
    – cherrung
    Jan 3 '13 at 15:59






  • 1




    What you can do in biblatex is to redefine some macros. For example renewbibmacro{finentry}{printfield{url}, printdate{urldate}}. You can look at chapter 4 of the manual, a good intro is at tex.stackexchange.com/questions/12806/….
    – Guido
    Jan 4 '13 at 7:22












  • Oh. I actually found my problem. I used the lastchecked field instead of the urldate field. urldate would be the correct use in my case. Then the solution would be here: tex.stackexchange.com/questions/56904/…
    – cherrung
    Jan 4 '13 at 10:03














4












4








4







I noticed that lastchecked and URL are non-standard attributes for a bibTeX files, which is kind of strange nowadays, but that's a different matter.



I tried to use @misc{...} with itmalpha style, but my document doesn't show the two attributes. Which style can I use for it to display, which doesn't mess up my other references, which are articles and incollections (for now).










share|improve this question













I noticed that lastchecked and URL are non-standard attributes for a bibTeX files, which is kind of strange nowadays, but that's a different matter.



I tried to use @misc{...} with itmalpha style, but my document doesn't show the two attributes. Which style can I use for it to display, which doesn't mess up my other references, which are articles and incollections (for now).







bibliographies bibtex






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 3 '13 at 10:55









cherrung

1,51932130




1,51932130








  • 2




    You might consider to switch to biblatex, where you can control which fields are printed.
    – Guido
    Jan 3 '13 at 12:34










  • @Guido Can you point me to a good documentation (or the exact part in the manual) where I can control which fields are printed?
    – cherrung
    Jan 3 '13 at 15:59






  • 1




    What you can do in biblatex is to redefine some macros. For example renewbibmacro{finentry}{printfield{url}, printdate{urldate}}. You can look at chapter 4 of the manual, a good intro is at tex.stackexchange.com/questions/12806/….
    – Guido
    Jan 4 '13 at 7:22












  • Oh. I actually found my problem. I used the lastchecked field instead of the urldate field. urldate would be the correct use in my case. Then the solution would be here: tex.stackexchange.com/questions/56904/…
    – cherrung
    Jan 4 '13 at 10:03














  • 2




    You might consider to switch to biblatex, where you can control which fields are printed.
    – Guido
    Jan 3 '13 at 12:34










  • @Guido Can you point me to a good documentation (or the exact part in the manual) where I can control which fields are printed?
    – cherrung
    Jan 3 '13 at 15:59






  • 1




    What you can do in biblatex is to redefine some macros. For example renewbibmacro{finentry}{printfield{url}, printdate{urldate}}. You can look at chapter 4 of the manual, a good intro is at tex.stackexchange.com/questions/12806/….
    – Guido
    Jan 4 '13 at 7:22












  • Oh. I actually found my problem. I used the lastchecked field instead of the urldate field. urldate would be the correct use in my case. Then the solution would be here: tex.stackexchange.com/questions/56904/…
    – cherrung
    Jan 4 '13 at 10:03








2




2




You might consider to switch to biblatex, where you can control which fields are printed.
– Guido
Jan 3 '13 at 12:34




You might consider to switch to biblatex, where you can control which fields are printed.
– Guido
Jan 3 '13 at 12:34












@Guido Can you point me to a good documentation (or the exact part in the manual) where I can control which fields are printed?
– cherrung
Jan 3 '13 at 15:59




@Guido Can you point me to a good documentation (or the exact part in the manual) where I can control which fields are printed?
– cherrung
Jan 3 '13 at 15:59




1




1




What you can do in biblatex is to redefine some macros. For example renewbibmacro{finentry}{printfield{url}, printdate{urldate}}. You can look at chapter 4 of the manual, a good intro is at tex.stackexchange.com/questions/12806/….
– Guido
Jan 4 '13 at 7:22






What you can do in biblatex is to redefine some macros. For example renewbibmacro{finentry}{printfield{url}, printdate{urldate}}. You can look at chapter 4 of the manual, a good intro is at tex.stackexchange.com/questions/12806/….
– Guido
Jan 4 '13 at 7:22














Oh. I actually found my problem. I used the lastchecked field instead of the urldate field. urldate would be the correct use in my case. Then the solution would be here: tex.stackexchange.com/questions/56904/…
– cherrung
Jan 4 '13 at 10:03




Oh. I actually found my problem. I used the lastchecked field instead of the urldate field. urldate would be the correct use in my case. Then the solution would be here: tex.stackexchange.com/questions/56904/…
– cherrung
Jan 4 '13 at 10:03










2 Answers
2






active

oldest

votes


















4














In most bibtex styles the information about url and the date when the web page has been accessed can be stored in the howpublished field (in free format).



A second alternative is to modify the itmalpha style to accommodate the two fields. The styles does not support url and lastchecked. Thus the first step is to insert these two fields in the ENTRY part of the style:



ENTRY
{ address
...
lastchecked
url
...
}
{}
{ label extra.label sort.label }


Then, we create a function to print the value of the fields. Thus we insert the following code in the file



FUNCTION {format.url.lastchecked}
{
url empty$
'skip$
{ "Available at: url{" url * "}" *
lastchecked empty$
'skip$
{ "Accessed on: " lastchecked * }
if$
}
if$
}


Finally, we have to use the function at the appropriate position (in the definition of misc). We can replace the definition of misc with



FUNCTION {misc}
{ output.bibitem
author empty$ % added by R.Bless
{ format.editors output.nonnull } % added by R.Bless
{ format.authors "author" output.check } % added by R.Bless
if$
title howpublished new.block.checkb
format.title output
howpublished new.block.checka
howpublished output
organization output
institution output
format.date output
fin.entry
format.url.lastchecked output
new.block
note output
fin.entry
empty.misc.check
}


Instead of editing the itmalpha.sty file, please make a copy, edit it, and rename it (e.g. myitmalpha.sty).



PS I have used url{} to wrap the value of the bibtex url field, this requires to load an appropriate style, e.g., url or hyperref.






share|improve this answer





















  • Thanks for all the information. I followed your advice and looked at biblatex. Still somewhat complicated, but will look more into it. Changing the styles directly is an option I guess, but too tiresome in my case, because I'm still not quite sure which style to stick with.
    – cherrung
    Jan 3 '13 at 15:35



















3














all styles here http://archiv.dante.de/~herbert/Bibliography/ know the fields url and urldate






share|improve this answer























  • The link is broken.
    – JJM Driessen
    6 hours ago










  • it is corrected ...
    – Herbert
    12 mins ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f89058%2fwhich-bibliographystyle-for-lastchecked-and-url-attribute%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









4














In most bibtex styles the information about url and the date when the web page has been accessed can be stored in the howpublished field (in free format).



A second alternative is to modify the itmalpha style to accommodate the two fields. The styles does not support url and lastchecked. Thus the first step is to insert these two fields in the ENTRY part of the style:



ENTRY
{ address
...
lastchecked
url
...
}
{}
{ label extra.label sort.label }


Then, we create a function to print the value of the fields. Thus we insert the following code in the file



FUNCTION {format.url.lastchecked}
{
url empty$
'skip$
{ "Available at: url{" url * "}" *
lastchecked empty$
'skip$
{ "Accessed on: " lastchecked * }
if$
}
if$
}


Finally, we have to use the function at the appropriate position (in the definition of misc). We can replace the definition of misc with



FUNCTION {misc}
{ output.bibitem
author empty$ % added by R.Bless
{ format.editors output.nonnull } % added by R.Bless
{ format.authors "author" output.check } % added by R.Bless
if$
title howpublished new.block.checkb
format.title output
howpublished new.block.checka
howpublished output
organization output
institution output
format.date output
fin.entry
format.url.lastchecked output
new.block
note output
fin.entry
empty.misc.check
}


Instead of editing the itmalpha.sty file, please make a copy, edit it, and rename it (e.g. myitmalpha.sty).



PS I have used url{} to wrap the value of the bibtex url field, this requires to load an appropriate style, e.g., url or hyperref.






share|improve this answer





















  • Thanks for all the information. I followed your advice and looked at biblatex. Still somewhat complicated, but will look more into it. Changing the styles directly is an option I guess, but too tiresome in my case, because I'm still not quite sure which style to stick with.
    – cherrung
    Jan 3 '13 at 15:35
















4














In most bibtex styles the information about url and the date when the web page has been accessed can be stored in the howpublished field (in free format).



A second alternative is to modify the itmalpha style to accommodate the two fields. The styles does not support url and lastchecked. Thus the first step is to insert these two fields in the ENTRY part of the style:



ENTRY
{ address
...
lastchecked
url
...
}
{}
{ label extra.label sort.label }


Then, we create a function to print the value of the fields. Thus we insert the following code in the file



FUNCTION {format.url.lastchecked}
{
url empty$
'skip$
{ "Available at: url{" url * "}" *
lastchecked empty$
'skip$
{ "Accessed on: " lastchecked * }
if$
}
if$
}


Finally, we have to use the function at the appropriate position (in the definition of misc). We can replace the definition of misc with



FUNCTION {misc}
{ output.bibitem
author empty$ % added by R.Bless
{ format.editors output.nonnull } % added by R.Bless
{ format.authors "author" output.check } % added by R.Bless
if$
title howpublished new.block.checkb
format.title output
howpublished new.block.checka
howpublished output
organization output
institution output
format.date output
fin.entry
format.url.lastchecked output
new.block
note output
fin.entry
empty.misc.check
}


Instead of editing the itmalpha.sty file, please make a copy, edit it, and rename it (e.g. myitmalpha.sty).



PS I have used url{} to wrap the value of the bibtex url field, this requires to load an appropriate style, e.g., url or hyperref.






share|improve this answer





















  • Thanks for all the information. I followed your advice and looked at biblatex. Still somewhat complicated, but will look more into it. Changing the styles directly is an option I guess, but too tiresome in my case, because I'm still not quite sure which style to stick with.
    – cherrung
    Jan 3 '13 at 15:35














4












4








4






In most bibtex styles the information about url and the date when the web page has been accessed can be stored in the howpublished field (in free format).



A second alternative is to modify the itmalpha style to accommodate the two fields. The styles does not support url and lastchecked. Thus the first step is to insert these two fields in the ENTRY part of the style:



ENTRY
{ address
...
lastchecked
url
...
}
{}
{ label extra.label sort.label }


Then, we create a function to print the value of the fields. Thus we insert the following code in the file



FUNCTION {format.url.lastchecked}
{
url empty$
'skip$
{ "Available at: url{" url * "}" *
lastchecked empty$
'skip$
{ "Accessed on: " lastchecked * }
if$
}
if$
}


Finally, we have to use the function at the appropriate position (in the definition of misc). We can replace the definition of misc with



FUNCTION {misc}
{ output.bibitem
author empty$ % added by R.Bless
{ format.editors output.nonnull } % added by R.Bless
{ format.authors "author" output.check } % added by R.Bless
if$
title howpublished new.block.checkb
format.title output
howpublished new.block.checka
howpublished output
organization output
institution output
format.date output
fin.entry
format.url.lastchecked output
new.block
note output
fin.entry
empty.misc.check
}


Instead of editing the itmalpha.sty file, please make a copy, edit it, and rename it (e.g. myitmalpha.sty).



PS I have used url{} to wrap the value of the bibtex url field, this requires to load an appropriate style, e.g., url or hyperref.






share|improve this answer












In most bibtex styles the information about url and the date when the web page has been accessed can be stored in the howpublished field (in free format).



A second alternative is to modify the itmalpha style to accommodate the two fields. The styles does not support url and lastchecked. Thus the first step is to insert these two fields in the ENTRY part of the style:



ENTRY
{ address
...
lastchecked
url
...
}
{}
{ label extra.label sort.label }


Then, we create a function to print the value of the fields. Thus we insert the following code in the file



FUNCTION {format.url.lastchecked}
{
url empty$
'skip$
{ "Available at: url{" url * "}" *
lastchecked empty$
'skip$
{ "Accessed on: " lastchecked * }
if$
}
if$
}


Finally, we have to use the function at the appropriate position (in the definition of misc). We can replace the definition of misc with



FUNCTION {misc}
{ output.bibitem
author empty$ % added by R.Bless
{ format.editors output.nonnull } % added by R.Bless
{ format.authors "author" output.check } % added by R.Bless
if$
title howpublished new.block.checkb
format.title output
howpublished new.block.checka
howpublished output
organization output
institution output
format.date output
fin.entry
format.url.lastchecked output
new.block
note output
fin.entry
empty.misc.check
}


Instead of editing the itmalpha.sty file, please make a copy, edit it, and rename it (e.g. myitmalpha.sty).



PS I have used url{} to wrap the value of the bibtex url field, this requires to load an appropriate style, e.g., url or hyperref.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 3 '13 at 13:49









Guido

24k54785




24k54785












  • Thanks for all the information. I followed your advice and looked at biblatex. Still somewhat complicated, but will look more into it. Changing the styles directly is an option I guess, but too tiresome in my case, because I'm still not quite sure which style to stick with.
    – cherrung
    Jan 3 '13 at 15:35


















  • Thanks for all the information. I followed your advice and looked at biblatex. Still somewhat complicated, but will look more into it. Changing the styles directly is an option I guess, but too tiresome in my case, because I'm still not quite sure which style to stick with.
    – cherrung
    Jan 3 '13 at 15:35
















Thanks for all the information. I followed your advice and looked at biblatex. Still somewhat complicated, but will look more into it. Changing the styles directly is an option I guess, but too tiresome in my case, because I'm still not quite sure which style to stick with.
– cherrung
Jan 3 '13 at 15:35




Thanks for all the information. I followed your advice and looked at biblatex. Still somewhat complicated, but will look more into it. Changing the styles directly is an option I guess, but too tiresome in my case, because I'm still not quite sure which style to stick with.
– cherrung
Jan 3 '13 at 15:35











3














all styles here http://archiv.dante.de/~herbert/Bibliography/ know the fields url and urldate






share|improve this answer























  • The link is broken.
    – JJM Driessen
    6 hours ago










  • it is corrected ...
    – Herbert
    12 mins ago
















3














all styles here http://archiv.dante.de/~herbert/Bibliography/ know the fields url and urldate






share|improve this answer























  • The link is broken.
    – JJM Driessen
    6 hours ago










  • it is corrected ...
    – Herbert
    12 mins ago














3












3








3






all styles here http://archiv.dante.de/~herbert/Bibliography/ know the fields url and urldate






share|improve this answer














all styles here http://archiv.dante.de/~herbert/Bibliography/ know the fields url and urldate







share|improve this answer














share|improve this answer



share|improve this answer








edited 12 mins ago

























answered Jan 3 '13 at 13:59









Herbert

268k23407716




268k23407716












  • The link is broken.
    – JJM Driessen
    6 hours ago










  • it is corrected ...
    – Herbert
    12 mins ago


















  • The link is broken.
    – JJM Driessen
    6 hours ago










  • it is corrected ...
    – Herbert
    12 mins ago
















The link is broken.
– JJM Driessen
6 hours ago




The link is broken.
– JJM Driessen
6 hours ago












it is corrected ...
– Herbert
12 mins ago




it is corrected ...
– Herbert
12 mins ago


















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f89058%2fwhich-bibliographystyle-for-lastchecked-and-url-attribute%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Accessing regular linux commands in Huawei's Dopra Linux

Can't connect RFCOMM socket: Host is down

Kernel panic - not syncing: Fatal Exception in Interrupt