summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/luabibentry/luabibentry.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/luabibentry/luabibentry.sty')
-rw-r--r--Master/texmf-dist/tex/lualatex/luabibentry/luabibentry.sty56
1 files changed, 56 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/lualatex/luabibentry/luabibentry.sty b/Master/texmf-dist/tex/lualatex/luabibentry/luabibentry.sty
new file mode 100644
index 00000000000..263e59ec5d5
--- /dev/null
+++ b/Master/texmf-dist/tex/lualatex/luabibentry/luabibentry.sty
@@ -0,0 +1,56 @@
+%%
+%% This is file `luabibentry.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% luabibentry.dtx (with options: `package')
+%%
+%%
+%%
+%% Copyright (c) 2011 by Oliver Kopp <oliver.kopp.googlemail.com>
+%%
+%% 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{<bibliography>} before the usage of \bibentry.
+%% \setupbibentry{\jobname} may be used if the bibliography has the same name as the .tex file.
+%%
+%% \bibentry{<entry>} where you want to have placed an entry.
+%% In case an entry is not found "?" is output
+%%
+\NeedsTeXFormat{LaTeX2e}[1995/06/01]
+\ProvidesPackage{luabibentry}
+[2011/06/27 v0.1 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{dofile("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'.