인용의 "액세스 날짜" 날짜 형식 변경

인용의 "액세스 날짜" 날짜 형식 변경

인용문의 "urldate"에 표시되는 날짜 형식을 변경하고 싶습니다. 지금은 yyyy-mm-dd에 있는데 dd/mm/yyyy로 변경하고 싶습니다.

\usepackage[ddmmyyyy]{datetime}
\renewcommand{\dateseparator}{//}

하지만 ref.bib 파일에 원하는 형식의 날짜를 입력하면 이 오류가 발생하고 PDF에 날짜가 없습니다. 그리고 이전 형식으로 두면 제대로 표시되지 않습니다.

Entry 'mantis' (ref.bib): Invalid format '07/03/2023' of date field 'urldate' - ignoring.

메인 파일:

\documentclass[11pt, a4paper]{article}
\usepackage[a4paper,left=1.6cm, right=2cm, top=1.5cm, bottom=0.5cm,includefoot, footskip=30pt]{geometry}
%\usepackage[backend=biber, style=science]{biblatex} %authortitle
\usepackage[ddmmyyyy]{datetime}
\renewcommand{\dateseparator}{//}
\usepackage[english, czech]{babel}
\usepackage{csquotes}
\usepackage[backend=biber, babel=other, style=iso-numeric]{biblatex} %authortitle
\addbibresource{ref.bib}
\usepackage{url}
\usepackage{float}
\usepackage{hyperref}
\usepackage{graphicx}
\usepackage{listings}
\usepackage{xcolor}
\usepackage{caption}
\usepackage{pdfpages}
\usepackage{setspace}
\usepackage{lipsum}

\DeclareCaptionType{code}[Kód][Seznam úryvků kódu] 

\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.97,0.97,0.97}

\lstdefinestyle{mystyle}{
    backgroundcolor=\color{backcolour},   
    commentstyle=\color{codegray},
    keywordstyle=\color{codegreen},
    numberstyle=\tiny\color{codegray},
    stringstyle=\color{codepurple},
    basicstyle=\ttfamily\footnotesize,
    breakatwhitespace=false,         
    breaklines=true,                 
    captionpos=b,                    
    keepspaces=true,                 
    numbers=left,                    
    numbersep=5pt,                  
    showspaces=false,                
    showstringspaces=false,
    showtabs=false,                  
    tabsize=2
}

\lstset{style=mystyle}
\setcounter{section}{-1}
\renewcommand{\figurename}{Obr.}
\renewcommand*\listfigurename{Seznam obrázků}
\renewcommand{\lstlistingname}{Kód}
\renewcommand*\contentsname{Obsah}

%\onehalfspacing

\begin{document}
\section{sample}

\lipsum[1] \supercite{mantis}
\newpage
\begin{center}
        \printbibliography[title={Reference}]
\end{center}
\newpage
\listoffigures 
\newpage
\end{document}

ref.bib 파일:

@MISC{mantis,
    title={Voron Mantis dual 5015},
    url={https://github.com/VoronDesign/VoronUsers/tree/master/printer_mods/Long/Mantis_Dual_5015},
    urldate = {2023-03-07}, 
}

변경하고 싶은 날짜 형식:

기본 인용 날짜 형식

답변1

참고문헌에 표시되는 날짜 형식은 주로 사용하는 스타일과 선택한 언어에 따라 결정됩니다. 패키지는 의 날짜 출력을 datetime제어할 수 없습니다 .biblatex

biblatex-iso690style=iso-numeric대부분의 날짜를 ISO8601 형식으로 출력하는 것과 같은 스타일입니다 .

이것이 마음에 들지 않고 보다 전통적인 출력을 선호한다면 옵션을 사용하십시오 urldate=short,. 귀하와 같은 체코어 문서의 경우 이는 dd. mm. yyyy.

\documentclass[11pt, a4paper]{article}
\usepackage[english, czech]{babel}
\usepackage{csquotes}
\usepackage[
  backend=biber,
  style=iso-numeric,
  babel=other,
  urldate=short,
]{biblatex}
\usepackage{hyperref}

\begin{filecontents}{\jobname.bib}
@MISC{mantis,
  title   = {Voron Mantis dual 5015},
  url     = {https://github.com/VoronDesign/VoronUsers/tree/master/printer_mods/Long/Mantis_Dual_5015},
  urldate = {2023-03-07}, 
}
\end{filecontents}
\addbibresource{\jobname.bib}

%\onehalfspacing

\begin{document}
\section{sample}

Lorem \supercite{mantis}
\printbibliography[title={Reference}]
\end{document}

Voron Mantis 듀얼 5015 [온라인]. [브르]. [cit. 2023.03.07].


원하는 경우 체코어의 날짜 형식을 재정의 dd/mm/yyyy해야 하며 urldate=short,추가적으로 재정의해야 합니다 short.

\documentclass[11pt, a4paper]{article}
\usepackage[english, czech]{babel}
\usepackage{csquotes}
\usepackage[
  backend=biber,
  style=iso-numeric,
  babel=other,
  urldate=short,
]{biblatex}
\usepackage{hyperref}

\DefineBibliographyExtras{czech}{%
  \protected\def\mkbibdateshort#1#2#3{%
    \iffieldundef{#3}
      {}
      {\mkdayzeros{\thefield{#3}}%
       \iffieldundef{#2}{}{/}}%
    \iffieldundef{#2}
      {}
      {\mkmonthzeros{\thefield{#2}}%
       \iffieldundef{#1}
         {}
         {/}}%
    \iffieldbibstring{#1}
      {\bibstring{\thefield{#1}}}
      {\dateeraprintpre{#1}\mkyearzeros{\thefield{#1}}}}}

\begin{filecontents}{\jobname.bib}
@MISC{mantis,
  title   = {Voron Mantis dual 5015},
  url     = {https://github.com/VoronDesign/VoronUsers/tree/master/printer_mods/Long/Mantis_Dual_5015},
  urldate = {2023-03-07}, 
}
\end{filecontents}
\addbibresource{\jobname.bib}

%\onehalfspacing

\begin{document}
\section{sample}

Lorem \supercite{mantis}
\printbibliography[title={Reference}]
\end{document}

Voron Mantis 듀얼 5015 [온라인]. [브르]. [cit. 2023년 7월 3일].

관련 정보