Re: Symbols panel with my symbols

2009-12-10 Thread Olivier Ripoll

Sergio Celani wrote:

Hi


Is it possible to create a new symbols panel or toolbar with the buttons 
for frequently used symbols ?


Where can I find instructions on this topic ?


http://wiki.lyx.org/LyX/UserInterface

You can try safely quite easily in LyX: the default files are in the 
system folder(*) and your custom files (interface definition, 
preferences, ...) are in your home folder(**). So if you mess up 
something with your trials, delete them and you get the defaults back.


What you want is to look at the files in the system ui folder 
(default.ui, stdtoolbars.inc) for inspiration. Also have a look at 
the file at

http://lyx-toolbar.atspace.org/
It's for 1.5, but it works for 1.6 (may need a few changes to be 100% 
correct).


You put your modified ui in inc files in your ui folder and if they have 
the same name, that should be enough.


Best regards,

Olivier

(*) http://wiki.lyx.org/LyX/SystemDir
(**) http://wiki.lyx.org/LyX/UserDir



Thanks in advance,

Sergio








gnuplot in Lyx not working?

2009-12-10 Thread Peter Kint

Hi,

I'm trying to make mathematical graphs in my Lyx documents.

In the pgf/tikz manual on p 224 is the following code/example:

\begin{tikzpicture}[domain=0:4]
  \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
  \draw[-] (-0.2,0) -- (4.2,0) node[right] {$x$};
  \draw[-] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
  \draw[color=red]plot[id=x]   function{x}   node[right] {$f(x) 
=x$};
  \draw[color=blue]   plot[id=sin] function{sin(x)}   node[right] {$f(x) = 
\sin x$};
  \draw[color=orange] plot[id=exp] function{0.05*exp(x)} node[right] {$f(x) = 
\frac{1}{20} \mathrm e^x$};
\end{tikzpicture}


When I include it in a box in my Lyx document (InsertFileChild Document) I 
get a very incomplete and crippled output.

How can I get this working properly??

Thx for reading.




  
_
Lentekriebels? Speel samen met je vrienden de spelletjes die Windows Live je 
aanbiedt!
http://www.messengerbillboard.be/nl/play

gnuplot in Lyx not working?

2009-12-10 Thread peter kint
Hi,

I'm trying to make mathematical graphs in my Lyx documents.

In the pgf/tikz manual on p 224 is the following code/example:

\begin{tikzpicture}[domain=0:4]
 \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
 \draw[-] (-0.2,0) -- (4.2,0) node[right] {$x$};
 \draw[-] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
 \draw[color=red] plot[id=x]   function{x}  node[right] {$f(x) =x$};
 \draw[color=blue] plot[id=sin] function{sin(x)}node[right] {$f(x) = \sin 
x$};
\end{tikzpicture}

When I include it in a box in my Lyx document (InsertFileChild Document) I get
a very incomplete and crippled output.

How can I get this working properly??

Thx for reading.




Re: gnuplot in Lyx not working?

2009-12-10 Thread Jürgen Spitzmüller
Peter Kint wrote:

 When I include it in a box in my Lyx document (InsertFileChild Document)
 I get a very incomplete and crippled output.
 
 How can I get this working properly??

Did you load the necessary pgf/tikz packages in the preamble?

Jürgen




Re: gnuplot in Lyx not working?

2009-12-10 Thread peter kint
Jürgen Spitzmüller sp...@... writes:

 
 Peter Kint wrote:
 
  When I include it in a box in my Lyx document (InsertFileChild Document)
  I get a very incomplete and crippled output.
  
  How can I get this working properly??
 
 Did you load the necessary pgf/tikz packages in the preamble?
 
 Jürgen
 
 

Hi,
Thx for answering.
These are in my preamble:
 \usepackage{pgfplots}
 \usepackage{pgf,tikz}
 \usetikzlibrary{arrows}
 \usetikzlibrary{trees} 
 \usepackage{verbatim}
Peter







How does Lyx remember certain things?

2009-12-10 Thread danielpferreira

Hi!
I'm a new user and I'm getting some strange behaviour in Lyx.

I'm creating a BibTex file (using JabRef) and including it in Lyx. It's all
working fine (it shows up in the DIV file, it allows referencing, etc).

But sometimes a certain entry in the .bib file generates some bug and Lyx
can't compile the DIV preview (BTW, I dont really understand the error
messages Lyx shows me - or how/where to fix my code based on them, but I'll
leave that to another post). So I undo the last thing I've done in the .bib
file, wich theorically would restore me to a stable situation.

BUT lyx continues giving the same error message. SOmetimes I even exclude
from the .bib file the whole entry that gave the problem in the first place,
but lyx continues giving errors (oddly, in the error message, it shows some
code that i THINK shouldnt even exist anymore, since I deleted the
offfending entry).

The only way this is solved is if I close and reopen the .lyx file. It
looks like this is necessary to make Lyx forget about what happened...

Anyways, I guess my questions are:
1) Did my explanation make sense? :)
2) Is this a known behaviour/bug in Lyx?
3) If this is a bug, how can I fix it?

Keep in mind I'm not a programmer, and I'm new to Lyx, Latex, bibtex,
jabref, etc..
I'm one of the few (I guess) art students trying to  use LaTex to write a
thesis.

Thanks in advance (and sorry about my weak english).
D
-- 
View this message in context: 
http://n2.nabble.com/How-does-Lyx-remember-certain-things-tp4145768p4145768.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How does Lyx remember certain things?

2009-12-10 Thread Manolo Martí­nez
A similar thing happened to me some time ago and it turned out that I 
was ammending not the bibtex file that LyX was using, but a backup.


I know I'm sillier than many, but, just in case, make sure you are 
ammending the bibtex file LyX is using :)


Manolo

danielpferreira escribió:

Hi!
I'm a new user and I'm getting some strange behaviour in Lyx.

I'm creating a BibTex file (using JabRef) and including it in Lyx. It's all
working fine (it shows up in the DIV file, it allows referencing, etc).

But sometimes a certain entry in the .bib file generates some bug and Lyx
can't compile the DIV preview (BTW, I dont really understand the error
messages Lyx shows me - or how/where to fix my code based on them, but I'll
leave that to another post). So I undo the last thing I've done in the .bib
file, wich theorically would restore me to a stable situation.

BUT lyx continues giving the same error message. SOmetimes I even exclude
from the .bib file the whole entry that gave the problem in the first place,
but lyx continues giving errors (oddly, in the error message, it shows some
code that i THINK shouldnt even exist anymore, since I deleted the
offfending entry).

The only way this is solved is if I close and reopen the .lyx file. It
looks like this is necessary to make Lyx forget about what happened...

Anyways, I guess my questions are:
1) Did my explanation make sense? :)
2) Is this a known behaviour/bug in Lyx?
3) If this is a bug, how can I fix it?

Keep in mind I'm not a programmer, and I'm new to Lyx, Latex, bibtex,
jabref, etc..
I'm one of the few (I guess) art students trying to  use LaTex to write a
thesis.

Thanks in advance (and sorry about my weak english).
D
  




symbol Diamond in toolbar

2009-12-10 Thread Sergio Celani

Hello

There any reason to not display the symbol Diamond. in the toolbar ?
There exist  diamond and diamondsuit, but bot Diamond.

Any chance to include this symbol ?

Thank very

Sergio


Re: gnuplot in Lyx not working?

2009-12-10 Thread Jürgen Spitzmüller
peter kint wrote:

 These are in my preamble:
 \usepackage{pgfplots}
 \usepackage{pgf,tikz}
 \usetikzlibrary{arrows}
 \usetikzlibrary{trees}
 \usepackage{verbatim}

Putting this in the preamble and including the tikz code from your previous 
post as ERT compiles fine for me.

What error messages do you get? Could you post an example file?

Jürgen



Re: How does Lyx remember certain things?

2009-12-10 Thread rgheck

On 12/10/2009 10:03 AM, Manolo Martí­nez wrote:
A similar thing happened to me some time ago and it turned out that I 
was ammending not the bibtex file that LyX was using, but a backup.


I know I'm sillier than many, but, just in case, make sure you are 
ammending the bibtex file LyX is using :)


The reason this kind of thing happens is because LyX generates a bunch 
of temporary files when it exports DVI, etc, and sometimes it can happen 
that the old temporaries don't get over-written, or LaTeX itself is 
still using some old aux file, etc. These are bugs, but also a fact of 
life


rh


Manolo

danielpferreira escribió:

Hi!
I'm a new user and I'm getting some strange behaviour in Lyx.

I'm creating a BibTex file (using JabRef) and including it in Lyx. 
It's all

working fine (it shows up in the DIV file, it allows referencing, etc).

But sometimes a certain entry in the .bib file generates some bug and 
Lyx

can't compile the DIV preview (BTW, I dont really understand the error
messages Lyx shows me - or how/where to fix my code based on them, 
but I'll
leave that to another post). So I undo the last thing I've done in 
the .bib

file, wich theorically would restore me to a stable situation.

BUT lyx continues giving the same error message. SOmetimes I even 
exclude
from the .bib file the whole entry that gave the problem in the first 
place,
but lyx continues giving errors (oddly, in the error message, it 
shows some

code that i THINK shouldnt even exist anymore, since I deleted the
offfending entry).

The only way this is solved is if I close and reopen the .lyx file. It
looks like this is necessary to make Lyx forget about what happened...

Anyways, I guess my questions are:
1) Did my explanation make sense? :)
2) Is this a known behaviour/bug in Lyx?
3) If this is a bug, how can I fix it?

Keep in mind I'm not a programmer, and I'm new to Lyx, Latex, bibtex,
jabref, etc..
I'm one of the few (I guess) art students trying to  use LaTex to 
write a

thesis.

Thanks in advance (and sorry about my weak english).
D




Re: How does Lyx remember certain things?

2009-12-10 Thread Manveru
2009/12/10 danielpferreira danielpferre...@yahoo.com.br:
[...]
 But sometimes a certain entry in the .bib file generates some bug and Lyx
 can't compile the DIV preview (BTW, I dont really understand the error
 messages Lyx shows me - or how/where to fix my code based on them, but I'll
 leave that to another post). So I undo the last thing I've done in the .bib
 file, wich theorically would restore me to a stable situation.
[...]

The most common erroneous situation with BibTeX is to using some
non-ascii character in the BibTeX enty - JabRef allows this, but this
is not correct as BibTeX was/is/will be unable to handle that.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: How does Lyx remember certain things?

2009-12-10 Thread Wolfgang Engelmann
Am Thursday 10 December 2009 16:14:12 schrieb rgheck:
 On 12/10/2009 10:03 AM, Manolo Martí­nez wrote:
  A similar thing happened to me some time ago and it turned out that I
  was ammending not the bibtex file that LyX was using, but a backup.
 
  I know I'm sillier than many, but, just in case, make sure you are
  ammending the bibtex file LyX is using :)

 The reason this kind of thing happens is because LyX generates a bunch
 of temporary files when it exports DVI, etc, and sometimes it can happen
 that the old temporaries don't get over-written, or LaTeX itself is
 still using some old aux file, etc. These are bugs, but also a fact of
 life

 rh

what I do in situations like this one is to save the lyx file under a 
different name and use that one.
Wolfgang

  Manolo
 
  danielpferreira escribió:
  Hi!
  I'm a new user and I'm getting some strange behaviour in Lyx.
 
  I'm creating a BibTex file (using JabRef) and including it in Lyx.
  It's all
  working fine (it shows up in the DIV file, it allows referencing, etc).
 
  But sometimes a certain entry in the .bib file generates some bug and
  Lyx
  can't compile the DIV preview (BTW, I dont really understand the error
  messages Lyx shows me - or how/where to fix my code based on them,
  but I'll
  leave that to another post). So I undo the last thing I've done in
  the .bib
  file, wich theorically would restore me to a stable situation.
 
  BUT lyx continues giving the same error message. SOmetimes I even
  exclude
  from the .bib file the whole entry that gave the problem in the first
  place,
  but lyx continues giving errors (oddly, in the error message, it
  shows some
  code that i THINK shouldnt even exist anymore, since I deleted the
  offfending entry).
 
  The only way this is solved is if I close and reopen the .lyx file. It
  looks like this is necessary to make Lyx forget about what happened...
 
  Anyways, I guess my questions are:
  1) Did my explanation make sense? :)
  2) Is this a known behaviour/bug in Lyx?
  3) If this is a bug, how can I fix it?
 
  Keep in mind I'm not a programmer, and I'm new to Lyx, Latex, bibtex,
  jabref, etc..
  I'm one of the few (I guess) art students trying to  use LaTex to
  write a
  thesis.
 
  Thanks in advance (and sorry about my weak english).
  D



-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Re: gnuplot in Lyx not working?

2009-12-10 Thread peter kint
Jürgen Spitzmüller sp...@... writes:

 
 peter kint wrote:
 
  These are in my preamble:
  \usepackage{pgfplots}
  \usepackage{pgf,tikz}
  \usetikzlibrary{arrows}
  \usetikzlibrary{trees}
  \usepackage{verbatim}
 
 Putting this in the preamble and including the tikz code from your previous 
 post as ERT compiles fine for me.
 
 What error messages do you get? Could you post an example file?
 
 Jürgen
 
 

Example (InsertFileChild Document 'probeersel.tex')
\begin{tikzpicture}[domain=0:4]
  \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
  \draw[-] (-0.2,0) -- (4.2,0) node[right] {$x$};
  \draw[-] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
  \draw[color=red]plot[id=x]   function{x}  node[right] {$f(x) =x$};
  \draw[color=blue] plot[id=sin] function{sin(x)} node[right] {$f(x) = \sin x$};
  \draw[color=orange] plot[id=exp] function{0.05*exp(x)} 
node[right] {$f(x) = \frac{1}{20} \mathrm e^x$};
\end{tikzpicture}

I get no errors, only a couple of warnings in my Latex Log(which I suspect are
related):

 ...
 system(gnuplot probeersel.x.gnuplot)...disabled.
 Package pgf Warning: Plot data file `probeersel.x.table' not found. on input li
 ne 5.
 \openout3 = `probeersel.sin.gnuplot'.
 system(gnuplot probeersel.sin.gnuplot)...disabled.
 Package pgf Warning: Plot data file `probeersel.sin.table' not found. on input 
 line 6.
 \openout3 = `probeersel.exp.gnuplot'.
 system(gnuplot probeersel.exp.gnuplot)...disabled.
 Package pgf Warning: Plot data file `probeersel.exp.table' not found. on input 
 line 7.

The output (pdflatex) contains only a grid, x-axis and y-axis, labels printed
all over each other and NO CURVES. Pretty sad...:-)

Thx again for answering.
Peter





Re: LyX Server on XP?

2009-12-10 Thread Murat Yildizoglu
Thank you very much Siegfried!
That works with a small correction:
In Jabref, I had to put \\.\pipe\lyxserver.in
given that in LyX I have used your suggestion below \\.\pipe\lyxserver

Regards,

Murat

2009/12/9 Siegfried Meunier-Guttin-Cluzel meun...@coria.fr:
 I work on Windows XP pro with the last version 1.6.5 from the alt installer.

 Here what I did :
 ToolsPreferencesDirectories
 Lyxserver :
 \\.\pipe\lyxserver
 In JabRef :
 OptionsPreferences
 There's a button to configure the lyx server
 I put
 \\.\pipe\lyxpipe.in

 The \\.\pipe\lyxpipe is a notation in Windows to use a named pipe, so I
 don't think there's really a directory attached to this object.

 Now, I can use the Lyx button of JabRef to automatically insert a reference
 into my Lyx document.

 Hope it helps.

 Siegfried.






-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: The layout file requested by this document is not usable.

2009-12-10 Thread wurmglow


lcaruso wrote:
 
 Lyx? Latex? Annoyances.
 For several months I'm searching for an answer to this:
 
 The layout file requested by this document,x.layout,
 is not usable. This is probably because a LaTeX
 class or style file required by it is not available. 
 See the Customization documentation
 for more information.
 LyX will not be able to produce output.
 
 You can find answer tentatives, no one with successful application. Void
 hints.
 
 It seems a simple problem. But no answer.
 No matter if you're using annoying-windows or annoying-linux. The same
 problem, the same no-anwer.
 
 This is probably because a LaTeX class or style file required by it is
 not available.
 Wow! So simple? If this is the problem, so let we know, for:
 x.layout --- what x.cls and x.sty are required and ...
 where to find it, and wher to throw it whether in linux or windows and ...
 presto!
 
 The most inconceivable is why, when we download and install huge ammounts
 of software and docs to install LYX and the need, infinite, support packs,
 there is the lack of classes or styles!!! 
 
 It should be a test of this (layout) features prior to distribute these
 packs! 
 
 I'm writing because I'm intending to use and make other people use Latex
 in a average-user reasonable amount of effort.
 And because I'm hopping someone with more understanding will offer us the
 solution!
 
 Thank you.
 
 

Hi there,

I've just discovered this problem myself after an update from LyX 1.6.4 to
1.6.5

I tried to use a template: new from template on the file menu and got a
warning that whatever  I was trying to do would not output as the  layout
class was not available.

I did  a search on my windows box for *.layout and found 165 (a coincidence
of numeration there! Lyx1.6.5 and 165 files) layout files in this folder:

your root drive:\Program Files\LyX 1.6.5\Resources\layouts

I tried this:

new from template svmono_book.lyx

blah blah blah ...LyX will not be able to produce output. Template then
finishes loading. 

Go to tools document settings in your usual way.
click layout button and navigate to your root drive:\Program Files\LyX
1.6.5\Resources\layouts and choose related layout. In my case it was
svmono.layout

I got another pile of warnings saying I had chosen a layout that was not
part of the system files and that probably my machine would explode - the
last bit is not true.

But what I can't fathom is this. The .layout files are quite clearly part of
the default installation and quite clearly belong to the great swathe of
unavailable classes seen on the documents settings.

I haven't seen this happen before and I am unhappy about it.

The workaround I have found is unacceptable as I shouldn't be receiving
warnings about things that are visible within system folders not being
there.

I do wish someone else could explain this,

wurmglow

-- 
View this message in context: 
http://n2.nabble.com/The-layout-file-requested-by-this-document-is-not-usable-tp4008126p4147568.html
Sent from the LyX - Users mailing list archive at Nabble.com.


problem opening lyx file

2009-12-10 Thread Martin Sladeczek

Hello Lyx Team,

i am writing a quite important thesis at the moment. When I try to open my lyx 
file there is the following error message: 
C:/.../Hausarbeit Lourdes.lyx ist kein lesbares Lyx-Dokument.. In the mail 
archive i have seen, that you could help somebody with the same problem 
(http://www.mail-archive.com/lyx-users@lists.lyx.org/msg74655.html). It worked 
for many times and i am a bit agitated now because i have to hand it in in a 
several days. I changed nothing, just saved, shut down, started up the pc, 
launched lyx.
I hope your are able to help me, i attached the document,

thanking you in anticipation

Martin Sladeczek
  
_
http://redirect.gimas.net/?n=M0912xIWHM2
Hotmail - Mein E-Mail Anbieter ohne Kosten

Re: problem opening lyx file

2009-12-10 Thread Vincent van Ravesteijn

Martin Sladeczek schreef:

I hope your are able to help me, i attached the document,
  


Did you ?

Vincent


Re: The layout file requested by this document is not usable.

2009-12-10 Thread Vincent van Ravesteijn



I've just discovered this problem myself after an update from LyX 1.6.4 to
1.6.5


But what I can't fathom is this. The .layout files are quite clearly part of
the default installation and quite clearly belong to the great swathe of
unavailable classes seen on the documents settings.
  


A lot of these classes are supplied by publishers. We only include the 
layout files for those classes to ease the use of them. It's not our 
task to distribute third-party classes.


So, if you want to use svmono.layout you need to download the class file 
from the Springer website:


ftp://ftp.springer.de/pub/tex/latex/svmonogl/styles/svmono.cls

I install this file in the directory:

C:\Program Files\MiKTeX 2.7\tex\latex\svmono (don't know whether that's 
the best place)


Then, you start MiKTeX Settings and choose to refresh the file name 
database (FNDB).


After that you can Reconfigure LyX with Tools-Reconfigure.

Now you can use the book (Springer svmono) document class and the 
template.

I haven't seen this happen before and I am unhappy about it.

  

In that case, I would suggest to use a document class which is available.


I do wish someone else could explain this,

wurmglow
  


Vincent


Re: The layout file requested by this document is not usable.

2009-12-10 Thread Jean-Marc Lasgouttes

Le 10/12/2009 21:19, wurmglow a écrit :


click layout button and navigate to your root drive:\Program Files\LyX
1.6.5\Resources\layouts and choose related layout. In my case it was
svmono.layout

I got another pile of warnings saying I had chosen a layout that was not
part of the system files and that probably my machine would explode - the
last bit is not true.

But what I can't fathom is this. The .layout files are quite clearly part of
the default installation and quite clearly belong to the great swathe of
unavailable classes seen on the documents settings.


A lyx layout file is just a file that describes how a given LaTeX 
(svmono.cls) class file behaves. This is needed because LyX relies on
LaTeX to do the output. So what LyX tries to do (but without success, it 
seems) is to tell you that you will not be able to produce useful

output.

My guess is that your LaTeX (miktex) installation is broken in some
way. Did you have an active network connection when you installed LyX?
This is needed on windows, so that it downloads all missing stuff for
you.

JMarc


Subfloats alignment

2009-12-10 Thread Anders Host-Madsen
I have two figures of different height that I want side-by-side.
I use subfloats.
LyX (and Latex) always aligns them at the bottom edge. How
can I align them at the top edge (or center them)? I have tried
to insert vspace on either side, but it has no effect. Any
suggestions?



Re: LyX Server on XP?

2009-12-10 Thread Uwe Stöhr

Thank you very much Siegfried!
That works with a small correction:...


Can everybody involved in this thread please do other users the favor and add to our LyX Wiki how a 
LyXServer is set up on Windows?:


http://wiki.lyx.org/LyX/LyXServer

Many thanks in advance and regards
Uwe


Re: symbol Diamond in toolbar

2009-12-10 Thread Uwe Stöhr

Sergio Celani schrieb:


There any reason to not display the symbol Diamond. in the toolbar ?
There exist  diamond and diamondsuit, but bot Diamond.


This is a bug that we'll fix for the next release.


Any chance to include this symbol ?


replace you version of the file sdttoolbars.inc with the attached one.

thanks for the report and regards
Uwe
# -*- text -*-

# file stdtoolbars.inc
# This file is part of LyX, the document processor.
# Licence details can be found in the file COPYING.

# author Jean-Marc Lasgouttes
# author John Levon

# Full author contact details are available in file CREDITS.

# The interface is designed (partially) following the KDE Human Interface
# Guidelines (http://usability.kde.org/hig/)

# Casing rules for The tooltip:
# Capitalize the first letter of the first word, and any other words normally
# capitalized in sentences, such as application names.
#
# Casing Rules for the GUI Name:
# Capitalize all words in the element, with the following exceptions: 
# * Articles: a, an, the. 
# * Conjunctions: and, but, for, not, so, yet ...  
# * Prepositions of three or fewer letters: at, for, by, in, to ...
#
# (http://library.gnome.org/devel/hig-book/stable/design-text-labels.html.en)

# A Toolbar starts like :
#
# Toolbar name GUI Name
#
# Only seven commands are allowed inside the Toolbar and End
# directives:
#   Item The tooltip action [parameter] adds an icon to the toolbar 
performing
#  action parameter
#  Examples:
#  Item Small font font-size small
#  Item Emphasized set-emph
#
#   Layouts adds the layouts combo-box to the toolbar
#
#   Separator adds some spacing to the toolbar
#
#   Minibuffer adds the command buffer (Qt only, only one may exist)
#
#   TableInsert The tooltip adds a special widget for quick insertion of 
tables
#
#   PopupMenu name The tooltip
#
#   ... inserts a button with a popup menu derived from Toolbar name
#
#   IconPalette name The tooltip
#
#   ... inserts a button with a popup iconpalette derived from Toolbar name
#
#
# The icons are found in the lib/images/ direcory under the name
# action.png or action_parameter.png, except for math-insert, which
# is e.g. lib/image/math/sum.png. Note that some characters are
# replaced (e.g. ')' - rbracket).
#
#  All other lyx commands will get a unknown icon.
#
# This is the default toolbar:

ToolbarSet

Toolbar standard Standard
Layouts
Item New document buffer-new
Item Open document file-open
Item Save document buffer-write
Item Print document dialog-show print
Separator
Item Check spelling dialog-show spellchecker
Separator
Item Undo undo
Item Redo redo
Item Cut cut
Item Copy copy
Item Paste paste
Item Find and replace dialog-show findreplace
Item Navigate back bookmark-goto 0
Separator
Item Toggle emphasis font-emph
Item Toggle noun font-noun
Item Apply last textstyle-apply
Separator
Item Insert math math-mode
Item Insert graphics dialog-show-new-inset graphics
TableInsert Insert table
Separator
Item Toggle outline dialog-toggle toc
Item Toggle math toolbar toolbar-toggle math
Item Toggle table toolbar toolbar-toggle table
End

Toolbar extra Extra
Item Default layout
Item Numbered list layout Enumerate
Item Itemized list layout Itemize
Item List layout List
Item Description layout Description
Item Increase depth depth-increment
Item Decrease depth depth-decrement
Separator
Item Insert figure float float-insert figure
Item Insert table float float-insert table
Item Insert label label-insert
Item Insert cross-reference dialog-show-new-inset ref
Item Insert citation dialog-show-new-inset citation
Item Insert index entry index-insert
Item Insert nomenclature entry nomencl-insert
Separator
Item Insert footnote footnote-insert
Item Insert margin note marginalnote-insert
Item Insert note note-insert
Item Insert box box-insert Frameless
Item Insert hyperlink href-insert
Item Insert TeX code ert-insert
Item Insert math macro math-macro newmacroname newcommand
Item Include file dialog-show-new-inset include
Separator
Item Text style dialog-show character
Item Paragraph settings layout-paragraph
Item 

Re: Subfloats alignment

2009-12-10 Thread Uwe Stöhr

Anders Host-Madsen schrieb:


I have two figures of different height that I want side-by-side.
I use subfloats.
LyX (and Latex) always aligns them at the bottom edge. How
can I align them at the top edge (or center them)?


This is tricky. I found no better solution than by using a table cell for each 
subfloat.
Please try out the attached file (replace the box with an image) and report 
back if this works.

regards Uwe


newfile1.lyx
Description: application/lyx


Re: LyX Server on XP?

2009-12-10 Thread Asm warrior

On 2009-12-11 9:30, Uwe Stöhr wrote:

Thank you very much Siegfried!
That works with a small correction:...


Can everybody involved in this thread please do other users the favor
and add to our LyX Wiki how a LyXServer is set up on Windows?:

http://wiki.lyx.org/LyX/LyXServer

Many thanks in advance and regards
Uwe

I just want to edit that wiki page, but how can I register a wiki user 
in the http://wiki.lyx.org ?


It seems I can't find a register button in the home page of lyx wiki.

Thanks!





Re: LyX Server on XP?

2009-12-10 Thread Asm warrior

On 2009-12-11 12:23, Asm warrior wrote:

On 2009-12-11 9:30, Uwe Stöhr wrote:

Thank you very much Siegfried!
That works with a small correction:...


Can everybody involved in this thread please do other users the favor
and add to our LyX Wiki how a LyXServer is set up on Windows?:

http://wiki.lyx.org/LyX/LyXServer

Many thanks in advance and regards
Uwe


I just want to edit that wiki page, but how can I register a wiki user
in the http://wiki.lyx.org ?

It seems I can't find a register button in the home page of lyx wiki.

Thanks!





Done, I need to add a user name before I save the edited page.



Re: Symbols panel with my symbols

2009-12-10 Thread Olivier Ripoll

Sergio Celani wrote:

Hi


Is it possible to create a new symbols panel or toolbar with the buttons 
for frequently used symbols ?


Where can I find instructions on this topic ?


http://wiki.lyx.org/LyX/UserInterface

You can try safely quite easily in LyX: the default files are in the 
system folder(*) and your custom files (interface definition, 
preferences, ...) are in your home folder(**). So if you mess up 
something with your trials, delete them and you get the defaults back.


What you want is to look at the files in the system ui folder 
(default.ui, stdtoolbars.inc) for inspiration. Also have a look at 
the file at

http://lyx-toolbar.atspace.org/
It's for 1.5, but it works for 1.6 (may need a few changes to be 100% 
correct).


You put your modified ui in inc files in your ui folder and if they have 
the same name, that should be enough.


Best regards,

Olivier

(*) http://wiki.lyx.org/LyX/SystemDir
(**) http://wiki.lyx.org/LyX/UserDir



Thanks in advance,

Sergio








gnuplot in Lyx not working?

2009-12-10 Thread Peter Kint

Hi,

I'm trying to make mathematical graphs in my Lyx documents.

In the pgf/tikz manual on p 224 is the following code/example:

\begin{tikzpicture}[domain=0:4]
  \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
  \draw[-] (-0.2,0) -- (4.2,0) node[right] {$x$};
  \draw[-] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
  \draw[color=red]plot[id=x]   function{x}   node[right] {$f(x) 
=x$};
  \draw[color=blue]   plot[id=sin] function{sin(x)}   node[right] {$f(x) = 
\sin x$};
  \draw[color=orange] plot[id=exp] function{0.05*exp(x)} node[right] {$f(x) = 
\frac{1}{20} \mathrm e^x$};
\end{tikzpicture}


When I include it in a box in my Lyx document (InsertFileChild Document) I 
get a very incomplete and crippled output.

How can I get this working properly??

Thx for reading.




  
_
Lentekriebels? Speel samen met je vrienden de spelletjes die Windows Live je 
aanbiedt!
http://www.messengerbillboard.be/nl/play

gnuplot in Lyx not working?

2009-12-10 Thread peter kint
Hi,

I'm trying to make mathematical graphs in my Lyx documents.

In the pgf/tikz manual on p 224 is the following code/example:

\begin{tikzpicture}[domain=0:4]
 \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
 \draw[-] (-0.2,0) -- (4.2,0) node[right] {$x$};
 \draw[-] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
 \draw[color=red] plot[id=x]   function{x}  node[right] {$f(x) =x$};
 \draw[color=blue] plot[id=sin] function{sin(x)}node[right] {$f(x) = \sin 
x$};
\end{tikzpicture}

When I include it in a box in my Lyx document (InsertFileChild Document) I get
a very incomplete and crippled output.

How can I get this working properly??

Thx for reading.




Re: gnuplot in Lyx not working?

2009-12-10 Thread Jürgen Spitzmüller
Peter Kint wrote:

 When I include it in a box in my Lyx document (InsertFileChild Document)
 I get a very incomplete and crippled output.
 
 How can I get this working properly??

Did you load the necessary pgf/tikz packages in the preamble?

Jürgen




Re: gnuplot in Lyx not working?

2009-12-10 Thread peter kint
Jürgen Spitzmüller sp...@... writes:

 
 Peter Kint wrote:
 
  When I include it in a box in my Lyx document (InsertFileChild Document)
  I get a very incomplete and crippled output.
  
  How can I get this working properly??
 
 Did you load the necessary pgf/tikz packages in the preamble?
 
 Jürgen
 
 

Hi,
Thx for answering.
These are in my preamble:
 \usepackage{pgfplots}
 \usepackage{pgf,tikz}
 \usetikzlibrary{arrows}
 \usetikzlibrary{trees} 
 \usepackage{verbatim}
Peter







How does Lyx remember certain things?

2009-12-10 Thread danielpferreira

Hi!
I'm a new user and I'm getting some strange behaviour in Lyx.

I'm creating a BibTex file (using JabRef) and including it in Lyx. It's all
working fine (it shows up in the DIV file, it allows referencing, etc).

But sometimes a certain entry in the .bib file generates some bug and Lyx
can't compile the DIV preview (BTW, I dont really understand the error
messages Lyx shows me - or how/where to fix my code based on them, but I'll
leave that to another post). So I undo the last thing I've done in the .bib
file, wich theorically would restore me to a stable situation.

BUT lyx continues giving the same error message. SOmetimes I even exclude
from the .bib file the whole entry that gave the problem in the first place,
but lyx continues giving errors (oddly, in the error message, it shows some
code that i THINK shouldnt even exist anymore, since I deleted the
offfending entry).

The only way this is solved is if I close and reopen the .lyx file. It
looks like this is necessary to make Lyx forget about what happened...

Anyways, I guess my questions are:
1) Did my explanation make sense? :)
2) Is this a known behaviour/bug in Lyx?
3) If this is a bug, how can I fix it?

Keep in mind I'm not a programmer, and I'm new to Lyx, Latex, bibtex,
jabref, etc..
I'm one of the few (I guess) art students trying to  use LaTex to write a
thesis.

Thanks in advance (and sorry about my weak english).
D
-- 
View this message in context: 
http://n2.nabble.com/How-does-Lyx-remember-certain-things-tp4145768p4145768.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How does Lyx remember certain things?

2009-12-10 Thread Manolo Martí­nez
A similar thing happened to me some time ago and it turned out that I 
was ammending not the bibtex file that LyX was using, but a backup.


I know I'm sillier than many, but, just in case, make sure you are 
ammending the bibtex file LyX is using :)


Manolo

danielpferreira escribió:

Hi!
I'm a new user and I'm getting some strange behaviour in Lyx.

I'm creating a BibTex file (using JabRef) and including it in Lyx. It's all
working fine (it shows up in the DIV file, it allows referencing, etc).

But sometimes a certain entry in the .bib file generates some bug and Lyx
can't compile the DIV preview (BTW, I dont really understand the error
messages Lyx shows me - or how/where to fix my code based on them, but I'll
leave that to another post). So I undo the last thing I've done in the .bib
file, wich theorically would restore me to a stable situation.

BUT lyx continues giving the same error message. SOmetimes I even exclude
from the .bib file the whole entry that gave the problem in the first place,
but lyx continues giving errors (oddly, in the error message, it shows some
code that i THINK shouldnt even exist anymore, since I deleted the
offfending entry).

The only way this is solved is if I close and reopen the .lyx file. It
looks like this is necessary to make Lyx forget about what happened...

Anyways, I guess my questions are:
1) Did my explanation make sense? :)
2) Is this a known behaviour/bug in Lyx?
3) If this is a bug, how can I fix it?

Keep in mind I'm not a programmer, and I'm new to Lyx, Latex, bibtex,
jabref, etc..
I'm one of the few (I guess) art students trying to  use LaTex to write a
thesis.

Thanks in advance (and sorry about my weak english).
D
  




symbol Diamond in toolbar

2009-12-10 Thread Sergio Celani

Hello

There any reason to not display the symbol Diamond. in the toolbar ?
There exist  diamond and diamondsuit, but bot Diamond.

Any chance to include this symbol ?

Thank very

Sergio


Re: gnuplot in Lyx not working?

2009-12-10 Thread Jürgen Spitzmüller
peter kint wrote:

 These are in my preamble:
 \usepackage{pgfplots}
 \usepackage{pgf,tikz}
 \usetikzlibrary{arrows}
 \usetikzlibrary{trees}
 \usepackage{verbatim}

Putting this in the preamble and including the tikz code from your previous 
post as ERT compiles fine for me.

What error messages do you get? Could you post an example file?

Jürgen



Re: How does Lyx remember certain things?

2009-12-10 Thread rgheck

On 12/10/2009 10:03 AM, Manolo Martí­nez wrote:
A similar thing happened to me some time ago and it turned out that I 
was ammending not the bibtex file that LyX was using, but a backup.


I know I'm sillier than many, but, just in case, make sure you are 
ammending the bibtex file LyX is using :)


The reason this kind of thing happens is because LyX generates a bunch 
of temporary files when it exports DVI, etc, and sometimes it can happen 
that the old temporaries don't get over-written, or LaTeX itself is 
still using some old aux file, etc. These are bugs, but also a fact of 
life


rh


Manolo

danielpferreira escribió:

Hi!
I'm a new user and I'm getting some strange behaviour in Lyx.

I'm creating a BibTex file (using JabRef) and including it in Lyx. 
It's all

working fine (it shows up in the DIV file, it allows referencing, etc).

But sometimes a certain entry in the .bib file generates some bug and 
Lyx

can't compile the DIV preview (BTW, I dont really understand the error
messages Lyx shows me - or how/where to fix my code based on them, 
but I'll
leave that to another post). So I undo the last thing I've done in 
the .bib

file, wich theorically would restore me to a stable situation.

BUT lyx continues giving the same error message. SOmetimes I even 
exclude
from the .bib file the whole entry that gave the problem in the first 
place,
but lyx continues giving errors (oddly, in the error message, it 
shows some

code that i THINK shouldnt even exist anymore, since I deleted the
offfending entry).

The only way this is solved is if I close and reopen the .lyx file. It
looks like this is necessary to make Lyx forget about what happened...

Anyways, I guess my questions are:
1) Did my explanation make sense? :)
2) Is this a known behaviour/bug in Lyx?
3) If this is a bug, how can I fix it?

Keep in mind I'm not a programmer, and I'm new to Lyx, Latex, bibtex,
jabref, etc..
I'm one of the few (I guess) art students trying to  use LaTex to 
write a

thesis.

Thanks in advance (and sorry about my weak english).
D




Re: How does Lyx remember certain things?

2009-12-10 Thread Manveru
2009/12/10 danielpferreira danielpferre...@yahoo.com.br:
[...]
 But sometimes a certain entry in the .bib file generates some bug and Lyx
 can't compile the DIV preview (BTW, I dont really understand the error
 messages Lyx shows me - or how/where to fix my code based on them, but I'll
 leave that to another post). So I undo the last thing I've done in the .bib
 file, wich theorically would restore me to a stable situation.
[...]

The most common erroneous situation with BibTeX is to using some
non-ascii character in the BibTeX enty - JabRef allows this, but this
is not correct as BibTeX was/is/will be unable to handle that.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: How does Lyx remember certain things?

2009-12-10 Thread Wolfgang Engelmann
Am Thursday 10 December 2009 16:14:12 schrieb rgheck:
 On 12/10/2009 10:03 AM, Manolo Martí­nez wrote:
  A similar thing happened to me some time ago and it turned out that I
  was ammending not the bibtex file that LyX was using, but a backup.
 
  I know I'm sillier than many, but, just in case, make sure you are
  ammending the bibtex file LyX is using :)

 The reason this kind of thing happens is because LyX generates a bunch
 of temporary files when it exports DVI, etc, and sometimes it can happen
 that the old temporaries don't get over-written, or LaTeX itself is
 still using some old aux file, etc. These are bugs, but also a fact of
 life

 rh

what I do in situations like this one is to save the lyx file under a 
different name and use that one.
Wolfgang

  Manolo
 
  danielpferreira escribió:
  Hi!
  I'm a new user and I'm getting some strange behaviour in Lyx.
 
  I'm creating a BibTex file (using JabRef) and including it in Lyx.
  It's all
  working fine (it shows up in the DIV file, it allows referencing, etc).
 
  But sometimes a certain entry in the .bib file generates some bug and
  Lyx
  can't compile the DIV preview (BTW, I dont really understand the error
  messages Lyx shows me - or how/where to fix my code based on them,
  but I'll
  leave that to another post). So I undo the last thing I've done in
  the .bib
  file, wich theorically would restore me to a stable situation.
 
  BUT lyx continues giving the same error message. SOmetimes I even
  exclude
  from the .bib file the whole entry that gave the problem in the first
  place,
  but lyx continues giving errors (oddly, in the error message, it
  shows some
  code that i THINK shouldnt even exist anymore, since I deleted the
  offfending entry).
 
  The only way this is solved is if I close and reopen the .lyx file. It
  looks like this is necessary to make Lyx forget about what happened...
 
  Anyways, I guess my questions are:
  1) Did my explanation make sense? :)
  2) Is this a known behaviour/bug in Lyx?
  3) If this is a bug, how can I fix it?
 
  Keep in mind I'm not a programmer, and I'm new to Lyx, Latex, bibtex,
  jabref, etc..
  I'm one of the few (I guess) art students trying to  use LaTex to
  write a
  thesis.
 
  Thanks in advance (and sorry about my weak english).
  D



-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Re: gnuplot in Lyx not working?

2009-12-10 Thread peter kint
Jürgen Spitzmüller sp...@... writes:

 
 peter kint wrote:
 
  These are in my preamble:
  \usepackage{pgfplots}
  \usepackage{pgf,tikz}
  \usetikzlibrary{arrows}
  \usetikzlibrary{trees}
  \usepackage{verbatim}
 
 Putting this in the preamble and including the tikz code from your previous 
 post as ERT compiles fine for me.
 
 What error messages do you get? Could you post an example file?
 
 Jürgen
 
 

Example (InsertFileChild Document 'probeersel.tex')
\begin{tikzpicture}[domain=0:4]
  \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
  \draw[-] (-0.2,0) -- (4.2,0) node[right] {$x$};
  \draw[-] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
  \draw[color=red]plot[id=x]   function{x}  node[right] {$f(x) =x$};
  \draw[color=blue] plot[id=sin] function{sin(x)} node[right] {$f(x) = \sin x$};
  \draw[color=orange] plot[id=exp] function{0.05*exp(x)} 
node[right] {$f(x) = \frac{1}{20} \mathrm e^x$};
\end{tikzpicture}

I get no errors, only a couple of warnings in my Latex Log(which I suspect are
related):

 ...
 system(gnuplot probeersel.x.gnuplot)...disabled.
 Package pgf Warning: Plot data file `probeersel.x.table' not found. on input li
 ne 5.
 \openout3 = `probeersel.sin.gnuplot'.
 system(gnuplot probeersel.sin.gnuplot)...disabled.
 Package pgf Warning: Plot data file `probeersel.sin.table' not found. on input 
 line 6.
 \openout3 = `probeersel.exp.gnuplot'.
 system(gnuplot probeersel.exp.gnuplot)...disabled.
 Package pgf Warning: Plot data file `probeersel.exp.table' not found. on input 
 line 7.

The output (pdflatex) contains only a grid, x-axis and y-axis, labels printed
all over each other and NO CURVES. Pretty sad...:-)

Thx again for answering.
Peter





Re: LyX Server on XP?

2009-12-10 Thread Murat Yildizoglu
Thank you very much Siegfried!
That works with a small correction:
In Jabref, I had to put \\.\pipe\lyxserver.in
given that in LyX I have used your suggestion below \\.\pipe\lyxserver

Regards,

Murat

2009/12/9 Siegfried Meunier-Guttin-Cluzel meun...@coria.fr:
 I work on Windows XP pro with the last version 1.6.5 from the alt installer.

 Here what I did :
 ToolsPreferencesDirectories
 Lyxserver :
 \\.\pipe\lyxserver
 In JabRef :
 OptionsPreferences
 There's a button to configure the lyx server
 I put
 \\.\pipe\lyxpipe.in

 The \\.\pipe\lyxpipe is a notation in Windows to use a named pipe, so I
 don't think there's really a directory attached to this object.

 Now, I can use the Lyx button of JabRef to automatically insert a reference
 into my Lyx document.

 Hope it helps.

 Siegfried.






-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: The layout file requested by this document is not usable.

2009-12-10 Thread wurmglow


lcaruso wrote:
 
 Lyx? Latex? Annoyances.
 For several months I'm searching for an answer to this:
 
 The layout file requested by this document,x.layout,
 is not usable. This is probably because a LaTeX
 class or style file required by it is not available. 
 See the Customization documentation
 for more information.
 LyX will not be able to produce output.
 
 You can find answer tentatives, no one with successful application. Void
 hints.
 
 It seems a simple problem. But no answer.
 No matter if you're using annoying-windows or annoying-linux. The same
 problem, the same no-anwer.
 
 This is probably because a LaTeX class or style file required by it is
 not available.
 Wow! So simple? If this is the problem, so let we know, for:
 x.layout --- what x.cls and x.sty are required and ...
 where to find it, and wher to throw it whether in linux or windows and ...
 presto!
 
 The most inconceivable is why, when we download and install huge ammounts
 of software and docs to install LYX and the need, infinite, support packs,
 there is the lack of classes or styles!!! 
 
 It should be a test of this (layout) features prior to distribute these
 packs! 
 
 I'm writing because I'm intending to use and make other people use Latex
 in a average-user reasonable amount of effort.
 And because I'm hopping someone with more understanding will offer us the
 solution!
 
 Thank you.
 
 

Hi there,

I've just discovered this problem myself after an update from LyX 1.6.4 to
1.6.5

I tried to use a template: new from template on the file menu and got a
warning that whatever  I was trying to do would not output as the  layout
class was not available.

I did  a search on my windows box for *.layout and found 165 (a coincidence
of numeration there! Lyx1.6.5 and 165 files) layout files in this folder:

your root drive:\Program Files\LyX 1.6.5\Resources\layouts

I tried this:

new from template svmono_book.lyx

blah blah blah ...LyX will not be able to produce output. Template then
finishes loading. 

Go to tools document settings in your usual way.
click layout button and navigate to your root drive:\Program Files\LyX
1.6.5\Resources\layouts and choose related layout. In my case it was
svmono.layout

I got another pile of warnings saying I had chosen a layout that was not
part of the system files and that probably my machine would explode - the
last bit is not true.

But what I can't fathom is this. The .layout files are quite clearly part of
the default installation and quite clearly belong to the great swathe of
unavailable classes seen on the documents settings.

I haven't seen this happen before and I am unhappy about it.

The workaround I have found is unacceptable as I shouldn't be receiving
warnings about things that are visible within system folders not being
there.

I do wish someone else could explain this,

wurmglow

-- 
View this message in context: 
http://n2.nabble.com/The-layout-file-requested-by-this-document-is-not-usable-tp4008126p4147568.html
Sent from the LyX - Users mailing list archive at Nabble.com.


problem opening lyx file

2009-12-10 Thread Martin Sladeczek

Hello Lyx Team,

i am writing a quite important thesis at the moment. When I try to open my lyx 
file there is the following error message: 
C:/.../Hausarbeit Lourdes.lyx ist kein lesbares Lyx-Dokument.. In the mail 
archive i have seen, that you could help somebody with the same problem 
(http://www.mail-archive.com/lyx-users@lists.lyx.org/msg74655.html). It worked 
for many times and i am a bit agitated now because i have to hand it in in a 
several days. I changed nothing, just saved, shut down, started up the pc, 
launched lyx.
I hope your are able to help me, i attached the document,

thanking you in anticipation

Martin Sladeczek
  
_
http://redirect.gimas.net/?n=M0912xIWHM2
Hotmail - Mein E-Mail Anbieter ohne Kosten

Re: problem opening lyx file

2009-12-10 Thread Vincent van Ravesteijn

Martin Sladeczek schreef:

I hope your are able to help me, i attached the document,
  


Did you ?

Vincent


Re: The layout file requested by this document is not usable.

2009-12-10 Thread Vincent van Ravesteijn



I've just discovered this problem myself after an update from LyX 1.6.4 to
1.6.5


But what I can't fathom is this. The .layout files are quite clearly part of
the default installation and quite clearly belong to the great swathe of
unavailable classes seen on the documents settings.
  


A lot of these classes are supplied by publishers. We only include the 
layout files for those classes to ease the use of them. It's not our 
task to distribute third-party classes.


So, if you want to use svmono.layout you need to download the class file 
from the Springer website:


ftp://ftp.springer.de/pub/tex/latex/svmonogl/styles/svmono.cls

I install this file in the directory:

C:\Program Files\MiKTeX 2.7\tex\latex\svmono (don't know whether that's 
the best place)


Then, you start MiKTeX Settings and choose to refresh the file name 
database (FNDB).


After that you can Reconfigure LyX with Tools-Reconfigure.

Now you can use the book (Springer svmono) document class and the 
template.

I haven't seen this happen before and I am unhappy about it.

  

In that case, I would suggest to use a document class which is available.


I do wish someone else could explain this,

wurmglow
  


Vincent


Re: The layout file requested by this document is not usable.

2009-12-10 Thread Jean-Marc Lasgouttes

Le 10/12/2009 21:19, wurmglow a écrit :


click layout button and navigate to your root drive:\Program Files\LyX
1.6.5\Resources\layouts and choose related layout. In my case it was
svmono.layout

I got another pile of warnings saying I had chosen a layout that was not
part of the system files and that probably my machine would explode - the
last bit is not true.

But what I can't fathom is this. The .layout files are quite clearly part of
the default installation and quite clearly belong to the great swathe of
unavailable classes seen on the documents settings.


A lyx layout file is just a file that describes how a given LaTeX 
(svmono.cls) class file behaves. This is needed because LyX relies on
LaTeX to do the output. So what LyX tries to do (but without success, it 
seems) is to tell you that you will not be able to produce useful

output.

My guess is that your LaTeX (miktex) installation is broken in some
way. Did you have an active network connection when you installed LyX?
This is needed on windows, so that it downloads all missing stuff for
you.

JMarc


Subfloats alignment

2009-12-10 Thread Anders Host-Madsen
I have two figures of different height that I want side-by-side.
I use subfloats.
LyX (and Latex) always aligns them at the bottom edge. How
can I align them at the top edge (or center them)? I have tried
to insert vspace on either side, but it has no effect. Any
suggestions?



Re: LyX Server on XP?

2009-12-10 Thread Uwe Stöhr

Thank you very much Siegfried!
That works with a small correction:...


Can everybody involved in this thread please do other users the favor and add to our LyX Wiki how a 
LyXServer is set up on Windows?:


http://wiki.lyx.org/LyX/LyXServer

Many thanks in advance and regards
Uwe


Re: symbol Diamond in toolbar

2009-12-10 Thread Uwe Stöhr

Sergio Celani schrieb:


There any reason to not display the symbol Diamond. in the toolbar ?
There exist  diamond and diamondsuit, but bot Diamond.


This is a bug that we'll fix for the next release.


Any chance to include this symbol ?


replace you version of the file sdttoolbars.inc with the attached one.

thanks for the report and regards
Uwe
# -*- text -*-

# file stdtoolbars.inc
# This file is part of LyX, the document processor.
# Licence details can be found in the file COPYING.

# author Jean-Marc Lasgouttes
# author John Levon

# Full author contact details are available in file CREDITS.

# The interface is designed (partially) following the KDE Human Interface
# Guidelines (http://usability.kde.org/hig/)

# Casing rules for The tooltip:
# Capitalize the first letter of the first word, and any other words normally
# capitalized in sentences, such as application names.
#
# Casing Rules for the GUI Name:
# Capitalize all words in the element, with the following exceptions: 
# * Articles: a, an, the. 
# * Conjunctions: and, but, for, not, so, yet ...  
# * Prepositions of three or fewer letters: at, for, by, in, to ...
#
# (http://library.gnome.org/devel/hig-book/stable/design-text-labels.html.en)

# A Toolbar starts like :
#
# Toolbar name GUI Name
#
# Only seven commands are allowed inside the Toolbar and End
# directives:
#   Item The tooltip action [parameter] adds an icon to the toolbar 
performing
#  action parameter
#  Examples:
#  Item Small font font-size small
#  Item Emphasized set-emph
#
#   Layouts adds the layouts combo-box to the toolbar
#
#   Separator adds some spacing to the toolbar
#
#   Minibuffer adds the command buffer (Qt only, only one may exist)
#
#   TableInsert The tooltip adds a special widget for quick insertion of 
tables
#
#   PopupMenu name The tooltip
#
#   ... inserts a button with a popup menu derived from Toolbar name
#
#   IconPalette name The tooltip
#
#   ... inserts a button with a popup iconpalette derived from Toolbar name
#
#
# The icons are found in the lib/images/ direcory under the name
# action.png or action_parameter.png, except for math-insert, which
# is e.g. lib/image/math/sum.png. Note that some characters are
# replaced (e.g. ')' - rbracket).
#
#  All other lyx commands will get a unknown icon.
#
# This is the default toolbar:

ToolbarSet

Toolbar standard Standard
Layouts
Item New document buffer-new
Item Open document file-open
Item Save document buffer-write
Item Print document dialog-show print
Separator
Item Check spelling dialog-show spellchecker
Separator
Item Undo undo
Item Redo redo
Item Cut cut
Item Copy copy
Item Paste paste
Item Find and replace dialog-show findreplace
Item Navigate back bookmark-goto 0
Separator
Item Toggle emphasis font-emph
Item Toggle noun font-noun
Item Apply last textstyle-apply
Separator
Item Insert math math-mode
Item Insert graphics dialog-show-new-inset graphics
TableInsert Insert table
Separator
Item Toggle outline dialog-toggle toc
Item Toggle math toolbar toolbar-toggle math
Item Toggle table toolbar toolbar-toggle table
End

Toolbar extra Extra
Item Default layout
Item Numbered list layout Enumerate
Item Itemized list layout Itemize
Item List layout List
Item Description layout Description
Item Increase depth depth-increment
Item Decrease depth depth-decrement
Separator
Item Insert figure float float-insert figure
Item Insert table float float-insert table
Item Insert label label-insert
Item Insert cross-reference dialog-show-new-inset ref
Item Insert citation dialog-show-new-inset citation
Item Insert index entry index-insert
Item Insert nomenclature entry nomencl-insert
Separator
Item Insert footnote footnote-insert
Item Insert margin note marginalnote-insert
Item Insert note note-insert
Item Insert box box-insert Frameless
Item Insert hyperlink href-insert
Item Insert TeX code ert-insert
Item Insert math macro math-macro newmacroname newcommand
Item Include file dialog-show-new-inset include
Separator
Item Text style dialog-show character
Item Paragraph settings layout-paragraph
Item 

Re: Subfloats alignment

2009-12-10 Thread Uwe Stöhr

Anders Host-Madsen schrieb:


I have two figures of different height that I want side-by-side.
I use subfloats.
LyX (and Latex) always aligns them at the bottom edge. How
can I align them at the top edge (or center them)?


This is tricky. I found no better solution than by using a table cell for each 
subfloat.
Please try out the attached file (replace the box with an image) and report 
back if this works.

regards Uwe


newfile1.lyx
Description: application/lyx


Re: LyX Server on XP?

2009-12-10 Thread Asm warrior

On 2009-12-11 9:30, Uwe Stöhr wrote:

Thank you very much Siegfried!
That works with a small correction:...


Can everybody involved in this thread please do other users the favor
and add to our LyX Wiki how a LyXServer is set up on Windows?:

http://wiki.lyx.org/LyX/LyXServer

Many thanks in advance and regards
Uwe

I just want to edit that wiki page, but how can I register a wiki user 
in the http://wiki.lyx.org ?


It seems I can't find a register button in the home page of lyx wiki.

Thanks!





Re: LyX Server on XP?

2009-12-10 Thread Asm warrior

On 2009-12-11 12:23, Asm warrior wrote:

On 2009-12-11 9:30, Uwe Stöhr wrote:

Thank you very much Siegfried!
That works with a small correction:...


Can everybody involved in this thread please do other users the favor
and add to our LyX Wiki how a LyXServer is set up on Windows?:

http://wiki.lyx.org/LyX/LyXServer

Many thanks in advance and regards
Uwe


I just want to edit that wiki page, but how can I register a wiki user
in the http://wiki.lyx.org ?

It seems I can't find a register button in the home page of lyx wiki.

Thanks!





Done, I need to add a user name before I save the edited page.



Re: Symbols panel with my symbols

2009-12-10 Thread Olivier Ripoll

Sergio Celani wrote:

Hi


Is it possible to create a new symbols panel or toolbar with the buttons 
for frequently used symbols ?


Where can I find instructions on this topic ?


http://wiki.lyx.org/LyX/UserInterface

You can try safely quite easily in LyX: the default files are in the 
system folder(*) and your custom files (interface definition, 
preferences, ...) are in your home folder(**). So if you mess up 
something with your trials, delete them and you get the defaults back.


What you want is to look at the files in the system "ui" folder 
("default.ui", "stdtoolbars.inc") for inspiration. Also have a look at 
the file at

http://lyx-toolbar.atspace.org/
It's for 1.5, but it works for 1.6 (may need a few changes to be 100% 
correct).


You put your modified ui in inc files in your ui folder and if they have 
the same name, that should be enough.


Best regards,

Olivier

(*) http://wiki.lyx.org/LyX/SystemDir
(**) http://wiki.lyx.org/LyX/UserDir



Thanks in advance,

Sergio








gnuplot in Lyx not working?

2009-12-10 Thread Peter Kint

Hi,

I'm trying to make mathematical graphs in my Lyx documents.

In the pgf/tikz manual on p 224 is the following code/example:

\begin{tikzpicture}[domain=0:4]
  \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
  \draw[->] (-0.2,0) -- (4.2,0) node[right] {$x$};
  \draw[->] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
  \draw[color=red]plot[id=x]   function{x}   node[right] {$f(x) 
=x$};
  \draw[color=blue]   plot[id=sin] function{sin(x)}   node[right] {$f(x) = 
\sin x$};
  \draw[color=orange] plot[id=exp] function{0.05*exp(x)} node[right] {$f(x) = 
\frac{1}{20} \mathrm e^x$};
\end{tikzpicture}


When I include it in a box in my Lyx document (Insert>File>Child Document) I 
get a very incomplete and crippled output.

How can I get this working properly??

Thx for reading.




  
_
Lentekriebels? Speel samen met je vrienden de spelletjes die Windows Live je 
aanbiedt!
http://www.messengerbillboard.be/nl/play

gnuplot in Lyx not working?

2009-12-10 Thread peter kint
Hi,

I'm trying to make mathematical graphs in my Lyx documents.

In the pgf/tikz manual on p 224 is the following code/example:

\begin{tikzpicture}[domain=0:4]
 \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
 \draw[->] (-0.2,0) -- (4.2,0) node[right] {$x$};
 \draw[->] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
 \draw[color=red] plot[id=x]   function{x}  node[right] {$f(x) =x$};
 \draw[color=blue] plot[id=sin] function{sin(x)}node[right] {$f(x) = \sin 
x$};
\end{tikzpicture}

When I include it in a box in my Lyx document (Insert>File>Child Document) I get
a very incomplete and crippled output.

How can I get this working properly??

Thx for reading.




Re: gnuplot in Lyx not working?

2009-12-10 Thread Jürgen Spitzmüller
Peter Kint wrote:

> When I include it in a box in my Lyx document (Insert>File>Child Document)
> I get a very incomplete and crippled output.
> 
> How can I get this working properly??

Did you load the necessary pgf/tikz packages in the preamble?

Jürgen




Re: gnuplot in Lyx not working?

2009-12-10 Thread peter kint
Jürgen Spitzmüller  writes:

> 
> Peter Kint wrote:
> 
> > When I include it in a box in my Lyx document (Insert>File>Child Document)
> > I get a very incomplete and crippled output.
> > 
> > How can I get this working properly??
> 
> Did you load the necessary pgf/tikz packages in the preamble?
> 
> Jürgen
> 
> 

Hi,
Thx for answering.
These are in my preamble:
 \usepackage{pgfplots}
 \usepackage{pgf,tikz}
 \usetikzlibrary{arrows}
 \usetikzlibrary{trees} 
 \usepackage{verbatim}
Peter







How does Lyx "remember" certain things?

2009-12-10 Thread danielpferreira

Hi!
I'm a new user and I'm getting some strange behaviour in Lyx.

I'm creating a BibTex file (using JabRef) and including it in Lyx. It's all
working fine (it shows up in the DIV file, it allows referencing, etc).

But sometimes a certain entry in the .bib file generates some bug and Lyx
can't compile the DIV preview (BTW, I dont really understand the error
messages Lyx shows me - or how/where to fix my code based on them, but I'll
leave that to another post). So I undo the last thing I've done in the .bib
file, wich theorically would restore me to a stable situation.

BUT lyx continues giving the same error message. SOmetimes I even exclude
from the .bib file the whole entry that gave the problem in the first place,
but lyx continues giving errors (oddly, in the error message, it shows some
code that i THINK shouldnt even exist anymore, since I deleted the
offfending entry).

The only way this is "solved" is if I close and reopen the .lyx file. It
looks like this is necessary to make Lyx "forget" about what happened...

Anyways, I guess my questions are:
1) Did my explanation make sense? :)
2) Is this a known behaviour/bug in Lyx?
3) If this is a bug, how can I fix it?

Keep in mind I'm not a programmer, and I'm new to Lyx, Latex, bibtex,
jabref, etc..
I'm one of the few (I guess) art students trying to  use LaTex to write a
thesis.

Thanks in advance (and sorry about my weak english).
D
-- 
View this message in context: 
http://n2.nabble.com/How-does-Lyx-remember-certain-things-tp4145768p4145768.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How does Lyx "remember" certain things?

2009-12-10 Thread Manolo Martí­nez
A similar thing happened to me some time ago and it turned out that I 
was ammending not the bibtex file that LyX was using, but a backup.


I know I'm sillier than many, but, just in case, make sure you are 
ammending the bibtex file LyX is using :)


Manolo

danielpferreira escribió:

Hi!
I'm a new user and I'm getting some strange behaviour in Lyx.

I'm creating a BibTex file (using JabRef) and including it in Lyx. It's all
working fine (it shows up in the DIV file, it allows referencing, etc).

But sometimes a certain entry in the .bib file generates some bug and Lyx
can't compile the DIV preview (BTW, I dont really understand the error
messages Lyx shows me - or how/where to fix my code based on them, but I'll
leave that to another post). So I undo the last thing I've done in the .bib
file, wich theorically would restore me to a stable situation.

BUT lyx continues giving the same error message. SOmetimes I even exclude
from the .bib file the whole entry that gave the problem in the first place,
but lyx continues giving errors (oddly, in the error message, it shows some
code that i THINK shouldnt even exist anymore, since I deleted the
offfending entry).

The only way this is "solved" is if I close and reopen the .lyx file. It
looks like this is necessary to make Lyx "forget" about what happened...

Anyways, I guess my questions are:
1) Did my explanation make sense? :)
2) Is this a known behaviour/bug in Lyx?
3) If this is a bug, how can I fix it?

Keep in mind I'm not a programmer, and I'm new to Lyx, Latex, bibtex,
jabref, etc..
I'm one of the few (I guess) art students trying to  use LaTex to write a
thesis.

Thanks in advance (and sorry about my weak english).
D
  




symbol Diamond in toolbar

2009-12-10 Thread Sergio Celani

Hello

There any reason to not display the symbol Diamond. in the toolbar ?
There exist  diamond and diamondsuit, but bot Diamond.

Any chance to include this symbol ?

Thank very

Sergio


Re: gnuplot in Lyx not working?

2009-12-10 Thread Jürgen Spitzmüller
peter kint wrote:

> These are in my preamble:
> \usepackage{pgfplots}
> \usepackage{pgf,tikz}
> \usetikzlibrary{arrows}
> \usetikzlibrary{trees}
> \usepackage{verbatim}

Putting this in the preamble and including the tikz code from your previous 
post as ERT compiles fine for me.

What error messages do you get? Could you post an example file?

Jürgen



Re: How does Lyx "remember" certain things?

2009-12-10 Thread rgheck

On 12/10/2009 10:03 AM, Manolo Martí­nez wrote:
A similar thing happened to me some time ago and it turned out that I 
was ammending not the bibtex file that LyX was using, but a backup.


I know I'm sillier than many, but, just in case, make sure you are 
ammending the bibtex file LyX is using :)


The reason this kind of thing happens is because LyX generates a bunch 
of temporary files when it exports DVI, etc, and sometimes it can happen 
that the old temporaries don't get over-written, or LaTeX itself is 
still using some old aux file, etc. These are bugs, but also a fact of 
life


rh


Manolo

danielpferreira escribió:

Hi!
I'm a new user and I'm getting some strange behaviour in Lyx.

I'm creating a BibTex file (using JabRef) and including it in Lyx. 
It's all

working fine (it shows up in the DIV file, it allows referencing, etc).

But sometimes a certain entry in the .bib file generates some bug and 
Lyx

can't compile the DIV preview (BTW, I dont really understand the error
messages Lyx shows me - or how/where to fix my code based on them, 
but I'll
leave that to another post). So I undo the last thing I've done in 
the .bib

file, wich theorically would restore me to a stable situation.

BUT lyx continues giving the same error message. SOmetimes I even 
exclude
from the .bib file the whole entry that gave the problem in the first 
place,
but lyx continues giving errors (oddly, in the error message, it 
shows some

code that i THINK shouldnt even exist anymore, since I deleted the
offfending entry).

The only way this is "solved" is if I close and reopen the .lyx file. It
looks like this is necessary to make Lyx "forget" about what happened...

Anyways, I guess my questions are:
1) Did my explanation make sense? :)
2) Is this a known behaviour/bug in Lyx?
3) If this is a bug, how can I fix it?

Keep in mind I'm not a programmer, and I'm new to Lyx, Latex, bibtex,
jabref, etc..
I'm one of the few (I guess) art students trying to  use LaTex to 
write a

thesis.

Thanks in advance (and sorry about my weak english).
D




Re: How does Lyx "remember" certain things?

2009-12-10 Thread Manveru
2009/12/10 danielpferreira :
[...]
> But sometimes a certain entry in the .bib file generates some bug and Lyx
> can't compile the DIV preview (BTW, I dont really understand the error
> messages Lyx shows me - or how/where to fix my code based on them, but I'll
> leave that to another post). So I undo the last thing I've done in the .bib
> file, wich theorically would restore me to a stable situation.
[...]

The most common erroneous situation with BibTeX is to using some
non-ascii character in the BibTeX enty - JabRef allows this, but this
is not correct as BibTeX was/is/will be unable to handle that.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: How does Lyx "remember" certain things?

2009-12-10 Thread Wolfgang Engelmann
Am Thursday 10 December 2009 16:14:12 schrieb rgheck:
> On 12/10/2009 10:03 AM, Manolo Martí­nez wrote:
> > A similar thing happened to me some time ago and it turned out that I
> > was ammending not the bibtex file that LyX was using, but a backup.
> >
> > I know I'm sillier than many, but, just in case, make sure you are
> > ammending the bibtex file LyX is using :)
>
> The reason this kind of thing happens is because LyX generates a bunch
> of temporary files when it exports DVI, etc, and sometimes it can happen
> that the old temporaries don't get over-written, or LaTeX itself is
> still using some old aux file, etc. These are bugs, but also a fact of
> life
>
> rh

what I do in situations like this one is to save the lyx file under a 
different name and use that one.
Wolfgang
>
> > Manolo
> >
> > danielpferreira escribió:
> >> Hi!
> >> I'm a new user and I'm getting some strange behaviour in Lyx.
> >>
> >> I'm creating a BibTex file (using JabRef) and including it in Lyx.
> >> It's all
> >> working fine (it shows up in the DIV file, it allows referencing, etc).
> >>
> >> But sometimes a certain entry in the .bib file generates some bug and
> >> Lyx
> >> can't compile the DIV preview (BTW, I dont really understand the error
> >> messages Lyx shows me - or how/where to fix my code based on them,
> >> but I'll
> >> leave that to another post). So I undo the last thing I've done in
> >> the .bib
> >> file, wich theorically would restore me to a stable situation.
> >>
> >> BUT lyx continues giving the same error message. SOmetimes I even
> >> exclude
> >> from the .bib file the whole entry that gave the problem in the first
> >> place,
> >> but lyx continues giving errors (oddly, in the error message, it
> >> shows some
> >> code that i THINK shouldnt even exist anymore, since I deleted the
> >> offfending entry).
> >>
> >> The only way this is "solved" is if I close and reopen the .lyx file. It
> >> looks like this is necessary to make Lyx "forget" about what happened...
> >>
> >> Anyways, I guess my questions are:
> >> 1) Did my explanation make sense? :)
> >> 2) Is this a known behaviour/bug in Lyx?
> >> 3) If this is a bug, how can I fix it?
> >>
> >> Keep in mind I'm not a programmer, and I'm new to Lyx, Latex, bibtex,
> >> jabref, etc..
> >> I'm one of the few (I guess) art students trying to  use LaTex to
> >> write a
> >> thesis.
> >>
> >> Thanks in advance (and sorry about my weak english).
> >> D



-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Re: gnuplot in Lyx not working?

2009-12-10 Thread peter kint
Jürgen Spitzmüller  writes:

> 
> peter kint wrote:
> 
> > These are in my preamble:
> > \usepackage{pgfplots}
> > \usepackage{pgf,tikz}
> > \usetikzlibrary{arrows}
> > \usetikzlibrary{trees}
> > \usepackage{verbatim}
> 
> Putting this in the preamble and including the tikz code from your previous 
> post as ERT compiles fine for me.
> 
> What error messages do you get? Could you post an example file?
> 
> Jürgen
> 
> 

Example (Insert>File>Child Document 'probeersel.tex')
\begin{tikzpicture}[domain=0:4]
  \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
  \draw[->] (-0.2,0) -- (4.2,0) node[right] {$x$};
  \draw[->] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
  \draw[color=red]plot[id=x]   function{x}  node[right] {$f(x) =x$};
  \draw[color=blue] plot[id=sin] function{sin(x)} node[right] {$f(x) = \sin x$};
  \draw[color=orange] plot[id=exp] function{0.05*exp(x)} 
node[right] {$f(x) = \frac{1}{20} \mathrm e^x$};
\end{tikzpicture}

I get no errors, only a couple of warnings in my Latex Log(which I suspect are
related):

 ...
 system(gnuplot probeersel.x.gnuplot)...disabled.
 Package pgf Warning: Plot data file `probeersel.x.table' not found. on input li
 ne 5.
 \openout3 = `probeersel.sin.gnuplot'.
 system(gnuplot probeersel.sin.gnuplot)...disabled.
 Package pgf Warning: Plot data file `probeersel.sin.table' not found. on input 
 line 6.
 \openout3 = `probeersel.exp.gnuplot'.
 system(gnuplot probeersel.exp.gnuplot)...disabled.
 Package pgf Warning: Plot data file `probeersel.exp.table' not found. on input 
 line 7.

The output (pdflatex) contains only a grid, x-axis and y-axis, labels printed
all over each other and NO CURVES. Pretty sad...:-)

Thx again for answering.
Peter





Re: LyX Server on XP?

2009-12-10 Thread Murat Yildizoglu
Thank you very much Siegfried!
That works with a small correction:
In Jabref, I had to put \\.\pipe\lyxserver.in
given that in LyX I have used your suggestion below \\.\pipe\lyxserver

Regards,

Murat

2009/12/9 Siegfried Meunier-Guttin-Cluzel :
> I work on Windows XP pro with the last version 1.6.5 from the alt installer.
>
> Here what I did :
> Tools>Preferences>Directories
> Lyxserver :
> \\.\pipe\lyxserver
> In JabRef :
> Options>Preferences
> There's a button to configure the lyx server
> I put
> \\.\pipe\lyxpipe.in
>
> The \\.\pipe\lyxpipe is a notation in Windows to use a named pipe, so I
> don't think there's really a directory attached to this object.
>
> Now, I can use the Lyx button of JabRef to automatically insert a reference
> into my Lyx document.
>
> Hope it helps.
>
> Siegfried.
>
>
>



-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: The layout file requested by this document is not usable.

2009-12-10 Thread wurmglow


lcaruso wrote:
> 
> Lyx? Latex? Annoyances.
> For several months I'm searching for an answer to this:
> 
> "The layout file requested by this document,x.layout,
> is not usable. This is probably because a LaTeX
> class or style file required by it is not available. 
> See the Customization documentation
> for more information.
> LyX will not be able to produce output."
> 
> You can find answer tentatives, no one with successful application. Void
> hints.
> 
> It seems a simple problem. But no answer.
> No matter if you're using annoying-windows or annoying-linux. The same
> problem, the same no-anwer.
> 
> "This is probably because a LaTeX class or style file required by it is
> not available."
> Wow! So simple? If this is the problem, so let we know, for:
> x.layout --- what x.cls and x.sty are required and ...
> where to find it, and wher to throw it whether in linux or windows and ...
> presto!
> 
> The most inconceivable is why, when we download and install huge ammounts
> of software and docs to install LYX and the need, infinite, support packs,
> there is the lack of classes or styles!!! 
> 
> It should be a test of this (layout) features prior to distribute these
> packs! 
> 
> I'm writing because I'm intending to use and make other people use Latex
> in a average-user reasonable amount of effort.
> And because I'm hopping someone with more understanding will offer us the
> solution!
> 
> Thank you.
> 
> 

Hi there,

I've just discovered this problem myself after an update from LyX 1.6.4 to
1.6.5

I tried to use a template: new from template on the file menu and got a
warning that whatever  I was trying to do would not output as the  layout
class was not available.

I did  a search on my windows box for *.layout and found 165 (a coincidence
of numeration there! Lyx1.6.5 and 165 files) layout files in this folder:

your root drive:\Program Files\LyX 1.6.5\Resources\layouts

I tried this:

new from template svmono_book.lyx

blah blah blah ...LyX will not be able to produce output. Template then
finishes loading. 

Go to tools document settings in your usual way.
click layout button and navigate to your root drive:\Program Files\LyX
1.6.5\Resources\layouts and choose related layout. In my case it was
svmono.layout

I got another pile of warnings saying I had chosen a layout that was not
part of the system files and that probably my machine would explode - the
last bit is not true.

But what I can't fathom is this. The .layout files are quite clearly part of
the default installation and quite clearly belong to the great swathe of
unavailable classes seen on the documents settings.

I haven't seen this happen before and I am unhappy about it.

The workaround I have found is unacceptable as I shouldn't be receiving
warnings about things that are visible within system folders not being
there.

I do wish someone else could explain this,

wurmglow

-- 
View this message in context: 
http://n2.nabble.com/The-layout-file-requested-by-this-document-is-not-usable-tp4008126p4147568.html
Sent from the LyX - Users mailing list archive at Nabble.com.


problem opening lyx file

2009-12-10 Thread Martin Sladeczek

Hello Lyx Team,

i am writing a quite important thesis at the moment. When I try to open my lyx 
file there is the following error message: 
"C:/.../Hausarbeit Lourdes.lyx ist kein lesbares Lyx-Dokument.". In the mail 
archive i have seen, that you could help somebody with the same problem 
(http://www.mail-archive.com/lyx-users@lists.lyx.org/msg74655.html). It worked 
for many times and i am a bit agitated now because i have to hand it in in a 
several days. I changed nothing, just saved, shut down, started up the pc, 
launched lyx.
I hope your are able to help me, i attached the document,

thanking you in anticipation

Martin Sladeczek
  
_
http://redirect.gimas.net/?n=M0912xIWHM2
Hotmail - Mein E-Mail Anbieter ohne Kosten

Re: problem opening lyx file

2009-12-10 Thread Vincent van Ravesteijn

Martin Sladeczek schreef:

I hope your are able to help me, i attached the document,
  


Did you ?

Vincent


Re: The layout file requested by this document is not usable.

2009-12-10 Thread Vincent van Ravesteijn



I've just discovered this problem myself after an update from LyX 1.6.4 to
1.6.5


But what I can't fathom is this. The .layout files are quite clearly part of
the default installation and quite clearly belong to the great swathe of
unavailable classes seen on the documents settings.
  


A lot of these classes are supplied by publishers. We only include the 
layout files for those classes to ease the use of them. It's not our 
task to distribute third-party classes.


So, if you want to use svmono.layout you need to download the class file 
from the Springer website:


ftp://ftp.springer.de/pub/tex/latex/svmonogl/styles/svmono.cls

I install this file in the directory:

C:\Program Files\MiKTeX 2.7\tex\latex\svmono (don't know whether that's 
the best place)


Then, you start MiKTeX Settings and choose to refresh the file name 
database (FNDB).


After that you can Reconfigure LyX with Tools->Reconfigure.

Now you can use the "book (Springer svmono)" document class and the 
template.

I haven't seen this happen before and I am unhappy about it.

  

In that case, I would suggest to use a document class which is available.


I do wish someone else could explain this,

wurmglow
  


Vincent


Re: The layout file requested by this document is not usable.

2009-12-10 Thread Jean-Marc Lasgouttes

Le 10/12/2009 21:19, wurmglow a écrit :


click layout button and navigate to your root drive:\Program Files\LyX
1.6.5\Resources\layouts and choose related layout. In my case it was
svmono.layout

I got another pile of warnings saying I had chosen a layout that was not
part of the system files and that probably my machine would explode - the
last bit is not true.

But what I can't fathom is this. The .layout files are quite clearly part of
the default installation and quite clearly belong to the great swathe of
unavailable classes seen on the documents settings.


A lyx layout file is just a file that describes how a given LaTeX 
(svmono.cls) class file behaves. This is needed because LyX relies on
LaTeX to do the output. So what LyX tries to do (but without success, it 
seems) is to tell you that you will not be able to produce useful

output.

My guess is that your LaTeX (miktex) installation is broken in some
way. Did you have an active network connection when you installed LyX?
This is needed on windows, so that it downloads all missing stuff for
you.

JMarc


Subfloats alignment

2009-12-10 Thread Anders Host-Madsen
I have two figures of different height that I want side-by-side.
I use subfloats.
LyX (and Latex) always aligns them at the bottom edge. How
can I align them at the top edge (or center them)? I have tried
to insert vspace on either side, but it has no effect. Any
suggestions?



Re: LyX Server on XP?

2009-12-10 Thread Uwe Stöhr

Thank you very much Siegfried!
That works with a small correction:...


Can everybody involved in this thread please do other users the favor and add to our LyX Wiki how a 
LyXServer is set up on Windows?:


http://wiki.lyx.org/LyX/LyXServer

Many thanks in advance and regards
Uwe


Re: symbol Diamond in toolbar

2009-12-10 Thread Uwe Stöhr

Sergio Celani schrieb:


There any reason to not display the symbol Diamond. in the toolbar ?
There exist  diamond and diamondsuit, but bot Diamond.


This is a bug that we'll fix for the next release.


Any chance to include this symbol ?


replace you version of the file sdttoolbars.inc with the attached one.

thanks for the report and regards
Uwe
# -*- text -*-

# file stdtoolbars.inc
# This file is part of LyX, the document processor.
# Licence details can be found in the file COPYING.

# author Jean-Marc Lasgouttes
# author John Levon

# Full author contact details are available in file CREDITS.

# The interface is designed (partially) following the KDE Human Interface
# Guidelines (http://usability.kde.org/hig/)

# Casing rules for "The tooltip":
# Capitalize the first letter of the first word, and any other words normally
# capitalized in sentences, such as application names.
#
# Casing Rules for the "GUI Name":
# Capitalize all words in the element, with the following exceptions: 
# * Articles: a, an, the. 
# * Conjunctions: and, but, for, not, so, yet ...  
# * Prepositions of three or fewer letters: at, for, by, in, to ...
#
# (http://library.gnome.org/devel/hig-book/stable/design-text-labels.html.en)

# A Toolbar starts like :
#
# Toolbar "name" "GUI Name"
#
# Only seven commands are allowed inside the Toolbar and End
# directives:
#   Item "The tooltip" " []" adds an icon to the toolbar 
performing
#  " "
#  Examples:
#  Item "Small font" "font-size small"
#  Item Emphasized set-emph
#
#   Layouts adds the layouts combo-box to the toolbar
#
#   Separator adds some spacing to the toolbar
#
#   Minibuffer adds the command buffer (Qt only, only one may exist)
#
#   TableInsert "The tooltip" adds a special widget for quick insertion of 
tables
#
#   PopupMenu "name" "The tooltip"
#
#   ... inserts a button with a popup menu derived from Toolbar "name"
#
#   IconPalette "name" "The tooltip"
#
#   ... inserts a button with a popup iconpalette derived from Toolbar "name"
#
#
# The icons are found in the lib/images/ direcory under the name
# action.png or action_parameter.png, except for math-insert, which
# is e.g. lib/image/math/sum.png. Note that some characters are
# replaced (e.g. ')' -> rbracket).
#
#  All other lyx commands will get a "unknown" icon.
#
# This is the default toolbar:

ToolbarSet

Toolbar "standard" "Standard"
Layouts
Item "New document" "buffer-new"
Item "Open document" "file-open"
Item "Save document" "buffer-write"
Item "Print document" "dialog-show print"
Separator
Item "Check spelling" "dialog-show spellchecker"
Separator
Item "Undo" "undo"
Item "Redo" "redo"
Item "Cut" "cut"
Item "Copy" "copy"
Item "Paste" "paste"
Item "Find and replace" "dialog-show findreplace"
Item "Navigate back" "bookmark-goto 0"
Separator
Item "Toggle emphasis" "font-emph"
Item "Toggle noun" "font-noun"
Item "Apply last" "textstyle-apply"
Separator
Item "Insert math" "math-mode"
Item "Insert graphics" "dialog-show-new-inset graphics"
TableInsert "Insert table"
Separator
Item "Toggle outline" "dialog-toggle toc"
Item "Toggle math toolbar" "toolbar-toggle math"
Item "Toggle table toolbar" "toolbar-toggle table"
End

Toolbar "extra" "Extra"
Item "Default" "layout"
Item "Numbered list" "layout Enumerate"
Item "Itemized list" "layout Itemize"
Item "List" "layout List"
Item "Description" "layout Description"
Item "Increase depth" "depth-increment"
Item "Decrease depth" "depth-decrement"
Separator
Item "Insert figure float" "float-insert figure"
Item "Insert table float" "float-insert table"
Item "Insert label" "label-insert"
Item "Insert cross-reference" "dialog-show-new-inset ref"
Item "Insert citation" "dialog-show-new-inset citation"
Item "Insert index entry" "index-insert"
Item "Insert nomenclature entry" "nomencl-insert"
Separator
Item "Insert footnote" "footnote-insert"
Item "Insert margin note" "marginalnote-insert"
Item "Insert note" "note-insert"
Item "Insert box" "box-insert Frameless"
Item "Insert hyperlink" "href-insert"
Item "Insert TeX code" "ert-insert"
Item "Insert math macro" "math-macro newmacroname newcommand"
Item "Include file" 

Re: Subfloats alignment

2009-12-10 Thread Uwe Stöhr

Anders Host-Madsen schrieb:


I have two figures of different height that I want side-by-side.
I use subfloats.
LyX (and Latex) always aligns them at the bottom edge. How
can I align them at the top edge (or center them)?


This is tricky. I found no better solution than by using a table cell for each 
subfloat.
Please try out the attached file (replace the box with an image) and report 
back if this works.

regards Uwe


newfile1.lyx
Description: application/lyx


Re: LyX Server on XP?

2009-12-10 Thread Asm warrior

On 2009-12-11 9:30, Uwe Stöhr wrote:

Thank you very much Siegfried!
That works with a small correction:...


Can everybody involved in this thread please do other users the favor
and add to our LyX Wiki how a LyXServer is set up on Windows?:

http://wiki.lyx.org/LyX/LyXServer

Many thanks in advance and regards
Uwe

I just want to edit that wiki page, but how can I register a wiki user 
in the http://wiki.lyx.org ?


It seems I can't find a "register" button in the home page of lyx wiki.

Thanks!





Re: LyX Server on XP?

2009-12-10 Thread Asm warrior

On 2009-12-11 12:23, Asm warrior wrote:

On 2009-12-11 9:30, Uwe Stöhr wrote:

Thank you very much Siegfried!
That works with a small correction:...


Can everybody involved in this thread please do other users the favor
and add to our LyX Wiki how a LyXServer is set up on Windows?:

http://wiki.lyx.org/LyX/LyXServer

Many thanks in advance and regards
Uwe


I just want to edit that wiki page, but how can I register a wiki user
in the http://wiki.lyx.org ?

It seems I can't find a "register" button in the home page of lyx wiki.

Thanks!





Done, I need to add a user name before I save the edited page.