[OS X TeX] \openout
Schremmer Alain
Schremmer.Alain at freemathtexts.org
Thu Jan 25 01:38:20 CET 2024
Once upon a time, I used the following file structure:
Figures
Style Sheets
Text contents in which the files contained just the text, e.g. 1.tex:
%!TEX root = ../Text-controls/\jobname.tex
% !TEX TS-program = pdflatexmk
\chapter{Numbers}\label{1-0}
\ChapterToc
We begin by revisiting a few concepts ...
Text controls which except for the adjustments are all copies of
% !TEX TS-program = pdflatexmk
\documentclass[11pt]{book}
\usepackage{../StyleSheets/Preamble}
\usepackage{../StyleSheets/TextConstruction}
\usepackage{../StyleSheets/GraphicsPaths}
\begin{document}
% sssssssssssss Begin ADJUSTMENTS to DOCUMENT
\addtocounter{page}{16}
\addtocounter{chapter}{\jobname-1}
% sssssssssssssss End ADJUSTMENTS to DOCUMENT
\include{../Text-contents/\jobname}
\makeindex
\printindex
\end{document}
This file structure worked fine until I upgraded to something. Then, Schultz bailed me out by having me move the Text-contents folder into the Text-controls folder—removing of course the corresponding ../ — and resetting something to do with \openout which I forgot long ago.
Although I don’t particularly like its lack of symmetry, I have used that structure ever since with no problem. But I am trying to look at some of these old files and got into a lot of trouble. The latest one is:
./1.tex:13: I can't write on file `Text-contents/1.aux'.
\@include ...mmediate \openout \@partaux "#1.aux"
\immediate \write \@partau...
l.13 \include{Text-contents/\jobname}
So, I am hoping that Schultz can bail me out once more.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20240124/691b49a1/attachment-0001.htm>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: https://www.tug.org/mactex/faq/index.html
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: https://www.tug.org/mactex/index.html
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list.