LaTeX forum ⇒ BibTeX, biblatex and biberreferences only first letter of first name; double dot

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Franzi_LaTeX
Posts: 10
Joined: Sun Jun 24, 2018 1:24 am

references only first letter of first name; double dot

Postby Franzi_LaTeX » Sat Jun 30, 2018 4:49 pm

Hi everyone! :)

I am using biber for my references and it is working so far. Unfortunately, I am required to list my references as follows:

Moorkuhle, U. (1967): „Rezession und Präzession – Astronomie im Spiegel der Krise“; in: Philosophische Rundschau Nr. 83.

As you can see: Only the first letter of the first name and a double dot behind the year.
If possible, it would also be great to cite the author and year in bold.
Unfortunately, I did not find any citation / reference style that does references in this way. Therefore, I just used Apa. Do you know whether it is possible to do the references as required?
Thanks a lot for your help.
This is my tex so far:

  1. \usepackage[backend=biber, ´
  2. style=authoryear-icomp,
  3. sorting=nyt,
  4. url=true,
  5. natbib=true,
  6. hyperref=true,
  7. ]{biblatex}
  8.  
  9. \DeclareLanguageMapping{english}{american-apa}
  10. \bibliography{Terrorism_Bibliography.bib}
Last edited by Franzi_LaTeX on Sat Jun 30, 2018 5:26 pm, edited 2 times in total.

Tags:

User avatar
Johannes_B
Site Moderator
Posts: 3830
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Jun 30, 2018 5:15 pm

Welcome to LaTeX.org,

it should be noted, that 96.7 % of LaTeX questions require a Minimal Working example to be answered. So with your recent three questions. How to create a MWE? <- Link that explains what is needed.

By the way, please markup the code. This way, anyone can clearly see where it starts and ends and compile your example on the run (waiting for a train, riding the subway etc.) using an online platform. Just put [<!-->code] before and [<!-->/code] after the code blocks. But do not include the <!-->.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Franzi_LaTeX
Posts: 10
Joined: Sun Jun 24, 2018 1:24 am

Postby Franzi_LaTeX » Sat Jun 30, 2018 8:25 pm

Hi Johannes,
thank you for your answer. I tried to create a Minimal Example. Unfortunately, now it does not give me the webpage references at all and I don´t understand why. Maybe you can help me...

  1. \documentclass[a4paper,12pt]{scrartcl}
  2.  
  3. \usepackage[nottoc]{tocbibind}
  4. \usepackage[backend=biber,
  5. style=authoryear-icomp,
  6. sorting=nyt,
  7. url=true,
  8. natbib=true,
  9. hyperref=true,
  10. ]{biblatex}
  11.  
  12. \DeclareLanguageMapping{english}{american-apa}
  13. \bibliography{test1.bib}
  14.  
  15. \usepackage{tocstyle}
  16. \newtocstyle[KOMAlike][leaders]{chapterwithdot}{
  17. \settocfeature{pagenumberbox}{\makebox[1em][r]}
  18. \settocfeature[-1]{leaders}{\hfill}
  19. \settocfeature[-1]{pagenumberbox}{\phantom}
  20. }
  21. \usetocstyle{chapterwithdot}
  22. \usepackage[automark,autooneside]{scrlayer-scrpage}
  23. \clearpairofpagestyles
  24. \ohead{\headmark}
  25. \ofoot*{\pagemark}
  26.  
  27. \usepackage[utf8]{inputenc}
  28. \usepackage[english]{babel}
  29. \usepackage[T1]{fontenc}
  30. \usepackage{blindtext}
  31. \usepackage{hyperref}
  32. \usepackage{setspace}
  33. \setlength{\parindent}{0mm}
  34. \usepackage[paper=a4paper,left=30mm,right=30mm,top=30mm,bottom=30mm]{geometry}
  35. \usepackage{graphicx}
  36. \deffootnote{1em}{1em}{\textsuperscript{\thefootnotemark\ }}
  37.  
  38. \setcounter{tocdepth}{3}
  39. \setcounter{secnumdepth}{3}
  40.  
  41. \begin{document}
  42.  
  43. \pagenumbering{roman}
  44. \clearpage
  45. \tableofcontents
  46.  
  47. \clearpage
  48.  
  49.  
  50. \onehalfspacing
  51. \pagestyle{plain}
  52. \pagenumbering{arabic}
  53. \setcounter{page}{3}
  54.  
  55. \section{Introduction}
  56. introduction xx
  57. \section{Definition}
  58. just \footnote{Woodis in \cite[p.60]{coady1985morality}.} some\footnote{cf. \cite [772]{coady2004terrorism}.} footnotes\footnote\cite{sep-war}.} to\footnote\cite{sep-relativism}.} get the\footnote{\cite[253]{walzer2000just}.} references.
  59.  
  60.  
  61. \clearpage
  62.  
  63. \addcontentsline{toc}{section}{List of References}
  64. \printbibliography[title={Book references},type=book]
  65. \printbibliography[title={Article references},type=article]
  66. \printbibliography[title={Webpage references}, nottype=article, nottype=book]
  67. \end{document}


The biber document is: test1.bib

  1. @article{coady2004terrorism,
  2. title={Terrorism, morality, and supreme emergency},
  3. author={Coady, Cecil AJ},
  4. journal={Ethics},
  5. volume={114},
  6. number={4},
  7. pages={772--789},
  8. year={2004},
  9. publisher={The University of Chicago Press}
  10. }
  11.  
  12. @book{walzer2000just,
  13. title={Just and unjust wars: A moral argument with historical illustrations},
  14. author={Walzer, Michael},
  15. year={2000},
  16. publisher={New York: Basic books}
  17. }
  18.  
  19. @article{coady1985morality,
  20. title={The morality of terrorism},
  21. author={Coady, Cecil AJ},
  22. journal={Philosophy},
  23. volume={60},
  24. number={231},
  25. pages={47--69},
  26. year={1985},
  27. publisher={Cambridge University Press}
  28. }
  29.  
  30.  
  31. @InCollection{sep-war,
  32. author = {Lazar, Seth},
  33. title = {War},
  34. booktitle = {The Stanford Encyclopedia of Philosophy}, \\
  35. howpublished = {\url{https://plato.stanford.edu/archives/spr2017/entries/war}},
  36. year = {2017},
  37. edition = {https://plato.stanford.edu/entries/war},
  38. publisher = {(Date accessed: 25.06.2018)}
  39.  
  40. }
  41.  
  42. @InCollection{sep-relativism,\\
  43. author = {Baghramian, Maria and Carter, J. Adam},
  44. title = {Relativism},
  45. booktitle = {The Stanford Encyclopedia of Philosophy},
  46. howpublished = {\url{https://plato.stanford.edu/archives/sum2017/entries/relativism}},
  47. year = {2017},
  48. edition = {https://plato.stanford.edu/entries/relativism},
  49. publisher = {(Date accessed: 28.06.2018)}
  50. }
  51.  
  52. \end

User avatar
Johannes_B
Site Moderator
Posts: 3830
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sun Jul 01, 2018 7:00 am

Stefan already told you, you need \nocite{*} to get all uncited references in the list of references.

To get first name initials, you can use firstinits=true,. Concerning the colon after the year, i suggest to ask on goLaTeX, where one of the biblatex developers is active. It is our german sister forum.

Please have a look at the bib file below, there where several errors in yours.
  1. \begin{filecontents}{\jobname.bib}
  2. @article{coady2004terrorism,
  3. title={Terrorism, morality, and supreme emergency},
  4. author={Coady, Cecil AJ},
  5. journal={Ethics},
  6. volume={114},
  7. number={4},
  8. pages={772--789},
  9. year={2004},
  10. publisher={The University of Chicago Press}
  11. }
  12.  
  13. @book{walzer2000just,
  14. title={Just and unjust wars: A moral argument with historical illustrations},
  15. author={Walzer, Michael},
  16. year={2000},
  17. publisher={New York: Basic books}
  18. }
  19.  
  20. @article{coady1985morality,
  21. title={The morality of terrorism},
  22. author={Coady, Cecil AJ},
  23. journal={Philosophy},
  24. volume={60},
  25. number={231},
  26. pages={47--69},
  27. year={1985},
  28. publisher={Cambridge University Press}
  29. }
  30.  
  31.  
  32. @InCollection{sep-war,
  33. author = {Lazar, Seth},
  34. title = {War},
  35. booktitle = {The Stanford Encyclopedia of Philosophy},
  36. url = {https://plato.stanford.edu/archives/spr2017/entries/war},
  37. year = {2017},
  38. urldate = {2018-06-25}
  39. }
  40.  
  41. @InCollection{sep-relativism,
  42. author = {Baghramian, Maria and Carter, J. Adam},
  43. title = {Relativism},
  44. booktitle = {The Stanford Encyclopedia of Philosophy},
  45. url = {https://plato.stanford.edu/archives/sum2017/entries/relativism},
  46. year = {2017},
  47. urldate = {2018-06-28}
  48. }
  49. \end{filecontents}
  50. \documentclass[a4paper,12pt,listof=totoc%<-
  51. ]{scrartcl}
  52.  
  53. \usepackage[utf8]{inputenc}
  54. \usepackage[english]{babel}
  55. \usepackage[T1]{fontenc}
  56. % \usepackage[nottoc]{tocbibind}% not needed with this class
  57. \usepackage[backend=biber,
  58. style=authoryear-icomp,
  59. sorting=nyt,
  60. url=true,
  61. natbib=true,
  62. hyperref=true,
  63. firstinits=true,
  64. ]{biblatex}
  65.  
  66. \DeclareLanguageMapping{english}{american-apa}
  67. \bibliography{\jobname.bib}
  68.  
  69. \usepackage{tocstyle}
  70. \newtocstyle[KOMAlike][leaders]{chapterwithdot}{
  71. \settocfeature{pagenumberbox}{\makebox[1em][r]}
  72. \settocfeature[-1]{leaders}{\hfill}
  73. \settocfeature[-1]{pagenumberbox}{\phantom}
  74. }
  75. \usetocstyle{chapterwithdot}
  76. \usepackage[automark,autooneside]{scrlayer-scrpage}
  77. \clearpairofpagestyles
  78. \ohead{\headmark}
  79. \ofoot*{\pagemark}
  80.  
  81. \usepackage{blindtext}
  82. \usepackage{setspace}
  83. \setlength{\parindent}{0mm}
  84. \usepackage[paper=a4paper,left=30mm,right=30mm,top=30mm,bottom=30mm]{geometry}
  85. \usepackage{graphicx}
  86. \deffootnote{1em}{1em}{\textsuperscript{\thefootnotemark\ }}
  87.  
  88. \setcounter{tocdepth}{3}
  89. \setcounter{secnumdepth}{3}
  90.  
  91. \usepackage{hyperref}% usually the last package
  92. \begin{document}
  93.  
  94. \pagenumbering{roman}
  95. \clearpage
  96. \tableofcontents
  97.  
  98. \clearpage
  99.  
  100.  
  101. \onehalfspacing
  102. \pagestyle{plain}
  103. \pagenumbering{arabic}
  104. \setcounter{page}{3}
  105.  
  106. \section{Introduction}
  107. introduction xx
  108. \section{Definition}
  109. The wombat sits on the grass \footcite[have a closer look at][60]{coady1985morality}.
  110. Capybaras are cool\footcite[cf.][772]{coady2004terrorism}
  111.  
  112. \clearpage
  113. \nocite{*}
  114. \addcontentsline{toc}{section}{List of References}
  115. \printbibliography[title={Book references},type=book]
  116. \printbibliography[title={Article references},type=article]
  117. \printbibliography[title={Webpage references}, nottype=article, nottype=book]
  118. \end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 2 guests