LaTeX forum ⇒ Document ClassesSpecifying different directories for sty and doc Topic is solved

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

Specifying different directories for sty and doc

Postby erwann » Mon Feb 05, 2018 10:12 pm

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)

Tags:

User avatar
Stefan Kottwitz
Site Admin
Posts: 8979
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Mon Feb 05, 2018 10:38 pm

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

Stefan
Site admin

erwann
Posts: 65
Joined: Thu Aug 25, 2016 2:24 am

Postby erwann » Mon Feb 05, 2018 10:45 pm

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: 8979
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Mon Feb 05, 2018 10:52 pm

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
Site admin


Return to “Document Classes”

Who is online

Users browsing this forum: No registered users and 2 guests