[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (non-bug) lilypond-book & secondary source files
From: |
David Kastrup |
Subject: |
Re: (non-bug) lilypond-book & secondary source files |
Date: |
Sat, 02 Mar 2024 19:04:33 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Cameron Crowe via bug-lilypond <bug-lilypond@gnu.org> writes:
> Just a thought--not a bug.
>
> lilypond-book refuses to overwrite a main source file, but happily
> overwrites secondary source files included into the main source
> file. Irritating if you use the .tex extension for included chapters
> of a musicological document and even just accidentally call
> lilypond-book without specifying a separate output dir.
>
> "Don't do that." and "Version control!" would be perfectly good
> responses,
Version control is not a substitute for backups.
> and I probably have a few other minor (shrug-worth?) points if there
> is interest in hearing them.
Just anecdotally: on MSDOS file systems, writing a file whatever.tex.aux
was equivalent to writing a file whatever.tex and when writing
\include{something} in a LaTeX file, this caused a file something.aux to
be created/written.
This made the punishment for writing \include{something.tex} instead of
the correct \include{something} pretty severe (until MikTeX was made to
detect this special case and refuse the operation).
--
David Kastrup