[TxMt] Re: LaTeX_ compile several files

Gildas Hamel gweltaz at ucsc.edu
Mon Jan 27 05:06:15 UTC 2020


On Jan 26, 2020, at 20:12, Gildas Hamel <gweltaz at ucsc.edu> wrote:
> 
>> 
>> On Jan 26, 2020, at 14:17, Alain Matthes <alain.matthes at mac.com> wrote:
>> 
>> Hello,
>> I have a project and inside I have a folder with several files .tex.
>> I would like to compile all the files at the same time how I can proceed ?
>> I think with a ruby script but I’m not an expert.
>> 
>> Regards,
>> Alain
> 
> Not sure if the following procedure is helpful but this is how I manage my own multi-file tex files in my projects. I write a “file_main.tex” where I input the various files and a .tm_properties file for each project with the following lines:
> 
> windowTitle = "$TM_DISPLAYNAME - ${CWD/^.*\///}"
> TM_LATEX_MASTER  = "$CWD/file_main.tex"
> [ attr.untitled ]
> fileType = “text.tex.latex”
> 
> --gildas
> 
I forgot to add that I don’t use %!TEX root = path/to/main.tex at the top of my various chapters. 



More information about the TextMate mailing list