diff options
author | Karl Berry <karl@freefriends.org> | 2021-10-29 21:31:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-10-29 21:31:54 +0000 |
commit | 61fd3fe3e0d6f4d7f75285509318883de37ade37 (patch) | |
tree | 02dadd8ee8affe1755fad1a07440f00734a1cc05 /Master/texmf-dist/doc | |
parent | 53fa86c1a99996fb63aa77b0c01079910dd56bca (diff) |
biblatex2bibitem (29oct21)
git-svn-id: svn://tug.org/texlive/trunk@60890 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
11 files changed, 190 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex2bibitem/README.md b/Master/texmf-dist/doc/latex/biblatex2bibitem/README.md index 7358a0e7def..22fd526d8eb 100644 --- a/Master/texmf-dist/doc/latex/biblatex2bibitem/README.md +++ b/Master/texmf-dist/doc/latex/biblatex2bibitem/README.md @@ -24,7 +24,8 @@ At the very end of document: The desired `bibitem`s will be written directly to the PDF file. When it's time to switch to `bibitem`s (e.g. before sending the paper to the journal), -just copy them to the to your `.tex` file, remove `biblatex` commands and load `cite` package. +just copy them directly from the pdf into your `.tex` file, remove +`biblatex` commands and (probably) load the `cite` package. ### Disclaimer @@ -59,10 +60,10 @@ If you really want to have a space after the title of an e.g. an article, just ### `bibitem` separators -By default, generated `bibitem`s are separated by a line with a percent sign on it to make the readng of the cde easier. +By default, generated `bibitem`s are separated by a line with an empty pair of curly braces on it to make the reading of the code easier. You can tweak this by e.g. ```latex -\renewcommand{\printgeneratedbibitemseparator}{\ttfamily\%\\} +\renewcommand{\printgeneratedbibitemseparator}{\ttfamily\{\}\\} ``` (for putting all the `bibitem`s into monotype font) or e.g. ```latex @@ -78,6 +79,7 @@ Don't forget about `\makeatletter` and `\makeatother`! + `\print@end@thebibliography` - default: `\textbackslash end\{thebibliography\} ` ++ `\print@bibitem@command` - default: `\textbackslash bibitem` ## See also diff --git a/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-examples.bib b/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-examples.bib index c07dcbbbf93..fa00467eb22 100644 --- a/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-examples.bib +++ b/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-examples.bib @@ -2,13 +2,14 @@ title={On a question\relax ~of Erd\H{o}s and Ulam}, author={Solymosi, Jozsef and De Zeeuw, Frank}, archivePrefix = {arXiv}, - eprint = {0806.3095}, + eprint = {0806.3095_}, journal={Discrete \& Computational Geometry}, volume={43}, number={2}, pages={393--401}, year={2010}, publisher={Springer}, + url={https://example.com/@рус_}, } @article{halbeisen2019geometric, diff --git a/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-hyperref-result.pdf b/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-hyperref-result.pdf Binary files differnew file mode 100644 index 00000000000..fbb6ba40da0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-hyperref-result.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-hyperref-result.tex b/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-hyperref-result.tex new file mode 100644 index 00000000000..eb083b2bf38 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-hyperref-result.tex @@ -0,0 +1,80 @@ +\documentclass[british]{article} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage{babel} +\usepackage{csquotes} + +\usepackage{amssymb} % Just for \mathbb + + +\usepackage{xcolor} +\usepackage[colorlinks]{hyperref} +\makeatletter +\Hy@AtBeginDocument{% + \def\@pdfborder{0 0 1}% Overrides border definition set with colorlinks=true + \def\@pdfborderstyle{/S/U/W 1}% Overrides border style set with colorlinks=true + % Hyperlink border style will be underline of width 1pt +} +\makeatother +\hypersetup{% + colorlinks=true,% hyperlinks will be coloured + linkcolor=blue,% hyperlink text will be blue + urlcolor=blue,% hyperlink text will be blue + linkbordercolor=red,% hyperlink border will be red + urlbordercolor=red,% hyperlink border will be red +} + +%%\usepackage[backend=biber,style=alphabetic,citestyle=alphabetic,backref]{biblatex} +%%\addbibresource{biblatex-examples.bib} +%%\addbibresource{biblatex2bibitem-examples.bib} + +%%\usepackage{biblatex2bibitem} +\usepackage{cite} + +\begin{document} +\cite{sigfridsson,knuth:ct:e}. + +See also \cite{solymosi2010question,halbeisen2019geometric,Kohnert2006IntegralPS}. + +\newpage + +\begin{thebibliography}{99} +{} +\bibitem{halbeisen2019geometric} +Lorenz Halbeisen and Norbert Hungerbühler. ‘A geometric +representation of integral solutions of $x^2+ xy+ y^2= m^2$’. In: +\emph{Quaestiones Mathematicae} (2019), pp. 1–15 (cit. on +p. \hyperlink {page.1} {1}). +{} +\bibitem{Kohnert2006IntegralPS} +Axel Kohnert and Sascha Kurz. ‘Integral point sets over {$\mathbb +{Z}^m_n$}’. In: \emph{Discrete Applied Mathematics} 157 (2006), +pp. 2105–2117 (cit. on p. \hyperlink {page.1} {1}). +{} +\bibitem{knuth:ct:e} +Donald E. Knuth. \emph{Computers \& Typesetting}. Vol. E: +\emph{{Computer Modern} Typefaces}. Reading, Mass.: +Addison-Wesley, 1986 (cit. on p. \hyperlink {page.1} {1}).{} +\bibitem{solymosi2010question} +Jozsef Solymosi and Frank De Zeeuw. ‘On a question\relax ~of Erdős +and Ulam’. In: \emph{Discrete \& Computational Geometry} 43.2 +(2010), pp. 393–401. arXiv: \href {http://arxiv.org/abs/0806.3095_} +{\nolinkurl {0806.3095_}}. \textsc{url}: \url +{https://example.com/@%D1%80%D1%83%D1%81_} (cit. on +p. \hyperlink {page.1} {1}). +{} +\bibitem{sigfridsson} +Emma Sigfridsson and Ulf Ryde. ‘Comparison of methods for deriving +atomic charges from the electrostatic potential and moments’. In: +\emph{Journal of Computational Chemistry} 19.4 (1998), pp. 377–395. +\textsc{doi}: \href +{https://doi.org/10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P} +{\nolinkurl +{10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P}} +(cit. on p. \hyperlink {page.1} {1}). +\end{thebibliography} + +%%\printbibliography +%%\printbibitembibliography + +\end{document} diff --git a/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-hyperref.pdf b/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-hyperref.pdf Binary files differnew file mode 100644 index 00000000000..106bfb27235 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-hyperref.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-hyperref.tex b/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-hyperref.tex new file mode 100644 index 00000000000..ff139a9af2a --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-hyperref.tex @@ -0,0 +1,43 @@ +\documentclass[british]{article} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage{babel} +\usepackage{csquotes} + +\usepackage{amssymb} % Just for \mathbb + + +\usepackage{xcolor} +\usepackage[colorlinks]{hyperref} +\makeatletter +\Hy@AtBeginDocument{% + \def\@pdfborder{0 0 1}% Overrides border definition set with colorlinks=true + \def\@pdfborderstyle{/S/U/W 1}% Overrides border style set with colorlinks=true + % Hyperlink border style will be underline of width 1pt +} +\makeatother +\hypersetup{% + colorlinks=true,% hyperlinks will be coloured + linkcolor=blue,% hyperlink text will be blue + urlcolor=blue,% hyperlink text will be blue + linkbordercolor=red,% hyperlink border will be red + urlbordercolor=red,% hyperlink border will be red +} + +\usepackage[backend=biber,style=alphabetic,citestyle=alphabetic,backref]{biblatex} +\addbibresource{biblatex-examples.bib} +\addbibresource{biblatex2bibitem-examples.bib} + +\usepackage{biblatex2bibitem} + +\begin{document} +\cite{sigfridsson,knuth:ct:e}. + +See also \cite{solymosi2010question,halbeisen2019geometric,Kohnert2006IntegralPS}. + +\newpage + +\printbibliography + +\printbibitembibliography +\end{document} diff --git a/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-mwe-result.pdf b/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-mwe-result.pdf Binary files differnew file mode 100644 index 00000000000..abc7102b73a --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-mwe-result.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-mwe-result.tex b/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-mwe-result.tex new file mode 100644 index 00000000000..36d5d232fdb --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-mwe-result.tex @@ -0,0 +1,60 @@ +\documentclass[british]{article} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage{babel} +\usepackage{csquotes} + +%These two are needed because biblatex provides \nolinkurl and \url +\usepackage{url} +\providecommand*{\nolinkurl}{\url} + +\usepackage{amssymb} % Just for \mathbb +\usepackage{cite} +%% \usepackage[style=numeric, backend=biber]{biblatex} +%% \usepackage{biblatex2bibitem} +%% +%% \addbibresource{biblatex-examples.bib} +%% +%% \addbibresource{biblatex2bibitem-examples.bib} + +\begin{document} +\cite{sigfridsson,knuth:ct:e}. + +See also \cite{solymosi2010question,halbeisen2019geometric,Kohnert2006IntegralPS}. + +\begin{thebibliography}{99} +{} +\bibitem{halbeisen2019geometric} +Lorenz Halbeisen and Norbert Hungerbühler. ‘A geometric +representation of integral solutions of $x^2+ xy+ y^2= m^2$’. In: +\emph{Quaestiones Mathematicae} (2019), pp. 1–15. +{} +\bibitem{knuth:ct:e} +Donald E. Knuth. \emph{Computers \& Typesetting}. Vol. E: +\emph{{Computer Modern} Typefaces}. Reading, Mass.: +Addison-Wesley, 1986. +{} +\bibitem{Kohnert2006IntegralPS} +Axel Kohnert and Sascha Kurz. ‘Integral point sets over {$\mathbb +{Z}^m_n$}’. In: \emph{Discrete Applied Mathematics} 157 (2006), +pp. 2105–2117. +{} +\bibitem{sigfridsson} + +Emma Sigfridsson and Ulf Ryde. ‘Comparison of methods for deriving +atomic charges from the electrostatic potential and moments’. In: +\emph{Journal of Computational Chemistry} 19.4 (1998), pp. 377–395. +\textsc{doi}: \nolinkurl +{10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P}. +{} +\bibitem{solymosi2010question} +Jozsef Solymosi and Frank De Zeeuw. ‘On a question\relax ~of Erdős +and Ulam’. In: \emph{Discrete \& Computational Geometry} 43.2 +(2010), pp. 393–401. arXiv: \nolinkurl {0806.3095_}. \textsc{url}: \url +{https://example.com/@%D1%80%D1%83%D1%81_}. +\end{thebibliography} + +%% \printbibliography +%% +%% \printbibitembibliography +\end{document} diff --git a/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-mwe.pdf b/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-mwe.pdf Binary files differindex 26eb8348c04..f1448bfbfd5 100644 --- a/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-mwe.pdf +++ b/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-mwe.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-new-result.pdf b/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-new-result.pdf Binary files differnew file mode 100644 index 00000000000..380b22a0180 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-new-result.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-new.pdf b/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-new.pdf Binary files differnew file mode 100644 index 00000000000..a97926d469e --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex2bibitem/biblatex2bibitem-new.pdf |