Compare commits

..

No commits in common. "8fabcb6a1811f39a4a1f79d74d342d7a98646301" and "f84baa5cc842aa319515b476e3657b1e1ace7229" have entirely different histories.

6 changed files with 1 additions and 50 deletions

View File

@ -1,7 +1,6 @@
PDF_FILES = $(shell share/bin/allpdfs)
ALL_FILES = $(shell find -name '*.tex' -or -name '*.sty' -or -name '*.cls' -or -name '*.bib' -or -name '*.bst' -or -name '*.jpg' -or -name '*.png' -or -name '*.eps' | sed -e 's/ /\ /g')
MAKEFILES = $(shell share/bin/allmakefiles)
PWD=$(shell pwd)
-include .configure
@ -27,7 +26,6 @@ multicore:
.makefile:
mkdir -p .makefile
share/bin/pkgdep
.makefile/%.makefile: .makefile share/makefile.sed
sed -e "s/SED/$*/g" share/makefile.sed > $@

View File

@ -145,22 +145,6 @@ Because ``.`` is included in the search path, you can include files from other s
The use of ``share/texmf`` should be avoided, as it is supposed to put some shared files.
## Import and Download
To import from other latex projects, add "imports" in the config file.
```bash
imports="latex-theme"
```
This is useful when you use other latex projects as templates or share paragraphs in multiple projects.
To download from a git project and import:
```bash
imports="latex-theme||git@source"
```
## Dependency between ``pdf``s
If you need to include files from other latex sources, it would be wise to explicitly add dependencies in the make file. So that the changes in the source ``pdf`` would cause rebuild in the destiny ``pdf``. This is done by add ``depend`` configuration in ``config`` file:

View File

@ -1,2 +0,0 @@
this:
make -C ..

0
share/bin/gray Executable file → Normal file
View File

View File

@ -9,22 +9,4 @@ do
fi
done
[ -f $*/config ] && . $*/config
for import in $imports
do
args=(${import//||/ })
target=${args[0]}
source=${args[1]}
dir="$(pwd)/${target}"
if [ ! -d $dir ];then
git clone $source $dir
fi
if [ -d $dir ]; then
TEXMF="$TEXMF$dir:"
fi
done
echo $TEXMF

View File

@ -1,11 +0,0 @@
#!/bin/bash -e
DEPS="make texlive-full inotify-tools biber bibtool poppler-utils python-pygments"
if test -f /etc/debian_version; then
echo "pkgdep: installing dependencies - $DEPS"
sudo apt update
sudo apt install $DEPS -y
else
echo "pkgdep: can't support current system $(uname -s)"
fi