Re: Preamble not working

2016-01-04 Thread Sajjad
Hi Richard,

I inserted the command(\setupThesis) just as you mentioned in your question.


Thanks

On Mon, Jan 4, 2016 at 3:45 PM, Richard Heck  wrote:

> On 01/04/2016 12:59 AM, Sajjad wrote:
> > Hello Forum,
> >
> > I have managed to insert a custom .cls file into the LyX. It does
> > reflect some of the characteristics new customized class that came
> > along as a template from the University I am writing my thesis with.
> >
> > http://www.control.isy.liu.se/student/exjobb/liuthesis/liuthesis.html
> >
> >
> > I am trying to insert the title and some other parameter as LaTeX
> > preamble from the LyX interface as follows:
> >
> > \setupThesis{
> >
> > author={Tom & Jerry},
> >
> > title={H Hee  H},
> >
> > type=msc,
> >
> > department=itn
> >
> > }
> >
> >
> >
> > If I compile, the author, title, and other parameters are not shown,
> > but rest of the chapters are shown with the format of the customized
> > class which is imported into LyX by .layout file. Any hint to make it
> > work ?
> >
>
> It's hard to answer this sort of question without an example file, so
> you could posting one.
>
> As for \setupThesis, did you insert this under Document> Settings> LaTeX
> Preamble?
>
> Richard
>
>


Re: Preamble not working

2016-01-04 Thread Richard Heck
On 01/04/2016 12:59 AM, Sajjad wrote:
> Hello Forum,
>
> I have managed to insert a custom .cls file into the LyX. It does
> reflect some of the characteristics new customized class that came
> along as a template from the University I am writing my thesis with.
>
> http://www.control.isy.liu.se/student/exjobb/liuthesis/liuthesis.html
>
>
> I am trying to insert the title and some other parameter as LaTeX
> preamble from the LyX interface as follows:
>
> \setupThesis{
>
> author={Tom & Jerry},
>
> title={H Hee  H},
>
> type=msc,
>
> department=itn
>
> }
>
>
>
> If I compile, the author, title, and other parameters are not shown,
> but rest of the chapters are shown with the format of the customized
> class which is imported into LyX by .layout file. Any hint to make it
> work ?
>

It's hard to answer this sort of question without an example file, so
you could posting one.

As for \setupThesis, did you insert this under Document> Settings> LaTeX
Preamble?

Richard



Re: Nomenclature prints 'Seite' instead of 'page'

2016-01-04 Thread Guenter Milde
Dear Michael,

On 2016-01-04, Michael Berger wrote:
> On 01/03/2016 03:20 PM, Guenter Milde wrote:
>> On 2016-01-03, Michael Berger wrote:

> the last thing I want is an academic discussion of this issue.

I understand and value this decision. However, my concern is to find out
if at the core of the issue is something we can improve in LyX. So, if
you have some time, it would be nice if you could produce a minimal
working example (i.e. a test document with the minimal requirements and
preamble code and content that still shows the problem).

>>> thanks for your reply. But as I explained in my subsequent e-mail dated
>>> 1. January 2016 I resolved the issue myself using trial and error after
>>> deactivating 'Set languages globally' in Tools < Preferences > Language
>>> settings.
>>> To me not quite logical on first glance, is it?
>> ...
>> I think that something is still set to German, it only no longer
>> affects the nomenclature...

> sure, it looks as if something is still set to German. However, I 
> checked all settings one more time (document, global settings, preamble, 
> openSuSE's interface language and installation, whatsoever) and there is 
> not the faintest indication that something is set to German.
> If a German setting should be hidden in / triggered by a Default setting 
> than IMHO it is still illogical.
> Of course, there are some German words in the document, but then there 
> are also Indonesian, Greek words etc. in it.

OK. If there are German words in the document AND you set the langugage
of the text part with German words to German, LyX will pass this setting
to LaTeX - loading babel or polyglossia in the preabmle with all
languages (explicitely) used in the document.
If global settings is on, the language settings are there for all packages
to share, otherwise they are given directly to the babel package.

Usually, global is fine, as this ensures that indices and similar are also
localized to the document language. However there may sometimes be an
undesired side-effect, if the document language is not supported by some
package while one of the secondary languages is...

Günter



Re: Nomenclature prints 'Seite' instead of 'page'

2016-01-04 Thread Michael Berger



On 01/03/2016 03:20 PM, Guenter Milde wrote:

On 2016-01-03, Michael Berger wrote:

...


thanks for your reply. But as I explained in my subsequent e-mail dated
1. January 2016 I resolved the issue myself using trial and error after
deactivating 'Set languages globally' in Tools < Preferences > Language
settings.
To me not quite logical on first glance, is it?

Not for me:

...


 my linguistic papers are all written in English, LyX's interface
 is also set to English just like everything else - nothing is set
 to German.

I think that something is still set to German, it only no longer affects the
nomenclature...

Günter

Hallo Günter,
sure, it looks as if something is still set to German. However, I 
checked all settings one more time (document, global settings, preamble, 
openSuSE's interface language and installation, whatsoever) and there is 
not the faintest indication that something is set to German.
If a German setting should be hidden in / triggered by a Default setting 
than IMHO it is still illogical.
Of course, there are some German words in the document, but then there 
are also Indonesian, Greek words etc. in it.


Anyway, my brilliant idea ;-) produced what is needed and the last thing 
I want is an academic discussion of this issue.


LyX is just great and so is the list.
Michael




Re: Preamble not working

2016-01-04 Thread Guenter Milde
On 2016-01-04, Sajjad wrote:

> [-- Type: text/plain, Encoding:  --]

> Hello Forum,

> I have managed to insert a custom .cls file into the LyX. It does reflect
> some of the characteristics new customized class that came along as a
> template from the University I am writing my thesis with.

> http://www.control.isy.liu.se/student/exjobb/liuthesis/liuthesis.html


> I am trying to insert the title and some other parameter as LaTeX preamble
> from the LyX interface as follows:

> \setupThesis{

> author={Tom & Jerry},

> title={H Hee  H},

> type=msc,

> department=itn

> }



> If I compile, the author, title, and other parameters are not shown, but
> rest of the chapters are shown with the format of the customized class
> which is imported into LyX by .layout file. Any hint to make it work ?

You may try to start your document with 

\maketitle

as ERT (raw LaTeX, press Ctrl-L and write the command).

Normally, LyX automatically inserts this command if you use author or title
layouts. So, alternatively, you may try to specify them "the normal way".

Günter


> Thanks

> [-- Skipped Type: text/html --]