0

I am struggling with following:

I work on a larger collection in LaTeX, which includes around 30 different papers. I am used to work on macOS (Texpad - currently using live compiler), hence compiling via MacTeX. However, it does not produce files such as .aux, .bbl, .log, .out etc. and most importantly, supporting file generated by the template I have to use to set page numbering and order for each article.

After correction I have to recompile each article under Windows (using TeXStudio) to obtain necessary files. Is there a way to achieve this in macOS (I use Mac for all of my other work-related things and it becomes very unpleasant to need both systems).

Josh E.
  • 73
  • 1
    All TeX implementations produce the .aux file, etc. Are you using a nasty IDE which automatically deletes them? – Ian Thompson Nov 16 '20 at 15:30
  • I've been using MacTeX for many years, and it's news to me that MacTeX doesn't produce .aux, .bbl, .log, .out etc files along with a pdf file. Please tell us more about your computing setup. (FWIW, I run MacTeX2020, with all updates applied.) – Mico Nov 16 '20 at 15:30
  • If you're using MacOS, then use an IDE that works with it. TeXStudio is cross-platform, so why not use it if you're used to it. I don't know much about TeXpad, but I don't think it uses MacTeX directly, and it may be hiding .aux files in a folder you can't see. – Alan Munn Nov 16 '20 at 15:31
  • @Mico I currently use live typesetter provided by Texpad (1.8.17) to save some memory. It only provides me with .tex and .pdf file. – Josh E. Nov 16 '20 at 15:34
  • 1
    Check the command your editor is using to compile your code. Perhaps it's hiding aux files, or deleting them. Like @IanThompson said, all TeX distributions produces these files. – Heliton Martins Nov 16 '20 at 15:34
  • In TeX studio, I go to Options > Configure TeX studio > Commands, it should be similar. – Heliton Martins Nov 16 '20 at 15:36
  • The MacTeX distribution comes with two IDEs: TeXworks and TeXshop. Learn how to use one (or both) of them. Or, study the posting LaTeX Editors/IDEs for additional options. – Mico Nov 16 '20 at 15:36
  • 2
    Looking at the TeXPad documentation here it hides .aux files by default, but you can change this in the preferences. – Alan Munn Nov 16 '20 at 15:38
  • @IanThompson and AlanMunn I don't know, maybe. Texpad 1.8.17 as I mentioned previously.

    There is an option to "hide intermediate files", which should keeps the working directory uncluttered with only .tex and .pdf (description), but I have it unchecked.

    – Josh E. Nov 16 '20 at 15:38
  • @Mico --- Delete all IDEs and compile documents, Fortran programs and everything else using the terminal! – Ian Thompson Nov 16 '20 at 15:39
  • 1
    Then the question may be better aimed at the TeXpad support people, rather than here. – Alan Munn Nov 16 '20 at 15:39
  • 1
    Again, these files are not related to the editor. It's TeX-inherent. Try running the Mac equivalent of ls -la (I think it's the same) in the folder you're working. Maybe it reveals some hidden folder that contains your aux files. – Heliton Martins Nov 16 '20 at 15:40
  • According to the documentation sent by @Mico, you should find your files in ./.texpadtmp. – Heliton Martins Nov 16 '20 at 15:42
  • I have already changed the thread name - including Texpad (I though that a live compilation is based on MacTeX as the most common typesetter for macOS, but I was probably wrong - my compiler is TexpadTex + Bibliography, according to the Texpad, I apologize for the confusion). – Josh E. Nov 16 '20 at 15:44
  • 2
    I haven't used TeXpad, but I suspect that the presence of a .texpadtmp directory is sufficient to hide the files independent of the preference setting. If that's the case, try deleting all the aux files and recompiling and see if they appear, and failing that, delete the .texpadtmp directory entirely and then recompile. – Alan Munn Nov 16 '20 at 15:45
  • @AlanMunn This may be a noob question, but I cannot locate the .texpadtmp directory. It's not under root user's files or in my LaTeX directory or in the library. I have once again looked at possibilities of Texpad, but there is no setting concerning these files. I will ask the Texpad guys themselves, I guess and see. I just hope that there is an option. – Josh E. Nov 16 '20 at 19:14
  • Folders beginning with . are hidden by default. The easiest way to see them is using the command line although there may be a Finder preference to show them. Open the terminal app and navigate to the folder where your ..tex source is, e.g. cd ~/Documents/myfolder if your file is in myfolder within Documents. Then type ls -a to list all the files in the folder. If you see .texpadtmp you can the type rm -rf .texpadtmp to remove it and its contents. – Alan Munn Nov 16 '20 at 21:20
  • @AlanMunn Got it. After being in the final, typing ls -a showed only .tex, .pdf, .bib, and template files (.cls, .bst), .DS_Store (macOS files), and Figures as I always put figures for each article separately. There was no trace of auxiliary or similar files. By the way I did not mention that if I would recompile the .tex in Win OS, Texpad won't delete them and even work with the template properly. – Josh E. Nov 17 '20 at 06:29

0 Answers0