From 022d0fd2c526bd55b0a42510315c5a49dc5f07ac Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Thu, 6 Apr 2017 10:54:05 +0200 Subject: adapted makefile; all sample files are to be public domain --- makefile | 10 +++++----- samples/al-Jahiz.tex | 12 +++++++++--- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/makefile b/makefile index 1233202..00ef7a0 100644 --- a/makefile +++ b/makefile @@ -11,8 +11,7 @@ doc: clean sty makeindex -s gglo.ist -o $(pkg).gls $(pkg).glo lualatex $(pkg).dtx lualatex $(pkg).dtx - echo "now building the sample documents..." - latexmk -lualatex -e '$$lualatex=q/lualatex %O --shell-escape %S/' -outdir=TMP samples/al-Jahiz + latexmk -outdir=TMP -lualatex -e '$$lualatex=q/lualatex %O --shell-escape %S/' samples/al-Jahiz mv TMP/*.pdf samples/ all: clean sty doc @@ -34,8 +33,9 @@ auctex: clean cp $(pkg)*.el ~/.emacs.d/auctex/auto package: clean all - mkdir arabluatex + mkdir -p arabluatex/samples/ cp *.lua *.ins *.dtx *.md *.pdf arabluatex/ # .bib is in dtx + cp samples/*.{tex,pdf} arabluatex/samples/ mkdir -p tex/lualatex/arabluatex/ cp *.lua *.sty tex/lualatex/arabluatex/ mkdir -p doc/lualatex/arabluatex/samples @@ -49,10 +49,10 @@ package: clean all clean: rm -rf ~/texmf/tex/lualatex/arabluatex/ rm -rf ~/.emacs.d/auctex/auto/arabluatex*.el - rm -rf tex/ doc/ source/ auto/ _minted*/ + rm -rf tex/ doc/ source/ auto/ rm -rf arabluatex/ rm -rf saved/ TMP/ - find ./samples/ -type f | grep -v ".*tex$$" | xargs /usr/bin/rm -f + find ./samples/ | grep -v samples | grep -v ".*tex$$" | xargs rm -rf mkdir saved cp *.{lua,ins,dtx,tex,el} makefile saved # .bib is in dtx rm *.* diff --git a/samples/al-Jahiz.tex b/samples/al-Jahiz.tex index 6186a45..6ff9ed5 100644 --- a/samples/al-Jahiz.tex +++ b/samples/al-Jahiz.tex @@ -1,3 +1,5 @@ +% +% This file is public domain % To compile this document, do: % 'lualatex --shell-escape al-Jahiz' % @@ -7,12 +9,13 @@ \usepackage{filecontents} \usepackage{xcolor} -\usepackage{minted} +\usepackage[outputdir=TMP]{minted} \definecolor{bg}{rgb}{0.95,0.95,0.95} +\usepackage{ccicons} \usepackage{lineno} \usepackage{setspace} -\doublespacing +\onehalfspacing \usepackage{csquotes} \DeclareQuoteStyle{arabic} @@ -79,7 +82,9 @@ \author{} \date{} -\titlehead{\textsf{arabluatex} mode: \texttt{fullvoc} with +\titlehead{\textbf{\textsf{arabluatex sample file}} --- \cczero\ This + file is public domain.\\ + \textsf{arabluatex} mode: \texttt{fullvoc} with \texttt{\textbackslash SetArbEasy}\\ Full vocalization, the \arb[trans]{sukUn} and the \arb[trans]{wa.slaT} are expressed, the \arb[trans]{ta^sdId} is @@ -87,6 +92,7 @@ discarded (see source code on p.~\pageref{source}).} \maketitle \vspace{-1in} +\doublespacing \setquotestyle{arabic} \input{dajaja} -- cgit v1.2.3