LyX ⇒ How do I force a document to re-read a .tex file with variab
-
- Posts: 1
- Joined: Tue Dec 29, 2015 9:00 pm
How do I force a document to re-read a .tex file with variab
I have a .tex file that uses \newcommand to define several variables for use in the parent document and in the included child documents. Usually, if I make changes to the definitions, I can save the .tex file and then the document will recognize the updated definitions when I view the master document.
However, many times when I compile the master document (PDF) it is clear that the variable changes have not taken effect. I usually try saving everything, exiting, and restarting, in that order, but there doesn't seem to be a sure way to force the variables to take effect. I have also tried re-applying the preamble under Document>Settings with mixed results.
Is there a menu option or some other way to force the parent document to re-read the variable file?
TIA
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p