Re: Problem with sorting nomenclature entries...

2015-11-24 Thread Daisuke Koya
Hello Uwe,

Thank you for fixing the problem. 

I'm unsure why using manual page margins breaks the compilation. In my thesis, 
I have "Default Margins" unticked in LyX: Document Settings >> Page Margins, 
although the numerical settings seem to be identical as those of the default 
settings.

Anyhow, thank you again for getting my non-working minimum working example to 
compile. At this point, could we please return to my original problem as to why 
the alphabetisation is incorrect in this file? Your example is correct (i.e., 
RMS, RMSE, and RMSE*), while in my example the entries are reversed.

Best regards,

Daisuke

On Nov 24, 2015, at 4:35 PM, Uwe Stöhr  wrote:

> Am 24.11.2015 um 19:11 schrieb Daisuke Koya:
> 
>> I tried to create a minimum working example (attached). The problem is that 
>> I couldn't get the example to work... When I tried to compile the file, I 
>> saw the following error:
>> 
>>  Error while exporting format: PDF (pdflatex)
> 
> The reason is that you use manual page margins. (I don't know why this breaks 
> the compilation). One of the big advantages of the KOMA script classes is 
> that is does the printspace calculation automatically for you depending on 
> the fonts and font sizes you are using. It does this by following some common 
> typesetting rules and ISO norms.
> 
> If you need some more space at a margin, e.g. for a book binding, you can 
> adjust the printspace with the document class option BCOR. For example in the 
> LyX UserGuide "BCOR7.5mm" is used n the document class options to get 7.5mm 
> more space in case someone wants to print it out and form a booklet.
> 
> Attached is your corrected file where I simple used the default page margins.
> 
> regards Uwe
> 



Re: Lower case mathcal

2015-11-24 Thread Christopher Menzel
On 24 Nov 2015, at 2:32 PM, Guillaume Munch  wrote:
> Le 24/11/2015 19:58, Christopher Menzel a écrit :
>> Dear LyX folk,
>> 
>> Quick question — what would it take to get display support for lower
>> case calligraphic letters, which you can get in your rendered PDF via
>> a package like BOONDOX-cal. Currently, typing lower case letters
>> inside a \mathcal tag in math mode generates a seemingly random
>> selection of symbols. Even just being able to see ordinary lower case
>> letters, even if not calligraphic, would be preferable. A reasonably
>> good workaround here is to use instant preview mode, but that's still
>> less than ideal.
>> 
>> Just wondering; this is obviously not a major problem but it would be
>> cool if there was a reasonably easy fix.
> 
> A quick workaround that you have not mentioned: define a lyx macro \cal
> that you set to output \mathcal{#1}, but to display something else, like
> \boldsymbol{\mathit{#1}}.

Guillaume, that is a terrific workaround, thanks! I confess I had never used a 
math macro before so it never would have occurred to me to try this. Combined 
with instant preview mode (indeed even with instant previews off) it's a pretty 
satisfying solution. The things LyX can do!

-chris



Re: Problem with sorting nomenclature entries...

2015-11-24 Thread Uwe Stöhr

Am 24.11.2015 um 19:11 schrieb Daisuke Koya:


I tried to create a minimum working example (attached). The problem is that I 
couldn't get the example to work... When I tried to compile the file, I saw the 
following error:

Error while exporting format: PDF (pdflatex)


The reason is that you use manual page margins. (I don't know why this 
breaks the compilation). One of the big advantages of the KOMA script 
classes is that is does the printspace calculation automatically for you 
depending on the fonts and font sizes you are using. It does this by 
following some common typesetting rules and ISO norms.


If you need some more space at a margin, e.g. for a book binding, you 
can adjust the printspace with the document class option BCOR. For 
example in the LyX UserGuide "BCOR7.5mm" is used n the document class 
options to get 7.5mm more space in case someone wants to print it out 
and form a booklet.


Attached is your corrected file where I simple used the default page 
margins.


regards Uwe


minimum_example.lyx
Description: application/lyx


Re: Lower case mathcal

2015-11-24 Thread Guillaume Munch

Le 24/11/2015 19:58, Christopher Menzel a écrit :

Dear LyX folk,

Quick question — what would it take to get display support for lower
case calligraphic letters, which you can get in your rendered PDF via
a package like BOONDOX-cal. Currently, typing lower case letters
inside a \mathcal tag in math mode generates a seemingly random
selection of symbols. Even just being able to see ordinary lower case
letters, even if not calligraphic, would be preferable. A reasonably
good workaround here is to use instant preview mode, but that's still
less than ideal.

Just wondering; this is obviously not a major problem but it would be
cool if there was a reasonably easy fix.




A quick workaround that you have not mentioned: define a lyx macro \cal
that you set to output \mathcal{#1}, but to display something else, like
\boldsymbol{\mathit{#1}}.



Lower case mathcal

2015-11-24 Thread Christopher Menzel
Dear LyX folk,

Quick question — what would it take to get display support for lower case 
calligraphic letters, which you can get in your rendered PDF via a package like 
BOONDOX-cal. Currently, typing lower case letters inside a \mathcal tag in math 
mode generates a seemingly random selection of symbols. Even just being able to 
see ordinary lower case letters, even if not calligraphic, would be preferable. 
A reasonably good workaround here is to use instant preview mode, but that's 
still less than ideal.

Just wondering; this is obviously not a major problem but it would be cool if 
there was a reasonably easy fix.

Chris Menzel

ps: LyX 2.2alpha with its support for retina displays is amazingly great! Many 
thanks to Stephan Witt and the other developers for their talent and their 
commitment this truly wonderful and extraordinarily useful software.



Re: Problem with sorting nomenclature entries...

2015-11-24 Thread Steve Hnizdur

Hi

Try removing the \textsf{\textbf{ }} around each label i.e. 
RMS,RMSE,RMSE*. This should allow proper sorting.


If you want the font defined by \textsf{\textbf{ }}  then put

\renewcommand{\nomlabel}[1]{\textsf{\textbf{#1}}}

in your preamble. Good luck.

Steve

On 24/11/15 18:11, Daisuke Koya wrote:

Hello Uwe,

Thank you very much for showing me that nomenclature entries can be sorted 
correctly. That is promising.

I tried to create a minimum working example (attached). The problem is that I 
couldn't get the example to work... When I tried to compile the file, I saw the 
following error:

Error while exporting format: PDF (pdflatex)

I'm unsure what went wrong, as I know almost nothing about LaTeX. I do have 
quite a bit of stuff in my preamble, which is mostly stuff a colleague who's 
well-versed in LaTeX told me to include. Perhaps the things in the preamble are 
wreaking havoc. I'm also using the KOMA-Script Report class. Could this be a 
problem?

I can confirm that the original nomenclature entry in my thesis compiles, 
albeit with the sorting errors.

Can I get further help please, or any help with alternatives to using the 
nomencl package? I tried to look at incorporating the glos­saries package into 
LyX, but the complicated instructions were above my paygrade... ;-(

Thank you again,

Daisuke




On Nov 23, 2015, at 4:54 PM, Uwe Stöhr  wrote:


Am 18.11.2015 um 01:15 schrieb Daisuke Koya:


I am experiencing a problem with sorting nomenclature entries. I am trying to 
sort the entries, RMS, RMSE, and RMSE*, in this order. However, what I get 
instead is:

RMSE*
RMSE
RMS


I get the right sort order automatically, see the attached file.

Could you please provide a _minimal_ example file with the wrong sort order?

regards Uwe





--

Steve Hnizdur


Re: Problem with sorting nomenclature entries...

2015-11-24 Thread Daisuke Koya
Hello Uwe,

Thank you very much for showing me that nomenclature entries can be sorted 
correctly. That is promising.

I tried to create a minimum working example (attached). The problem is that I 
couldn't get the example to work... When I tried to compile the file, I saw the 
following error:

Error while exporting format: PDF (pdflatex)

I'm unsure what went wrong, as I know almost nothing about LaTeX. I do have 
quite a bit of stuff in my preamble, which is mostly stuff a colleague who's 
well-versed in LaTeX told me to include. Perhaps the things in the preamble are 
wreaking havoc. I'm also using the KOMA-Script Report class. Could this be a 
problem?

I can confirm that the original nomenclature entry in my thesis compiles, 
albeit with the sorting errors.

Can I get further help please, or any help with alternatives to using the 
nomencl package? I tried to look at incorporating the glos­saries package into 
LyX, but the complicated instructions were above my paygrade... ;-(

Thank you again,

Daisuke



minimum_example.lyx
Description: Binary data

On Nov 23, 2015, at 4:54 PM, Uwe Stöhr  wrote:

> Am 18.11.2015 um 01:15 schrieb Daisuke Koya:
> 
>> I am experiencing a problem with sorting nomenclature entries. I am trying 
>> to sort the entries, RMS, RMSE, and RMSE*, in this order. However, what I 
>> get instead is:
>> 
>> RMSE*
>> RMSE
>> RMS
> 
> I get the right sort order automatically, see the attached file.
> 
> Could you please provide a _minimal_ example file with the wrong sort order?
> 
> regards Uwe
>