diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-09 21:19:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-09 21:19:09 +0000 |
commit | fba6bb5ac55c1b9c5cf69dfcbea4dc3ed8958c60 (patch) | |
tree | aa4e4caadf252b2950652212be103a02c6df53f4 /Master/texmf-dist/tex/latex | |
parent | 9836d6892111c19eac0ef7cd79a0dc41135fc4ff (diff) |
biblatex-readbbl (9jan22)
git-svn-id: svn://tug.org/texlive/trunk@61549 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-readbbl/biblatex-readbbl.sty | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-readbbl/biblatex-readbbl.sty b/Master/texmf-dist/tex/latex/biblatex-readbbl/biblatex-readbbl.sty new file mode 100644 index 00000000000..0de145ec4ab --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-readbbl/biblatex-readbbl.sty @@ -0,0 +1,68 @@ +%% $Id: biblatex-readbbl.sty 401 2022-01-09 14:16:40Z herbert $ +%% +%% This is file `biblatex-readbbl.sty', +%% +%% IMPORTANT NOTICE: +%% +%% (C) Herbert Voss <hvoss _at_ tug.org>, 2020 +%% +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN archives +%% in directory macros/latex/base/lppl.txt. +%% +%% DESCRIPTION: +%% `biblatex-readbbl' is a package for reading a bbl file created by biber +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{biblatex-readbbl}[2022/01/09 v 0.01 read bbl file] +\RequirePackage{xkeyval} + +\def\bbl@read@file{} +\DeclareOptionX{bblfile}{\def\bbl@read@file{#1}} +\ProcessOptionsX\relax +% +\begingroup +%% Convert \verb sections like: +% \verb{urlraw} +% \verb http://mirror.ctan.org/info/bibtex/tamethebeast/ttb_en.pdf +% \endverb +% \verb{url} +% \verb http://mirror.ctan.org/info/bibtex/tamethebeast/ttb_en.pdf +% \endverb +%% +%% into +% +% \field{urlraw}{http://mirror.ctan.org/info/bibtex/tamethebeast/ttb_en.pdf} +% \field{url}{http://mirror.ctan.org/info/bibtex/tamethebeast/ttb_en.pdf} +% +%\def\verb#1 \noexpand#2 #3\endverb{\field{#1}{#3}} +% + +\expandafter\ifx\expandafter\relax\bbl@read@file\relax + \gdef\bbl@read@file{\jobname}% +\fi + +%\typeout{>>>>> Read bbl file: \bbl@read@file} + +\gdef\blx@bblfile{% + \blx@secinit + \begingroup + \blx@bblstart +%%%% Start erzeugte Datei \jobname.bbl %%%% +% +\IfFileExists{\bbl@read@file.bbl}{\input{\bbl@read@file.bbl}}{\typeout{!!File \bbl@read@file.bbl does not exist!!!}} +% +%%%% Ende erzeugte Datei \jobname.bbl %%%% + \global\toggletrue{blx@bbldone}% + \blx@generate@bbl@mdfivesum@found{\jobname.bbl} + \blx@bblend + \endgroup + % Check if Biber rerun was not carried out. + % If so, ask for it again. +% \blx@check@bbl@rerun@mdfivesum + % global sorting as this is called at BeginDocument + \csnumgdef{blx@labelnumber@\the\c@refsection}{0}% +} + +\endgroup + |