Am Sonntag, den 09.10.2016, 07:51 +0000 schrieb Stollenwerk, Manfred: > I want to generate a new file with the LaTex command \openout in LyX > to write the number of compilation into that separate file (see > example below). This works perfectly but the file is written into the > temp-folder of LyX and therefore deleted after closing the LyX > session. > > How can I make LyX to write/read my (new) file in the same folder > where the main .lyx document is stored? All other temporary files > generated by Lyx (or LaTex) shall remain in the temp-folder. > > To give a full path in the LaTex code is not allowed in LaTex. LaTex > blocks writing a file in any free path. > > Thank you!
One possibility is to use "Copiers" as described in the LyX Customization manual, sec. 3.2. HTH Jürgen
signature.asc
Description: This is a digitally signed message part