
나는 \parencite를 사용하고 있는데 작동하지만 다음과 같은 일이 가능한지 알고 싶습니다.
1 - 저자와 연도 사이에 쉼표를 추가합니다. (세계보건기구 1986)에서 (세계보건기구, 1986)까지
2 - 참고문헌에 두문자어가 없더라도 참조할 때 두문자어(또는 직접 대체하여 작성)를 사용합니다. (세계보건기구, 1986)에서 (WHO, 1986)까지
그리고:
3- 참고문헌 인용에서 "URL"을 "Disponível em"으로 바꾸는 방법.
예: 보낸 사람
"세계 보건 기구(1986). 건강 증진을 위한 오타와 헌장. URL: blabla(acedido em 31/03/2015)."
에게
"세계보건기구(1986). 건강 증진을 위한 오타와 헌장. Disponível em: blabla (aceido em 31/03/2015).
4- 반복된 저자를 표시합니다.
암호:
\documentclass{article}
\usepackage[portuguese]{babel}
\usepackage{csquotes}
\usepackage[backend=biber,style=authoryear]{biblatex}
\addbibresource{\jobname.bib}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@online{WHO1,
author = {World{\ }Health{\ }Organization},
title = {The Ottawa Charter for Health Promotion},
year = {1986},
url = {http://www.who.int/healthpromotion/conferences/previous/ottawa/en/},
urldate = {2015-03-31},
}
@online{WHO2,
author = {World{\ }Health{\ }Organization},
title = {The Ottawa Charter for Health Promotion},
year = {1987},
url = {http://www.who.int/healthpromotion/conferences/previous/ottawa/en/},
urldate = {2015-03-31},
}
\end{filecontents}
\begin{document}
\parencite{WHO1}
...
\parencite{WHO2}
\printbibliography
\end{document}
결과:
원하는 결과:
(세계보건기구, 1986) ... (WHO, 1987)
참고자료
세계보건기구(1986). 건강증진을 위한 오타와 헌장. Disponível em: blabla (2015년 3월 31일 방문).
세계보건기구(1987). 건강증진을 위한 오타와 헌장. Disponível em: blabla (2015년 3월 31일 방문).
(링크가 2개로 제한되어 있어서 blabla를 사용해야 했습니다)
답변1
인용 라벨의 이름과 연도 사이에 쉼표를 추가하려면:
\renewcommand\nameyeardelim{\addcomma\addspace}
인용에 다른 저자 이름을 사용하려면 다음을 추가하세요.
shortauthor = {WHO}
관련 참고문헌 항목에 연결됩니다.
첫 번째 인스턴스 이후에 줄로 교체하는 대신 참고문헌에서 저자 이름을 반복하려면 biblatex
package 옵션을 전달하세요.dashed=false
전달하세요 . [덕분에존(4)에 대한 설명을 위해.]
라벨의 경우~해야 한다, 나생각하다, 말할 수 있다
\DefineBibliographyStrings{portuguese}{url={Disponível em}}
그러나 이것은 작동하지 않는 것처럼 보이지만 urlseen={been there, done that}
다른 이유로 바람직하지 않지만 추가하면 작동하는 것처럼 보이는 장점이 있습니다.
url
bibstring
그래서 이 필드는 를 사용하지 않고 대신 를 사용하기 때문에 필드 형식을 다시 정의해야 할 것 같습니다 \mkbibacro{URL}
. 한 가지 방법은 다음과 같습니다.
\DeclareFieldFormat{url}{\bibstring{url}\addcolon\space\url{#1}}
bibstring
와 같은 유사한 필드 형식과 동일한 방식으로 를 사용하도록 수정되었습니다 urlseen
. 그러나 bibstring
url
이 경우에는 가 무엇을 하려는지 나보다 낫기 때문에 이것은 올바른 해결책이라기보다는 해킹에 더 가깝습니다.
\begin{filecontents}{\jobname.bib}
@online{WHO1,
author = {{World Health Organization}},
shortauthor = {WHO},
title = {The {Ottawa} Charter for Health Promotion},
year = {1986},
url = {http://www.who.int/healthpromotion/conferences/previous/ottawa/en/},
urldate = {2015-03-31},
}
@online{WHO2,
author = {{World Health Organization}},
shortauthor = {WHO},
title = {The {Ottawa} Charter for Health Promotion},
year = {1987},
url = {http://www.who.int/healthpromotion/conferences/previous/ottawa/en/},
urldate = {2015-03-31},
}
\end{filecontents}
\documentclass[portuguese]{article}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber,style=authoryear,dashed=false]{biblatex}
\addbibresource{\jobname.bib}
\renewcommand\nameyeardelim{\addcomma\addspace}
\DefineBibliographyStrings{portuguese}{%
url={Disponível em},
}
\DeclareFieldFormat{url}{\bibstring{url}\addcolon\space\url{#1}}
\begin{document}
\parencite{WHO1}
\parencite{WHO2}
\printbibliography
\end{document}
따라서 이것은 부분적인 대답일 뿐입니다. ('질문당 하나의 질문' 규칙을 언급한 사람이 있습니까? 사이트를 깔끔하게 유지하는 데 도움이 됩니다....)
답변2
나는 당신이 "urlseen"키를 변경하고 싶다고 믿습니다. 따라서 당신이 제공해야 할 명령은 다음과 같습니다.
\DefineBibliographyStrings{portuguese}{urlseen={Disponível em}}