biblatex/biber를 사용하는 SAE 논문의 "인터넷 참조" 참고문헌 스타일

biblatex/biber를 사용하는 SAE 논문의 "인터넷 참조" 참고문헌 스타일

LaTeX 기술이 부족함에도 불구하고 포럼의 도움으로 LaTeX로 SAE 논문을 작성하기 위한 업데이트된 SAE 클래스를 개발하는 데 좋은 진전을 이루었습니다. 다음: 참고문헌의 "인터넷 참조" 형식을 올바르게 지정합니다.

저는 biblatex/biber를 사용하고 있습니다. 참고문헌에 이 조합을 사용하면 많은 이점이 있다는 것이 분명해 보이지만 서식을 조작하는 방법은 분명하지 않습니다. 그래서 다시 한번 이 부분에 도움을 요청합니다.

다음 bib 항목을 예로 들어 보겠습니다.

@Online{Dowanol2012,
  Title                    = {DOWANOL (TM) TPM Technical Data Sheet},
  Url                      = {http://msdssearch.dow.com/PublishedLiteratureDOWCOM/dh_08ad/0901b803808ad68e.pdf?filepath=oxysolvents/pdfs/noreg/110-00619.pdf&fromPage=GetDoc},
  Note                     = {Accessed 9/8/2015},
  Organization             = {The DOW Chemical Company},
  Urldate                  = {2015-09-08},
  Year                     = {2012},
}

현재 시도를 통해 참고문헌에 다음 항목이 표시됩니다.

DOWANOL (TM) TPM 기술 데이터 시트, 2015년 9월 8일 액세스. 다우케미칼컴퍼니, 2012년,http://msdssearch.dow.com/PublishedLiteratureDOWCOM/dh_08ad/0901b803808ad68e.pdf?filepath=oxysolvents/pdfs/noreg/110-00619.pdf&fromPage=GetDoc, 2015년 9월 8일에 액세스함.

내가 원하는 모습은 다음과 같습니다.

DOW Chemical Company, "DOWANOL(TM) TPM 기술 데이터 시트,"http://msdssearch.dow.com/PublishedLiteratureDOWCOM/dh_08ad/0901b803808ad68e.pdf?filepath=oxysolvents/pdfs/noreg/110-00619.pdf&fromPage=GetDoc, 2015년 9월에 액세스함.

이 필드는 대신 urldateget을 사용하는 데 가장 적합하지 않을 수도 있습니다 . 확실하지 않습니다. 어쩌면 urldate에서 월/연도에 액세스할 수 있을까요?Sep. 201509/08/2015

또한 다음을 사용하여 제목의 이탤릭체를 제거했습니다.

\DeclareFieldFormat[online]{title}{#1}

하지만 그 후에는 모든 항목을 재정렬하고 URL 날짜의 이중 인쇄를 제거하고 모든 형식 지정(예: 제목 주위의 따옴표 등)을 수행하는 방법을 잘 모르겠습니다.

현재 MWE는 다음과 같습니다.

\documentclass[letterpaper]{article}

% This package allows for detailed control of urls within the document and in the bibliography.
\usepackage{filecontents}
\usepackage{url}
\usepackage{color}
\usepackage{xcolor}
\usepackage[american]{babel}
\usepackage{csquotes}

\usepackage[style=numeric-comp, maxbibnames=4, minbibnames=3, sorting=none,firstinits=true, url=false, doi=true, backend=biber]{biblatex}

% Change the font size of the references list
\renewcommand*{\bibfont}{\small}

% Fix the way URLs are displayed.
\DeclareFieldFormat{url}{\url{#1}}
\DeclareFieldFormat{urldate}{\bibstring{urlseen}\space#1}
\renewbibmacro*{url+urldate}{%
  \usebibmacro{url}%
  \iffieldundef{urlyear}
    {}
    {\setunit*{\addcomma\space}%
     \usebibmacro{urldate}}}

% Print an access date on URLs.
\DefineBibliographyStrings{american}{urlseen = {accessed}}

% Typesets the URL (and DOI) in the same font as the document  
\urlstyle{same}

% Print an access date on URLs.
\DefineBibliographyStrings{american}{urlseen = {accessed}}

% Remove the italics on the title (how do I get quotes around it)?
\DeclareFieldFormat[online]{title}{#1}

% This line defines which file(s) bibtex will look for your bib entries (i.e. the name of your *.bib file without the extension). 
\bibliography{test}

\usepackage{hyperref}
\hypersetup{
  pdfencoding = {auto},
  pdfauthor   = {Dr. Who},
  pdftitle    = {Title},
  urlcolor    = blue,
  pdffitwindow=true,
  pdfkeywords={LLFC}, % Keywords 
  pdfnewwindow=true, % links in new window
  colorlinks=true, % false: boxed links; true: colored links
  linkcolor=red, % Color of internal links (change box color with linkbordercolor)
  linkbordercolor=red,
  citecolor=green,
  filecolor=magenta, 
  urlcolor=blue
}

\begin{filecontents}{test.bib}
@Online{Dowanol2012,
  Title                    = {DOWANOL (TM) TPM Technical Data Sheet},
  Url                      = {http://msdssearch.dow.com/PublishedLiteratureDOWCOM/dh_08ad/0901b803808ad68e.pdf?filepath=oxysolvents/pdfs/noreg/110-00619.pdf&fromPage=GetDoc},
  Note                     = {Accessed 9/8/2015},
  Organization             = {The DOW Chemical Company},
  Urldate                  = {2015-09-08},
  Year                     = {2012},
}
\end{filecontents}

\begin{document}
This is a test document with one citation \cite{Dowanol2012}.
\renewcommand\refname{References}
\printbibliography
\end{document}

아, 그리고 기술적으로 하이퍼링크는 밑줄을 긋고 파란색이어야 합니다. 파란색으로 표시할 수는 있지만 밑줄을 표시하는 데 문제가 있습니다. 특히 "@online" bib 유형의 일부인 URL에만 해당됩니다. 저널 기사의 DOI URL은 밑줄을 그어야 하지만 파란색은 아닙니다. (이 문제는 나중에 별도의 스레드에서 다루겠습니다. SAE 지침을 충족하기 위해 수행하려는 이상한 형식에 대한 컨텍스트를 제공하려고 노력할 뿐입니다.)

답변1

이 답변에서는 귀하의 문서가 다음의 코드를 사용한다고 가정합니다.biblatex/biber 솔루션을 사용하여 SAE(Society of Automotive Engineer) 스타일 참고문헌을 구현한 사람이 있습니까?, 따라서 우리는 거기에서 다루어진 세부 사항을 다룰 필요가 없습니다.

대부분의 작업은 항목을 변경하여 이미 완료할 수 있습니다 .bib. "The DOW Chemical Company"는 그럴 수도 있고 author아닐 수도 있습니다 organization(또한서지 항목의 "저자" 필드에 '법인 저자' 사용(이름 전체 철자),biblatex선적 서류 비치§2.3.3에 이에 대한 짧은 단어가 있습니다.기업 저자 및 편집자, p. 31). note정보가 이미 현장에 있다는 점에서 현장도 불필요해 보입니다 urldate. 그래서 나는 함께 갈 것이다

@Online{Dowanol2012,
  Title    = {DOWANOL (TM) TPM Technical Data Sheet},
  Url      = {http://msdssearch.dow.com/PublishedLiteratureDOWCOM/dh_08ad/0901b803808ad68e.pdf?filepath=oxysolvents/pdfs/noreg/110-00619.pdf&fromPage=GetDoc},
  author   = {{The DOW Chemical Company}},
  Urldate  = {2015-09-08},
  Year     = {2012},
}

그런 다음 변경해야 할 유일한 것은 출력입니다 urldate. 선택한 urldate=long다음 다음을 사용하여 하루를 삭제할 수 있습니다.

\DefineBibliographyExtras{english}{
  \protected\def\mkbibdatelong#1#2#3{%
    \iffieldundef{#2}
      {}
      {\mkbibmonth{\thefield{#2}}%
       \iffieldundef{#1}{}{\space}}%
     \iffieldbibstring{#1}
       {\bibstring{\thefield{#1}}}
       {\stripzeros{\thefield{#1}}}}}

MWE

\documentclass[letterpaper]{article}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=numeric-comp, maxbibnames=4, minbibnames=3, sorting=none,firstinits=true, url=false, doi=true, backend=biber, urldate=long]{biblatex}

\renewcommand*{\bibfont}{\small}

\DeclareFieldFormat{url}{\url{#1}}
\DeclareFieldFormat{urldate}{\bibstring{urlseen}\space#1}
\renewbibmacro*{url+urldate}{%
  \usebibmacro{url}%
  \iffieldundef{urlyear}
    {}
    {\setunit*{\addcomma\space}%
     \usebibmacro{urldate}}}

\DefineBibliographyStrings{american}{urlseen = {accessed}}

\urlstyle{same}

\DeclareFieldFormat[online]{title}{\mkbibquote{#1\isdot}}
\renewcommand*{\newunitpunct}{\addcomma\space}

\DefineBibliographyExtras{english}{
  \protected\def\mkbibdatelong#1#2#3{%
    \iffieldundef{#2}
      {}
      {\mkbibmonth{\thefield{#2}}%
       \iffieldundef{#1}{}{\space}}%
     \iffieldbibstring{#1}
       {\bibstring{\thefield{#1}}}
       {\stripzeros{\thefield{#1}}}}}

\usepackage{hyperref}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Online{Dowanol2012,
  Title    = {DOWANOL (TM) TPM Technical Data Sheet},
  Url      = {http://msdssearch.dow.com/PublishedLiteratureDOWCOM/dh_08ad/0901b803808ad68e.pdf?filepath=oxysolvents/pdfs/noreg/110-00619.pdf&fromPage=GetDoc},
  author   = {{The DOW Chemical Company}},
  Urldate  = {2015-09-08},
  Year     = {2012},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
This is a test document with one citation \cite{Dowanol2012}.

\printbibliography
\end{document}

관련 정보