Re: Package fontenc Error: Encoding file `eu2enc.def' not found

2016-06-06 Thread Steve Litt
On Mon, 6 Jun 2016 18:12:09 + (UTC)
Guenter Milde  wrote:

> On 2016-06-06, Kornel Benko wrote:
> > Am Montag, 6. Juni 2016 um 12:29:05, schrieb Steve Litt
> >   
> >> Hi all,  
> 
> >> The short symptom description is "Lyx 2.081 can't build PDF files
> >> if Document->Settings-Fonts->Use_non_tex_fonts is checked.  
> 
> >> This happens on LyX 2.081 (Ubuntu LTS 14.04). Because this is a
> >> special Qemu host, upgrading the distro provided LyX would be an
> >> extreme hardship.  
> 
> This is due to an incomplete LaTeX installation - not LyX's fault.
> LyX does not call eu2enc.def directly, rather this is done by
> fontspec.sty (loaded by LyX with the "use non tex fonts" setting).

[snip]


> Either tmlgr got this wrong or there is another mixup:
> 
> eu2enc.def is in http://www.ctan.org/pkg/euenc
> 
> Package greek-fontenc contains the file "greek-euenc.def" 
> (loaded by alphabeta.sty, textalpha.sty and babel-greek if the
> fontencoding is EU1 (XeTeX) or EU2 (LuaTeX)).
> 
> 
> OTOH, the font encoding name for "TeX Unicode" recently changed the
> name from EU1/EU2 to "TU" because this is now an official TeX text
> font encoding.
> 
> Maybe there was a partial update to the new scheme on the clients
> machine? Make sure that packages "euenc" and "fontspec" are from
> matching versions.
> 
> Günter

Hi Günter,

Bigtime thanks to you and to Kornel for trying to help me with this.

About an hour after I wrote the email, I decided it was a better use of
my time to trial-and-error create new, more modern VMs than to try to
diagnose this problem. I now have LyX working mostly correctly in a
Lubuntu 16.04LTS VM, and will be using that for the 2nd editions of
several of my books.

Of course none of this changes the fact that as the years go on,
creating and maintaining a productive LyX system gets continuously
more difficult, but I do really appreciate the help that you and Kornel
gave me.

Thanks,

SteveT

Steve Litt
June 2016 featured book: Troubleshooting: Why Bother?
http://www.troubleshooters.com/twb


Re: Is it possible to add a style to the "Insert citation" dialog?

2016-06-06 Thread Richard Heck
On 06/03/2016 03:21 PM, racoon wrote:
> On 03.06.2016 17:02, Richard Heck wrote:
>> On 06/03/2016 09:39 AM, PhilipPirrip wrote:
>>> On 06/02/2016 06:49 PM, Richard Heck wrote:
 In principle, yes. The styles are defined in modules, such as
 natbib.module, and you could add more styles to that module, say. But
 the syntax is not documented outside the code, so you'll have to
 figure
 it out, more or less.
>>>
>>>
>>> I had no idea this was possible.
>>> Can you help a little more, Richard: is adding more styles only
>>> possible by extending natbib.module (where should that file be saved?)
>>> or is it possible to add a totally new module for, say, some other
>>> engine. I'm thinking of having one for biblatex citation styles, that
>>> would be added to natbib and jurabib.
>>
>> I am not completely sure. I believe right now that you can only extend
>> or alter the existing modules (and this is kind of unofficial, which is
>> why it isn't properlyl documented). But the modularization of this stuff
>> was work done towards biblatex support.
>>
>> I assume that, like any module, these should be saved to the layouts/
>> subdirectory of the user directory.
>>
>> Richard
>
> Yes, just the same place as the other user defined modules.
>
> And it seems like one can only alter modules since the options for the
> Format in Document > Settings... > Bibliography seem hard-coded. But
> if one uses biblatex anyway that might not be a big problem.
>
> I guess the idea could be to add a biblatex option and a
> biblatex.module that supports all standard biblatex cite* commands?

That is part of it. But there are other differences, as you know, that
would have to be handled, e.g., the fact that the *.bib files are input
in different places.

Richard



Re: BibTeX-database on two different computers

2016-06-06 Thread Richard Heck
On 06/05/2016 02:42 PM, Scott Kostyshak wrote:
> On Sun, Jun 05, 2016 at 03:54:53PM +0200, jezZiFeR wrote:
>> Hello,
>>
>> I have a problem with using the same BibTeX-database on two different
>> computers (OS X 10.11), which I synchronize on my Dropbox. The problem is,
>> that both users of the different computers have different names.
>>
>> In the moment I have to change two things every time I change the computer:
>>
>> 1) I have to correct the paths in the BibTeX-bibliography
>> 2) I have to adapt the appropriate entry in the preamble
>> (\addbibresource{/Users/E/Dropbox/bibdesk/…)
>>
>> Is there a way to get a less complicated handling on two different
>> computers with th same BibTeX-database?
> Yes, if you add the .bib file somewhere in you LaTeX user dir and run
> texhash, then you can just find it in the list when you click on "Add"
> in the BibTeX dialog (i.e. no need to click on browse). No path name
> will be needed when you do this.
>
> I don't know much about this, but that is the correct way to do this
> anyway, I believe (even if one user).

There is a BIBINPUTS variable that TeX uses to find bib files. I believe
it is empty by default. I have:

export BIBINPUTS="$HOME/bibtex/::"

in my .bash_profile. The ":" is a separator, and the empty one means:
search the current directory, too.

I have some memory that this isn't picked up properly on OSX, i.e., that
you have to set up the environment for LyX in some other way.

Richard



Re: Get rid of § in formatted reference to sections

2016-06-06 Thread Richard Heck
On 06/05/2016 02:43 PM, Daniel wrote:
> On 05.06.2016 20:31, Richard Heck wrote:
>> On 06/05/2016 12:05 PM, racoon wrote:
>>> On 05.06.2016 16:12, racoon wrote:
 Hi,

 LyX prints a § when using formatted references to sections, like

   "In section §3, ..."

 It seems a bit strange to me that the "§" is added in addition to
 "section". Isn't the "§" an abbreviation for "section"? Also it makes
 referencing to more than one section tricky because by in the plain
 format there is no "§" added, like

   "In section §3 and 4, ..."

 Wouldn't it be better to have

   "In section §3 and §4."?

 Anyway, I want to get rid of the added "§" in the formatted reference
 altogether. I have seen that LyX uses the command "\secref" but did
 not
 find documentation.

 Maybe someone can help me out. Thanks.
>>>
>>> Okay, I think I got it:
>>>
>>>   \renewcommand\secref[1]{section \ref{sec:#1}}
>>>
>>> I hope I did not miss any subtleties.
>>
>> Lyx uses, by default, refstyle.sty for formatted references, but can
>> also use prettyref.sty. This is controlled by a checkbox at Document>
>> Settings> Document Class.
>
> Thanks Richard. Using prettyref instead gets rid of the § but
> capitalizes section. So that seems not to work well either. So I still
> have to use the redefinition of the command I suggested.

Yes, I agree this is kind of odd, but it's how it's configured in the
default refstyle.cfg file.

If you want to change this globally, so to speak, you can define your
own refstyle.def file. See http://preview.tinyurl.com/hk2kerv.

Richard



Re: Capitalization and plural in cross references

2016-06-06 Thread Richard Heck
On 06/05/2016 04:48 PM, racoon wrote:
> Hi,
>
> I have looked a bit into the refstyle. There seem to be commands for
> capitalization of first letter and for plural, like
>
> \Eqref[s]{label}
>
> which will produce "Equations (...)"
>
> Is this supported in LyX?

No, not yet.

Richard



Re: 2.2 -- table problems

2016-06-06 Thread Paul A . Rubin
F M Salter  blueyonder.co.uk> writes:

> 
> 
> I had a table, with no apparent problems, but with vertical
> separators.  Publication requires a formal table!
> I have not found any way to set up a heading layout other than what
> is essentially the default.
>     Setting up a table, adding an extra row in the heading, setting
> "formal"
>   The order attempted produces different results.
>     (a) setting width for a multirow heading turns centred
> heading into left justified and unchangeable!
>     (b) after both rows of a column heading contain text and
> in-line maths, the bounding line cannot be removed. 
>   Any suggestions?

I wrangled something that looks plausible in PDF (looks horrible in the LyX
editor). I'm pasting everything between the body tags below. It has your
table on top, my version beneath it. WARNING: Examining this could be
hazardous to your mental health.

Paul

\begin_layout Standard
\begin_inset Tabular








\begin_inset Text

\begin_layout Plain Layout
base
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
\begin_inset Formula $a$
\end_inset


\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
\begin_inset Formula $\frac{a_{year}}{a_{1909}}$
\end_inset


\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
\begin_inset Formula $m$
\end_inset


\end_layout

\end_inset




\begin_inset Text

\begin_layout Plain Layout
year
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\end_layout

\end_inset




\begin_inset Text

\begin_layout Plain Layout
1909
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
\begin_inset Formula $0.25$
\end_inset


\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
\begin_inset Formula $1.00$
\end_inset


\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\family roman
\series medium
\shape up
\size normal
\emph off
\bar no
\strikeout off
\uuline off
\uwave off
\noun off
\color none
\lang english
0.08
\end_layout

\end_inset




\begin_inset Text

\begin_layout Plain Layout
1929
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
\begin_inset Formula $0.35$
\end_inset


\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
\begin_inset Formula $1.40$
\end_inset


\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\family roman
\series medium
\shape up
\size normal
\emph off
\bar no
\strikeout off
\uuline off
\uwave off
\noun off
\color none
\lang english
0.09
\end_layout

\end_inset




\begin_inset Text

\begin_layout Plain Layout
1939
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
\begin_inset Formula $0.49$
\end_inset


\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
\begin_inset Formula $1.96$
\end_inset


\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\family roman
\series medium
\shape up
\size normal
\emph off
\bar no
\strikeout off
\uuline off
\uwave off
\noun off
\color none
\lang english
0.085
\end_layout

\end_inset




\begin_inset Text

\begin_layout Plain Layout
1949
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
\begin_inset Formula $0.87$
\end_inset


\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
\begin_inset Formula $3.48$
\end_inset


\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\family roman
\series medium
\shape up
\size normal
\emph off
\bar no
\strikeout off
\uuline off
\uwave off
\noun off
\color none
\lang english
0.12
\end_layout

\end_inset




\end_inset


\end_layout

\begin_layout Standard
\begin_inset space ~
\end_inset


\end_layout

\begin_layout Standard
\begin_inset space ~
\end_inset


\end_layout

\begin_layout Standard
\begin_inset space ~
\end_inset


\end_layout

\begin_layout Standard
\begin_inset Tabular








\begin_inset Text

\begin_layout Plain Layout
base year
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
\begin_inset Box Frameless
position "t"
hor_pos "c"
has_inner_box 1
inner_pos "c"
use_parbox 0
use_makebox 0
width "4ex"
special "none"
height "1in"
height_special "totalheight"
thickness "0.4pt"
separation "3pt"
shadowsize "4pt"
framecolor "black"
backgroundcolor "none"
status open

\begin_layout Plain Layout
\align center
\begin_inset Formula $a$
\end_inset


\end_layout

\end_inset


\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
\begin_inset Box Frameless
position "t"
hor_pos "c"
has_inner_box 1
inner_pos "c"
use_parbox 0
use_makebox 0
width "5ex"
special "none"
height "1in"
height_special "height"
thickness "0.4pt"
separation "3pt"
shadowsize "4pt"
framecolor "black"
backgroundcolor 

Re: 2.2 -- table problems

2016-06-06 Thread F M Salter


On 06/06/12:59-0700, Paul A. Rubin  wrote:
> > Hi
> > I am attaching a small table which  produces erroneous output.
> > 
> > 1.  mathematical symbol  m in headings
> > 2.  non-alignment of decimal points
> > 
> > Any suggestions?
> > 
> ===
> The second problem is easily fixed: enter the numbers in the table as plain
> text, not as inline math. I think the math insets prevent detection of the
> separator (decimal point).
Did as you said.  One problem solved.
> The first problem is harder, and might be a bug in LyX. If you turn on View
> > Source and set it to show the LyX source code, you'll see cells marked
> multirow="3" and multirow="4". I have no idea why. If you switch to LaTeX
> source, you will see the extra $m$ being inserted (again, no idea why).
>
> Paul
I had a table, with no apparent problems, but with vertical separators. 
Publication requires a formal table!
I have not found any way to set up a heading layout other than what is
essentially the default.

Setting up a table, adding an extra row in the heading, setting "formal"
  The order attempted produces different results.
(a) setting width for a multirow heading turns centred heading
into left justified and unchangeable!
(b) after both rows of a column heading contain text and in-line
maths, the bounding line cannot be removed.
> Any suggestions?
>
> Regards
> Frank Salter
Thanks for your help
Frank


Re: 2.2 -- table problems

2016-06-06 Thread Paul A . Rubin
F M Salter  blueyonder.co.uk> writes:

> 
> Hi
> I am attaching a small table which  produces erroneous output.
> 
> 1.  mathematical symbol  m in headings
> 2.  non-alignment of decimal points
> 
> Any suggestions?
> 

The second problem is easily fixed: enter the numbers in the table as plain
text, not as inline math. I think the math insets prevent detection of the
separator (decimal point).

The first problem is harder, and might be a bug in LyX. If you turn on View
> Source and set it to show the LyX source code, you'll see cells marked
multirow="3" and multirow="4". I have no idea why. If you switch to LaTeX
source, you will see the extra $m$ being inserted (again, no idea why).

Paul



Re: 2.2 -- table problems

2016-06-06 Thread John Kane
Ah, I had my pdf viewer at too low a magnification and missed that m .
Very weird. I wonder if it has anything to do with the two cells in "base
year"?  So far my experiments have not been useful so I may well be wrong

Re the 2 vs 3 digits, I am not sure but I suspect that using 2 & 3 digits
in the same column is bad practice.  Why is 1939 considered more accuate
than the other years?



On 6 June 2016 at 09:24, F M Salter  wrote:

>
>
> On 06/06/16 13:54, John Kane wrote:
>
> I don't think I understand the point about the "m".  It is a math symbol
> in the lyx file so one would expect it to be one in the output?
>
> Sorry, I was obviously too terse. An additional *m* appears in the 3rd
> column under the fraction
>
>
> I am not very good with LyX tables (I usually generate mine with R and
> knitr) but it looks to me that you need three numbers after the decimal in
> the last column of the table. Try sticking zeros after the values with only
> 2 numbers (characters?) and you get decimal alignment.
>
> The reason I need the decimal alignment is that I do not to suggest an
> undeserved precision to the othere numbers in the column.
>
>
> On 6 June 2016 at 06:57, F M Salter  wrote:
>
>> Hi
>> I am attaching a small table which  produces erroneous output.
>>
>> 1.  mathematical symbol  m in headings
>> 2.  non-alignment of decimal points
>>
>> Any suggestions?
>>
>> Regards
>> Frank Salter
>>
>
>
>
> --
> John Kane
> Kingston ON Canada
>
> Thanks for your comments
> Regards   FMS
>



-- 
John Kane
Kingston ON Canada


Re: Package fontenc Error: Encoding file `eu2enc.def' not found

2016-06-06 Thread Guenter Milde
On 2016-06-06, Kornel Benko wrote:
> Am Montag, 6. Juni 2016 um 12:29:05, schrieb Steve Litt 
> 
>> Hi all,

>> The short symptom description is "Lyx 2.081 can't build PDF files if
>> Document->Settings-Fonts->Use_non_tex_fonts is checked.

>> This happens on LyX 2.081 (Ubuntu LTS 14.04). Because this is a special
>> Qemu host, upgrading the distro provided LyX would be an extreme
>> hardship.

This is due to an incomplete LaTeX installation - not LyX's fault.
LyX does not call eu2enc.def directly, rather this is done by fontspec.sty
(loaded by LyX with the "use non tex fonts" setting).

>> Here's how to reproduce it with 2.081. I couldn't reproduce it on a
>> (kind of broken) LyX 2.1.4 setup:

>> Make a new LyX document. It defaults to the article document class,
>> which is fine: This problem happens on the book document class too.
>> Type in four or five words, save, and Ctrl+R. It produces a document,
>> just like expected. 

>> Then, check Document->Settings->Fonts->Use_non_tex_fonts. Go back and
>> Ctrl+R again, and this time it fails with the following error messages:

>> ===
>> Package fontenc Error: Encoding file `eu2enc.def' not found
>> LaTeX error: Encoding scheme `EU2' unknown.
>> LaTeX error: File `xunicode.sty' not found.

The strange thing is, that you get a *fontenc* error, not a *fontspec* error:

* is this really the case?
* is there a \usepackage[EU2]{fontenc} in the exported LaTeX file?


> eu2enc.def is part of TL, according to tlmgr in package greek-fontenc.

Either tmlgr got this wrong or there is another mixup:

eu2enc.def is in http://www.ctan.org/pkg/euenc

Package greek-fontenc contains the file "greek-euenc.def" 
(loaded by alphabeta.sty, textalpha.sty and babel-greek if the fontencoding
is EU1 (XeTeX) or EU2 (LuaTeX)).


OTOH, the font encoding name for "TeX Unicode" recently changed the name
from EU1/EU2 to "TU" because this is now an official TeX text font encoding.

Maybe there was a partial update to the new scheme on the clients machine?
Make sure that packages "euenc" and "fontspec" are from matching versions.

Günter



Re: Upgrading to Lyx 2.2

2016-06-06 Thread Scott Kostyshak
On Mon, May 30, 2016 at 12:21:47PM -0400, Scott Kostyshak wrote:
> On Mon, May 30, 2016 at 02:43:57PM +0200, Charles de Miramon wrote:
> > Kornel Benko wrote:
> > 
> > > Knowing what went wrong, why are you doing it again?
> > > Simply remove your local copy of cua.bind. Lyx will use the system
> > > version.
> > > 
> > 
> > Of course.
> 
> Glad the issue is solved.
> 
> Can you please send your old cua.bind? If it had an older format it
> should have been updated automatically.

Hi Charles,

Would you mind sharing your old cua.bind file? There might be a bug in
LyX that we should fix.

Thanks,

Scott

> 
> Thanks,
> 
> Scott
> > 
> > Charles
> > 




signature.asc
Description: PGP signature


Re: Package fontenc Error: Encoding file `eu2enc.def' not found

2016-06-06 Thread Kornel Benko
Am Montag, 6. Juni 2016 um 12:29:05, schrieb Steve Litt 

> Hi all,
> 
> The short symptom description is "Lyx 2.081 can't build PDF files if
> Document->Settings-Fonts->Use_non_tex_fonts is checked.
> 
> This happens on LyX 2.081 (Ubuntu LTS 14.04). Because this is a special
> Qemu host, upgrading the distro provided LyX would be an extreme
> hardship.
> 
> Here's how to reproduce it with 2.081. I couldn't reproduce it on a
> (kind of broken) LyX 2.1.4 setup:
> 
> Make a new LyX document. It defaults to the article document class,
> which is fine: This problem happens on the book document class too.
> Type in four or five words, save, and Ctrl+R. It produces a document,
> just like expected. 
> 
> Then, check Document->Settings->Fonts->Use_non_tex_fonts. Go back and
> Ctrl+R again, and this time it fails with the following error messages:
> 
> ===
> Package fontenc Error: Encoding file `eu2enc.def' not found
> LaTeX error: Encoding scheme `EU2' unknown.
> LaTeX error: File `xunicode.sty' not found.

eu2enc.def is part of TL, according to tlmgr in package greek-fontenc.
Searching in debian I get the package name texlive-xetex.
xunicode.sty is in the same package.

> ===
> 
> Apparently this was fixed in later versions, but this VM guest is
> mission critical and I can't go messing with it. Could somebody please
> tell me what you did to overcome this issue in 2.081 (or similar)?
> 
> Thanks,
>  
> SteveT
> 

Kornel

signature.asc
Description: This is a digitally signed message part.


Package fontenc Error: Encoding file `eu2enc.def' not found

2016-06-06 Thread Steve Litt
Hi all,

The short symptom description is "Lyx 2.081 can't build PDF files if
Document->Settings-Fonts->Use_non_tex_fonts is checked.

This happens on LyX 2.081 (Ubuntu LTS 14.04). Because this is a special
Qemu host, upgrading the distro provided LyX would be an extreme
hardship.

Here's how to reproduce it with 2.081. I couldn't reproduce it on a
(kind of broken) LyX 2.1.4 setup:

Make a new LyX document. It defaults to the article document class,
which is fine: This problem happens on the book document class too.
Type in four or five words, save, and Ctrl+R. It produces a document,
just like expected. 

Then, check Document->Settings->Fonts->Use_non_tex_fonts. Go back and
Ctrl+R again, and this time it fails with the following error messages:

===
Package fontenc Error: Encoding file `eu2enc.def' not found
LaTeX error: Encoding scheme `EU2' unknown.
LaTeX error: File `xunicode.sty' not found.

===

Apparently this was fixed in later versions, but this VM guest is
mission critical and I can't go messing with it. Could somebody please
tell me what you did to overcome this issue in 2.081 (or similar)?

Thanks,
 
SteveT

Steve Litt
June 2016 featured book: Troubleshooting: Why Bother?
http://www.troubleshooters.com/twb


Re: 2.2 -- table problems

2016-06-06 Thread F M Salter


On 06/06/16 13:54, John Kane wrote:
> I don't think I understand the point about the "m".  It is a math
> symbol in the lyx file so one would expect it to be one in the output?
Sorry, I was obviously too terse. An additional /m/ appears in the 3rd
column under the fraction
>
> I am not very good with LyX tables (I usually generate mine with R and
> knitr) but it looks to me that you need three numbers after the
> decimal in the last column of the table. Try sticking zeros after the
> values with only 2 numbers (characters?) and you get decimal alignment.
The reason I need the decimal alignment is that I do not to suggest an
undeserved precision to the othere numbers in the column.
>
> On 6 June 2016 at 06:57, F M Salter  > wrote:
>
> Hi
> I am attaching a small table which  produces erroneous output.
>
> 1.  mathematical symbol  m in headings
> 2.  non-alignment of decimal points
>
> Any suggestions?
>
> Regards
> Frank Salter
>
>
>
>
> -- 
> John Kane
> Kingston ON Canada
Thanks for your comments
Regards   FMS


Re: 2.2 -- table problems

2016-06-06 Thread John Kane
I don't think I understand the point about the "m".  It is a math symbol in
the lyx file so one would expect it to be one in the output?

I am not very good with LyX tables (I usually generate mine with R and
knitr) but it looks to me that you need three numbers after the decimal in
the last column of the table. Try sticking zeros after the values with only
2 numbers (characters?) and you get decimal alignment.

On 6 June 2016 at 06:57, F M Salter  wrote:

> Hi
> I am attaching a small table which  produces erroneous output.
>
> 1.  mathematical symbol  m in headings
> 2.  non-alignment of decimal points
>
> Any suggestions?
>
> Regards
> Frank Salter
>



-- 
John Kane
Kingston ON Canada


2.2 -- table problems

2016-06-06 Thread F M Salter
Hi
I am attaching a small table which  produces erroneous output.

1.  mathematical symbol  m in headings
2.  non-alignment of decimal points

Any suggestions?

Regards
Frank Salter


table.lyx
Description: application/lyx


Re: centered formulas + \iff

2016-06-06 Thread Kiuhnm

On 05/06/2016 22:41, Paul A. Rubin wrote:

Kiuhnm  gmail.com> writes:



I came up with a (not so clean) solution:



Try replacing everything between \begin_body and \end_body with the
following and see if it looks right:

\begin_layout Standard
\begin_inset Formula
\begin{alignat*}{3}
H(Z) & \leq\mathbb{E}_{Z}\lceil I(Z)\rceil &  & 

Setting prenotes inn Index lists

2016-06-06 Thread Michael Berger

Hi all,
I have a document (classicthesis 4.1) with more than one index list.
The package 'idxlayout' is loaded and works well.
A prenote  can be set by using the command '\setindexprenote'.
If used in the Latex preamble all index lists will have the same prenote.
All my efforts  so far to get a different prenote in each of my index 
lists failed.

Can somebody please advice how that can be done?

thanks and regards,
Michael

Mageia5, Lyx 2.1.3


Inserting references to label

2016-06-06 Thread Mario D
After opening the dialog box to insert a reference to a label, when  a
label is chosen there is a button  "Go to label" in order to check whether
the label is really the correct one. Good.
After having hit this button, it is replaced with "Go back", so that I can
get to the original point after having checked the label. Ok.

The only drawback, in this, is that when I am back to the original point
the label I checked is no longer selected, so that now I know whether it
was the right one or not but, possibly, I don't remember its name...  :(

Am I doing something wrong?

To make the dialog box behave even better, maybe it would be nice if when a
label is selected then a (small) preview/portion of the formula or of the
text is displayed (and maybe it could be chosen by the user whether to
activate this option or not).


Re: Moving around

2016-06-06 Thread Mario D
2016-05-28 17:39 GMT+02:00 Guillaume Munch :


> I agree ctrl+arrows could do better. The attached patch implements your
> suggestion.
>
>
I guess that I need to apply your patch to the source and the recompile it,
don't I?

Because I am not very keen on recompiling lyx: I would like to use the
repository version