[texworks] Project Management type stuff
Alain Schremmer
schremmer.alain at gmail.com
Thu Oct 14 22:35:42 CEST 2010
On Oct 14, 2010, at 7:58 AM, Paul A Norman wrote:
> Yes thank you Alain that is exaclty it,
>
> Hadn't seen it or overlooked it in documentation. I looked through
> Lamport, Leslie; A Doc Prep Sys, 13th Prinitng 2001, but nothing in
> there for paths under the \usepackage material as indexed.
>
> Have you a reference for that please, I want to check if there are any
> issues on how the path is named whether its OS dependant or what ever,
> does Windows require {{}} type stuff or simillar.
I don't know. This was a suggestion of Michael Sharpe on the TeX on
Mac OS X mailing list. All I know is that it works. But, after all,
isn't this straight LaTeX syntax and thus ought not to be OS dependent?
Say Document.tex is in the folder Folder at the same level as the
folder StyleSheets.
When LaTeX looks for the package, it sees ../ which tells it to get
out of the folder Folder and to look among the stuff at the same
level until it finds StyleSheets which it does and then the / tells
it to look among the contents of StyleSheets until it finds the
stylesheet.
Inside StyleSheets I even have a folder, CheckableItemsLists, which
contains a number of styles sheets, 1.sty, 2.sty, etc and the
corresponding path is, naturally enough:
\usepackage{../StyleSheets/Preamble}
\usepackage{../StyleSheets/CheckableItemsLists/\jobname}
(I use jobname a lot.)
Regards
--schremmer
>
> Thanks,
> Paul
>
> On 15 October 2010 00:31, Alain Schremmer
> <schremmer.alain at gmail.com> wrote:
>>
>> On Oct 14, 2010, at 4:51 AM, Paul A Norman wrote:
>>
>>> The real life purpose is for current team work where people are
>>> potentially on different LaTeX distros, all using TeXWorks and you
>>> want to keep a project file structure with custom packages in a
>>> certain part of that structure, which can be accessed with relative
>>> paths preferably.
>>
>>
>> Don't know if that's what you mean but here is an example of what
>> I do:
>>
>> \documentclass[11pt]{book}
>> \usepackage{../StyleSheets/Preamble}
>> \usepackage{../StyleSheets/AssessmentDocumentConstruction}
>> \usepackage{../StyleSheets/QuizConstructionParameters}
>> \usepackage{../StyleSheets/GraphicsPaths}
>> \begin{document}
>>
>> where StyleSheets is a folder inside the folder that contains the
>> whole
>> project.
>>
>> Regards
>> --schremmer
>>
>
More information about the texworks
mailing list