%% %% This is file `luabibentry.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% luabibentry.dtx (with options: `package') %% %% %% %% Copyright (c) 2012 by Oliver Kopp %% %% This file was generated from file(s) of luabibentry distribution. %% ----------------------------------------------------------------- %% %% This work may be distributed and/or modified under the conditions of %% the LaTeX Project Public License, version 1.3c of the license. %% The latest version of this license is in %% http://www.latex-project.org/lppl.txt %% and version 1.3c or later is part of all distributions of LaTeX %% version 2005/12/01 or later. %% %% This work has the LPPL maintenance status "maintained". %% %% The Current Maintainer and author of this work is Oliver Kopp. %% %% This file may only be distributed together with the files listed in %% `luabibentry.dtx'. You may however distribute the files listed in %% `luabibentry.dtx' without this file. %% %% Usage: %% %% \setupbibentry{} before the usage of \bibentry. %% \setupbibentry{\jobname} may be used if the bibliography has the same name as the .tex file. %% %% \bibentry{} where you want to have placed an entry. %% In case an entry is not found "?" is output %% \NeedsTeXFormat{LaTeX2e}[1995/06/01] \ProvidesPackage{luabibentry} [2012/02/02 v0.1a LuaLaTeX Package to place bibliography entries in text] \RequirePackage{ifluatex} \ifluatex\else \PackageError{luabibentry}{lualatex needed}{% Package `luabibentry' needs LuaTeX.\MessageBreak So you should use `lualatex' to process you document!\MessageBreak See documentation of `luabibentry' for further information.}% \expandafter\expandafter\expandafter\csname endinput\endcsname \fi \directlua{require("luabibentry.lua")} \newcommand{\setupbibentry}[1]{\directlua{luabibentry.builddata{"#1.bbl"}}} \newcommand{\bibentry}[1]{\nocite{#1}\directlua{luabibentry.bibentry{"#1"}}} \endinput %% %% End of file `luabibentry.sty'.