From 615960025911491b4cef14887eb5cad9869b5d0b Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Sun, 28 Feb 2016 19:45:15 +0100 Subject: include .bib file in the doc --- arabluatex.dtx | 13 +++++++++++-- arabluatex.ins | 2 ++ makefile | 11 ++--------- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/arabluatex.dtx b/arabluatex.dtx index 0ebd555..638bcfb 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx @@ -48,6 +48,8 @@ \usepackage{tikz} \usepackage[skins]{tcolorbox} \usepackage{csquotes} +\usepackage[style=authoryear]{biblatex} +\addbibresource{arabluatex.bib} \EnableCrossrefs \CodelineIndex \RecordChanges @@ -142,7 +144,13 @@ % \url{http://ctan.org/pkg/arabtex}} Arab\LuaTeX\ is at present % nothing more than a modest piece of software. Hopefully---if I may % say so---it will eventually provide all of its valuable qualities to -% the \LuaLaTeX\ users. +% the \LuaLaTeX\ users. \package{arabtex} dates back to 1992. As far +% as I know, it was then the first and only way to typeset Arabic +% texts with \TeX\ and \LaTeX. To achieve this, \package{arabtex} +% provides an Arabic font in \emph{Nasḫī} style and a macro package +% that defines its own input notation which is, as the author states, +% \textcquote[2]{Lagally2004}{both machine, and human, readable, and +% suited for electronic transmission and e-mail communication}. % % \section{Usage} % @@ -256,7 +264,8 @@ % \AtBeginDocument{\ifdef{\Footnote}{\robustify{\Footnote}}{}} \endinput % \end{macrocode} - +% +% \printbibliography % % \iffalse % diff --git a/arabluatex.ins b/arabluatex.ins index 20337ad..8e90665 100644 --- a/arabluatex.ins +++ b/arabluatex.ins @@ -67,6 +67,8 @@ USA. \Msg{* \space makeindex -s gind.ist -o arabluatex.ind arabluatex.idx} \Msg{* For a list of changes, do:} \Msg{* \space makeindex -s gglo.ist -o arabluatex.gls arabluatex.glo} +\Msg{* For a bibliography, do:} +\Msg{* \space biber arabluatex} \Msg{*} \Msg{* Happy TeXing!} \Msg{***********************************************************} diff --git a/makefile b/makefile index 5f7f56f..762c060 100644 --- a/makefile +++ b/makefile @@ -7,26 +7,19 @@ doc: clean sty lualatex $(pkg).dtx makeindex -s gind.ist -o $(pkg).ind $(pkg).idx makeindex -s gglo.ist -o $(pkg).gls $(pkg).glo + biber arabluatex lualatex $(pkg).dtx lualatex $(pkg).dtx all: clean sty doc package: clean sty -# cp ~/texmf/tex/lualatex/arabluatex/$(pkg).sty \ -# ~/texmf/tex/lualatex/arabluatex/$(pkg).sty-`date +%s` -# cp ~/texmf/tex/lualatex/arabluatex/$(pkg).lua \ -# ~/texmf/tex/lualatex/arabluatex/$(pkg).lua-`date +%s` -# cp ~/texmf/tex/lualatex/arabluatex/$(pkg)_voc.lua \ -# ~/texmf/tex/lualatex/arabluatex/$(pkg)_voc.lua-`date +%s` -# cp ~/texmf/tex/lualatex/arabluatex/$(pkg)_novoc.lua \ -# ~/texmf/tex/lualatex/arabluatex/$(pkg)_novoc.lua-`date +%s` cp $(pkg)*.{sty,lua} ~/texmf/tex/lualatex/arabluatex clean: rm -rf saved/ mkdir saved - cp *.{lua,ins,dtx} makefile saved + cp *.{lua,ins,dtx,bib} makefile saved rm *.* cp saved/* . rm -rf saved/ -- cgit v1.2.3