fleqn in thesis template vs flalign

2016-11-08 Thread Tadeus Ras
Hello again!


Second of two questions tonight occupying me since a while:

I am trying to better understand the „thesis.lyx“ template (from „examples“ 
folder) and noticed the document option „fleqn“. As I have may lengthy formulas 
in my thesis, the enforced indentation often makes no sense. Am I right in 
assuming that I can achieve the same with the flalign environment using the 
„empty TeX backet“ trick from the LyX math documentation where appropriate?

If someone has some kind of documentation of that template file or advice on 
its usage I would also be very grateful for that!


Thanks very much!
Tadeus


"Random" error message

2016-11-08 Thread Tadeus Ras
Hello fellow LyXonauts!


First of two questions occupying me since a while:
In at least one of the files input into my thesis — with an input math macro 
file at the beginning — I incosistently get the following error message:

! Text line contains an invalid character.
l.19 ^^@^^@
^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^...
A funny symbol that I can't read has just been input.
Continue, and I'll forget that it ever happened.

„inconsistently“ in the sense that a second compilation try often succeeds 
without any changes on the document. This document also takes much longer for 
its 20 pages to compile than others of the same size. Might this be related? 
And if not: Is there any way (besides „commenting out“) to figure out what 
takes up all the time in that compilation process?


Thanks…



Child Math Macros with Includes and nested Inputs

2016-09-07 Thread Tadeus Ras
Hello fellow Lyx users,


In order to structure my thesis, I am using an Include for each chapter 
(starting from the included thesis template in Resources\examples\thesis —> 
https://wiki.lyx.org/Examples/Thesis#toc7). Further I would like to structure 
the different Includes by using Inputs for the associated sections. For each 
Input, I set the Include-file it is in as the main document. No problem so far.

But I haven’t got to grips with my math macros file after several attempts 
(tried also with https://wiki.lyx.org/Tips/ChildMathMacros 
) :-(
I defined a branch „Math Macros“ and insert it at the beginning of each chapter 
and each section as well as in the global main document. I input the file 
„MathMacros.lyx“ into that branch. Then I activate it in the global main 
document only. LyX still seems to encounter problems with repeated definition 
of math macros.

Is it possible to use that procedure for math macros with includes and nested 
inputs? Is my description somewhat understandable?
I use LyX 2.2.1 on Mac OS X 10.11.6.


Thanks for any hints and suggestions!
Tadeus