Yosemite blues again?

2014-11-17 Thread Murat Yildizoglu-BX4

Hi,
I am under Yosemite and MacTeX 2014 now.
I meet a bizarre problem again: when I try to add a reference to an 
article, the box for the reference list contained in the bib file is empty.
I have checked that the bib file in the bibliography box at the end of 
the document is available to LyX (I have even added it again from 
scratch). I have also tried the Rescan button, no avail.
The bib file lives in ~/Library/texmf/bibtex/bib, which is the path 
indicated by MacTeX 2014 FAQ, and the files has been happily living 
there for many years :-)


Do you have any idea why this not working anymore?

Best regards,

Murat
--
Prof. Murat Yildizoglu

Université de Bordeaux
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

Mail: yildi-at-u-bordeaux4.fr
Web: yildizoglu.info
mailto:yi...@u-bordeaux4.fr




Re: Yosemite blues again?

2014-11-17 Thread Murat Yildizoglu-BX4

Now this is strange,
I have copied the bib file in the same folder as the document, and the 
content of the list in the bibliography field at the end of the document 
changed to show the full path (instead of just its name) to the initial 
bib file (living in the texmf folder), and I can now see the references 
in the list when I try to insert one. It now works even if I rename the 
copy I have put in the same folder as the document.

I am completely puzzled by what is going on.
Any idea?

Murat


Murat Yildizoglu-BX4 mailto:yi...@u-bordeaux4.fr
17 novembre 2014 12:23
Hi,
I am under Yosemite and MacTeX 2014 now.
I meet a bizarre problem again: when I try to add a reference to an 
article, the box for the reference list contained in the bib file is 
empty.
I have checked that the bib file in the bibliography box at the end of 
the document is available to LyX (I have even added it again from 
scratch). I have also tried the Rescan button, no avail.
The bib file lives in ~/Library/texmf/bibtex/bib, which is the path 
indicated by MacTeX 2014 FAQ, and the files has been happily living 
there for many years :-)


Do you have any idea why this not working anymore?

Best regards,

Murat


--
Prof. Murat Yildizoglu

Université de Bordeaux
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

Mail: yildi-at-u-bordeaux4.fr
Web: yildizoglu.info
mailto:yi...@u-bordeaux4.fr




Re: and instead of und in german reference citation

2014-11-17 Thread Wolfgang Engelmann

Thanks, Julien and Stefano
for your suggestions. For the time being I changed the bst file at the 
appropriate site (and-und). I might try archlinux later.

Wolfgang

Am 15.11.2014 um 16:59 schrieb stefano franchi:

On Sat, Nov 15, 2014 at 3:27 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:




 Weitergeleitete Nachricht   Betreff: and instead of und
in german reference citation  Datum: Sat, 15 Nov 2014 10:20:49 +0100  Von:
Wolfgang Engelmann engelm...@uni-tuebingen.de
engelm...@uni-tuebingen.de  An: lyx-users@lists.lyx.org
sorry, I had included a third possibility (biblatex) without mentioning
that I am not sure I can manage to install biber (kubuntu). How difficult
is it to install it? (Kubuntu)



It depends on which TeX distribution you are using. With the true
TeXLive, biber is installed automatically. If, on the other hand, you are
using Kubuntu's Tex packages, the situation is more complicated. According
to this, one year old link [1], (K)Ubuntu is using old versions for both
biblatex and biber, and should be avoided by switching to a true texlive
installation instead.
I actually followed that strategy myself when still using Ubuntu, before I
eventually switched to a different Linux distribution altogether
(Archilinux) which has a much better support of TeXLive (among other
advantages).
Hopefully the situation has improved with more recent versions of Ubuntu.

The bottom line, though, is that the difficulties in installing
biber/biblatex on Linux are distribution dependent, and totally independent
of LyX.

The difficulties with using biblatex in LyX, however, are a real problem. I
just started working on it, but don't expect any results soon.



Cheers,

S.







[ANNOUCE] LyX 2.1.2.2 Released

2014-11-17 Thread Richard Heck


Public release of LyX version 2.1.2.2
=

We are proud to announce the release of LyX 2.1.2.2.

This is an emergency release for OSX only. It resolves additional problems
that affect LyX on OSX 10.10 (Yosemite) that were not addressed by the
2.1.2.1 release. Only users of OSX 10.10 should upgrade to this version.

LyX is a document processor that encourages an approach to writing based
on the structure of your documents and not simply their appearance. It is
released under a Free and Open Source Software license.

You can download LyX 2.1.2.2 from http://www.lyx.org/Download/.

The remainder of this file describes the 2.1.2 release, which was the
second maintenance release in the 2.1.x series.

LyX 2.1.2 is the result of on-going efforts to make our stable version
even more reliable and stable. We have fixed a number of bugs and made
a number of improvements. These are detailed below. We strongly encourage
all LyX users to upgrade to this version.

The most important fix here is that we believe we have resolved the problem
that led several users to experience seemingly random crashes with 2.1.0,
sometimes resulting in dataloss. (This was bug 9049.) These crashes 
generally
happened when the user attempted to save a file containing a table, 
usually a
fairly complex table. A seemingly unrelated bug report concerning a 
crash when
trying to save a default template (bug 9236) led to the solution. That 
bug has

also been fixed.

Do report your bugs, then! It really does help make LyX better, often in 
ways

you might not expect.

So, if you think you have found a bug in LyX 2.1.2, open a bug report at
http://www.lyx.org/trac/wiki/BugTrackerHome. If you're not sure whether it
really is a bug, you can e-mail the LyX developers' mailing list (lyx-devel
at lists.lyx.org) and ask.

If you have trouble using LyX or have a question, consult the
documentation that comes with LyX and the LyX wiki, which lives at
http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX
users' list (lyx-users at lists.lyx.org).

We hope you enjoy using LyX 2.1.2.

The LyX team.
http://www.lyx.org



Re: and instead of und in german reference citation

2014-11-17 Thread stefano franchi
On Mon, Nov 17, 2014 at 7:20 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:

 Thanks, Julien and Stefano
 for your suggestions. For the time being I changed the bst file at the
 appropriate site (and-und). I might try archlinux later.


Oops, I didn't mean to suggest that switching distribution is the only
solution for  installing biber!
I do think, however, that running TeXLive under Ubuntu/Debian may cause
problems *unless* you ditch the Ubuntu-provided packages and switch to the
true TeXLive distribution. I believe our own Scott K has indeed written a
series of scripts to make that process easier [1]

Cheers,

Stefano


[1]
https://github.com/scottkosty/install-tl-ubuntu/blob/master/install-tl-ubuntu


-- 
__
Stefano Franchi

stefano.fran...@gmail.com stef...@tamu.edu
http://stefano.cleinias.org


Re: and instead of und in german reference citation

2014-11-17 Thread Wolfgang Engelmann


Am 17.11.2014 um 16:23 schrieb stefano franchi:

On Mon, Nov 17, 2014 at 7:20 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:


Thanks, Julien and Stefano
for your suggestions. For the time being I changed the bst file at the
appropriate site (and-und). I might try archlinux later.


Oops, I didn't mean to suggest that switching distribution is the only
solution for  installing biber!
I do think, however, that running TeXLive under Ubuntu/Debian may cause
problems *unless* you ditch the Ubuntu-provided packages and switch to the
true TeXLive distribution. I believe our own Scott K has indeed written a
series of scripts to make that process easier [1]

Cheers,

Stefano


[1]
https://github.com/scottkosty/install-tl-ubuntu/blob/master/install-tl-ubuntu

That sounds good. From the install instruction of it:

To do this, the official TeX
Live 2014 installer is downloaded and used and apt is informed that TeX
dependencies are satisfied. Thus, when you want to install a program with
apt-get that depends on TeX Live, apt will not try to install the TeX 
Live

packages from the Ubuntu repositories.



how is apt informed that TeX dependencies are satisfied?

Wolfgang


Re: and instead of und in german reference citation

2014-11-17 Thread Scott Kostyshak
On Mon, Nov 17, 2014 at 12:40 PM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:


 Am 17.11.2014 um 16:23 schrieb stefano franchi:

 On Mon, Nov 17, 2014 at 7:20 AM, Wolfgang Engelmann 
 engelm...@uni-tuebingen.de wrote:


  Thanks, Julien and Stefano
 for your suggestions. For the time being I changed the bst file at the
 appropriate site (and-und). I might try archlinux later.


  Oops, I didn't mean to suggest that switching distribution is the only
 solution for  installing biber!
 I do think, however, that running TeXLive under Ubuntu/Debian may cause
 problems *unless* you ditch the Ubuntu-provided packages and switch to the
 true TeXLive distribution. I believe our own Scott K has indeed written a
 series of scripts to make that process easier [1]

 Cheers,

 Stefano


 [1]https://github.com/scottkosty/install-tl-ubuntu/blob/master/install-tl-ubuntu

  That sounds good. From the install instruction of it:

   To do this, the official TeX  Live 2014 installer is downloaded and
 used and apt is informed that TeX  dependencies are satisfied. Thus, when
 you want to install a program with  apt-get that depends on TeX Live, apt
 will not try to install the TeX Live  packages from the Ubuntu
 repositories.

 how is apt informed that TeX dependencies are satisfied?

 Wolfgang


Through equivs. It basically installs a dummy package that as far as apt is
concerned is the same as installing TeX Live debs.

Scott


Re: and instead of und in german reference citation

2014-11-17 Thread Wolfgang Engelmann


Am 17.11.2014 um 18:48 schrieb Scott Kostyshak:

On Mon, Nov 17, 2014 at 12:40 PM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:


Am 17.11.2014 um 16:23 schrieb stefano franchi:

On Mon, Nov 17, 2014 at 7:20 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:


  Thanks, Julien and Stefano
for your suggestions. For the time being I changed the bst file at the
appropriate site (and-und). I might try archlinux later.


  Oops, I didn't mean to suggest that switching distribution is the only
solution for  installing biber!
I do think, however, that running TeXLive under Ubuntu/Debian may cause
problems *unless* you ditch the Ubuntu-provided packages and switch to the
true TeXLive distribution. I believe our own Scott K has indeed written a
series of scripts to make that process easier [1]

Cheers,

Stefano


[1]https://github.com/scottkosty/install-tl-ubuntu/blob/master/install-tl-ubuntu

  That sounds good. From the install instruction of it:

   To do this, the official TeX  Live 2014 installer is downloaded and
used and apt is informed that TeX  dependencies are satisfied. Thus, when
you want to install a program with  apt-get that depends on TeX Live, apt
will not try to install the TeX Live  packages from the Ubuntu
repositories.

how is apt informed that TeX dependencies are satisfied?

Wolfgang


Through equivs. It basically installs a dummy package that as far as apt is
concerned is the same as installing TeX Live debs.

Scott


Something like http://www.tug.org/texlive/debian.html  ? -

Tell APT about your TeX Live installation by building a dummy package 
using equivs:


|$ aptitude install equivs # as root
mkdir /tmp/tl-equivs  cd /tmp/tl-equivs
equivs-control texlive-local
# edit texlive-local (see below)
$ equivs-build texlive-local
$ sudo dpkg -i texlive-local_2014-1_all.deb
|

At the step edit texlive-local, edit the Maintainer field and the list 
of the packages provided by your local TeX Live installation as 
appropriate. If you installed scheme-full except collection-texinfo as 
recommended, the file should look like the following example file for TL 
2014 http://www.tug.org/texlive/files/debian-equivs-2014-ex.txt. For 
older releases use one of the following examples files: for TL 2013 
http://www.tug.org/texlive/files/debian-equivs-2013-ex.txt, for TL 
2011 http://www.tug.org/texlive/files/debian-equivs-2011-ex.txt.


Wolfgang



Conditionally including another LyX document

2014-11-17 Thread Bruce Momjian
I know I can use Insert/File/Child Document to insert a LyX document
into an existing LyX document.  Is there any way to _conditionally_
include the document based on a TeX define, e.g.:

\ifx \employer \include{/presentations/employer/head_bumper} \fi

but if you put this in a TeX red block, it doesn't work as \include must
be processed by LyX.

I would like to do this so I can define a TeX variable in my LaTeX
preamble and have it control the addition of slides.

-- 
  Bruce Momjian  br...@momjian.ushttp://momjian.us
  EnterpriseDB http://enterprisedb.com

  + Everyone has their own god. +


Re: new documents always have change-tracking on

2014-11-17 Thread Mark Bravington
 Stephan Witt st.witt at gmx.net writes:

 
 Am 17.11.2014 um 04:37 schrieb Mark Bravington mark.bravington at
csiro.au:
 
  Lyx 2.1.2 on Windows 7: When I do File/New document, it opens up with
  change-tracking switched on

 You've saved this state with your document defaults.
 
 To get rid of it you may disable change tracking in a new document
 and in document preferences save this document as default again.
 
 Stephan

Thanks, that solves it.

It does seem a bit odd that change-tracking status can be a document
default, since all the other things on the document-settings page are
output-related--- but maybe there's nowhere else that's more appropriate.

Mark




Re: and instead of und in german reference citation

2014-11-17 Thread Scott Kostyshak
On Mon, Nov 17, 2014 at 1:33 PM, Wolfgang Engelmann
engelm...@uni-tuebingen.de wrote:

 Am 17.11.2014 um 18:48 schrieb Scott Kostyshak:

 On Mon, Nov 17, 2014 at 12:40 PM, Wolfgang Engelmann 
 engelm...@uni-tuebingen.de wrote:

 Am 17.11.2014 um 16:23 schrieb stefano franchi:

 On Mon, Nov 17, 2014 at 7:20 AM, Wolfgang Engelmann
 engelm...@uni-tuebingen.de wrote:


  Thanks, Julien and Stefano
 for your suggestions. For the time being I changed the bst file at the
 appropriate site (and-und). I might try archlinux later.


  Oops, I didn't mean to suggest that switching distribution is the only
 solution for  installing biber!
 I do think, however, that running TeXLive under Ubuntu/Debian may cause
 problems *unless* you ditch the Ubuntu-provided packages and switch to the
 true TeXLive distribution. I believe our own Scott K has indeed written a
 series of scripts to make that process easier [1]

 Cheers,

 Stefano


 [1]https://github.com/scottkosty/install-tl-ubuntu/blob/master/install-tl-ubuntu

  That sounds good. From the install instruction of it:

   To do this, the official TeX  Live 2014 installer is downloaded and
 used and apt is informed that TeX  dependencies are satisfied. Thus, when
 you want to install a program with  apt-get that depends on TeX Live, apt
 will not try to install the TeX Live  packages from the Ubuntu
 repositories.

 how is apt informed that TeX dependencies are satisfied?

 Wolfgang

 Through equivs. It basically installs a dummy package that as far as apt is
 concerned is the same as installing TeX Live debs.

 Scott

 Something like http://www.tug.org/texlive/debian.html  ? -

 Tell APT about your TeX Live installation by building a dummy package using
 equivs:

 $ aptitude install equivs # as root
 mkdir /tmp/tl-equivs  cd /tmp/tl-equivs
 equivs-control texlive-local
 # edit texlive-local (see below)
 $ equivs-build texlive-local
 $ sudo dpkg -i texlive-local_2014-1_all.deb

 At the step edit texlive-local, edit the Maintainer field and the list of
 the packages provided by your local TeX Live installation as appropriate. If
 you installed scheme-full except collection-texinfo as recommended, the file
 should look like the following example file for TL 2014. For older releases
 use one of the following examples files: for TL 2013, for TL 2011.

Yes that's correct. If you want to use install-tl-ubuntu and customize
the control file, just edit this file:
https://github.com/scottkosty/install-tl-ubuntu/blob/master/debian-control-texlive-in.txt

Scott


Re: Conditionally including another LyX document

2014-11-17 Thread Scott Kostyshak
On Mon, Nov 17, 2014 at 3:44 PM, Bruce Momjian br...@momjian.us wrote:
 I know I can use Insert/File/Child Document to insert a LyX document
 into an existing LyX document.  Is there any way to _conditionally_
 include the document based on a TeX define, e.g.:

 \ifx \employer \include{/presentations/employer/head_bumper} \fi

 but if you put this in a TeX red block, it doesn't work as \include must
 be processed by LyX.

 I would like to do this so I can define a TeX variable in my LaTeX
 preamble and have it control the addition of slides.

Would a branch do what you want?

Scott


Re: new documents always have change-tracking on

2014-11-17 Thread Scott Kostyshak
On Mon, Nov 17, 2014 at 4:26 PM, Mark Bravington
mark.braving...@csiro.au wrote:
 Stephan Witt st.witt at gmx.net writes:


 Am 17.11.2014 um 04:37 schrieb Mark Bravington mark.bravington at
 csiro.au:

  Lyx 2.1.2 on Windows 7: When I do File/New document, it opens up with
  change-tracking switched on

 You've saved this state with your document defaults.

 To get rid of it you may disable change tracking in a new document
 and in document preferences save this document as default again.

 Stephan

 Thanks, that solves it.

 It does seem a bit odd that change-tracking status can be a document
 default, since all the other things on the document-settings page are
 output-related--- but maybe there's nowhere else that's more appropriate.

Yes, I agree that it can be confusing. You can toggle it globally
using buffer-forall.
In fact, it is one of the examples in Help  LyX Functions.

Scott


Re: Conditionally including another LyX document

2014-11-17 Thread Bruce Momjian
On Mon, Nov 17, 2014 at 04:41:37PM -0500, Scott Kostyshak wrote:
 On Mon, Nov 17, 2014 at 3:44 PM, Bruce Momjian br...@momjian.us wrote:
  I know I can use Insert/File/Child Document to insert a LyX document
  into an existing LyX document.  Is there any way to _conditionally_
  include the document based on a TeX define, e.g.:
 
  \ifx \employer \include{/presentations/employer/head_bumper} \fi
 
  but if you put this in a TeX red block, it doesn't work as \include must
  be processed by LyX.
 
  I would like to do this so I can define a TeX variable in my LaTeX
  preamble and have it control the addition of slides.
 
 Would a branch do what you want?

Yeah, thank you.  While I don't know how to activate/deactivate the
branch based on a define, it does give me a simple way to turn stuff
on/off.  I have been with LyX for 15 years and it never ceases to amaze
me.

-- 
  Bruce Momjian  br...@momjian.ushttp://momjian.us
  EnterpriseDB http://enterprisedb.com

  + Everyone has their own god. +


Re: Conditionally including another LyX document

2014-11-17 Thread Richard Heck

On 11/17/2014 04:57 PM, Bruce Momjian wrote:

On Mon, Nov 17, 2014 at 04:41:37PM -0500, Scott Kostyshak wrote:

On Mon, Nov 17, 2014 at 3:44 PM, Bruce Momjian br...@momjian.us wrote:

I know I can use Insert/File/Child Document to insert a LyX document
into an existing LyX document.  Is there any way to _conditionally_
include the document based on a TeX define, e.g.:

 \ifx \employer \include{/presentations/employer/head_bumper} \fi

but if you put this in a TeX red block, it doesn't work as \include must
be processed by LyX.

I would like to do this so I can define a TeX variable in my LaTeX
preamble and have it control the addition of slides.

Would a branch do what you want?

Yeah, thank you.  While I don't know how to activate/deactivate the
branch based on a define, it does give me a simple way to turn stuff
on/off.  I have been with LyX for 15 years and it never ceases to amaze
me.


There are some other options. The simplest is to do it this way:

PUT IN ERT: \ifx\employer\undefined\relax\else[\ERT]

...now enter a LyX include box...or any other LyX content...

PUT IN ERT: \fi

This is an extremely powerful construct.

Second, it is possible to use LyX layout to modify how branches are 
output. E.g., you could do this in local layout:


Format 41
InsetLayout Branch:IfEmployer
LatexType Command
LatexName ifemployer
Preamble
\newcommand\ifemployer[1]{\ifx\employer\undefined\relax\else #1\fi}
EndPreamble
End

Now if you define a branch called IfEmployer and activate it, it'll 
give you LaTeX output as:


\ifemployer{this is the content.}

and that will be included or not conditionally on whether \employer is 
defined.


Alternatively, since a branch is obviously overkill here, you can define 
it as a custom inset:


Format 41
InsetLayout Flex:IfEmployer
LatexType Command
LatexName ifemployer
Decoration Classic
LabelString IfEmployer
Preamble
\newcommand\ifemployer[1]{\ifx\employer\undefined\relax\else #1\fi}
EndPreamble
End

And then you get the same output. You could also do it as an 
environment, if you preferred.


Richard



Re: Conditionally including another LyX document

2014-11-17 Thread Scott Kostyshak
On Mon, Nov 17, 2014 at 5:39 PM, Richard Heck rgh...@lyx.org wrote:
 On 11/17/2014 04:57 PM, Bruce Momjian wrote:

 Second, it is possible to use LyX layout to modify how branches are output.
 E.g., you could do this in local layout:

 Format 41
 InsetLayout Branch:IfEmployer
 LatexType Command
 LatexName ifemployer
 Preamble
 \newcommand\ifemployer[1]{\ifx\employer\undefined\relax\else #1\fi}
 EndPreamble
 End

 Now if you define a branch called IfEmployer and activate it, it'll give
 you LaTeX output as:

 \ifemployer{this is the content.}

 and that will be included or not conditionally on whether \employer is
 defined.

Very cool. I like this solution.

Scott


Re: Conditionally including another LyX document

2014-11-17 Thread Bruce Momjian
On Mon, Nov 17, 2014 at 05:39:38PM -0500, Richard Heck wrote:
 On 11/17/2014 04:57 PM, Bruce Momjian wrote:
 On Mon, Nov 17, 2014 at 04:41:37PM -0500, Scott Kostyshak wrote:
 On Mon, Nov 17, 2014 at 3:44 PM, Bruce Momjian br...@momjian.us wrote:
 I know I can use Insert/File/Child Document to insert a LyX document
 into an existing LyX document.  Is there any way to _conditionally_
 include the document based on a TeX define, e.g.:
 
  \ifx \employer \include{/presentations/employer/head_bumper} \fi
 
 but if you put this in a TeX red block, it doesn't work as \include must
 be processed by LyX.
 
 I would like to do this so I can define a TeX variable in my LaTeX
 preamble and have it control the addition of slides.
 Would a branch do what you want?
 Yeah, thank you.  While I don't know how to activate/deactivate the
 branch based on a define, it does give me a simple way to turn stuff
 on/off.  I have been with LyX for 15 years and it never ceases to amaze
 me.
 
 There are some other options. The simplest is to do it this way:
 
 PUT IN ERT: \ifx\employer\undefined\relax\else[\ERT]
 
 ...now enter a LyX include box...or any other LyX content...
 
 PUT IN ERT: \fi
 
 This is an extremely powerful construct.

Thanks, that worked perfectly.  Now a single preamble lines controls
everything.

-- 
  Bruce Momjian  br...@momjian.ushttp://momjian.us
  EnterpriseDB http://enterprisedb.com

  + Everyone has their own god. +


Yosemite blues again?

2014-11-17 Thread Murat Yildizoglu-BX4

Hi,
I am under Yosemite and MacTeX 2014 now.
I meet a bizarre problem again: when I try to add a reference to an 
article, the box for the reference list contained in the bib file is empty.
I have checked that the bib file in the bibliography box at the end of 
the document is available to LyX (I have even added it again from 
scratch). I have also tried the Rescan button, no avail.
The bib file lives in ~/Library/texmf/bibtex/bib, which is the path 
indicated by MacTeX 2014 FAQ, and the files has been happily living 
there for many years :-)


Do you have any idea why this not working anymore?

Best regards,

Murat
--
Prof. Murat Yildizoglu

Université de Bordeaux
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

Mail: yildi-at-u-bordeaux4.fr
Web: yildizoglu.info
mailto:yi...@u-bordeaux4.fr




Re: Yosemite blues again?

2014-11-17 Thread Murat Yildizoglu-BX4

Now this is strange,
I have copied the bib file in the same folder as the document, and the 
content of the list in the bibliography field at the end of the document 
changed to show the full path (instead of just its name) to the initial 
bib file (living in the texmf folder), and I can now see the references 
in the list when I try to insert one. It now works even if I rename the 
copy I have put in the same folder as the document.

I am completely puzzled by what is going on.
Any idea?

Murat


Murat Yildizoglu-BX4 mailto:yi...@u-bordeaux4.fr
17 novembre 2014 12:23
Hi,
I am under Yosemite and MacTeX 2014 now.
I meet a bizarre problem again: when I try to add a reference to an 
article, the box for the reference list contained in the bib file is 
empty.
I have checked that the bib file in the bibliography box at the end of 
the document is available to LyX (I have even added it again from 
scratch). I have also tried the Rescan button, no avail.
The bib file lives in ~/Library/texmf/bibtex/bib, which is the path 
indicated by MacTeX 2014 FAQ, and the files has been happily living 
there for many years :-)


Do you have any idea why this not working anymore?

Best regards,

Murat


--
Prof. Murat Yildizoglu

Université de Bordeaux
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

Mail: yildi-at-u-bordeaux4.fr
Web: yildizoglu.info
mailto:yi...@u-bordeaux4.fr




Re: and instead of und in german reference citation

2014-11-17 Thread Wolfgang Engelmann

Thanks, Julien and Stefano
for your suggestions. For the time being I changed the bst file at the 
appropriate site (and-und). I might try archlinux later.

Wolfgang

Am 15.11.2014 um 16:59 schrieb stefano franchi:

On Sat, Nov 15, 2014 at 3:27 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:




 Weitergeleitete Nachricht   Betreff: and instead of und
in german reference citation  Datum: Sat, 15 Nov 2014 10:20:49 +0100  Von:
Wolfgang Engelmann engelm...@uni-tuebingen.de
engelm...@uni-tuebingen.de  An: lyx-users@lists.lyx.org
sorry, I had included a third possibility (biblatex) without mentioning
that I am not sure I can manage to install biber (kubuntu). How difficult
is it to install it? (Kubuntu)



It depends on which TeX distribution you are using. With the true
TeXLive, biber is installed automatically. If, on the other hand, you are
using Kubuntu's Tex packages, the situation is more complicated. According
to this, one year old link [1], (K)Ubuntu is using old versions for both
biblatex and biber, and should be avoided by switching to a true texlive
installation instead.
I actually followed that strategy myself when still using Ubuntu, before I
eventually switched to a different Linux distribution altogether
(Archilinux) which has a much better support of TeXLive (among other
advantages).
Hopefully the situation has improved with more recent versions of Ubuntu.

The bottom line, though, is that the difficulties in installing
biber/biblatex on Linux are distribution dependent, and totally independent
of LyX.

The difficulties with using biblatex in LyX, however, are a real problem. I
just started working on it, but don't expect any results soon.



Cheers,

S.







[ANNOUCE] LyX 2.1.2.2 Released

2014-11-17 Thread Richard Heck


Public release of LyX version 2.1.2.2
=

We are proud to announce the release of LyX 2.1.2.2.

This is an emergency release for OSX only. It resolves additional problems
that affect LyX on OSX 10.10 (Yosemite) that were not addressed by the
2.1.2.1 release. Only users of OSX 10.10 should upgrade to this version.

LyX is a document processor that encourages an approach to writing based
on the structure of your documents and not simply their appearance. It is
released under a Free and Open Source Software license.

You can download LyX 2.1.2.2 from http://www.lyx.org/Download/.

The remainder of this file describes the 2.1.2 release, which was the
second maintenance release in the 2.1.x series.

LyX 2.1.2 is the result of on-going efforts to make our stable version
even more reliable and stable. We have fixed a number of bugs and made
a number of improvements. These are detailed below. We strongly encourage
all LyX users to upgrade to this version.

The most important fix here is that we believe we have resolved the problem
that led several users to experience seemingly random crashes with 2.1.0,
sometimes resulting in dataloss. (This was bug 9049.) These crashes 
generally
happened when the user attempted to save a file containing a table, 
usually a
fairly complex table. A seemingly unrelated bug report concerning a 
crash when
trying to save a default template (bug 9236) led to the solution. That 
bug has

also been fixed.

Do report your bugs, then! It really does help make LyX better, often in 
ways

you might not expect.

So, if you think you have found a bug in LyX 2.1.2, open a bug report at
http://www.lyx.org/trac/wiki/BugTrackerHome. If you're not sure whether it
really is a bug, you can e-mail the LyX developers' mailing list (lyx-devel
at lists.lyx.org) and ask.

If you have trouble using LyX or have a question, consult the
documentation that comes with LyX and the LyX wiki, which lives at
http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX
users' list (lyx-users at lists.lyx.org).

We hope you enjoy using LyX 2.1.2.

The LyX team.
http://www.lyx.org



Re: and instead of und in german reference citation

2014-11-17 Thread stefano franchi
On Mon, Nov 17, 2014 at 7:20 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:

 Thanks, Julien and Stefano
 for your suggestions. For the time being I changed the bst file at the
 appropriate site (and-und). I might try archlinux later.


Oops, I didn't mean to suggest that switching distribution is the only
solution for  installing biber!
I do think, however, that running TeXLive under Ubuntu/Debian may cause
problems *unless* you ditch the Ubuntu-provided packages and switch to the
true TeXLive distribution. I believe our own Scott K has indeed written a
series of scripts to make that process easier [1]

Cheers,

Stefano


[1]
https://github.com/scottkosty/install-tl-ubuntu/blob/master/install-tl-ubuntu


-- 
__
Stefano Franchi

stefano.fran...@gmail.com stef...@tamu.edu
http://stefano.cleinias.org


Re: and instead of und in german reference citation

2014-11-17 Thread Wolfgang Engelmann


Am 17.11.2014 um 16:23 schrieb stefano franchi:

On Mon, Nov 17, 2014 at 7:20 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:


Thanks, Julien and Stefano
for your suggestions. For the time being I changed the bst file at the
appropriate site (and-und). I might try archlinux later.


Oops, I didn't mean to suggest that switching distribution is the only
solution for  installing biber!
I do think, however, that running TeXLive under Ubuntu/Debian may cause
problems *unless* you ditch the Ubuntu-provided packages and switch to the
true TeXLive distribution. I believe our own Scott K has indeed written a
series of scripts to make that process easier [1]

Cheers,

Stefano


[1]
https://github.com/scottkosty/install-tl-ubuntu/blob/master/install-tl-ubuntu

That sounds good. From the install instruction of it:

To do this, the official TeX
Live 2014 installer is downloaded and used and apt is informed that TeX
dependencies are satisfied. Thus, when you want to install a program with
apt-get that depends on TeX Live, apt will not try to install the TeX 
Live

packages from the Ubuntu repositories.



how is apt informed that TeX dependencies are satisfied?

Wolfgang


Re: and instead of und in german reference citation

2014-11-17 Thread Scott Kostyshak
On Mon, Nov 17, 2014 at 12:40 PM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:


 Am 17.11.2014 um 16:23 schrieb stefano franchi:

 On Mon, Nov 17, 2014 at 7:20 AM, Wolfgang Engelmann 
 engelm...@uni-tuebingen.de wrote:


  Thanks, Julien and Stefano
 for your suggestions. For the time being I changed the bst file at the
 appropriate site (and-und). I might try archlinux later.


  Oops, I didn't mean to suggest that switching distribution is the only
 solution for  installing biber!
 I do think, however, that running TeXLive under Ubuntu/Debian may cause
 problems *unless* you ditch the Ubuntu-provided packages and switch to the
 true TeXLive distribution. I believe our own Scott K has indeed written a
 series of scripts to make that process easier [1]

 Cheers,

 Stefano


 [1]https://github.com/scottkosty/install-tl-ubuntu/blob/master/install-tl-ubuntu

  That sounds good. From the install instruction of it:

   To do this, the official TeX  Live 2014 installer is downloaded and
 used and apt is informed that TeX  dependencies are satisfied. Thus, when
 you want to install a program with  apt-get that depends on TeX Live, apt
 will not try to install the TeX Live  packages from the Ubuntu
 repositories.

 how is apt informed that TeX dependencies are satisfied?

 Wolfgang


Through equivs. It basically installs a dummy package that as far as apt is
concerned is the same as installing TeX Live debs.

Scott


Re: and instead of und in german reference citation

2014-11-17 Thread Wolfgang Engelmann


Am 17.11.2014 um 18:48 schrieb Scott Kostyshak:

On Mon, Nov 17, 2014 at 12:40 PM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:


Am 17.11.2014 um 16:23 schrieb stefano franchi:

On Mon, Nov 17, 2014 at 7:20 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:


  Thanks, Julien and Stefano
for your suggestions. For the time being I changed the bst file at the
appropriate site (and-und). I might try archlinux later.


  Oops, I didn't mean to suggest that switching distribution is the only
solution for  installing biber!
I do think, however, that running TeXLive under Ubuntu/Debian may cause
problems *unless* you ditch the Ubuntu-provided packages and switch to the
true TeXLive distribution. I believe our own Scott K has indeed written a
series of scripts to make that process easier [1]

Cheers,

Stefano


[1]https://github.com/scottkosty/install-tl-ubuntu/blob/master/install-tl-ubuntu

  That sounds good. From the install instruction of it:

   To do this, the official TeX  Live 2014 installer is downloaded and
used and apt is informed that TeX  dependencies are satisfied. Thus, when
you want to install a program with  apt-get that depends on TeX Live, apt
will not try to install the TeX Live  packages from the Ubuntu
repositories.

how is apt informed that TeX dependencies are satisfied?

Wolfgang


Through equivs. It basically installs a dummy package that as far as apt is
concerned is the same as installing TeX Live debs.

Scott


Something like http://www.tug.org/texlive/debian.html  ? -

Tell APT about your TeX Live installation by building a dummy package 
using equivs:


|$ aptitude install equivs # as root
mkdir /tmp/tl-equivs  cd /tmp/tl-equivs
equivs-control texlive-local
# edit texlive-local (see below)
$ equivs-build texlive-local
$ sudo dpkg -i texlive-local_2014-1_all.deb
|

At the step edit texlive-local, edit the Maintainer field and the list 
of the packages provided by your local TeX Live installation as 
appropriate. If you installed scheme-full except collection-texinfo as 
recommended, the file should look like the following example file for TL 
2014 http://www.tug.org/texlive/files/debian-equivs-2014-ex.txt. For 
older releases use one of the following examples files: for TL 2013 
http://www.tug.org/texlive/files/debian-equivs-2013-ex.txt, for TL 
2011 http://www.tug.org/texlive/files/debian-equivs-2011-ex.txt.


Wolfgang



Conditionally including another LyX document

2014-11-17 Thread Bruce Momjian
I know I can use Insert/File/Child Document to insert a LyX document
into an existing LyX document.  Is there any way to _conditionally_
include the document based on a TeX define, e.g.:

\ifx \employer \include{/presentations/employer/head_bumper} \fi

but if you put this in a TeX red block, it doesn't work as \include must
be processed by LyX.

I would like to do this so I can define a TeX variable in my LaTeX
preamble and have it control the addition of slides.

-- 
  Bruce Momjian  br...@momjian.ushttp://momjian.us
  EnterpriseDB http://enterprisedb.com

  + Everyone has their own god. +


Re: new documents always have change-tracking on

2014-11-17 Thread Mark Bravington
 Stephan Witt st.witt at gmx.net writes:

 
 Am 17.11.2014 um 04:37 schrieb Mark Bravington mark.bravington at
csiro.au:
 
  Lyx 2.1.2 on Windows 7: When I do File/New document, it opens up with
  change-tracking switched on

 You've saved this state with your document defaults.
 
 To get rid of it you may disable change tracking in a new document
 and in document preferences save this document as default again.
 
 Stephan

Thanks, that solves it.

It does seem a bit odd that change-tracking status can be a document
default, since all the other things on the document-settings page are
output-related--- but maybe there's nowhere else that's more appropriate.

Mark




Re: and instead of und in german reference citation

2014-11-17 Thread Scott Kostyshak
On Mon, Nov 17, 2014 at 1:33 PM, Wolfgang Engelmann
engelm...@uni-tuebingen.de wrote:

 Am 17.11.2014 um 18:48 schrieb Scott Kostyshak:

 On Mon, Nov 17, 2014 at 12:40 PM, Wolfgang Engelmann 
 engelm...@uni-tuebingen.de wrote:

 Am 17.11.2014 um 16:23 schrieb stefano franchi:

 On Mon, Nov 17, 2014 at 7:20 AM, Wolfgang Engelmann
 engelm...@uni-tuebingen.de wrote:


  Thanks, Julien and Stefano
 for your suggestions. For the time being I changed the bst file at the
 appropriate site (and-und). I might try archlinux later.


  Oops, I didn't mean to suggest that switching distribution is the only
 solution for  installing biber!
 I do think, however, that running TeXLive under Ubuntu/Debian may cause
 problems *unless* you ditch the Ubuntu-provided packages and switch to the
 true TeXLive distribution. I believe our own Scott K has indeed written a
 series of scripts to make that process easier [1]

 Cheers,

 Stefano


 [1]https://github.com/scottkosty/install-tl-ubuntu/blob/master/install-tl-ubuntu

  That sounds good. From the install instruction of it:

   To do this, the official TeX  Live 2014 installer is downloaded and
 used and apt is informed that TeX  dependencies are satisfied. Thus, when
 you want to install a program with  apt-get that depends on TeX Live, apt
 will not try to install the TeX Live  packages from the Ubuntu
 repositories.

 how is apt informed that TeX dependencies are satisfied?

 Wolfgang

 Through equivs. It basically installs a dummy package that as far as apt is
 concerned is the same as installing TeX Live debs.

 Scott

 Something like http://www.tug.org/texlive/debian.html  ? -

 Tell APT about your TeX Live installation by building a dummy package using
 equivs:

 $ aptitude install equivs # as root
 mkdir /tmp/tl-equivs  cd /tmp/tl-equivs
 equivs-control texlive-local
 # edit texlive-local (see below)
 $ equivs-build texlive-local
 $ sudo dpkg -i texlive-local_2014-1_all.deb

 At the step edit texlive-local, edit the Maintainer field and the list of
 the packages provided by your local TeX Live installation as appropriate. If
 you installed scheme-full except collection-texinfo as recommended, the file
 should look like the following example file for TL 2014. For older releases
 use one of the following examples files: for TL 2013, for TL 2011.

Yes that's correct. If you want to use install-tl-ubuntu and customize
the control file, just edit this file:
https://github.com/scottkosty/install-tl-ubuntu/blob/master/debian-control-texlive-in.txt

Scott


Re: Conditionally including another LyX document

2014-11-17 Thread Scott Kostyshak
On Mon, Nov 17, 2014 at 3:44 PM, Bruce Momjian br...@momjian.us wrote:
 I know I can use Insert/File/Child Document to insert a LyX document
 into an existing LyX document.  Is there any way to _conditionally_
 include the document based on a TeX define, e.g.:

 \ifx \employer \include{/presentations/employer/head_bumper} \fi

 but if you put this in a TeX red block, it doesn't work as \include must
 be processed by LyX.

 I would like to do this so I can define a TeX variable in my LaTeX
 preamble and have it control the addition of slides.

Would a branch do what you want?

Scott


Re: new documents always have change-tracking on

2014-11-17 Thread Scott Kostyshak
On Mon, Nov 17, 2014 at 4:26 PM, Mark Bravington
mark.braving...@csiro.au wrote:
 Stephan Witt st.witt at gmx.net writes:


 Am 17.11.2014 um 04:37 schrieb Mark Bravington mark.bravington at
 csiro.au:

  Lyx 2.1.2 on Windows 7: When I do File/New document, it opens up with
  change-tracking switched on

 You've saved this state with your document defaults.

 To get rid of it you may disable change tracking in a new document
 and in document preferences save this document as default again.

 Stephan

 Thanks, that solves it.

 It does seem a bit odd that change-tracking status can be a document
 default, since all the other things on the document-settings page are
 output-related--- but maybe there's nowhere else that's more appropriate.

Yes, I agree that it can be confusing. You can toggle it globally
using buffer-forall.
In fact, it is one of the examples in Help  LyX Functions.

Scott


Re: Conditionally including another LyX document

2014-11-17 Thread Bruce Momjian
On Mon, Nov 17, 2014 at 04:41:37PM -0500, Scott Kostyshak wrote:
 On Mon, Nov 17, 2014 at 3:44 PM, Bruce Momjian br...@momjian.us wrote:
  I know I can use Insert/File/Child Document to insert a LyX document
  into an existing LyX document.  Is there any way to _conditionally_
  include the document based on a TeX define, e.g.:
 
  \ifx \employer \include{/presentations/employer/head_bumper} \fi
 
  but if you put this in a TeX red block, it doesn't work as \include must
  be processed by LyX.
 
  I would like to do this so I can define a TeX variable in my LaTeX
  preamble and have it control the addition of slides.
 
 Would a branch do what you want?

Yeah, thank you.  While I don't know how to activate/deactivate the
branch based on a define, it does give me a simple way to turn stuff
on/off.  I have been with LyX for 15 years and it never ceases to amaze
me.

-- 
  Bruce Momjian  br...@momjian.ushttp://momjian.us
  EnterpriseDB http://enterprisedb.com

  + Everyone has their own god. +


Re: Conditionally including another LyX document

2014-11-17 Thread Richard Heck

On 11/17/2014 04:57 PM, Bruce Momjian wrote:

On Mon, Nov 17, 2014 at 04:41:37PM -0500, Scott Kostyshak wrote:

On Mon, Nov 17, 2014 at 3:44 PM, Bruce Momjian br...@momjian.us wrote:

I know I can use Insert/File/Child Document to insert a LyX document
into an existing LyX document.  Is there any way to _conditionally_
include the document based on a TeX define, e.g.:

 \ifx \employer \include{/presentations/employer/head_bumper} \fi

but if you put this in a TeX red block, it doesn't work as \include must
be processed by LyX.

I would like to do this so I can define a TeX variable in my LaTeX
preamble and have it control the addition of slides.

Would a branch do what you want?

Yeah, thank you.  While I don't know how to activate/deactivate the
branch based on a define, it does give me a simple way to turn stuff
on/off.  I have been with LyX for 15 years and it never ceases to amaze
me.


There are some other options. The simplest is to do it this way:

PUT IN ERT: \ifx\employer\undefined\relax\else[\ERT]

...now enter a LyX include box...or any other LyX content...

PUT IN ERT: \fi

This is an extremely powerful construct.

Second, it is possible to use LyX layout to modify how branches are 
output. E.g., you could do this in local layout:


Format 41
InsetLayout Branch:IfEmployer
LatexType Command
LatexName ifemployer
Preamble
\newcommand\ifemployer[1]{\ifx\employer\undefined\relax\else #1\fi}
EndPreamble
End

Now if you define a branch called IfEmployer and activate it, it'll 
give you LaTeX output as:


\ifemployer{this is the content.}

and that will be included or not conditionally on whether \employer is 
defined.


Alternatively, since a branch is obviously overkill here, you can define 
it as a custom inset:


Format 41
InsetLayout Flex:IfEmployer
LatexType Command
LatexName ifemployer
Decoration Classic
LabelString IfEmployer
Preamble
\newcommand\ifemployer[1]{\ifx\employer\undefined\relax\else #1\fi}
EndPreamble
End

And then you get the same output. You could also do it as an 
environment, if you preferred.


Richard



Re: Conditionally including another LyX document

2014-11-17 Thread Scott Kostyshak
On Mon, Nov 17, 2014 at 5:39 PM, Richard Heck rgh...@lyx.org wrote:
 On 11/17/2014 04:57 PM, Bruce Momjian wrote:

 Second, it is possible to use LyX layout to modify how branches are output.
 E.g., you could do this in local layout:

 Format 41
 InsetLayout Branch:IfEmployer
 LatexType Command
 LatexName ifemployer
 Preamble
 \newcommand\ifemployer[1]{\ifx\employer\undefined\relax\else #1\fi}
 EndPreamble
 End

 Now if you define a branch called IfEmployer and activate it, it'll give
 you LaTeX output as:

 \ifemployer{this is the content.}

 and that will be included or not conditionally on whether \employer is
 defined.

Very cool. I like this solution.

Scott


Re: Conditionally including another LyX document

2014-11-17 Thread Bruce Momjian
On Mon, Nov 17, 2014 at 05:39:38PM -0500, Richard Heck wrote:
 On 11/17/2014 04:57 PM, Bruce Momjian wrote:
 On Mon, Nov 17, 2014 at 04:41:37PM -0500, Scott Kostyshak wrote:
 On Mon, Nov 17, 2014 at 3:44 PM, Bruce Momjian br...@momjian.us wrote:
 I know I can use Insert/File/Child Document to insert a LyX document
 into an existing LyX document.  Is there any way to _conditionally_
 include the document based on a TeX define, e.g.:
 
  \ifx \employer \include{/presentations/employer/head_bumper} \fi
 
 but if you put this in a TeX red block, it doesn't work as \include must
 be processed by LyX.
 
 I would like to do this so I can define a TeX variable in my LaTeX
 preamble and have it control the addition of slides.
 Would a branch do what you want?
 Yeah, thank you.  While I don't know how to activate/deactivate the
 branch based on a define, it does give me a simple way to turn stuff
 on/off.  I have been with LyX for 15 years and it never ceases to amaze
 me.
 
 There are some other options. The simplest is to do it this way:
 
 PUT IN ERT: \ifx\employer\undefined\relax\else[\ERT]
 
 ...now enter a LyX include box...or any other LyX content...
 
 PUT IN ERT: \fi
 
 This is an extremely powerful construct.

Thanks, that worked perfectly.  Now a single preamble lines controls
everything.

-- 
  Bruce Momjian  br...@momjian.ushttp://momjian.us
  EnterpriseDB http://enterprisedb.com

  + Everyone has their own god. +


Yosemite blues again?

2014-11-17 Thread Murat Yildizoglu-BX4

Hi,
I am under Yosemite and MacTeX 2014 now.
I meet a bizarre problem again: when I try to add a reference to an 
article, the box for the reference list contained in the bib file is empty.
I have checked that the bib file in the bibliography box at the end of 
the document is available to LyX (I have even added it again from 
scratch). I have also tried the Rescan button, no avail.
The bib file lives in ~/Library/texmf/bibtex/bib, which is the path 
indicated by MacTeX 2014 FAQ, and the files has been happily living 
there for many years :-)


Do you have any idea why this not working anymore?

Best regards,

Murat
--
Prof. Murat Yildizoglu

Université de Bordeaux
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

Mail: yildi-at-u-bordeaux4.fr
Web: yildizoglu.info





Re: Yosemite blues again?

2014-11-17 Thread Murat Yildizoglu-BX4

Now this is strange,
I have copied the bib file in the same folder as the document, and the 
content of the list in the bibliography field at the end of the document 
changed to show the full path (instead of just its name) to the initial 
bib file (living in the texmf folder), and I can now see the references 
in the list when I try to insert one. It now works even if I rename the 
copy I have put in the same folder as the document.

I am completely puzzled by what is going on.
Any idea?

Murat


Murat Yildizoglu-BX4 
17 novembre 2014 12:23
Hi,
I am under Yosemite and MacTeX 2014 now.
I meet a bizarre problem again: when I try to add a reference to an 
article, the box for the reference list contained in the bib file is 
empty.
I have checked that the bib file in the bibliography box at the end of 
the document is available to LyX (I have even added it again from 
scratch). I have also tried the Rescan button, no avail.
The bib file lives in ~/Library/texmf/bibtex/bib, which is the path 
indicated by MacTeX 2014 FAQ, and the files has been happily living 
there for many years :-)


Do you have any idea why this not working anymore?

Best regards,

Murat


--
Prof. Murat Yildizoglu

Université de Bordeaux
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

Mail: yildi-at-u-bordeaux4.fr
Web: yildizoglu.info





Re: and instead of und in german reference citation

2014-11-17 Thread Wolfgang Engelmann

Thanks, Julien and Stefano
for your suggestions. For the time being I changed the bst file at the 
appropriate site (and->und). I might try archlinux later.

Wolfgang

Am 15.11.2014 um 16:59 schrieb stefano franchi:

On Sat, Nov 15, 2014 at 3:27 AM, Wolfgang Engelmann <
engelm...@uni-tuebingen.de> wrote:




 Weitergeleitete Nachricht   Betreff: and instead of und
in german reference citation  Datum: Sat, 15 Nov 2014 10:20:49 +0100  Von:
Wolfgang Engelmann 
  An: lyx-users@lists.lyx.org
sorry, I had included a third possibility (biblatex) without mentioning
that I am not sure I can manage to install biber (kubuntu). How difficult
is it to install it? (Kubuntu)



It depends on which TeX distribution you are using. With the "true"
TeXLive, biber is installed automatically. If, on the other hand, you are
using Kubuntu's Tex packages, the situation is more complicated. According
to this, one year old link [1], (K)Ubuntu is using old versions for both
biblatex and biber, and should be avoided by switching to a true texlive
installation instead.
I actually followed that strategy myself when still using Ubuntu, before I
eventually switched to a different Linux distribution altogether
(Archilinux) which has a much better support of TeXLive (among other
advantages).
Hopefully the situation has improved with more recent versions of Ubuntu.

The bottom line, though, is that the difficulties in installing
biber/biblatex on Linux are distribution dependent, and totally independent
of LyX.

The difficulties with using biblatex in LyX, however, are a real problem. I
just started working on it, but don't expect any results soon.



Cheers,

S.







[ANNOUCE] LyX 2.1.2.2 Released

2014-11-17 Thread Richard Heck


Public release of LyX version 2.1.2.2
=

We are proud to announce the release of LyX 2.1.2.2.

This is an emergency release for OSX only. It resolves additional problems
that affect LyX on OSX 10.10 (Yosemite) that were not addressed by the
2.1.2.1 release. Only users of OSX 10.10 should upgrade to this version.

LyX is a document processor that encourages an approach to writing based
on the structure of your documents and not simply their appearance. It is
released under a Free and Open Source Software license.

You can download LyX 2.1.2.2 from http://www.lyx.org/Download/.

The remainder of this file describes the 2.1.2 release, which was the
second maintenance release in the 2.1.x series.

LyX 2.1.2 is the result of on-going efforts to make our stable version
even more reliable and stable. We have fixed a number of bugs and made
a number of improvements. These are detailed below. We strongly encourage
all LyX users to upgrade to this version.

The most important fix here is that we believe we have resolved the problem
that led several users to experience seemingly random crashes with 2.1.0,
sometimes resulting in dataloss. (This was bug 9049.) These crashes 
generally
happened when the user attempted to save a file containing a table, 
usually a
fairly complex table. A seemingly unrelated bug report concerning a 
crash when
trying to save a default template (bug 9236) led to the solution. That 
bug has

also been fixed.

Do report your bugs, then! It really does help make LyX better, often in 
ways

you might not expect.

So, if you think you have found a bug in LyX 2.1.2, open a bug report at
http://www.lyx.org/trac/wiki/BugTrackerHome. If you're not sure whether it
really is a bug, you can e-mail the LyX developers' mailing list (lyx-devel
 lists.lyx.org) and ask.

If you have trouble using LyX or have a question, consult the
documentation that comes with LyX and the LyX wiki, which lives at
http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX
users' list (lyx-users  lists.lyx.org).

We hope you enjoy using LyX 2.1.2.

The LyX team.
http://www.lyx.org



Re: and instead of und in german reference citation

2014-11-17 Thread stefano franchi
On Mon, Nov 17, 2014 at 7:20 AM, Wolfgang Engelmann <
engelm...@uni-tuebingen.de> wrote:

> Thanks, Julien and Stefano
> for your suggestions. For the time being I changed the bst file at the
> appropriate site (and->und). I might try archlinux later.
>

Oops, I didn't mean to suggest that switching distribution is the only
solution for  installing biber!
I do think, however, that running TeXLive under Ubuntu/Debian may cause
problems *unless* you ditch the Ubuntu-provided packages and switch to the
true TeXLive distribution. I believe our own Scott K has indeed written a
series of scripts to make that process easier [1]

Cheers,

Stefano


[1]
https://github.com/scottkosty/install-tl-ubuntu/blob/master/install-tl-ubuntu


-- 
__
Stefano Franchi

stefano.fran...@gmail.com 
http://stefano.cleinias.org


Re: and instead of und in german reference citation

2014-11-17 Thread Wolfgang Engelmann


Am 17.11.2014 um 16:23 schrieb stefano franchi:

On Mon, Nov 17, 2014 at 7:20 AM, Wolfgang Engelmann <
engelm...@uni-tuebingen.de> wrote:


Thanks, Julien and Stefano
for your suggestions. For the time being I changed the bst file at the
appropriate site (and->und). I might try archlinux later.


Oops, I didn't mean to suggest that switching distribution is the only
solution for  installing biber!
I do think, however, that running TeXLive under Ubuntu/Debian may cause
problems *unless* you ditch the Ubuntu-provided packages and switch to the
true TeXLive distribution. I believe our own Scott K has indeed written a
series of scripts to make that process easier [1]

Cheers,

Stefano


[1]
https://github.com/scottkosty/install-tl-ubuntu/blob/master/install-tl-ubuntu

That sounds good. From the install instruction of it:

To do this, the official TeX
Live 2014 installer is downloaded and used and apt is informed that TeX
dependencies are satisfied. Thus, when you want to install a program with
apt-get that depends on TeX Live, apt will not try to install the TeX 
Live

packages from the Ubuntu repositories.



how is apt informed that TeX dependencies are satisfied?

Wolfgang


Re: and instead of und in german reference citation

2014-11-17 Thread Scott Kostyshak
On Mon, Nov 17, 2014 at 12:40 PM, Wolfgang Engelmann <
engelm...@uni-tuebingen.de> wrote:

>
> Am 17.11.2014 um 16:23 schrieb stefano franchi:
>
> On Mon, Nov 17, 2014 at 7:20 AM, Wolfgang Engelmann 
>  wrote:
>
>
>  Thanks, Julien and Stefano
> for your suggestions. For the time being I changed the bst file at the
> appropriate site (and->und). I might try archlinux later.
>
>
>  Oops, I didn't mean to suggest that switching distribution is the only
> solution for  installing biber!
> I do think, however, that running TeXLive under Ubuntu/Debian may cause
> problems *unless* you ditch the Ubuntu-provided packages and switch to the
> true TeXLive distribution. I believe our own Scott K has indeed written a
> series of scripts to make that process easier [1]
>
> Cheers,
>
> Stefano
>
>
> [1]https://github.com/scottkosty/install-tl-ubuntu/blob/master/install-tl-ubuntu
>
>  That sounds good. From the install instruction of it:
>
>   To do this, the official TeX  Live 2014 installer is downloaded and
> used and apt is informed that TeX  dependencies are satisfied. Thus, when
> you want to install a program with  apt-get that depends on TeX Live, apt
> will not try to install the TeX Live  packages from the Ubuntu
> repositories.
>
> how is apt informed that TeX dependencies are satisfied?
>
> Wolfgang
>

Through equivs. It basically installs a dummy package that as far as apt is
concerned is the same as installing TeX Live debs.

Scott


Re: and instead of und in german reference citation

2014-11-17 Thread Wolfgang Engelmann


Am 17.11.2014 um 18:48 schrieb Scott Kostyshak:

On Mon, Nov 17, 2014 at 12:40 PM, Wolfgang Engelmann <
engelm...@uni-tuebingen.de> wrote:


Am 17.11.2014 um 16:23 schrieb stefano franchi:

On Mon, Nov 17, 2014 at 7:20 AM, Wolfgang Engelmann 
 wrote:


  Thanks, Julien and Stefano
for your suggestions. For the time being I changed the bst file at the
appropriate site (and->und). I might try archlinux later.


  Oops, I didn't mean to suggest that switching distribution is the only
solution for  installing biber!
I do think, however, that running TeXLive under Ubuntu/Debian may cause
problems *unless* you ditch the Ubuntu-provided packages and switch to the
true TeXLive distribution. I believe our own Scott K has indeed written a
series of scripts to make that process easier [1]

Cheers,

Stefano


[1]https://github.com/scottkosty/install-tl-ubuntu/blob/master/install-tl-ubuntu

  That sounds good. From the install instruction of it:

   To do this, the official TeX  Live 2014 installer is downloaded and
used and apt is informed that TeX  dependencies are satisfied. Thus, when
you want to install a program with  apt-get that depends on TeX Live, apt
will not try to install the TeX Live  packages from the Ubuntu
repositories.

how is apt informed that TeX dependencies are satisfied?

Wolfgang


Through equivs. It basically installs a dummy package that as far as apt is
concerned is the same as installing TeX Live debs.

Scott


Something like http://www.tug.org/texlive/debian.html  ? ->

Tell APT about your TeX Live installation by building a dummy package 
using equivs:


|$ aptitude install equivs # as root
mkdir /tmp/tl-equivs && cd /tmp/tl-equivs
equivs-control texlive-local
# edit texlive-local (see below)
$ equivs-build texlive-local
$ sudo dpkg -i texlive-local_2014-1_all.deb
|

At the step "edit texlive-local", edit the Maintainer field and the list 
of the packages provided by your local TeX Live installation as 
appropriate. If you installed scheme-full except collection-texinfo as 
recommended, the file should look like the following example file for TL 
2014 . For 
older releases use one of the following examples files: for TL 2013 
, for TL 
2011 .


Wolfgang



Conditionally including another LyX document

2014-11-17 Thread Bruce Momjian
I know I can use Insert/File/Child Document to insert a LyX document
into an existing LyX document.  Is there any way to _conditionally_
include the document based on a TeX define, e.g.:

\ifx \employer \include{/presentations/employer/head_bumper} \fi

but if you put this in a TeX red block, it doesn't work as \include must
be processed by LyX.

I would like to do this so I can define a TeX variable in my LaTeX
preamble and have it control the addition of slides.

-- 
  Bruce Momjian  http://momjian.us
  EnterpriseDB http://enterprisedb.com

  + Everyone has their own god. +


Re: new documents always have change-tracking on

2014-11-17 Thread Mark Bravington
> Stephan Witt  gmx.net> writes:

> 
> Am 17.11.2014 um 04:37 schrieb Mark Bravington 
csiro.au>:
> 
> > Lyx 2.1.2 on Windows 7: When I do File/New document, it opens up with
> > change-tracking switched on

> You've saved this state with your document defaults.
> 
> To get rid of it you may disable change tracking in a new document
> and in document preferences save this document as default again.
> 
> Stephan

Thanks, that solves it.

It does seem a bit odd that change-tracking status can be a "document
default", since all the other things on the document-settings page are
output-related--- but maybe there's nowhere else that's more appropriate.

Mark




Re: and instead of und in german reference citation

2014-11-17 Thread Scott Kostyshak
On Mon, Nov 17, 2014 at 1:33 PM, Wolfgang Engelmann
 wrote:
>
> Am 17.11.2014 um 18:48 schrieb Scott Kostyshak:
>
> On Mon, Nov 17, 2014 at 12:40 PM, Wolfgang Engelmann <
> engelm...@uni-tuebingen.de> wrote:
>
> Am 17.11.2014 um 16:23 schrieb stefano franchi:
>
> On Mon, Nov 17, 2014 at 7:20 AM, Wolfgang Engelmann
>  wrote:
>
>
>  Thanks, Julien and Stefano
> for your suggestions. For the time being I changed the bst file at the
> appropriate site (and->und). I might try archlinux later.
>
>
>  Oops, I didn't mean to suggest that switching distribution is the only
> solution for  installing biber!
> I do think, however, that running TeXLive under Ubuntu/Debian may cause
> problems *unless* you ditch the Ubuntu-provided packages and switch to the
> true TeXLive distribution. I believe our own Scott K has indeed written a
> series of scripts to make that process easier [1]
>
> Cheers,
>
> Stefano
>
>
> [1]https://github.com/scottkosty/install-tl-ubuntu/blob/master/install-tl-ubuntu
>
>  That sounds good. From the install instruction of it:
>
>   To do this, the official TeX  Live 2014 installer is downloaded and
> used and apt is informed that TeX  dependencies are satisfied. Thus, when
> you want to install a program with  apt-get that depends on TeX Live, apt
> will not try to install the TeX Live  packages from the Ubuntu
> repositories.
>
> how is apt informed that TeX dependencies are satisfied?
>
> Wolfgang
>
> Through equivs. It basically installs a dummy package that as far as apt is
> concerned is the same as installing TeX Live debs.
>
> Scott
>
> Something like http://www.tug.org/texlive/debian.html  ? ->
>
> Tell APT about your TeX Live installation by building a dummy package using
> equivs:
>
> $ aptitude install equivs # as root
> mkdir /tmp/tl-equivs && cd /tmp/tl-equivs
> equivs-control texlive-local
> # edit texlive-local (see below)
> $ equivs-build texlive-local
> $ sudo dpkg -i texlive-local_2014-1_all.deb
>
> At the step "edit texlive-local", edit the Maintainer field and the list of
> the packages provided by your local TeX Live installation as appropriate. If
> you installed scheme-full except collection-texinfo as recommended, the file
> should look like the following example file for TL 2014. For older releases
> use one of the following examples files: for TL 2013, for TL 2011.

Yes that's correct. If you want to use install-tl-ubuntu and customize
the control file, just edit this file:
https://github.com/scottkosty/install-tl-ubuntu/blob/master/debian-control-texlive-in.txt

Scott


Re: Conditionally including another LyX document

2014-11-17 Thread Scott Kostyshak
On Mon, Nov 17, 2014 at 3:44 PM, Bruce Momjian  wrote:
> I know I can use Insert/File/Child Document to insert a LyX document
> into an existing LyX document.  Is there any way to _conditionally_
> include the document based on a TeX define, e.g.:
>
> \ifx \employer \include{/presentations/employer/head_bumper} \fi
>
> but if you put this in a TeX red block, it doesn't work as \include must
> be processed by LyX.
>
> I would like to do this so I can define a TeX variable in my LaTeX
> preamble and have it control the addition of slides.

Would a branch do what you want?

Scott


Re: new documents always have change-tracking on

2014-11-17 Thread Scott Kostyshak
On Mon, Nov 17, 2014 at 4:26 PM, Mark Bravington
 wrote:
>> Stephan Witt  gmx.net> writes:
>
>>
>> Am 17.11.2014 um 04:37 schrieb Mark Bravington 
> csiro.au>:
>>
>> > Lyx 2.1.2 on Windows 7: When I do File/New document, it opens up with
>> > change-tracking switched on
>
>> You've saved this state with your document defaults.
>>
>> To get rid of it you may disable change tracking in a new document
>> and in document preferences save this document as default again.
>>
>> Stephan
>
> Thanks, that solves it.
>
> It does seem a bit odd that change-tracking status can be a "document
> default", since all the other things on the document-settings page are
> output-related--- but maybe there's nowhere else that's more appropriate.

Yes, I agree that it can be confusing. You can toggle it globally
using buffer-forall.
In fact, it is one of the examples in Help > LyX Functions.

Scott


Re: Conditionally including another LyX document

2014-11-17 Thread Bruce Momjian
On Mon, Nov 17, 2014 at 04:41:37PM -0500, Scott Kostyshak wrote:
> On Mon, Nov 17, 2014 at 3:44 PM, Bruce Momjian  wrote:
> > I know I can use Insert/File/Child Document to insert a LyX document
> > into an existing LyX document.  Is there any way to _conditionally_
> > include the document based on a TeX define, e.g.:
> >
> > \ifx \employer \include{/presentations/employer/head_bumper} \fi
> >
> > but if you put this in a TeX red block, it doesn't work as \include must
> > be processed by LyX.
> >
> > I would like to do this so I can define a TeX variable in my LaTeX
> > preamble and have it control the addition of slides.
> 
> Would a branch do what you want?

Yeah, thank you.  While I don't know how to activate/deactivate the
branch based on a define, it does give me a simple way to turn stuff
on/off.  I have been with LyX for 15 years and it never ceases to amaze
me.

-- 
  Bruce Momjian  http://momjian.us
  EnterpriseDB http://enterprisedb.com

  + Everyone has their own god. +


Re: Conditionally including another LyX document

2014-11-17 Thread Richard Heck

On 11/17/2014 04:57 PM, Bruce Momjian wrote:

On Mon, Nov 17, 2014 at 04:41:37PM -0500, Scott Kostyshak wrote:

On Mon, Nov 17, 2014 at 3:44 PM, Bruce Momjian  wrote:

I know I can use Insert/File/Child Document to insert a LyX document
into an existing LyX document.  Is there any way to _conditionally_
include the document based on a TeX define, e.g.:

 \ifx \employer \include{/presentations/employer/head_bumper} \fi

but if you put this in a TeX red block, it doesn't work as \include must
be processed by LyX.

I would like to do this so I can define a TeX variable in my LaTeX
preamble and have it control the addition of slides.

Would a branch do what you want?

Yeah, thank you.  While I don't know how to activate/deactivate the
branch based on a define, it does give me a simple way to turn stuff
on/off.  I have been with LyX for 15 years and it never ceases to amaze
me.


There are some other options. The simplest is to do it this way:

PUT IN ERT: \ifx\employer\undefined\relax\else[\ERT]

...now enter a LyX include box...or any other LyX content...

PUT IN ERT: \fi

This is an extremely powerful construct.

Second, it is possible to use LyX layout to modify how branches are 
output. E.g., you could do this in local layout:


Format 41
InsetLayout Branch:IfEmployer
LatexType Command
LatexName ifemployer
Preamble
\newcommand\ifemployer[1]{\ifx\employer\undefined\relax\else #1\fi}
EndPreamble
End

Now if you define a branch called "IfEmployer" and activate it, it'll 
give you LaTeX output as:


\ifemployer{this is the content.}

and that will be included or not conditionally on whether \employer is 
defined.


Alternatively, since a branch is obviously overkill here, you can define 
it as a custom inset:


Format 41
InsetLayout Flex:IfEmployer
LatexType Command
LatexName ifemployer
Decoration Classic
LabelString IfEmployer
Preamble
\newcommand\ifemployer[1]{\ifx\employer\undefined\relax\else #1\fi}
EndPreamble
End

And then you get the same output. You could also do it as an 
environment, if you preferred.


Richard



Re: Conditionally including another LyX document

2014-11-17 Thread Scott Kostyshak
On Mon, Nov 17, 2014 at 5:39 PM, Richard Heck  wrote:
> On 11/17/2014 04:57 PM, Bruce Momjian wrote:

> Second, it is possible to use LyX layout to modify how branches are output.
> E.g., you could do this in local layout:
>
> Format 41
> InsetLayout Branch:IfEmployer
> LatexType Command
> LatexName ifemployer
> Preamble
> \newcommand\ifemployer[1]{\ifx\employer\undefined\relax\else #1\fi}
> EndPreamble
> End
>
> Now if you define a branch called "IfEmployer" and activate it, it'll give
> you LaTeX output as:
>
> \ifemployer{this is the content.}
>
> and that will be included or not conditionally on whether \employer is
> defined.

Very cool. I like this solution.

Scott


Re: Conditionally including another LyX document

2014-11-17 Thread Bruce Momjian
On Mon, Nov 17, 2014 at 05:39:38PM -0500, Richard Heck wrote:
> On 11/17/2014 04:57 PM, Bruce Momjian wrote:
> >On Mon, Nov 17, 2014 at 04:41:37PM -0500, Scott Kostyshak wrote:
> >>On Mon, Nov 17, 2014 at 3:44 PM, Bruce Momjian  wrote:
> >>>I know I can use Insert/File/Child Document to insert a LyX document
> >>>into an existing LyX document.  Is there any way to _conditionally_
> >>>include the document based on a TeX define, e.g.:
> >>>
> >>> \ifx \employer \include{/presentations/employer/head_bumper} \fi
> >>>
> >>>but if you put this in a TeX red block, it doesn't work as \include must
> >>>be processed by LyX.
> >>>
> >>>I would like to do this so I can define a TeX variable in my LaTeX
> >>>preamble and have it control the addition of slides.
> >>Would a branch do what you want?
> >Yeah, thank you.  While I don't know how to activate/deactivate the
> >branch based on a define, it does give me a simple way to turn stuff
> >on/off.  I have been with LyX for 15 years and it never ceases to amaze
> >me.
> 
> There are some other options. The simplest is to do it this way:
> 
> PUT IN ERT: \ifx\employer\undefined\relax\else[\ERT]
> 
> ...now enter a LyX include box...or any other LyX content...
> 
> PUT IN ERT: \fi
> 
> This is an extremely powerful construct.

Thanks, that worked perfectly.  Now a single preamble lines controls
everything.

-- 
  Bruce Momjian  http://momjian.us
  EnterpriseDB http://enterprisedb.com

  + Everyone has their own god. +