Search This Blog

Tuesday, November 4, 2008

Not to show URLs in LaTex generated papers

When I prepare a manuscript using LaTex with Elsevier package, two reference styles are provided, elsart-num.bst and elsart-harv.bst, which generate reference lists ordered by citation number and author's name, respectively.  It often shows long URLs, which is absolutely not necessary for any purposes. 

Not to show URLs in my final manuscript, I did as follows:

1. Open .bst file.
2. Search "write.url" and replace it by "% write.url" within
  • FUNCTION {article}
  • FUNCTION {book}
  • FUNCTION {booklet}
  • FUNCTION {inbook}
  • FUNCTION {incollection}
  • FUNCTION {inproceedings}
  • FUNCTION {manual}
  • FUNCTION {masterthesis}
  • FUNCTION {misc}
  • FUNCTION {phdthesis}
  • FUNCTION {proceedings}
  • FUNCTION {techreport}
  • FUNCTION {unpublished}
But, do not make any changes where "write.url" is defined in FUNCTION {write.url}.

3. Another way is to redefine FUNCTION {write.url}, but I did not figure out how to yet.




No comments:

Labels

Blog Archive

Bacteria

Loading...