Document ClassesSpecifying different directories for sty and doc

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
erwann
Posts: 75
Joined: Thu Aug 25, 2016 2:24 am

Specifying different directories for sty and doc

Post by erwann »

Hi,

Let's say the *.ins and *.dtx files reside in
~/LaTeX/src/skeleton/
How would I modify them to send the sty and doc files respectively to
~/LaTeX/tex/skeleton/
~/LaTeX/doc/skeleton/
(I assume these would have to be created beforehand)

I tinkered with \BasedDirectory and \usedir but it didn't go anywhere.
x_86 / Linux Mint 18.3 / texlive 2015.20160320-1ubuntu0.1 / TeXworks 0.5r1361 (Debian)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Specifying different directories for sty and doc

Post by Stefan Kottwitz »

I don't know a setting, but how about using a shell script that compiles and then moves the files?

Stefan
LaTeX.org admin
erwann
Posts: 75
Joined: Thu Aug 25, 2016 2:24 am

Specifying different directories for sty and doc

Post by erwann »

OK, I'll take that as it probably does not exist.
x_86 / Linux Mint 18.3 / texlive 2015.20160320-1ubuntu0.1 / TeXworks 0.5r1361 (Debian)
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Specifying different directories for sty and doc

Post by Stefan Kottwitz »

I did not search for it, and I rarely use it myself. I install packages, and in rare cases when I just have to download .ins and .dtx myself and compile it, I just do it... I did not spend time or effort in adjusting how it works. But it's a good and relevant question!

Stefan
LaTeX.org admin
Post Reply