### Install biblatex-iso690 from GitHub Source: https://github.com/michal-h21/biblatex-iso690/blob/master/README.md Clone the repository into your TEXMFHOME directory to install the package. Ensure the tex/latex subdirectory exists. ```bash kpsewhich -var-value TEXMFHOME ``` ```bash git clone git@github.com:michal-h21/biblatex-iso690.git ``` -------------------------------- ### Basic LaTeX Document Setup Source: https://context7.com/michal-h21/biblatex-iso690/llms.txt Load the package in the preamble with the desired style and specify the bibliography file. ```latex \documentclass{article} \usepackage[english,czech]{babel} \usepackage{csquotes} \usepackage[ backend=biber, style=iso-authoryear ]{biblatex} \addbibresource{references.bib} \begin{document} This is a citation \parencite{borgman2003from}. \printbibliography \end{document} ``` -------------------------------- ### BibTeX Date Formatting Examples Source: https://context7.com/michal-h21/biblatex-iso690/llms.txt Handle various date formats in BibTeX, including ISO 8601, date ranges, open-ended ranges, approximate dates (circa), copyright date addons, and corrected dates. ```bibtex % Exact date in ISO 8601 format date = {2012-12-21}, % Date range date = {1998/2001}, % Open-ended date range (ongoing publication) date = {2016/}, % Approximate date (circa) date = {1490~}, % Copyright date addon date = {2000}, dateaddon = {\addcomma\space\textcopyright\addnbthinspace 2001}, % Corrected date date = {1959}, dateaddon = {\mkbibbrackets{i.e. 1995}}, ``` -------------------------------- ### Unzip biblatex-iso690 from GitHub Source: https://github.com/michal-h21/biblatex-iso690/blob/master/README.md Alternatively, download and unzip the master archive into your TEXMFHOME directory for installation. ```bash https://github.com/michal-h21/biblatex-iso690/archive/master.zip ``` -------------------------------- ### Custom Formatting Adjustments in LaTeX Source: https://context7.com/michal-h21/biblatex-iso690/llms.txt Customize bibliography appearance by redefining commands or using DeclareDelimFormat. Examples include changing surname format, numeric reference delimiters, multi-name delimiters, final name delimiters, and URL line breaking penalties. ```latex % Change surname format to small caps instead of UPPERCASE \let\familynameformat=\textsc % Use brackets for numeric references: [1] instead of 1. \DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{#1}} % Change multi-name delimiter from semicolon to comma \DeclareDelimFormat{multinamedelim}{\addcomma\space} % Change final name delimiter to "and" \DeclareDelimFormat{finalnamedelim}{ \ifnumgreater{\value{liststop}}{2}{\finalandcomma}{} \addspace\bibstring{and}\space} % URL line breaking configuration \setcounter{biburllcpenalty}{7000} \setcounter{biburlucpenalty}{8000} ``` -------------------------------- ### Configure Biblatex Package Options Source: https://context7.com/michal-h21/biblatex-iso690/llms.txt Customize bibliography output using package options within \usepackage. Key options include backend, style, sorting, language handling, and field printing (DOI, ISBN, URL, eprint). ```latex \usepackage[ backend=biber, % Use biber backend (recommended) style=iso-authoryear, % Citation style sortlocale=en_US, % Sorting locale autolang=other, % Language handling pagetotal=true, % Show total pages: [60 p.] shortnumeration=true, % Short format: 32(3), 289-301 spacecolon=true, % Space before colon: Praha : Academia doi=true, % Enable DOI printing isbn=true, % Enable ISBN/ISSN printing url=true, % Enable URL printing eprint=true, % Enable eprint field noenddot=false, % Print period at end of entries ]{biblatex} ``` -------------------------------- ### Automated Compilation with latexmk Source: https://context7.com/michal-h21/biblatex-iso690/llms.txt Automate the LaTeX compilation process, including Biblatex and Biber steps, using latexmk. This simplifies the workflow by handling multiple passes automatically. ```bash latexmk -pdf document.tex ``` -------------------------------- ### Retag files using l3build Source: https://github.com/michal-h21/biblatex-iso690/wiki/Release-Process Executes the tagging process for the project files. The 'v' prefix is handled automatically. ```bash l3build tag v0.4.0 ``` -------------------------------- ### Enable URL printing Source: https://github.com/michal-h21/biblatex-iso690/blob/master/README.md Set `url=true` to display URLs, also affecting the `[online]` medium designation for electronic resources. Default is `true`. ```latex url=true ``` -------------------------------- ### Shorten numeration and pagination display Source: https://github.com/michal-h21/biblatex-iso690/blob/master/README.md Use `shortnumeration=true` for a more compact display of volume, number, and page ranges. Default is `false`. ```latex shortnumeration=true ``` -------------------------------- ### Configure Czech ISO 690 name format Source: https://github.com/michal-h21/biblatex-iso690/wiki/Style-Guide Sets up name delimiters and aliases to match specific Czech institutional requirements for author lists. ```latex \DeclareDelimFormat{multinamedelim}{\addcomma\space} \DeclareDelimFormat{finalnamedelim}{% \ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}% \addspace\bibstring{and}\space} \DeclareNameAlias{author}{family-given/given-family} ``` -------------------------------- ### Configure Multilingual Support in LaTeX Source: https://context7.com/michal-h21/biblatex-iso690/llms.txt Set up multilingual support using either the 'babel' or 'polyglossia' packages. Specify main and other languages, and optionally set language per entry in the .bib file using 'langid'. ```latex % Using babel \usepackage[english,german,czech]{babel} % Last language is main \usepackage[style=iso-authoryear]{biblatex} % Using polyglossia (XeLaTeX/LuaLaTeX) \usepackage{polyglossia} \setmainlanguage{czech} \setotherlanguage{english} \setotherlanguage{german} \usepackage[style=iso-authoryear]{biblatex} % Set language per entry in .bib file @book{example, langid = {german}, % This entry uses German localization ... } ``` -------------------------------- ### Compile biblatex document sequence Source: https://github.com/michal-h21/biblatex-iso690/wiki/Compile-a-document Execute these commands in order to ensure proper bibliography generation and cross-referencing. ```bash latex [.tex] biber [.bcf] latex [.tex] ``` -------------------------------- ### Print localization strings in current language Source: https://github.com/michal-h21/biblatex-iso690/blob/master/README.md Set `currentlang=true` to display localized bibliography strings according to the current document language. Default is `false`. ```latex currentlang=true ``` -------------------------------- ### Include publication info for articles Source: https://github.com/michal-h21/biblatex-iso690/blob/master/README.md Set `articlepubinfo=true` to include publication details like location and publisher for `@article` entries. Default is `false`. ```latex articlepubinfo=true ``` -------------------------------- ### Configure final name delimiter Source: https://github.com/michal-h21/biblatex-iso690/wiki/Style-Guide Changes the delimiter before the last name in a list to the 'and' string. ```latex \DeclareDelimFormat{finalnamedelim}{% \ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}% \addspace\bibstring{and}\space} ``` -------------------------------- ### Print total number of pages Source: https://github.com/michal-h21/biblatex-iso690/blob/master/README.md Set `pagetotal=true` to display the total number of pages in the notes section. Default is `false`. ```latex pagetotal=true ``` -------------------------------- ### Configure multi-name delimiter Source: https://github.com/michal-h21/biblatex-iso690/wiki/Style-Guide Changes the delimiter between multiple names from a semicolon to a comma. ```latex \DeclareDelimFormat{multinamedelim}{\addcomma\space} ``` -------------------------------- ### Defining a Book Entry Source: https://context7.com/michal-h21/biblatex-iso690/llms.txt Define a book entry with author, title, publisher, and metadata fields. ```bibtex @book{borgman2003from, author = {Borgman, Christine L.}, title = {From {Gutenberg} to the Global Information Infrastructure}, subtitle = {Access to Information in the Networked World}, location = {Cambridge (Mass.)}, publisher = {The MIT Press}, date = {2003}, pagetotal = {xviii, 324}, isbn = {0-262-52345-0}, langid = {english}, } ``` -------------------------------- ### Define Online Resource Entry in BibTeX Source: https://context7.com/michal-h21/biblatex-iso690/llms.txt Use the @online entry type for web resources, specifying URL, access date, and optional version or eprint information. The 'date' field should be the publication date. ```bibtex @online{maldacena1997large, author = {Juan M. Maldacena}, title = {The Large N Limit of Superconformal Field Theories}, date = {1998-01-22}, version = {3}, eprint = {hep-th/9711200}, eprinttype = {arXiv}, urldate = {2020-03-25}, } ``` -------------------------------- ### Configure numeric reference format Source: https://github.com/michal-h21/biblatex-iso690/wiki/Style-Guide Changes the reference numbering style from '1.' to '[1]'. ```tex \DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{#1}} ``` -------------------------------- ### Configure surname format Source: https://github.com/michal-h21/biblatex-iso690/wiki/Style-Guide Changes the default uppercase surname format to small caps. ```tex \let\familynameformat=\textsc ``` -------------------------------- ### LaTeX Compilation Process with Biber Source: https://context7.com/michal-h21/biblatex-iso690/llms.txt Compile LaTeX documents that use biblatex with the Biber backend. The standard process involves running LaTeX, then Biber, and finally LaTeX twice more to resolve all references and ensure correct formatting. ```bash pdflatex yourdocument.tex biber yourdocument pdflatex yourdocument.tex pdflatex yourdocument.tex ``` -------------------------------- ### Include thesis information in notes Source: https://github.com/michal-h21/biblatex-iso690/blob/master/README.md Set `thesisinfoinnotes=true` to place thesis-specific details within the notes section. Default is `true`. ```latex thesisinfoinnotes=true ``` -------------------------------- ### Configuring Citation Styles Source: https://context7.com/michal-h21/biblatex-iso690/llms.txt Select the citation method using the style option within the biblatex package configuration. ```latex % Author-year (Harvard) style - recommended for most uses \usepackage[style=iso-authoryear]{biblatex} % Numeric style - citations appear as [1], [2], etc. \usepackage[style=iso-numeric]{biblatex} % Alphabetic style - citations use letter-based labels \usepackage[style=iso-alphabetic]{biblatex} % Author-title style - shows author and title in citations \usepackage[style=iso-authortitle]{biblatex} ``` -------------------------------- ### Numeric Style Citation Commands Source: https://context7.com/michal-h21/biblatex-iso690/llms.txt Use these commands to format references as bracketed numbers, parenthetical numbers, or superscripts. ```latex % For iso-numeric style \cite{knuth1990virtual} % Output: [1] \parencite{knuth1990virtual} % Output: (1) \supercite{knuth1990virtual} % Output: ^1 (superscript) % Multiple citations \cite{knuth1990virtual,borgman2003from} % Output: [1, 2] ``` -------------------------------- ### Enable DOI printing Source: https://github.com/michal-h21/biblatex-iso690/blob/master/README.md Set `doi=true` to display the Digital Object Identifier (DOI). Default is `true`. ```latex doi=true ``` -------------------------------- ### Enable ISBN/ISSN printing Source: https://github.com/michal-h21/biblatex-iso690/blob/master/README.md Set `isbn=true` to display standard identifiers like ISBN and ISSN. Default is `true`. ```latex isbn=true ``` -------------------------------- ### Enable eprint field printing Source: https://github.com/michal-h21/biblatex-iso690/blob/master/README.md Set `eprint=true` to display the eprint field, often used for arXiv identifiers. Default is `true`. ```latex eprint=true ``` -------------------------------- ### Standard LaTeX Compilation Sequence Source: https://context7.com/michal-h21/biblatex-iso690/llms.txt Use this sequence for compiling LaTeX documents with Biblatex and Biber. Ensure all steps are executed for correct reference generation. ```latex pdflatex document.tex biber document pdflatex document.tex pdflatex document.tex # Second pass for correct references ``` -------------------------------- ### Define Patent Entry in BibTeX Source: https://context7.com/michal-h21/biblatex-iso690/llms.txt Use the @patent entry type for patents, including holder, inventor, application date, and publication date. Supported types include patentus, patentuk, patenteu. ```bibtex @patent{groll2008method, holder = {{Clad Metals LLC Canonsburg, PA 15317 (US)}}, title = {Method of making a copper core five-ply composite}, author = {Groll, W. A.}, % inventor publisher = {Google Patents}, number = {EP 1 094 937 B1}, type = {patenteu}, % Options: patentus, patentuk, patenteu date = {2008-07-30}, % publication date origdate = {1999-05-04}, % application date url = {https://patents.google.com/patent/EP1094937B1}, } ``` -------------------------------- ### Load biblatex-iso690 Package in LaTeX Source: https://github.com/michal-h21/biblatex-iso690/blob/master/README.md Include this snippet in your LaTeX document preamble to load the biblatex package with the ISO 690 style and specify document language. ```latex \usepackage[english,czech]{babel} % the main document language is the last one \usepackage[ backend=biber, % if we want unicode and many other features (biber is already by default) style=iso-authoryear, % or another iso-