aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2016-02-28 19:45:15 +0100
committerRobert Alessi <alessi@robertalessi.net>2016-02-28 19:45:15 +0100
commit615960025911491b4cef14887eb5cad9869b5d0b (patch)
tree6c3b868186ed35857f548912f945b25d5e795e2b
parentf2b2447355a78b7f6b37e0ae8c00dc2de027deb4 (diff)
downloadarabluatex-615960025911491b4cef14887eb5cad9869b5d0b.tar.gz
include .bib file in the doc
-rw-r--r--arabluatex.dtx13
-rw-r--r--arabluatex.ins2
-rw-r--r--makefile11
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 @@
48\usepackage{tikz} 48\usepackage{tikz}
49\usepackage[skins]{tcolorbox} 49\usepackage[skins]{tcolorbox}
50\usepackage{csquotes} 50\usepackage{csquotes}
51\usepackage[style=authoryear]{biblatex}
52\addbibresource{arabluatex.bib}
51\EnableCrossrefs 53\EnableCrossrefs
52\CodelineIndex 54\CodelineIndex
53\RecordChanges 55\RecordChanges
@@ -142,7 +144,13 @@
142% \url{http://ctan.org/pkg/arabtex}} Arab\LuaTeX\ is at present 144% \url{http://ctan.org/pkg/arabtex}} Arab\LuaTeX\ is at present
143% nothing more than a modest piece of software. Hopefully---if I may 145% nothing more than a modest piece of software. Hopefully---if I may
144% say so---it will eventually provide all of its valuable qualities to 146% say so---it will eventually provide all of its valuable qualities to
145% the \LuaLaTeX\ users. 147% the \LuaLaTeX\ users. \package{arabtex} dates back to 1992. As far
148% as I know, it was then the first and only way to typeset Arabic
149% texts with \TeX\ and \LaTeX. To achieve this, \package{arabtex}
150% provides an Arabic font in \emph{Nasḫī} style and a macro package
151% that defines its own input notation which is, as the author states,
152% \textcquote[2]{Lagally2004}{both machine, and human, readable, and
153% suited for electronic transmission and e-mail communication}.
146% 154%
147% \section{Usage} 155% \section{Usage}
148% 156%
@@ -256,7 +264,8 @@
256% \AtBeginDocument{\ifdef{\Footnote}{\robustify{\Footnote}}{}} 264% \AtBeginDocument{\ifdef{\Footnote}{\robustify{\Footnote}}{}}
257\endinput 265\endinput
258% \end{macrocode} 266% \end{macrocode}
259 267%
268% \printbibliography
260% 269%
261% \iffalse 270% \iffalse
262%</package> 271%</package>
diff --git a/arabluatex.ins b/arabluatex.ins
index 20337ad..8e90665 100644
--- a/arabluatex.ins
+++ b/arabluatex.ins
@@ -67,6 +67,8 @@ USA.
67\Msg{* \space makeindex -s gind.ist -o arabluatex.ind arabluatex.idx} 67\Msg{* \space makeindex -s gind.ist -o arabluatex.ind arabluatex.idx}
68\Msg{* For a list of changes, do:} 68\Msg{* For a list of changes, do:}
69\Msg{* \space makeindex -s gglo.ist -o arabluatex.gls arabluatex.glo} 69\Msg{* \space makeindex -s gglo.ist -o arabluatex.gls arabluatex.glo}
70\Msg{* For a bibliography, do:}
71\Msg{* \space biber arabluatex}
70\Msg{*} 72\Msg{*}
71\Msg{* Happy TeXing!} 73\Msg{* Happy TeXing!}
72\Msg{***********************************************************} 74\Msg{***********************************************************}
diff --git a/makefile b/makefile
index 5f7f56f..762c060 100644
--- a/makefile
+++ b/makefile
@@ -7,26 +7,19 @@ doc: clean sty
7 lualatex $(pkg).dtx 7 lualatex $(pkg).dtx
8 makeindex -s gind.ist -o $(pkg).ind $(pkg).idx 8 makeindex -s gind.ist -o $(pkg).ind $(pkg).idx
9 makeindex -s gglo.ist -o $(pkg).gls $(pkg).glo 9 makeindex -s gglo.ist -o $(pkg).gls $(pkg).glo
10 biber arabluatex
10 lualatex $(pkg).dtx 11 lualatex $(pkg).dtx
11 lualatex $(pkg).dtx 12 lualatex $(pkg).dtx
12 13
13all: clean sty doc 14all: clean sty doc
14 15
15package: clean sty 16package: clean sty
16# cp ~/texmf/tex/lualatex/arabluatex/$(pkg).sty \
17# ~/texmf/tex/lualatex/arabluatex/$(pkg).sty-`date +%s`
18# cp ~/texmf/tex/lualatex/arabluatex/$(pkg).lua \
19# ~/texmf/tex/lualatex/arabluatex/$(pkg).lua-`date +%s`
20# cp ~/texmf/tex/lualatex/arabluatex/$(pkg)_voc.lua \
21# ~/texmf/tex/lualatex/arabluatex/$(pkg)_voc.lua-`date +%s`
22# cp ~/texmf/tex/lualatex/arabluatex/$(pkg)_novoc.lua \
23# ~/texmf/tex/lualatex/arabluatex/$(pkg)_novoc.lua-`date +%s`
24 cp $(pkg)*.{sty,lua} ~/texmf/tex/lualatex/arabluatex 17 cp $(pkg)*.{sty,lua} ~/texmf/tex/lualatex/arabluatex
25 18
26clean: 19clean:
27 rm -rf saved/ 20 rm -rf saved/
28 mkdir saved 21 mkdir saved
29 cp *.{lua,ins,dtx} makefile saved 22 cp *.{lua,ins,dtx,bib} makefile saved
30 rm *.* 23 rm *.*
31 cp saved/* . 24 cp saved/* .
32 rm -rf saved/ 25 rm -rf saved/