Re: Initial Newbie Questions

2008-01-11 Thread Scott Meyers

rgheck wrote:

You don't say which documents you are compiling.


The LyX Tutorial -- 35 pages in the DVI file.  Not a very long document, in 
other words.  Something I'd hope could be generated in no more than a couple of 
seconds.


The former is a weird bug that emerged from a combination no-one 
actually uses.


What is the combination you are referring to?  As online display of books and 
other documents becomes increasingly common, the semantically meaningful use of 
color (e.g., syntax coloring program source code, color-coded navigational aids) 
becomes increasingly important.  As such, good support for color is one of the 
features of LyX I'm interested in.


Thanks,

Scott



Re: Initial Newbie Questions

2008-01-11 Thread rgheck
I just downloaded and installed LyX via the Windows installer. I've 
used LaTeX before (not recently), but never LyX. In playing around 
with the LyX Tutorial, I find that after changing some text to red or 
green and then generating DVI, I get errors such as this,

   LaTeX Error: Undefined color `RED'
 with this explanation when I click on the message (yes, the 
explanation really does refer to green, not red, notwithstanding the 
message above):

   \chapter
 {\textcolor{green}{Getting started with \LyX{}}}
   You're in trouble here.  Try typing   The resulting DVI has the appropriate colors on the appropriate text, 
so I don't

 know what the LaTeX errors are complaining about.


This is a weird problem. It's got something to do---I don't know what, 
yet---with the way LyX is handling "LyX" and "LaTeX". These get 
converted to custom macros, and they are not playing nice for some 
reason with \textcolor. I'm cc'ing this to the devel list so someone 
will take care of it, or at least explain it.


Furthermore, I find that I have to wait at least 10 seconds for Yap to 
update
its display after generating new DVI, and this is on what should be a 
pretty
fast machine:  a dual-core newish Thinkpad with 2GB of RAM.  Sometimes 
I've had to wait over 30 seconds for Yap to update.


You don't say which documents you are compiling. Even on my spankin' new 
quad core monster, the Extended Features manual can take a while to 
compile. This is a LaTeX thing. Given the references, figures, and 
stuff, there's a lot to do. LaTeX runs three times, at least. (If you 
launch LyX from a terminal, you can see what's going on.) If you were 
really going to write something as long as that manual, it'd be a good 
idea to break it up into chunks. I suppose that one's not broken up 
because it's intended to be readable online, via the Help menu. Anyway, 
it depends on what you are doing. And I guess it depends upon Yap. Maybe 
it's slow as dirt? What do other people use around here? Anyone? (I'm on 
Linux.)


It'd be nice if compiling happened in the background. I know that's on 
several people's radar, but no-one has gotten to it.


My current goal is to evaluate LyX's suitability for a book I'll be 
writing.
The LaTeX errors when using colored text and the long delay for Yap to 
update
its display don't give me a very favorable initial impression.  Are 
these issues
simple normal newbie bumps in the road, or are they more likely 
indicators that

I'm probably going to run into even more problems in the future?
The former is a weird bug that emerged from a combination no-one 
actually uses. The latter, well, I doubt it's really a long-term issue.


Richard





Initial Newbie Questions

2008-01-11 Thread Scott Meyers
I just downloaded and installed LyX via the Windows installer.  I've used LaTeX 
before (not recently), but never LyX.  In playing around with the LyX Tutorial, 
I find that after changing some text to red or green and then generating DVI, I 
get errors such as this,


  LaTeX Error: Undefined color `RED'.

with this explanation when I click on the message (yes, the explanation really 
does refer to green, not red, notwithstanding the message above):


  \chapter
{\textcolor{green}{Getting started with \LyX{}}}
  You're in trouble here.  Try typingto proceed.
  If that doesn't work, type  X   to quit.

Also this,

  LaTeX Error: Undefined color `GREEN'.

with this explanation (and yes, it really is formatted like this):

  C
 urrently, undo is limited to 100 steps. Undo also doesn't work for
  You're in trouble here.  Try typingto proceed.
  If that doesn't work, type  X   to quit.

The resulting DVI has the appropriate colors on the appropriate text, so I don't 
know what the LaTeX errors are complaining about.


Furthermore, I find that I have to wait at least 10 seconds for Yap to update 
its display after generating new DVI, and this is on what should be a pretty 
fast machine:  a dual-core newish Thinkpad with 2GB of RAM.  Sometimes I've had 
to wait over 30 seconds for Yap to update.


My current goal is to evaluate LyX's suitability for a book I'll be writing. 
The LaTeX errors when using colored text and the long delay for Yap to update 
its display don't give me a very favorable initial impression.  Are these issues 
simple normal newbie bumps in the road, or are they more likely indicators that 
I'm probably going to run into even more problems in the future?


Thanks,

Scott



Re: 1.5.3 bug? - using child documents with same class causing error

2008-01-11 Thread Bo Peng
> I renamed the local file and did a reconfigure and that seems to have worked
> - it also seems to have corrected the "0"s issue. I'm working on both
> windows and mac (currently my mac), so I can't test the dev version till
> next week but will let you know.

Thanks.

> I should also note that I've been using
> these files with 1.5.2, 1.5.1, etc so I was surprised to see the issue but
> thanks for helping out.

In 1.5.1 and 1.5.2, a system layout file is used whenever possible so
your local layout file is completely ignored. In 1.5.3, a local layout
file is used before the system one. This makes it easy for a user to
modify and use a local layout file, or distribute a document with an
updated layout file. The source of the bug, as I have explained, is
that the same layout file is loaded repeatedly by child documents.

> I would've never figured that out. Really glad to
> hear about the bundles support coming, I'm currently storing my figures in a
> subfolder so that at least all the paths are relative to the document which
> helps alot.

The bundle feature is under active development, and it would be
another half a year (?) for 1.6.0 to be released with this feature.

> I'm also curious - i have also heard that there is going to be a new file
> format that is XML-based. Is this going to be implemented for 1.6?

The development on the XML side, as far as I can tell, is stalled, and
there is little hope to deliver it for 1.6.0. This feature is supposed
to be transparent to users though.

Bo


Re: 1.5.3 bug? - using child documents with same class causing error

2008-01-11 Thread Ryan Cross
Hey Bo,
I renamed the local file and did a reconfigure and that seems to have worked
- it also seems to have corrected the "0"s issue. I'm working on both
windows and mac (currently my mac), so I can't test the dev version till
next week but will let you know. I should also note that I've been using
these files with 1.5.2, 1.5.1, etc so I was surprised to see the issue but
thanks for helping out. I would've never figured that out. Really glad to
hear about the bundles support coming, I'm currently storing my figures in a
subfolder so that at least all the paths are relative to the document which
helps alot.

I'm also curious - i have also heard that there is going to be a new file
format that is XML-based. Is this going to be implemented for 1.6? Does this
have ramifications for lyx being for other purposes besides just LaTeX? for
example see my thread on docbook support.

Thanks,
Ryan

On Jan 12, 2008 3:25 AM, Bo Peng <[EMAIL PROTECTED]> wrote:

> > Yes, I do - I've got all my files in a working copy of an svn repo, so I
> > decided to also keep a copy of the layout file there as well. Is this a
> new
> > feature or something so that I don't need to "install" new layout
> classes in
> > the system area?
>
> It is a new feature, and you have encountered a bug that I think I
> have fixed. (I would appreciate it if you can see if the problem
> persists with
> the latest development version such as
> http://www.lyx.org/~bpeng/LyX-1.5.4svn-2008-01-04-Installer.exe ).
>
> Begin with lyx 1.5.0, local, meaning in the same directory with the
> document, style file (.sty, .cls) and layout (.layout) file can be
> used directly by a document. You can not create such a document in lyx
> (unless you modify a .lyx file directly) because local .layout does
> not show up in the style list, but if you send your document, along
> with your layout and .cls file to your co-authors, they do not have to
> install anything to open and modify your file. This feature is not
> well-publicized because it is a precursor to a 'bundle' feature (due
> 1.6.0) with which you can bundle figures, layouts, bibtex etc to a
> single .lyx file.
>
> Your problem is caused by the repeated loading of the same local
> layout file by your child documents, which is a bug that I should have
> fixed.
>
> > Is there a preference for which to remove? Also, will I need to do a
> > reconfigure for it to take?
>
> You can use the latest svn if it fixes your problem, or remove local
> layout file. Removing system layout file may not work.
>
> > And, just for good measure, any comment on why the "0"s are appearing?
> is
> > this related to the same issue?
>
> I am not sure about this one. If the problem persists after the layout
> problem is fixed, you can send a shrinked version of your document to
> me, or the lyx-users list.
>
> Cheers,
> Bo
>


Re: math mode latex errors

2008-01-11 Thread Enrico Forestieri
Hicham Mouline writes:

> Hello,
> Being a beginner of lyx (no knowledge of latex), I have this lyx-generated
> latex source (lyxout.txt attached)
> When doing view / PDF (PDFLatex), latex run 1, I get a few “Missing …
> inserted”
> and these errors:

This happens because you put an eqnarray in a tabular cell, and this is
a catch-22 problem for LaTeX. Indeed, LaTeX tries to figure out the width
of the eqnarray, but the eqnarray can't be typeset because it has to extend
to the full width, which is what has to be determined...

There are two solutions here. The first one is specifying a width for
the column where you put the eqnarray. However, this is not convenient
because you have to perform some visual formatting.

The second, more convenient, one is using the aligned environment in
place of eqnarray. Create a math inset by Ctrl-M, put the cursor inside
it and then use the menu Insert->Math->Aligned Environment. You can get
more rows by hitting Ctrl-Enter. Now simply copy the content of the
eqnarray environment to the newly created aligned environment. Copy what
you have in the first eqnarray column to the first column of the aligned
environment and merge the second and third eqnarray columns into the
second column of the aligned environment. That's it.

-- 
Enrico



Re: how to change some attributes of textclasses/environments?

2008-01-11 Thread Enrico Forestieri
Charles de Miramon writes:

> > If koma-book doesn't provide a way to change this, then you have to get
> > your hands dirty with LaTeX. One way to do it is to put this in the
> > preamble:
> > \renewenvironment{quotation}
> >{\list{}{\listparindent 1em%
> > \itemindent\listparindent
> > \rightmargin   \leftmargin
> > \parsep\z@ [EMAIL PROTECTED]@}%
> > \item\small\relax}
> >{\endlist}
> > \renewenvironment{quote}
> >{\list{}{\rightmargin\leftmargin}%
> > \item\small\relax}
> >{\endlist}
> 
> Or simpler :
> \renewenvironment{quotation}{%
>   \medskip%
>   \begin{addmargin}[1em]{0em}%
>   \small%
>   }{%
>\normalsize%
>\end{addmargin}%
>\smallskip%
> }

However, this way the original definition is not retained.
This is equally simple and retains the definition:

\let\oldquotation\quotation
\let\endoldquotation\endquotation
\renewenvironment{quotation}
  {\oldquotation\small}{\endoldquotation}

-- 
Enrico



Re: how to change some attributes of textclasses/environments?

2008-01-11 Thread Charles de Miramon
Richard Heck wrote:
 
> So to change this, you have to get your hands dirty with LaTeX. It /may/
> be that koma-book itself provides a way to configure the font size: It's
> very configurable. Look at the koma-script documentation to see. You'll
> find it in scrguide.pdf, which ought to have come with your TeX
> distribution. 

There is also a book in German on koma-script and a site in German
http://www.komascript.de


> 
> If koma-book doesn't provide a way to change this, then you have to get
> your hands dirty with LaTeX. One way to do it is to put this in the
> preamble:
> \renewenvironment{quotation}
>{\list{}{\listparindent 1em%
> \itemindent\listparindent
> \rightmargin   \leftmargin
> \parsep\z@ [EMAIL PROTECTED]@}%
> \item\small\relax}
>{\endlist}
> \renewenvironment{quote}
>{\list{}{\rightmargin\leftmargin}%
> \item\small\relax}
>{\endlist}

Or simpler :
\renewenvironment{quotation}{%
  \medskip%
  \begin{addmargin}[1em]{0em}%
  \small%
  }{%
   \normalsize%
   \end{addmargin}%
   \smallskip%
}
-- 
http://www.kde-france.org



Re: how to change some attributes of textclasses/environments?

2008-01-11 Thread Richard Heck

Berthold Metz (PH-Freiburg) wrote:

hi,

i have a - very basal - problem for which i couldn't find any solution 
neither on the web nor in the documentation. and pease sorry: i am 
very new to lyx/tex.


i startet writing an longer document using koma-book. i would like to 
change some attributes for specific textclasses/environments (e.g. for 
the environment "quote" a smaller font-size), and i am not able to do 
this. how/where can i change them?



Do you want to change them on-screen? or in the compiled document?

Let me first assume it's the latter.

Since you are new to LyX and LaTeX: LaTeX isn't really designed to make 
this kind of change easy, and so neither is LyX. The size of the 
quotation font was chosen by the designers of the koma-book class, and 
(no offense) LaTeX assumes the authors of such classes know more about 
typography than authors do. It is possible to change this sort of thing, 
to be sure. But there's no way to do it from within LyX itself, because 
LyX leaves that kind of thing to LaTeX. That's kind of the idea behind 
LyX: You do the writing, and leave the formatting to LaTeX. And if you 
don't like koma-book, try book, or book (AMS), or


So to change this, you have to get your hands dirty with LaTeX. It /may/ 
be that koma-book itself provides a way to configure the font size: It's 
very configurable. Look at the koma-script documentation to see. You'll 
find it in scrguide.pdf, which ought to have come with your TeX 
distribution. If not, you can find it on ctan.org. Direct LaTeX changes 
are entered into the document preamble, under Document>Settings. If you 
wanted the title to be Huge for example, you could add this to the preamble:

   \addtokomafont{title}{\Huge}
See section 3.2.1 of the manual for this. But this doesn't work for 
quotations.


If koma-book doesn't provide a way to change this, then you have to get 
your hands dirty with LaTeX. One way to do it is to put this in the 
preamble:

\renewenvironment{quotation}
  {\list{}{\listparindent 1em%
   \itemindent\listparindent
   \rightmargin   \leftmargin
   \parsep\z@ [EMAIL PROTECTED]@}%
   \item\small\relax}
  {\endlist}
\renewenvironment{quote}
  {\list{}{\rightmargin\leftmargin}%
   \item\small\relax}
  {\endlist}
I think that'll work. I just stole it from the scrbook.cls class file, 
and added the "\small".


OK, so second: If you want to change the font size on-screen, then you 
need to modify the layout file. Copy scrbook.layout to your local LyX 
directory ($HOME/.lyx, on Linux), and then add these two lines to the 
end of it:

Style Quote
   Font
  Size small
   EndFont
End
Style Quotation
   Font
  Size small
   EndFont
End
Look at section 5.2 of the Customization manual to read more about this.

Exercise: You can actually integrate the preamble stuff here by putting 
it into a "preamble" section of the layout file.


Richard



Re: how to change some attributes of textclasses/environments?

2008-01-11 Thread Richard Heck

Berthold Metz (PH-Freiburg) wrote:

hi,

i have a - very basal - problem for which i couldn't find any solution 
neither on the web nor in the documentation. and pease sorry: i am 
very new to lyx/tex.


i startet writing an longer document using koma-book. i would like to 
change some attributes for specific textclasses/environments (e.g. for 
the environment "quote" a smaller font-size), and i am not able to do 
this. how/where can i change them?



Do you want to change them on-screen? or in the compiled document?

Let me first assume it's the latter.

Since you are new to LyX and LaTeX: LaTeX isn't really designed to make 
this kind of change easy, and so neither is LyX. The size of the 
quotation font was chosen by the designers of the koma-book class, and 
(no offense) LaTeX assumes the authors of such classes know more about 
typography than authors do. It is possible to change this sort of thing, 
to be sure. But there's no way to do it from within LyX itself, because 
LyX leaves that kind of thing to LaTeX. That's kind of the idea behind 
LyX: You do the writing, and leave the formatting to LaTeX. And if you 
don't like koma-book, try book, or book (AMS), or


So to change this, you have to get your hands dirty with LaTeX. It /may/ 
be that koma-book itself provides a way to configure the font size: It's 
very configurable. Look at the koma-script documentation to see. You'll 
find it in scrguide.pdf, which ought to have come with your TeX 
distribution. If not, you can find it on ctan.org. Direct LaTeX changes 
are entered into the document preamble, under Document>Settings. If you 
wanted the title to be Huge for example, you could add this to the preamble:

   \addtokomafont{title}{\Huge}
See section 3.2.1 of the manual for this. But this doesn't work for 
quotations.


If koma-book doesn't provide a way to change this, then you have to get 
your hands dirty with LaTeX. One way to do it is to put this in the 
preamble:

\renewenvironment{quotation}
  {\list{}{\listparindent 1em%
   \itemindent\listparindent
   \rightmargin   \leftmargin
   \parsep\z@ [EMAIL PROTECTED]@}%
   \item\small\relax}
  {\endlist}
\renewenvironment{quote}
  {\list{}{\rightmargin\leftmargin}%
   \item\small\relax}
  {\endlist}
I think that'll work. I just stole it from the scrbook.cls class file, 
and added the "\small".


OK, so second: If you want to change the font size on-screen, then you 
need to modify the layout file. Copy scrbook.layout to your local LyX 
directory ($HOME/.lyx, on Linux), and then add these two lines to the 
end of it:

Style Quote
   Font
  Size small
   EndFont
End
Style Quotation
   Font
  Size small
   EndFont
End
Look at section 5.2 of the Customization manual to read more about this.

Richard



Re: Beamer Problems

2008-01-11 Thread David Rosenberg
Thanks Paul!  I never did a careful study of exactly what was causing all
the problems, but putting an EndFrame environment between every slide seemed
to fix my old presentation. Supposedly this isn't necessary in most
circumstances, but it worked.

Best,
David


On Jan 3, 2008 8:29 AM, Paul A. Rubin <[EMAIL PROTECTED]> wrote:

> David Rosenberg wrote:
> > Hi,
> >I'm running LyX 1.5.3 on Windows, and am having trouble with
> compiling
> > the Beamer Example (beamerlyxexample1.lyx).  I'm pasting in part of my
> log
> > below.  I also have problems with one of my older beamer presentations I
> > made with an earlier version of LyX.  For that presentation, I get an
> error
> > -- after exporting to Latex and trying to compile, I get the following:
> >
> > ERROR: Package mathptmx Error: The symbols \jmath, \amalg and \coprod
> >
> > --- TeX said ---
> > (mathptmx)are not available with this package.
> >
> > See the mathptmx package documentation for explanation.
> > Type  H   for immediate help.
> >  ...
> >
> > l.290 \lyxframeend
> >   {}\section{Kernel Cotraining}
> > 
> > Anyway, the first error in the compilation of the Beamer Example is the
> > exact same as the error
> > ERROR: Undefined control sequence.
> >
> > --- TeX said ---
> > [EMAIL PROTECTED] #1#2#3#4->\pgfsincos
> >   {#3}\setlength [EMAIL PROTECTED]
> > {#1}\addtolengt...
> > l.1219 \lyxframeend
> >{}\lyxagainframe{<6>hierarchy}
> > --- HELP ---
> > TeX encountered an unknown command name. You probably misspelled the
> > name. If this message occurs when a LaTeX command is being processed,
> > the command is probably in the wrong place---for example, the error
> > can be produced by an \item command that's not inside a list-making
> > environment. The error can also be caused by a missing \documentclass
> > command.
> >
> > Thanks,
> > David
> >
>
> The beamer example has all sorts of problems.  I think in part it may be
> a matter of beamer having been updated and the example document not
> having been updated (?).
>
> As to your document, the answer to the first error is simpler.  Quoting
> section 6.4 of the psnfss2e manual (regarding known deficiencies of the
> mathptmx package):
>
> "* The symbols \jmath, \coprod and \amalg are not available."
>
> I take that to mean that if you need those symbols, you'll have to
> change your font selection.  Why this was not a problem when you
> originally built the presentation I can't say.  I don't use mathptmx, so
> I don't know whether it throws this message even when you are not using
> those symbols, or whether it means all three symbols are present, or
> just one of them, or what.
>
> As to the second message, unfortunately all sorts of problems result in
> LaTeX deciding that \lyxframeend is undefined (when in fact it is
> defined).  So that tells you something is broken, but not what.  If
> fixing the font problem (or eliminating use of \jmath, \coprod and/or
> \amalg) does not solve it, the best I can suggest is a bisection search
> -- cut out half the slides and recompile to see which half of the
> presentation has the error, then iterate until you narrow down the
> source.  If you can pin down the approximate location but not the exact
> cause, post a small but sufficient example here and perhaps someone can
> figure it out.
>
> /Paul
>
>


Re: [Bulk] Moderncv issues resolved - page on Wiki

2008-01-11 Thread David Hewitt



> [1] I suggest correcting the alignment mismatch in a more drastic way:
> in "moderncv.cls" around line 333 the \cvline command is defined like
> this:
> 
> \newcommand*{\cvline}[3][.25em]{%
>   [EMAIL PROTECTED]
> 
> after the second line you can add the following line:
> 
> \vspace*{-1.1em}
> 
> so that the entire command definition looks like this:
> 
> 
> 
> \newcommand*{\cvline}[3][.25em]{%
>   [EMAIL PROTECTED]
>   \vspace*{-1.1em}% fixes an alignment mismatch between first leftmark
> and related text
> [EMAIL PROTECTED]
>   \else%
> \\[#1]\fi%
>   \raggedleft\hintfont{#2} }
> 
> 
> 
> Now you can avoid putting all those "Space: " after each
> Section title.
> 

And, for the record, all those vspaces were just me being picky. There's no
particular need for them, just a personal modification. (I know, against the
LaTeX spirit and all...)



> [2] I've corrected a bug in the "moderncv.cls" class file, around line 367
> there is:
> 
> \ifthenelse{\equal{#6}{}}{}{\newline{}\small#6}
> 
> and should be replaced with the following:
> 
> \ifthenelse{\equal{#6}{}}{}{\newline{}{\small#6}}
> 
> Without this modification, when you add some text after a \cventry with 6
> non-empty parameters
> (and only if the \cventry has all 6 parameters not being empty), the
> additional text inherits the
> "\small" size, which is not desirable.
> 


-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Moderncv-issues-resolved---page-on-Wiki-tp14670006p14763712.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: [Bulk] Moderncv issues resolved - page on Wiki

2008-01-11 Thread David Hewitt


Filippo Zangheri-2 wrote:
> 
>> [1] I suggest correcting the alignment mismatch in a more drastic way:
>> in "moderncv.cls" around line 333 the \cvline command is defined like
>> this:
>> 
>> \newcommand*{\cvline}[3][.25em]{%
>>   [EMAIL PROTECTED]
>> 
>> after the second line you can add the following line:
>> 
>> \vspace*{-1.1em}
>> 
>> so that the entire command definition looks like this:
>> 
>> 
>> 
>> \newcommand*{\cvline}[3][.25em]{%
>>   [EMAIL PROTECTED]
>>  \vspace*{-1.1em}% fixes an alignment mismatch between first leftmark
>> and related text
>> [EMAIL PROTECTED]
>>   \else%
>> \\[#1]\fi%
>>   \raggedleft\hintfont{#2} }
>> 
>> 
>> 
>> Now you can avoid putting all those "Space: " after each
>> Section title.
> 
> There's the need for a precisation.
> 
> Actually, my "drastic" correction is useful only either if you will always
> use LyX to write moderncv
> documents, or if you will always append 1 or 2 empty lines after every
> \section{} entry in your
> plaintext moderncv documents, e.g.
> 
> something like this:
> 
> 
> \section{Professional Experience}
>   \cventry{Jul--Aug 2007}{foo}{bar}{?}{?}{?}
> 
> 
> wouldn't work with my correction, but you would need to write this:
> 
> 
> \section{Professional Experience}
> 
>   \cventry{Jul--Aug 2007}{foo}{bar}{?}{?}{?}
> 
> 
> or
> 
> 
> \section{Professional Experience}\\
>   \cventry{Jul--Aug 2007}{foo}{bar}{?}{?}{?}
> 
> 
> Under these 2 circumstances one can safely add my correction.
> 

Nice work.

Some of the problem(s) with the \cvline specification in this class file
have been noted in the Bug (at least in part):

http://bugzilla.lyx.org/show_bug.cgi?id=4415

Xavier, the maintainer of moderncv, is aware of some of these things. I'd
suggest that you flip him a condensed version of these two points and let
him incorporate them, particularly the error on line 367. I'd prefer not to
offer class file hacks on the wiki as a solution for formatting when there
are other options and Xavier is working on them. However, the fix on line
367 is a good spot, and it's documented here if people need it until Xavier
fixes it.

Xavier Danaux <[EMAIL PROTECTED]>



-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Moderncv-issues-resolved---page-on-Wiki-tp14670006p14763709.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: language field in JabRef

2008-01-11 Thread Dominik Waßenhoven
Wolfgang Engelmann schrieb:

> I had read the JabRef documentation, but did not understand the
> procedure. Am I correct that fields can be added in General only,

No, they can also be added in the other tabs, though the procedure is
less evident. If you choose 'Options -> Customize entry types', you can
choose an entry type on the left (e.g. 'article'). On the right side the
required and optional fields appear. There you can choose from the
dropdown list or give a field that is not selectable from the dropdown
list (in your case 'language'). Clicking on 'Add' appends the field name
to the list. Afterwards you can move it around using the arrow keys.

Note that it is also possible to add entry types that not yet exist
(e.g. 'myarticle') by typing it into the input field at the bottom left
corner and clicking on 'Add'. 

> that I have to choose all entrances and in New Field value I insert
> english and save the settings. 

I didn't get that bit, sorry. Do you mean adding a value to the new
field?

> How can I make this the default setting for all my bib files?

'Options -> Preferences' and then the buttons 'Import preferences' and
'Export preferences' in the bottom left corner.

If you have suggestions on how to improve the documentation, please give
feedback to me via private mail, also in German if you like
(domwass[at]web[dot]de).

Regards,
Dominik.-



math mode latex errors

2008-01-11 Thread Hicham Mouline
Hello,
Being a beginner of lyx (no knowledge of latex), I have this lyx-generated 
latex source (lyxout.txt attached)
When doing view / PDF (PDFLatex), latex run 1, I get a few "Missing ... 
inserted"
and these errors:

>LaTeX Error: \begin{tabular} on input line 90 ended by \end{eqnarray*}.

... & = & d_{1}-\sigma\sqrt{T}\end{eqnarray*}

Your command was ignored.

Type I   to replace it with another command,

or  to continue without it.

>Too many }'s.

\end{tabular}

\begin{tabular}{|c|c|c||c|}

You've closed more groups than you opened.

Such booboos are generally harmless, so keep going.

LaTeX Error: \begin{document} ended by \end{tabular}.

\end{tabular}

\begin{tabular}{|c|c|c||c|}

Your command was ignored.

Type I   to replace it with another command,

or  to continue without it.

No pdf is generated. The lyx doc contains tables, and a lot of math formulae.

Any ideas?

Rds,


This e-mail is confidential and may contain legally privileged information. It 
is intended only for the addressees. If you have received this e-mail in error, 
kindly notify us immediately by telephone or e-mail and delete the message from 
your system.
% Preview source code

%% LyX 1.5.2 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\makeatletter
[EMAIL PROTECTED]"C:/BlackScholes/\string"/}}
\makeatother
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{esint}

\makeatletter

%% LyX specific LaTeX commands.
%% Bold symbol macro for standard LaTeX users
\providecommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}

%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}

%% Textclass specific LaTeX commands.
\newenvironment{lyxlist}[1]
{\begin{list}{}
{\settowidth{\labelwidth}{#1}
 \setlength{\leftmargin}{\labelwidth}
 \addtolength{\leftmargin}{\labelsep}
 \renewcommand{\makelabel}[1]{##1\hfil}}}
{\end{list}}

\usepackage{babel}
\makeatother

\begin{document}

\title{Black Scholes Merton}

\maketitle
The standard Black-Scholes framework is extended to cope with time-dependency
of the risk-free rate, dividend and volatility parameters.

In the following,

\begin{lyxlist}{00.00.}
\item [{$V$}] is the value of the option being priced,
\item [{$c$}] the price of a European call
\item [{$p$}] the price of a European put
\item [{$X$}] the option's strike
\item [{$T$}] the option's time to expiration date
\item [{$S$}] the price of the contract underlying the option
\item [{$\sigma$}] the standard deviation of the continuously compounded
log returns, per sqrt of annum, can be constant or time-dependent
$\sigma(t)$
\item [{$D$}] the present value of the dividends during the life of the
option, discounted at the risk-free rate, in case the underlying contract
pays discrete dividends
\item [{$q$}] the continuously compounded dividend yield, can be constant
or time-dependent $q(t)$
\item [{$r$}] the continuously compounded risk-free rate, can be constant
or time-dependent $r(t)$
\item [{$N(.)$}] the cumulative standard normal distribution function
\item [{$n(.)$}] the standard normal distribution density function
\end{lyxlist}

\section{Partial differential equation}

$V$ value of the option

\[
\frac{\partial V}{\partial 
t}+\frac{1}{2}\sigma^{2}S^{2}\frac{\partial^{2}V}{\partial 
S^{2}}+\left[r-q\right]S\frac{\partial V}{\partial S}=rV\]


or its time-dependent equivalent\[
\frac{\partial V}{\partial 
t}+\frac{1}{2}\sigma^{2}(t)S^{2}\frac{\partial^{2}V}{\partial 
S^{2}}+\left[r(t)-q(t)\right]S\frac{\partial V}{\partial S}=r(t)V\]


In general, usual greek formulae remain valid with these replacements

$rT$ by $\int_{0}^{T}r(\tau)d\tau$

$qT$ by $\int_{0}^{T}q(\tau)d\tau$

$\sigma^{2}T$ by $\int_{0}^{T}\sigma^{2}(\tau)d\tau$

see Wilmott


\section{European call and put (upfront premium)}


\subsection{Price}

\begin{tabular}{|c|c|c||c|}
\hline 
const $\sigma$ & Discrete dividends $D$ & Continuous dividend yield $q$ & 
time-dependent $q$\tabularnewline
\hline
\hline 
$r$ & \begin{eqnarray*}
c & = & (S-D)N(d_{1})-Xe^{-rT}N(d_{2})\\
p & = & Xe^{-rT}N(-d_{2})-(S-D)N(-d_{1})\\
d_{1} & = & \frac{\ln\frac{S-D}{X}+rT+\frac{1}{2}\sigma^{2}T}{\sigma\sqrt{T}}\\
d_{2} & = & d_{1}-\sigma\sqrt{T}\end{eqnarray*}
 & \begin{eqnarray*}
c & = & Se^{-qT}N(d_{1})-Xe^{-rT}N(d_{2})\\
p & = & Xe^{-rT}N(-d_{2})-Se^{-qT}N(-d_{1})\\
d_{1} & = & 
\frac{\ln\frac{S}{X}+\left(r-q\right)T+\frac{1}{2}\sigma^{2}T}{\sigma\sqrt{T}}\\
d_{2} & = & d_{1}-\sigma\sqrt{T}\end{eqnarray*}
 & \begin{eqnarray*}
c & = & Se^{-\int_{0}^{T}q(\tau)d\tau}N(d_{1})-Xe^{-rT}N(d_{2})\\
p & = & Xe^{-rT}N(-d_{2})-Se^{-\int_{0}^{T}q(\tau)d\tau}N(-d_{1})\\
d_{1} & = & 
\frac{\ln\frac{S}{X}+rT-\int_{0}^{T}q(\tau)d\tau+\frac{1}{2}\sigma^{2}T}{\sigma\sqrt{T}}\\
d_{2} & = & d_{1}-\sigma\sqrt{T}\end{eqnarray*}
\tabularnewline
\hline 
 $r(t)$ & \beg

Questions about graphics

2008-01-11 Thread Deskins, Nathaniel A
 
I'm relatively new to Latex and Lyx. I have a few questions about
images/graphics.

1) How does Lyx/Latex treat graphic resizing? For instance, I have a
900x900 pixel image. If I manually set the image to be 3 inches wide,
does Lyx simply rescale it to be a 3 inch by 3 inch image with 300 dpi? 

Or does it assume some dpi and use some algorithm to rescale the pixel
size (i.e. 1200x1200 pixels)?


2) What image format is recommended? I understand Lyx can convert files
on the fly, but is there a 'best practices' approach to this? Or should
I not worry about this? 

3) I've created several figure floats and put two figures in each of
them with the images right on top of each other within the float. All
look fine, but one float puts the figure caption right through the
second image. What would cause this and how do I fix it?

Thank you,

Aaron


calendar style for lyx?

2008-01-11 Thread Wolfgang Engelmann
Is there a calendar style for LyX available (photocal, style = side and 
style=bottom?

Wolfgang


Re: language field in JabRef

2008-01-11 Thread Wolfgang Engelmann
Am Freitag, 11. Januar 2008 17:15 schrieb Dominik Waßenhoven:
> Wolfgang Engelmann schrieb:
> > in order to use babelbib for handling references of different
> > languages correctly I am supposed to create a field language in
> > Jabref. How do I do it
>
> http://jabref.sourceforge.net/help/CustomEntriesHelp.php (English)
> http://jabref.sourceforge.net/help/de/CustomEntriesHelp.php (German)
>
> or
>
> http://jabref.sourceforge.net/help/GeneralFields.php (English)
> http://jabref.sourceforge.net/help/de/GeneralFields.php (German)
>
> > and how can I insert english in each reference?
>
> 'Tools -> Set/clear fields'
> (in German: 'Extras -> Felder setzen/löschen'
>
> Regards,
> Dominik.-

Thanks, Dominik. 

I had read the JabRef documentation, but did not understand the procedure. 
Am I correct that fields can be added in General only, that I have to choose 
all entrances
 and in New Field value 
I insert 
english 
and save the settings. 
How can I make this the default setting for all my bib files?

Wolfgang



Re: (latex question) Repeated footnote?

2008-01-11 Thread Les Denham
On Friday 11 January 2008 08:25, Neal Becker wrote:
> I have a description env, and I have some notes for some entries.  I was
> planning to use footnotes, but I need multiple references to the _same_
> notes.
>
> Like:
>
> entry A: 1
> entry B: 1
> entry C: 2
>
> 1: some footnote
> 2: some other footnote

Neal,

1. The first time the footnote occurs, put it in normally. 

2. Then put a label in the footnote.

3. To refer to the same footnote a second time, insert a crossreference to the 
label and format it as superscript.

4. Example attached.

Les


footnote.lyx
Description: application/lyx


RE: (latex question) Repeated footnote?

2008-01-11 Thread Daniel CLEMENT
Also possible :

Place the cross-reference to the labeled footnote in a superscript, so that
it will appear as a note too.

Thus you get twice the same reference to the same footnote, they look alike,
and the numbering si preserved.

Daniel CLEMENT

> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Dominik Wa?enhoven
> Sent: Friday, January 11, 2008 5:19 PM
> To: lyx-users@lists.lyx.org
> Subject: Re: (latex question) Repeated footnote?
>
>
> Neal Becker schrieb:
>
> > Strangely, lyx allows inserting a label into a footnote, but I
> don't see how
> > to use this as a reference (that would appear formatted in the
> style of a
> > footnote).
>
> You could do something like
>
> 1: [label-in-footnote] This is a footnote.
> 2: On this topic, see footnote [reference:label-in-footnote]
>
> That's what labels in footnotes could e.g. be used for.
>
> Regards,
> Dominik.-
>
> --
> -
> Orange vous informe que cet  e-mail a ete controle par l'anti-virus mail.
> Aucun virus connu a ce jour par nos services n'a ete detecte.
>
>




RE: (latex question) Repeated footnote?

2008-01-11 Thread Daniel CLEMENT
Also possible :

Place the cross-reference to the labeled footnote in a superscript, so that
it will appear as a note too.

Thus you get twice the same reference to the same footnote, they look alike,
and the numbering si preserved.

Daniel CLEMENT

> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Dominik Wa?enhoven
> Sent: Friday, January 11, 2008 5:19 PM
> To: lyx-users@lists.lyx.org
> Subject: Re: (latex question) Repeated footnote?
>
>
> Neal Becker schrieb:
>
> > Strangely, lyx allows inserting a label into a footnote, but I
> don't see how
> > to use this as a reference (that would appear formatted in the
> style of a
> > footnote).
>
> You could do something like
>
> 1: [label-in-footnote] This is a footnote.
> 2: On this topic, see footnote [reference:label-in-footnote]
>
> That's what labels in footnotes could e.g. be used for.
>
> Regards,
> Dominik.-
>
> --
> -
> Orange vous informe que cet  e-mail a ete controle par l'anti-virus mail.
> Aucun virus connu a ce jour par nos services n'a ete detecte.
>
>




Re: 1.5.3 bug? - using child documents with same class causing error

2008-01-11 Thread Bo Peng
> Yes, I do - I've got all my files in a working copy of an svn repo, so I
> decided to also keep a copy of the layout file there as well. Is this a new
> feature or something so that I don't need to "install" new layout classes in
> the system area?

It is a new feature, and you have encountered a bug that I think I
have fixed. (I would appreciate it if you can see if the problem
persists with
the latest development version such as
http://www.lyx.org/~bpeng/LyX-1.5.4svn-2008-01-04-Installer.exe ).

Begin with lyx 1.5.0, local, meaning in the same directory with the
document, style file (.sty, .cls) and layout (.layout) file can be
used directly by a document. You can not create such a document in lyx
(unless you modify a .lyx file directly) because local .layout does
not show up in the style list, but if you send your document, along
with your layout and .cls file to your co-authors, they do not have to
install anything to open and modify your file. This feature is not
well-publicized because it is a precursor to a 'bundle' feature (due
1.6.0) with which you can bundle figures, layouts, bibtex etc to a
single .lyx file.

Your problem is caused by the repeated loading of the same local
layout file by your child documents, which is a bug that I should have
fixed.

> Is there a preference for which to remove? Also, will I need to do a
> reconfigure for it to take?

You can use the latest svn if it fixes your problem, or remove local
layout file. Removing system layout file may not work.

> And, just for good measure, any comment on why the "0"s are appearing? is
> this related to the same issue?

I am not sure about this one. If the problem persists after the layout
problem is fixed, you can send a shrinked version of your document to
me, or the lyx-users list.

Cheers,
Bo


Re: (latex question) Repeated footnote?

2008-01-11 Thread Dominik Waßenhoven
Neal Becker schrieb:

> Strangely, lyx allows inserting a label into a footnote, but I don't see how
> to use this as a reference (that would appear formatted in the style of a
> footnote).

You could do something like

1: [label-in-footnote] This is a footnote.
2: On this topic, see footnote [reference:label-in-footnote]

That's what labels in footnotes could e.g. be used for.

Regards,
Dominik.-



Re: language field in JabRef

2008-01-11 Thread Dominik Waßenhoven
Wolfgang Engelmann schrieb:

> in order to use babelbib for handling references of different
> languages correctly I am supposed to create a field language in
> Jabref. How do I do it 

http://jabref.sourceforge.net/help/CustomEntriesHelp.php (English)
http://jabref.sourceforge.net/help/de/CustomEntriesHelp.php (German)

or 

http://jabref.sourceforge.net/help/GeneralFields.php (English)
http://jabref.sourceforge.net/help/de/GeneralFields.php (German)

> and how can I insert english in each reference?

'Tools -> Set/clear fields'
(in German: 'Extras -> Felder setzen/löschen'

Regards,
Dominik.-



how to change some attributes of textclasses/environments?

2008-01-11 Thread Berthold Metz (PH-Freiburg)

hi,

i have a - very basal - problem for which i couldn't find any solution 
neither on the web nor in the documentation. and pease sorry: i am very 
new to lyx/tex.


i startet writing an longer document using koma-book. i would like to 
change some attributes for specific textclasses/environments (e.g. for 
the environment "quote" a smaller font-size), and i am not able to do 
this. how/where can i change them?


thx for help in advance!

Berthold


Re: DocBook Support?

2008-01-11 Thread Jean-Marc Lasgouttes
Sourena Mohammadi <[EMAIL PROTECTED]> writes:

> Hi,
> How can I unsubscribe from this mailing list. I have attempted several
> times to unsubscribe but it doesn't work.

What did you try?

Send a message to

(assuming this is the address under which you are subscribed).

JMarc


Re: Landscape document: what am I missing?

2008-01-11 Thread Steve Litt
On Wednesday 09 January 2008 20:29, Laurent Duperval wrote:
> Hi,
>
> I am trying to print a landscape document. Hoewever, when I view a PDF or
> DVI document, it shows up in portrait.
>
> If it matters any, I am using a longtable in my document.
>
> L

This might help:

http://www.troubleshooters.com/linux/gs.htm#_Making_a_Landscape_PDF

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


language field in JabRef

2008-01-11 Thread Wolfgang Engelmann
in order to use babelbib for handling references of different languages 
correctly I am supposed to create a field 
language 
in Jabref. How do I do it and how can I insert 
english in each reference?
Most of my references are in english, than I need only to change the remaining 
one into ngerman, french etc. 
Of course, it would be ideal to have a program which determines the language 
automatically and puts it in the language field. But that is probably asked 
for too much. 

Wolfgang


Re: Landscape document: what am I missing?

2008-01-11 Thread Bennett Helm

On Jan 11, 2008, at 9:54 AM, Laurent Duperval wrote:


Nobody knows? :-(

L


It works for me. Perhaps you can provide more details on your setup  
(and even a minimal example file that fails) that might help someone  
figure out what's going wrong for you.


Bennett


On Thu, 10 Jan 2008 01:29:42 +, Laurent Duperval wrote:


Hi,

I am trying to print a landscape document. Hoewever, when I view a  
PDF or

DVI document, it shows up in portrait.

If it matters any, I am using a longtable in my document.

L


Re: Landscape document: what am I missing?

2008-01-11 Thread Laurent Duperval
Nobody knows? :-(

L


On Thu, 10 Jan 2008 01:29:42 +, Laurent Duperval wrote:

> Hi,
> 
> I am trying to print a landscape document. Hoewever, when I view a PDF or
> DVI document, it shows up in portrait.
> 
> If it matters any, I am using a longtable in my document.
> 
> L
> 
>



-- 
Prenez la parole en public en étant Speak to an audience while being
moins nerveux et plus convaincant! less nervous and more convincing!
Abonnez-vous au bulletin gratuit!   Sign up for the free newsletter!

 http://www.duperval.com   (514) 902-0186



Re: (latex question) Repeated footnote?

2008-01-11 Thread Neal Becker
Neal Becker wrote:

> I have a description env, and I have some notes for some entries.  I was
> planning to use footnotes, but I need multiple references to the _same_
> notes.
> 
> Like:
> 
> entry A: 1
> entry B: 1
> entry C: 2
> 
> 1: some footnote
> 2: some other footnote

It looks like floatmisc package can help.

Strangely, lyx allows inserting a label into a footnote, but I don't see how
to use this as a reference (that would appear formatted in the style of a
footnote). 



Re: onehalfspace mystery

2008-01-11 Thread Donn
Bump. Apropos my last post.
Any suggestions for the search/replace of the lyx file in a text editor?

\d


(latex question) Repeated footnote?

2008-01-11 Thread Neal Becker
I have a description env, and I have some notes for some entries.  I was
planning to use footnotes, but I need multiple references to the _same_
notes.

Like:

entry A: 1
entry B: 1
entry C: 2

1: some footnote
2: some other footnote



Re: Footnote in table problem (texlive issue?)

2008-01-11 Thread Jürgen Spitzmüller
Neal Becker wrote:
> Then I run the enclosed test through pdflatex using texlive
> (texlive-2007-0.18.fc9.x86_64), the footnote doesn't show up.

LaTeX restriction:
http://bugzilla.lyx.org/show_bug.cgi?id=808

Jürgen


Re: keyboard shortcuts

2008-01-11 Thread Paul A. Rubin

Abdelrazak Younes wrote:

Sure but I was talking about the other bug, when you type 'Alt-i f' 
(releasing the Alt and i keys before typing f).


Sorry, my bad.  I can reproduce this one too (where the insert menu 
opens but an 'f' gets inserted at the cursor position in the text) on XP 
Home, but (a) I have to hit the 'f' really close to the 'Alt-i' and (b) 
it's a bit hit or miss (sometimes I get the 'f', sometimes I don't).


/Paul





Footnote in table problem (texlive issue?)

2008-01-11 Thread Neal Becker
Then I run the enclosed test through pdflatex using texlive
(texlive-2007-0.18.fc9.x86_64), the footnote doesn't show up.




newfile1.lyx
Description: application/lyx


Re: left justify floats?

2008-01-11 Thread G. Milde
On 11.01.08, bigblop wrote:

> You need to define a converter in Tools>Settings Converter
> E.g. a PDF->EPS converter should help.


> Ok I have now added:

> >From format:
> PDF (pdflatex)

> To format:
> Postscript

I am not sure wheter this will help, IMO to format should be EPS

> which results in this string in the Converter box:
> fig2dev -L png $$i $$o

This needs to be replaced with a command string for an PDF->EPS converter

Make sure that the given command works as desired from the command line. 

> But I still get the same error. Do I have to manually write some obscure
> converter command to make it work?

Exactly. Reading the Help>Customization guide will help with the format
(basically, $$i will be replace with input-filename and $$o with output
filename).

Also, after making sure that the from: and to: formats are still set as
intended, you need to press the add button (left top corner) and than [Save].



Regarding a suitable command, we need to know your system a bit more...


Example
===

pdftops - Portable Document Format (PDF) to PostScript converter


SYNOPSIS

   pdftops [options] [PDF-file [PS-file]]


   -f number
  Specifies the first page to print.

   -l number
  Specifies the last page to print.
  
   -eps   Generate an Encapsulated PostScript (EPS)  file.   An  EPS  file
  contains a single image, so if you use this option with a multi-
  page PDF file, you must use -f and -l to specify a single  page.
  No more than one of the mode options (-eps, -form) may be given.


Command string:

   pdftops -f 1 -l 1 -eps $$i $$o



Günter


Re: left justify floats?

2008-01-11 Thread bigblop



You need to define a converter in Tools>Settings Converter
E.g. a PDF->EPS converter should help.




Ok I have now added:

>From format:
PDF (pdflatex)

To format:
Postscript

which results in this string in the Converter box:
fig2dev -L png $$i $$o


But I still get the same error. Do I have to manually write some obscure
converter command to make it work?

-- 
View this message in context: 
http://www.nabble.com/left-justify-floats--tp14686440p14753639.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Beamer style

2008-01-11 Thread sticken
Hi,

i am using LyX 1.5 on Windows XP/Mac OS X. I tried using the Beamer Layout
style (latex-beamer). I got it working, but run into several caveats:

- When I used a shorttitle and copied text into the field, it did not work. I
had to enter the text manually.
- I figured out it is important to nest styles. A list is nested in a block is
nested in a frame...
- I had problems to to use consecutive Block styles. I solved it by using a
empty paragraph in between with a LyX note.
- I worked out there must be a FrameEnd at the end of the document.
- I could not compile the beamer example in the examples folder. I had to
change the document font styles to default values and remove an ert (pgf
graphic). Then it worked.

bye,
Falk Sticken



Re: left justify floats?

2008-01-11 Thread G. Milde
On 10.01.08, bigblop wrote:

> Is it not possible to include PDF in LyX files?

I suppose LyX can be configured to accept PDF as graphic format.

> Hm it seems that I cannot include a pdf file even though it get shown
> in the pdfpreview. I get the error:

> "Error converting to loadable format"

You need to define a converter in Tools>Settings Converter
E.g. a PDF->EPS converter should help.

> in LyX. When I press the edit button after clicking on the float I get:

> No information for editing PDF (ps2pdf)

You need to define an editor (capable of editing PDF-files) in
Tools>Settings File Formats and make sure the vector-graphic box is
ticked.


I could, e.g. insert SVG files after adding the SVG to File Formats and
defining a conversion SVG -> EPS with converter set to

inkscape $$i --export-eps=$$o



Günter


Re: keyboard shortcuts

2008-01-11 Thread G. Milde
On  9.01.08, Abdelrazak Younes wrote:
> [EMAIL PROTECTED] wrote:
>> Since 1.5 version
...
>> when I type too quickly, I get a menu (as example, alt-m-f will give
>> alt-f)

> You should try 'Alt-m f', i.e. make sure to release the two keys before 
> typing 'f'.

>> So I'd like to disable all the alt-menu binding. I tried to disable the 
>> loading
>> of the menus.bind file, but it didn't help.
>> So what could I try?

> I am afraid this is not possible without touching the source code. This 
> feature comes from Qt, not LyX.

However, it is controled by the ui files. You can e.g. copy stdmenus.inc
(/usr/share/lyx/ui/stdmenus.inc on my Debian system) to your personal lyx
dir (~/.lyx/ui/stdmenus.inc, say) and modify e.g.

-   Submenu "File|F" "file"
+   Submenu "File" "file"


Some of the Alt- bindings (the visible ones) are realised via
the stdmenus file, while others (invisible ones) are added via menus.bind
(or e.g. /de/menus.bind) So you might have to add bindings disabled in
stdmenus.inc to menus.bind.

I did not find out, how the translation of the ui bindings work - if I
e.g. change

-   Item "Revert to Saved|R" "buffer-reload"
+   Item "Reload from Disk|R" "buffer-reload"

the changed menu entry appears in English also in a German LyX interface.


Günter